Skip to content

Instantly share code, notes, and snippets.

Adam Wiggins adamwiggins

Block or report user

Report or block adamwiggins

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Please publicly post the following Gist, and name it keybase.md

Keybase proof

I hereby claim:

  • I am adamwiggins on github.
  • I am adamwiggins (https://keybase.io/adamwiggins) on keybase.
  • I have a public key ASCSw8hgZLEfeQSMT7V4bEn51DCKl71kscxP4gUUiCFBFgo
@adamwiggins
adamwiggins / Gemfile
Created Nov 18, 2013
Raspberry Pi sample program
View Gemfile
source "https://rubygems.org"
gem 'sinatra'
@adamwiggins
adamwiggins / roku-curl.txt
Created Nov 9, 2013
Roku API query example
View roku-curl.txt
$ curl http://192.168.1.110:8060/query/apps
<apps>
<app id="12" version="3.1.6014">Netflix</app>
<app id="13" version="4.10.13">Amazon Instant Video</app>
<app id="2016" version="3.2.7">Crackle</app>
<app id="2285" version="2.7.6">Hulu Plus</app>
<app id="13842" version="1.3.2">VUDU</app>
<app id="28" version="3.1.7">Pandora</app>
</apps>
@adamwiggins
adamwiggins / end-of-a-chapter.md
Last active Dec 17, 2015
End of a chapter: my Heroku departure message
View end-of-a-chapter.md

It's with a heavy heart that I announce that Friday, May 31 2013 will be my last day at Heroku.

How can I possibly put into words what Heroku has meant to me these last six years? I can say it was a tremendous experience; or the opportunity of a lifetime; or the greatest thing I have ever been a part of. I can say that Heroku has been my life's work, as I did recently in a public blog post. All of those things are true, but none seem to capture the enormity of what's transpired these past six years.

I tend to focus on mechanical elements of a company: product, code, design, process. But what has surprised me the most at Heroku is that none of these things is the best part. The best part is the team.

I've never had the chance to work with a more singular group of people. Talented, passionate, skilled, dedicated. Most of all, sharing a set of values: elegance, craft, maniacal focus on simplicity; and an uncompromising belief that the future will be made of software, and how that software gets made will shape

View adams-heroku-values.md

Make it real

Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.

Ship it

Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.

Do it with style

View Gemfile
source :gemcutter
gem 'sinatra', '1.2.1'
gem 'thin', '1.2.11'
View gist:741141
valkyrie:~$ heroku
=== General Commands
help # show this usage
version # show the gem version
list # list your apps
create [<name>] # create a new app
keys # show your user's public keys
View Gemfile
source :gemcutter
gem 'sinatra', '1.0'
View heroku.vcl
director routing_mesh round-robin {
{
.backend = {
.host = "...some ip...";
.port = "...some port...";
.first_byte_timeout = 90s;
.between_bytes_timeout = 90s;
}
# ...more backends...
}
View s3
#!/usr/bin/env ruby
require 'aws/s3'
class S3Cmd
include AWS::S3
def initialize
Base.establish_connection!(
:access_key_id => ENV['AWS_ACCESS_KEY_ID'],
You can’t perform that action at this time.