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
#!/usr/bin/env python | |
import argparse | |
import itertools | |
import json | |
import math | |
import os | |
import re | |
import sys | |
import urllib2 |
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
HP40NE | |
HP40SE | |
HP50NE | |
HP50NW | |
HP50SE | |
HP50SW | |
HP51NE | |
HP51SE | |
HP60NE | |
HP60NW |
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
#!/usr/bin/python | |
# | |
# This script fetches the current open tabs in all Safari windows. | |
# Useful to run remotely on your mac when you are at work and want | |
# to read a page you have open (remotely) at home but don't remember | |
# the url but can log in to your home system on the cmmand line | |
# | |
import sys |
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
#!/usr/bin/env python | |
# | |
# emulates a web browser for the purpose of harvesting and dump trade data/signals being sent via socketio | |
# | |
# version 1.3.1 - fixed an issue with the inverse time.mktime assuming localtime instead of gmtime (need calendar.gmtime instead) | |
# version 1.3 - added signal handling for HUP requesting csv files be flushed to disk (since we do i/o buffering by default) | |
# version 1.2 - updated code to be python 2.6 friendly (i need to tell my friend to up update his server already) | |
# version 1.1 - various improvements for more robust exception handling/socket restarting | |
# version 1.0 - initial entry |
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
#!/ms/dist/python/PROJ/core/2.7.3/bin/python | |
REMOTE_REPO_TYPE = 'RHEL' | |
LOCAL_REPO_DIR = '/var/tmp/rhel' | |
PROXY_PARAMETERS = { 'https': 'wwwproxy:8080' } | |
import os | |
import sys | |
from os.path import abspath, dirname, normpath |
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
#!/usr/bin/env python | |
from __future__ import print_function | |
from io import FileIO | |
import os | |
import sys | |
import zlib | |
import struct | |
import argparse |
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
#!/ms/dist/python/PROJ/core/2.7.1/bin/python | |
import re | |
import sys | |
import urllib | |
import urllib2 | |
import argparse | |
import cookielib | |
import ms.version |
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
#!/ms/dist/python/PROJ/core/2.7.1/bin/python | |
import os | |
import sys | |
import time | |
from shutil import move, copy | |
import ms.version |
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
#!/usr/bin/perl | |
$| = 1; | |
use strict; | |
while (<>) { | |
chomp; | |
my ($offset,$addr,$hex) = /^\s*(0x([0-9a-f]+):?)\s+((\s[0-9a-f]{2,4}){1,8})/; |
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
#!/ms/dist/python/PROJ/core/2.7.1/bin/python | |
import os | |
import sys | |
import time | |
import signal | |
import shutil | |
from time import time, sleep | |
from tempfile import mkdtemp | |
from subprocess import Popen, PIPE |