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
{ | |
"aliases": [ | |
"helium-8" | |
], | |
"environment": "production", | |
"hostname": "dmz08", | |
"ipaddress": "10.128.50.26", | |
"limits": [], | |
"name": "s0027", | |
"role": "helium-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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Stick this file in ~/Library/Developer/Xcode/UserData/FontAndColorThemes then | |
go to Xcode -> Preferences -> Fonts & Colors -> Twilight | |
--> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>DVTConsoleDebuggerInputTextColor</key> |
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
class Twitter(object): | |
def __init__(self, consumer, token=None, url='http://api.twitter.com/1', name='', **kwargs): | |
self.client, self.url = oauth.Client(consumer, token), '%s/%s.json' % (url, name) | |
__getattr__ = lambda self, name: Twitter(self.consumer, self.token, url=self.url, name=name) | |
def __call__(self, **kwargs): | |
return json.loads(filter(lambda x: x['status'] == '200' or not x.has_key('status'), self.client.request((self.url, urllib.urlencode(kwargs)), "GET"))[1]) | |
raise Exception('Invalid response.') |
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
metar_code = temperature_record.properties.get("weather", "") | |
if metar_code == "": | |
records_with_weather_property = filter(lambda x, x.properties.has_key('weather'), eligible_records) | |
if len(records_with_weather_property): | |
metar_code = self.pick_winning_record(lat, lon, records_with_record_property, record_ages, record_distances) |
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
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGSEGV (0xb) at pc=0x00007f296b7ac3e8, pid=6274, tid=139816049727248 | |
# | |
# JRE version: 6.0_18-b18 | |
# Java VM: OpenJDK 64-Bit Server VM (16.0-b13 mixed mode linux-amd64 ) | |
# Derivative: IcedTea6 1.8 | |
# Distribution: Ubuntu 10.04.1 LTS, package 6b18-1.8-4ubuntu3 | |
# Problematic frame: |
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
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGSEGV (0xb) at pc=0x00007fef2dd58785, pid=28212, tid=140665162327824 | |
# | |
# JRE version: 6.0_18-b18 | |
# Java VM: OpenJDK 64-Bit Server VM (16.0-b13 mixed mode linux-amd64 ) | |
# Derivative: IcedTea6 1.8 | |
# Distribution: Ubuntu 10.04.1 LTS, package 6b18-1.8-4ubuntu3 | |
# Problematic frame: |
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
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGSEGV (0xb) at pc=0x00007fef2dd58785, pid=28212, tid=140665162327824 | |
# | |
# JRE version: 6.0_18-b18 | |
# Java VM: OpenJDK 64-Bit Server VM (16.0-b13 mixed mode linux-amd64 ) | |
# Derivative: IcedTea6 1.8 | |
# Distribution: Ubuntu 10.04.1 LTS, package 6b18-1.8-4ubuntu3 | |
# Problematic frame: |
NewerOlder