This file contains hidden or 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
# useful for running ssl server on localhost | |
# which in turn is useful for working with WebSocket Secure (wss) | |
# copied from http://www.piware.de/2011/01/creating-an-https-server-in-python/ |
This file contains hidden or 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
:: Run with full administrator rights | |
netsh wlan export profile folder=. key=clear |
This file contains hidden or 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
#### Goes in /etc/lighttpd/lighttpd.conf | |
server.modules = ( | |
"mod_access", | |
"mod_accesslog", | |
"mod_expire", | |
"mod_compress", | |
"mod_redirect", | |
"mod_setenv", | |
"mod_rewrite" |
This file contains hidden or 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
''' | |
referenced pages | |
http://stackoverflow.com/questions/845058/how-to-get-line-count-cheaply-in-python | |
''' | |
import argparse | |
import sys | |
import requests | |
import simplejson |