Skip to content

Instantly share code, notes, and snippets.

this.webBrowser1.Navigate(textBox21.Text, null, null,"Referer:http://www.google.comrnUser-Agent:hi im ua\r\nanythingulike:some stuff:)");
# 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'
#!/usr/bin/python
# Filename s5.py
# Python Dynamic Socks5 Proxy
# Usage: python s5.py 1080
# Background Run: nohup python s5.py 1080 &
# Email: ringzero@557.im
import socket, sys, select, SocketServer, struct, time
class ThreadingTCPServer(SocketServer.ThreadingMixIn, SocketServer.TCPServer): pass
"显示行号
set number
"不发出错误滴滴声
set noerrorbells
"高亮显示匹配的括号
set showmatch
"统一缩进
set tabstop=4
set softtabstop=4
set shiftwidth=4
" ----------------- 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 '
@yaonie
yaonie / Aboutme.py
Created April 6, 2012 15:47
yaonie.org - about me
#!/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'
#!/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'
def xx():
print 'hello world'