I hereby claim:
- I am titanous on github.
- I am titanous (https://keybase.io/titanous) on keybase.
- I have a public key whose fingerprint is 6834 13C4 A7A6 1C6D 84D6 8A7C E38D 8C6B AA8C 49AA
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| WARNING: DATA RACE | |
| Write by goroutine 30: | |
| github.com/coreos/etcd/server.(*raftServerStats).RecvAppendReq() | |
| /Users/titanous/src/gopkgs/src/github.com/coreos/etcd/src/github.com/coreos/etcd/server/raft_server_stats.go:46 +0x3a | |
| github.com/coreos/etcd/server.(*PeerServer).AppendEntriesHttpHandler() | |
| /Users/titanous/src/gopkgs/src/github.com/coreos/etcd/src/github.com/coreos/etcd/server/peer_server_handlers.go:66 +0x485 | |
| github.com/coreos/etcd/server.*PeerServer.AppendEntriesHttpHandler·fm() | |
| /Users/titanous/src/gopkgs/src/github.com/coreos/etcd/src/github.com/coreos/etcd/server/peer_server.go:245 +0x51 | |
| net/http.HandlerFunc.ServeHTTP() | |
| /Users/titanous/src/go-tip/src/pkg/net/http/server.go:1222 +0x4d |
| #!/usr/bin/ruby | |
| # directory git should contain 2 branches: origin/master and debian | |
| system("rm -rf debian && mkdir debian") | |
| Dir.chdir('git') | |
| system('git remote update && git reset --hard origin/master') | |
| version = `git describe`.chomp |
| { | |
| "ALL": { | |
| "name": "All", | |
| "requests": { | |
| "all": { | |
| "rejected": 47718, | |
| "total": 149708, | |
| "need_more_info": 16896, | |
| "pending": 5027, | |
| "complied": 59935 |
| require 'osx/cocoa' | |
| include OSX | |
| class NotificationHandler < NSObject | |
| def initialize | |
| c = NSDistributedNotificationCenter.defaultCenter | |
| c.addObserver_selector_name_object(self, :notification, 'com.apple.iTunes.playerInfo', nil) | |
| end | |
| def notification(n) |
| # Ruby ASR Weather for Tropo | |
| # Copyright 2009 Jonathan Rudenberg | |
| # Licensed under the MIT License | |
| # | |
| # Requires a Yahoo! App ID and WeatherBug API Key | |
| # http://developer.yahoo.com/maps/rest/V1/geocode.html | |
| # http://weather.weatherbug.com/desktop-weather/api.html | |
| # | |
| # Try it out by calling 1-312-957-8992 |
| #!/usr/bin/env ruby | |
| require 'twiliolib' | |
| # Twilio REST API version | |
| API_VERSION = '2008-08-01' | |
| # Twilio AccountSid and AuthToken | |
| ACCOUNT_SID = 'AC79a4b3609b05ee750cf0844e330cd11b' # FAKE | |
| ACCOUNT_TOKEN = '1d1b9c34c3a40f5c6ba501775ba1f86b' # FAKE |
| #!/usr/bin/env ruby | |
| # twail.rb | |
| # Twitter stream tail | |
| # Copyright 2010 Jonathan Rudenberg | |
| # Licensed under the MIT License | |
| # | |
| # Prerequisites: gem install json twitter-stream | |
| require 'optparse' |
| subject(/Ticket/).to(':user@example.com') do | |
| User.find_by_identifier(params[:user]).add_ticket(message) | |
| end |
| def mask n;n[0,6]+'*'*(n.size-10)+n[-4,4]end |