Skip to content

Instantly share code, notes, and snippets.

View shangliuyan's full-sized avatar

leo shang shangliuyan

View GitHub Profile
@shangliuyan
shangliuyan / 0_reuse_code.js
Created April 26, 2016 03:39
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@shangliuyan
shangliuyan / socks.py
Last active April 26, 2016 08:09 — forked from e000/socks.py
socksipy + urllib2 handler
"""SocksiPy - Python SOCKS module.
Version 1.00
Copyright 2006 Dan-Haim. All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,