Skip to content

Instantly share code, notes, and snippets.

View philipsd6's full-sized avatar

Philip Douglass philipsd6

View GitHub Profile
@epicserve
epicserve / weather_codes.py
Created January 28, 2013 21:32
Yahoo and NOAA Weather Icons
# source: http://w1.weather.gov/xml/current_obs/weather.php
# icon_url: http://w1.weather.gov/images/fcicons/<weather_code>.jpg
noaa_weather_codes = {
'bkn': 'Mostly Cloudy | Mostly Cloudy with Haze | Mostly Cloudy and Breezy',
'nbkn': 'Mostly Cloudy | Mostly Cloudy with Haze | Mostly Cloudy and Breezy',
'skc': 'Fair | Clear | Fair with Haze | Clear with Haze | Fair and Breezy | Clear and Breezy',
'nskc': 'Fair | Clear | Fair with Haze | Clear with Haze | Fair and Breezy | Clear and Breezy',
'few': 'A Few Clouds | A Few Clouds with Haze | A Few Clouds and Breezy',
'nfew': 'A Few Clouds | A Few Clouds with Haze | A Few Clouds and Breezy',
'sct': 'Partly Cloudy | Partly Cloudy with Haze | Partly Cloudy and Breezy',
@olooney
olooney / .gitignore
Last active September 14, 2023 09:36
worked examples of argparse and python logging
logs/
@EdEichman
EdEichman / Ed's Zenburn
Created May 14, 2015 09:35
Ed's PuTTY zenburn theme for windows. Save into a .reg file, set YOUR_SESSION_NAME to the name of your PuTTY session where you want to apply the colors, save and run the .reg file. Zenburn picked up from http://looselytyped.blogspot.com.es/2013/02/zenburn-pleasant-color-scheme-for-putty.html. Addition of LineCodePage for CentOS7, and a larger fo…
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\YOUR_SESSION_NAME]
"Colour0"="255,255,255"
"Colour1"="255,255,255"
"Colour2"="51,51,51"
"Colour3"="85,85,85"
"Colour4"="0,0,0"
"Colour5"="0,255,0"
"Colour6"="77,77,77"