加载中
关于scrapy的一篇文章---Civic Hacking with Python – Part 2

Getting Started Switch to a work directory then create your base Scrapy project (I called mine mtqinfra): $ scrapy startproject mtqinfra $ find . . ./mtqinfra ./mtqinfra/__init_...

2012/07/30 18:46
905
linux-c 展示目录的小程序

展示指定目录的小程序 #include <unistd.h> #include <stdio.h> #include <dirent.h> #include <string.h> #include <sys/stat.h> #include <stdlib.h> void printdir(char *dir,int depth)...

2012/07/29 22:13
128
jquery --- Poshy Tip jQuery Plugin

作为一个抄袭者---从抄袭开始 jquery我无比的爱你啊 提示的插件:Poshy Tip jQuery Plugin 下载地址记住:开源社区有哦 http://vadikom.com/demos/poshytip/...

2012/07/26 18:24
282
python --- pycurl

pycurl #!/usr/bin/env python #-*- coding:utf-8 -*- import pycurl import StringIO c = pycurl.Curl() c.setopt(pycurl.URL,"http://www.website.com") c.setopt(pycurl.POST,1) c.setop...

2012/07/25 22:55
489
python ---- urllib2

获取数据的方式 #!/usr/bin/env python #-*- coding:utf-8 -*- import urllib2 u='zhangdapeng89@gmail.com' p='xxxxxxxxxxxxxxxxx' url='https://api.github.com/users/username' def enc...

2012/07/25 22:20
461
facebox的iframe补充

Using IFrame with FaceBox JQuery plugin By BRUNO | Published: MAY 21, 2010 Facebox is a jQuery-based, Facebook-style lightbox which can display images, divs, or entire remote pa...

eclipse 安装PyDev

插件的详细地址 http://pydev.org/download.html 只要知道这个详细地址,一切搞定,ok!!!

2012/07/17 21:25
138
shell 记录music的小程序

#!/bin/sh menu_choice="" current_cd="" title_file="title.cdb" tracks_file="tracks.cdb" temp_file=/tmp/cdb.$$ trap 'rm -f $temp_file' EXIT get_return(){   echo -e "Press return \...

2012/07/15 18:47
173
shell 输入框 加 选择框 信息提示

#!/bin/sh dialog --title "Questionnaire" --inputbox "Please enter your name" 9 30 2>_1.txt Q_NAME=$(cat _1.txt) dialog --menu "$Q_NAME, what music do you like best?" 15 30 4 1 ...

2012/07/15 17:18
446
shell 选择对话框

dialog --title "Check me" --checklist "Pick Numbers" 15 25 3 1 "one" "off" 2 "two" "on" 3 "three" "off"...

2012/07/15 17:00
170
shell trap

#!/bin/sh trap 'rm /tmp/my_tmp_file_$$' INT echo creating file /tmp/my_tmp_file_$$ date > /tmp/my_tmp_file_$$ echo "press interrupt (CTRL-C) to interrupt..." while [ -f /tmp/my...

2012/07/15 12:53
96
ubuntu 自带的编辑器

使用gEdit搭配terminal来写程序也有一段时间了,但一直当它是windows下的notepad,没有好好熟悉下它,今天无意中发现原来gEdit也可以打造一个不错的编程环境。这里对相关的资料收集总结了一下...

2012/07/14 07:32
4.8K
ubuntu安装netbeans方法及解决netbeans乱码方法

1.首先你得先正确安装JDK,并配置好环境变量 可参考http://blog.csdn.net/chaimingkun/article/details/7488271 2.安装netbeans 首先到netbeans官网下载netbeans,我用的是netbeans-7.1.1-ml...

2012/07/09 23:36
1.1K
python-django 静态文件设置

python-django 静态文件路径设置 urlpatterns = patterns('', url(r'^css/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/usr/share/nginx/www/pythonweb/mysite/my...

2012/07/04 23:28
221
星座

1,水瓶:天秤座 2,水瓶:双子座 3,水瓶:狮子座

2012/07/02 08:21
166

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部