I hereby claim:
- I am obfuscurity on github.
- I am obfuscurity (https://keybase.io/obfuscurity) on keybase.
- I have a public key whose fingerprint is 7AA7 48DD AE57 2D63 8E45 0E3F C035 39F0 4566 1653
To claim this, I am signing this object:
This file contains 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
## haproxy.cfg | |
global | |
user haproxy | |
group haproxy | |
daemon | |
maxconn 16384 | |
pidfile /var/run/haproxy.pid | |
defaults |
This file contains 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
import os | |
import os.path | |
import sys | |
from graphite.render.hashing import ConsistentHashRing | |
instances = [] | |
unwelcome_instances = [] | |
for arg in sys.argv[1:]: | |
unwelcome = False |
This line chart is constructed from a TSV file storing the daily average temperatures of New York, San Francisco and Austin over the last year. The chart employs conventional margins and a number of D3 features:
- d3.tsv - load and parse data
- d3.time.format - parse dates
- d3.time.scale - x-position encoding
- d3.scale.linear - y-position encoding
- d3.scale.category10, a d3.scale.ordinal - color encoding
- d3.extent, d3.min and d3.max - compute domains
- [d3.k
This file contains 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
Thank you for your inquiry. | |
I am only looking for contract work. My rate is one thousand dollars an hour ($1,000/hr). I charge ten thousand dollars ($10,000) for referrals. | |
If this does not fit the positions you are looking for, please remove me from your list. I will also not refer someone else in my place. | |
Thanks, | |
Jason |
This file contains 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 ruby | |
# | |
# This script migrates your Heroku app from a Shared DB to a Postgres `dev` Plan | |
# | |
# Usage: | |
# ruby migrate.rb [app_name] | |
# | |
def usage | |
puts "migrate.rb [app_name]" |
This file contains 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
$ heroku config:add VERSION=2 | |
Adding config vars and restarting app... done, v7 | |
VERSION => 2 | |
$ heroku run rake db:migrate:to | |
Running rake db:migrate:to attached to terminal... up, run.2 | |
(in /app) | |
<= sq:migrate:to version=[2] executed | |
$ heroku run rake db:migrate:down |
This file contains 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
# migrations/003_BootstrapAccount.rb | |
Sequel.migration do | |
up do | |
timestamp = Time.now | |
self[:users].insert( | |
:username => "admin@foobar.com", | |
:password => "$2a$10$BpKGMuwioxQrfvkS0HPglOq3hTf1tvhY6KDdaFe3UynbxsvHTzDTm", | |
:api_token => "87bdbcb0-fb92-012e-a61c-109addaa2672", |
NewerOlder