摘要: package com.jd.cis;import java.io.IOException;import javax.script.ScriptEngineManager;import org.apache.http.client.ClientProtocolException;import org.apache.http.client.ResponseHandler;import org.apa...阅读全文
朗志工作室(Langzhi Studio)江浙沪一带找工作中,欢迎联系 |
公告 |
02 2012 档案摘要: package com.jd.cis;import java.io.IOException;import javax.script.ScriptEngineManager;import org.apache.http.client.ClientProtocolException;import org.apache.http.client.ResponseHandler;import org.apa...阅读全文
摘要: Nginx的proxy_redirect作用 - 阿权的书房Nginx的proxy_redirect作用技术分享 » Nginx | 阅读(5342) | 评论(1)Jul212009Nginx的代理功能太完善了,我们看看proxy_redirect参数的作用。案例说明:要做一个html.aslibra.com的域名处理很多网站的html内容,当然是后端的服务器了,目录分析html.zcom.co...阅读全文
摘要: package com.jd.cis;import java.io.IOException;import javax.script.ScriptEngineManager;import org.apache.http.client.ClientProtocolException;import org.apache.http.client.ResponseHandler;import org.apa...阅读全文
摘要: HttpClient4的cookie rejected问题,以及如何消除该warning输出 - Natural - BlogJavaHttpClient4的cookie rejected问题,以及如何消除该warning输出 Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 st1":*{behavior:url...阅读全文
摘要: Review Board的使用v0.2简介Review Board是一个Code Review的辅助工具,同时使用tao-review board eclipse插件,可以简化整个code review的过程;Review Board的原理是将svn diff的结果以一种可视化的方式集中在网站中展示,提升code review的沟通反馈过程一图胜千言工作流程在eclipse中开发测试完成提...阅读全文
摘要: #!/usr/bin/env python#encoding=utf-8from django.core.mail import send_mailfrom django.conf import settingssettings.configure()settings.EMAIL_HOST="mail.360buy.com"settings.EMAIL_HOST_USER="maolingzhi@360buy.com"settings.EMAIL_HOST_PASSWORD="xxxxx"settings.EMAIL_USE_TLS=阅读全文
摘要: Django | Sending email | Django documentationSMTP backend¶This is the default backend. Email will be sent through a SMTP server. The server address and authentication credentials are set in the EMAIL_...阅读全文
摘要: 简单的python smtp发邮件代码 | 百变贝贝简单的python smtp发邮件代码 2007年六月9日 by 贝贝爸 Leave a reply » 写了一个服务器的监控程序,里面用到邮件提醒功能。python sample code里面没有认证的部分,于是查了文档,google了一下,下了如下的smtp发送邮件的函数,支持smtp验证。代码如下:#!/usr/bin/env py...阅读全文
摘要: django Settings cannot be imported 错误解决 | 奋斗足迹|崔玉松django Settings cannot be imported 错误解决发表于 2010 年 03 月 05 日 由 崔玉松在命令行中直接敲入Python命令进入交互模式,然后使用from django.template import Template ,Context t = Templat...阅读全文
摘要: #!/usr/bin/env python#encoding=utf-8#导入smtplib和MIMETextimport smtplibfrom email.mime.text import MIMEText##############要发给谁,这里发给2个人mailto_list=["maolingzhi@360buy.com"]######################设置服务器,用户名、...阅读全文
摘要: JythonFaq/EmbeddingJython - JythonWikiUsing jythonc (deprecated)JythonFaq - JythonWikiJython Frequently Asked Questions阅读全文
摘要: PyET, Python Embedded Tools What is PyET? Python Embedded Tools (a.k.a. PyET) is a set of Python programs, modules and scripts to aid in the development of embedded systems. Currently there are Python...阅读全文
摘要: Extending and Embedding the Python Interpreter — Python v2.7.2 documentationExtending and Embedding the Python Interpreter¶ Release:2.7Date:February 23, 2012This document describes how to write mod...阅读全文
摘要: KirbyBase 1.9 : Python Package IndexKirbyBase 1.9simple, plain-text database management systemKirbyBase is a pure-python database management system that stores its data in plain-text files. It can be...阅读全文
摘要: 30.4. zipimport — Import modules from Zip archives — Python v2.7.2 documentation30.4.2. Examples¶Here is an example that imports a module from a ZIP archive - note that the zipimport module is not exp...阅读全文
摘要: PythonEggs - The PEAK Developers' CenterThe Quick Guide to Python EggsNOTE: If all you want to do is install a project distributed as an .egg file, head straight to the Easy Install page. EasyInstall...阅读全文
摘要: Python包中__init__.py - 幻.化 - ITeye技术网站Python包中__init__.py 博客分类:pythonPythonXML在python模块的每一个包中,都有一个__init__.py文件,例如python2.5中的xml模块的目录结构就是:xml|_dom|_etree|_parsers|_sax|_ __init__.py这个文件定义了包的属性和方法。例如,x...阅读全文
摘要: 解决ssh连接linux服务器速度慢 | 点滴之间 聚沙成金解决ssh连接linux服务器速度慢 作者: feng 日期: 2011/10/24 发表评论 (0) 查看评论核心:服务器端sshd配置文件 /etc/ssh/sshd_config 看是否有如下的两条配置条目GSSAPIAuthentication no
UseDNS no如果前面带#,请把#删掉,或者新添加入这样两行。 然后...阅读全文
摘要: puppet运维自动化之sshkey管理 | MySQLOPS 数据库与运维自动化技术分享You are here: Home / puppet中文自动化管理 / puppet运维自动化之sshkey管理puppet运维自动化之sshkey管理九月 24, 2011 by sky · 2 Comments【puppet sshkey 导读】ssh key,作为系统管理人员经常会使用ssh 连接远程...阅读全文
摘要: gSTM:Ubuntu 上的 SSH Tunneling 图形界面管理工具 - Wow! UbuntugSTM:Ubuntu 上的 SSH Tunneling 图形界面管理工具介绍之前我们在 Ubuntu 下如何使用 SSH Tunneling Proxy ? 一文中介绍了如何在 Ubuntu 下使用 SSH Tunnel 这一神器,此文中基本上介绍的都是基于命令行的工具,可能对新手来说比较难理解...阅读全文
摘要: PAC Manager: Ubuntu 上强大的 SSH 帐号管理工具,可取代 SecureCRT [软件] | Wow!UbuntuPAC Manager: Ubuntu 上强大的 SSH 帐号管理工具,可取代 SecureCRT 10 七 2010 # 作者: riku /本文采用CC BY-NC-SA 2.5协议授权,转载请注明本文链接。对于在 Windows 上经常需要远程管理 Lin...阅读全文
摘要: 在服务器上用gpg-agent - delphij's Chaos此哥们在美国在服务器上用gpg-agentBy Xin LI on January 3, 2011 1:37 AM| 1 Comment| No TrackBacks上回书说到通道服务器的问题。在 /etc/csh.cshrc 中添加下列内容,可令系统同时启动gpg-agent和ssh-agent:setenv SSH_AUTH...阅读全文
摘要: centos开机自动运行[.sh]程序的方法 | Linux Vps3centos开机自动运行[.sh]程序的方法admin Linux 相关 命令, 开机自动运行, 脚本 0 Comments 发表评论有时候呢我们需要在centos系统启动的时候运行程序,这样保证一些服务就没有中断,相信你理解是什么意思。其实方法很简单呐,就是把需要运行的程序放在/etc/rc.d/rc.local里面就可以启动...阅读全文
摘要: Fedora 15/16 安装后需要做的28件事 | Cweili Alpha - 关注IT 记录身边事Fedora 15/16 安装后需要做的28件事 | Cweili Alpha - 关注IT 记录身边事01、 系统安装登录官方网站下载最新liveCD镜像,刻盘安装。#####02、 设置ROOT可直接登录打开终端,输入命令:$ su输入root密码(此时密码不显示,直接输入)输入命令:# g...阅读全文
摘要: 老李教你CentOS主机设置中国时区 | CMS资讯网博客社区老李在把玩我的VPS主机,发现我的主机时间不是中国标准时间CST。于是想到设置为中国标准时间,具体方法是。CentOS当前时区文件目录:/etc/localtime
CentOS其他时区文件目录:/usr/share/zoneinfo
一、时区
1. 查看当前时区
date -R
2. 修改设置时区
方法(1):tzselect
方法(...阅读全文
摘要: TorqueBox: News News Video & Slides From TorqueBox at ATL JBUG Ben Browning 07 February 2012 presentations jbug event On Tuesday, Jan 31st I presented TorqueBox to the Atlanta JBoss User Group in a ta...阅读全文
摘要: Jon's Tech Notes: Invoking a console from a deployed JRuby WAR fileBundled WAR deployments in JRuby are one of the great things about a JRuby app. There’s something satisfying about creating everythin...阅读全文
摘要: codegram/rack-webconsole - GitHubUsage with Rails 3rack-webconsole Rack-webconsole is a Rack-based interactive console (à la Rails console) in your web application's frontend. That means you can inter...阅读全文
摘要: codegram/rack-webconsole - GitHubUsage with Rails 3rack-webconsole Rack-webconsole is a Rack-based interactive console (à la Rails console) in your web application's frontend. That means you can inter...阅读全文
摘要: JRuby: Wiki: JRubyOnWebStart — Project KenaiDeploying JRuby applications with Java Web StartContents [hide]1 Deploying JRuby applications with Java Web Start1.1 Known Issues1.2 Samples1.2.1 Getting ji...阅读全文
摘要: VPythonVPython is the Python programming language plus a 3D graphics module called "Visual" originated by David Scherer in 2000. VPython makes it easy to create navigable 3D displays and animations, ...阅读全文
摘要: Pyro 4 - Python remote objectsPython Remote Objects 4.xPyro is a library that enables you to build applications in which objects can talk to each other over the network, with minimal programming effor...阅读全文
摘要: Fiji Is Just ImageJFiji Is Just ImageJTweetshort URLFrom FijiJump to: navigation, search The SPIM Registration plugin provides fast, reliable and high-precision registration and fusion of Selective Pl...阅读全文
摘要: jip 0.5.1 : Python Package Indexjip 0.5.1jip installs packages, for JythonDownloads ↓Latest Version: 0.7 Jip is the jython equivalent of pip to python. It will resolve dependencies and download jars ...阅读全文
摘要: Jython Course OutlineJython Course Outline Author:Dave KuhlmanAddress:dkuhlman@rexx.com
http://www.rexx.com/~dkuhlman
Revision:1.1bDate:May 9, 2008Copyright:Copyright (c) 2006 Dave Kuhlman. All Ri...阅读全文
摘要: Sikuli Documentation — Sikuli X 1.0 documentationSikuli Documentation¶Getting HelpLooking for specific information?Try the Table of ContentsLook through the IndexUse the Search PageSee other people’s ...阅读全文
摘要: JMRI: A Java Model Railroad InterfaceWhat is JMRI?The JMRI project is building tools for model railroad computer control. We want it to be usable to as many people as possible, so we're building it in...阅读全文
摘要: Using the WebLogic Scripting ToolWebLogic Scripting Tool Using the WebLogic Scripting Tool The following sections describe the WebLogic Scripting Tool: What is the WebLogic Scripting Tool...阅读全文
摘要: iTunes-播客-Josh Juneau 的播客《Jython Podcast》Jython Podcast阅读全文
摘要: Jython Interactive Servlet ConsoleJython Interactive Servlet Console[Download] [License] Questions or Feedback? Send email to Vishal Goenka Q> What is Jython Interactive Servlet Console?A> It is an i...阅读全文
摘要: STIL - Starlink Tables Infrastructure Library STIL Starlink Tables Infrastructure LibraryGeneric Java Table Handling for Astronomy What is STIL? Features Generic VOTable Supported Formats Docume...阅读全文
摘要: STILTS - Starlink Tables Infrastructure Library Tool SetSTILTS - Starlink Tables Infrastructure Library Tool SetVersion 2.4Starlink User Note 256 Mark Taylor 27 October 2011 $Id: sun256.xml 10109 2011...阅读全文
摘要: Use Jython to Exercise Java APIs Without CompilingUse Jython to Exercise Java APIs Without Compiling http://www.devx.comPrinted from http://www.devx.com/java/Article/27571/1954Use Jython to Exercise J...阅读全文
摘要: JythonMonthly/Articles/September2006/1 - JythonWikiAccessing Jython from Java Without Using jythoncSubmitted By: Josh Juneau You may or may not know that it is possible to access Jython code from Java...阅读全文
摘要: 使用python开发hadoop streaming程序及hadoop python网页抓取例子 - flying5 - 博客园使用python开发hadoop streaming程序及hadoop python网页抓取例子Hadoop streaming是Hadoop的一个工具,它帮助用户创建和运行一类特殊的map/reduce作业,这些特殊的map/reduce作业是由一些可执行文件或脚本文件...阅读全文
摘要: Jython 简单入门 博客分类:pythonJythonPythonJavaCC++1. 用Jython调用Java类库 第一步、创建Java类 写一个简单的Java类,用Point来示例:Java代码 importorg.python.core.*;publicclassPointextendsPyObject{privateintx;privateinty;publicPoint(){...阅读全文
摘要: Python里pycurl使用记录 - 无聊空间Python里pycurl使用记录这阵子使用python里读rss保存到数据库里,但使用了一段时间urllib觉得慢,在网上说pycurl的速度比urllib快,于是尝试使用,记录下使用方法: #!/usr/bin/env python# -*- coding: utf-8 -*-import StringIOimport pycurl html =...阅读全文
摘要: PycURL Documentationpycurl — A Python interface to the cURL libraryThe pycurl package is a Python interface to libcurl (http://curl.haxx.se/libcurl/). pycurl has been successfully built and tested wit...阅读全文
摘要: 用curl 发送指定的大cookie的http/https request_jian_g_-ChinaUnix博客用curl 发送指定的大cookie的http/https request (2011-08-16 13:54)分类: linux系统管理用curl 发送指定的大cookie的http/https request2010年9月26日15:08Using curl, we can sen...阅读全文
摘要: Download A File Using Cygwin and cURLDownload A File Using Cygwin andcURLI'm starting to like using Cygwin more and more. Command line scripting allows me to get the information without all of the ha...阅读全文
摘要: MS的cdn不能用不用看了,太贱了作者 Abel Avram 译者 赵劼 发布于 2009年9月19日领域 语言 & 开发主题 JavaScript , 动态语言 , .NET , 语言 , AJAX , 微软 , 编程 , jQuery , RIA为了吸引更多开发人员和网站使用ASP.NET,微软为Microsoft AJAX和jQuery脚本提供了免费的CDN服务。目前微软CD...阅读全文
摘要: Eclipse 3.5.2及插件安装 –Eclipse 3.5.2及插件安装作者:lizongbo 发表于:22:28. 星期四, 三月 4th, 2010 版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本版权声明。 http://618119.com/archives/2010/03/04/160.htmlEclipse 3.5.2及插件安装
1.首先下载Ecli...阅读全文
摘要: RPM/AlienHowto - Community Ubuntu DocumentationRPMAlienHowto Alien converts an RPM package file into a Debian package file or Alien can install an RPM file directly. This is not the recommended way to...阅读全文
摘要: Creating an Interactive JRuby Console for the Eclipse Environment Musings on Language and Design Creating an Interactive JRuby Console for the Eclipse Environment by Jeremy Meyer April 4, 2008 Summary...阅读全文
摘要: Chapter 10: Jython and Java Integration — Jython Book v1.0 documentationUtilizing PythonInterpreter¶A similar technique to JSR-223 for embedding Jython is making use of the PythonInterpreter directly....阅读全文
摘要: Chapter 7: Exception Handling and Debugging — Jython Book v1.0 documentationIssuing Warnings¶Warnings can be raised at any time in your program and can be used to display some type of warning message,...阅读全文
摘要: Chapter 2: Data Types and Referencing — Jython Book v1.0 documentationJython-specific Collections¶There are a number of Jython-specific collection objects that are available for use. Most of these col...阅读全文
摘要: WebCore::Node Dump | Jelly's BlogWebCore::Node Dump1. 访问 www.google.com.hk首页时,WebKit中的Node对象关系2. 访问www.baidu.com首页时,WebKit中的Node对象关系阅读全文
|