Skip to content

Instantly share code, notes, and snippets.

@marklit
marklit / passenger_counts.csv
Last active August 29, 2015 14:27
Commercial Airline Passenger Counts between airports (for latest year reported, usually 2013)
ABE CLT 49130
ABE DTW 31350
ABE MYR 7670
ABE PHL 34670
ABE PIE 24270
ABX SYD 225400
ABZ BHX 125060
ABZ DUB 47295
ABZ KOI 49091
ABZ LCY 63163
@famousgarkin
famousgarkin / powershell-proxy-set-clear.ps1
Last active March 31, 2024 13:55
PowerShell Set-Proxy, Clear-proxy
# NOTE: registry keys for IE 8, may vary for other versions
$regPath = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings'
function Clear-Proxy
{
Set-ItemProperty -Path $regPath -Name ProxyEnable -Value 0
Set-ItemProperty -Path $regPath -Name ProxyServer -Value ''
Set-ItemProperty -Path $regPath -Name ProxyOverride -Value ''
[Environment]::SetEnvironmentVariable('http_proxy', $null, 'User')
@compleatang
compleatang / extractannotations.py
Created January 28, 2014 12:08
Extract Annotations from a PDF File.
#!/usr/bin/env python
import poppler
import sys
import urllib
import os
def main():
input_filename = sys.argv[1]
# http://blog.hartwork.org/?p=612