This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def xx(): | |
print 'hello world' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# encoding=utf-8 | |
from time import strftime | |
from time import gmtime | |
def _id(): | |
_who = '%s/%s' % ('北北', 'Edward') | |
_where = 'China' | |
_when = 'After 80s' | |
_sex = 'Male' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# encoding=utf-8 | |
# Author : 北北(ed) | |
from time import strftime | |
from time import gmtime | |
def _id(): | |
_who = '%s/%s' % ('北北', 'Edward') | |
_where = 'China' | |
_when = 'After 80s' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" ----------------- http://yaonie.org | |
" ----------------- Date: 2011-08-04 | |
set nocompatible | |
source $VIMRUNTIME/vimrc_example.vim | |
source $VIMRUNTIME/mswin.vim | |
behave mswin | |
set diffexpr=MyDiff() | |
function MyDiff() | |
let opt = '-a --binary ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"显示行号 | |
set number | |
"不发出错误滴滴声 | |
set noerrorbells | |
"高亮显示匹配的括号 | |
set showmatch | |
"统一缩进 | |
set tabstop=4 | |
set softtabstop=4 | |
set shiftwidth=4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Filename s5.py | |
# Python Dynamic Socks5 Proxy | |
# Usage: python s5.py 1080 | |
# Background Run: nohup python s5.py 1080 & | |
# Email: [email protected] | |
import socket, sys, select, SocketServer, struct, time | |
class ThreadingTCPServer(SocketServer.ThreadingMixIn, SocketServer.TCPServer): pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding=utf-8 | |
# Usage: python filename.py | |
# Background Run: nohup python filename.py 2079 & | |
# http://yaonie.org/ | |
import socket, thread, select, sys | |
BUFLEN = 8192 | |
HTTPVER = 'HTTP/1.1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.webBrowser1.Navigate(textBox21.Text, null, null,"Referer:http://www.google.comrnUser-Agent:hi im ua\r\nanythingulike:some stuff:)"); |