Skip to content

Instantly share code, notes, and snippets.

nwest /
Last active Dec 19, 2018
Advent of Code 2018 Day 5: Alchemical Reduction


Given a combination of polymers, represented by a string of uppercase and lowercase characters, remove the reactions that can take place until no reactions remain. What's the length of the string that has no more reactions?

A reaction can take place if two subsequent letters are the same letter with opposite cases.

  • "aA" reacts.
  • "Aa" reacts.
  • "AA" does not react.
  • "aa" does not react.
nwest /
Last active Aug 29, 2015
iOS Bootcamp

iOS Bootcamp Requirements

Your goal is to build an app or set of apps that incorporate the following features:

  • Interaction with an external API
    • Model serialization and deserialization from JSON
    • Demonstrable understanding of asynchronous code, including error handling
    • Bonus for: requests that are not just GET (Other CRUD?)
    • Bonus for: Authenticated requests (oAuth?)
View keybase
### Keybase proof
I hereby claim:
* I am nwest on github.
* I am nwest ( on keybase.
* I have a public key whose fingerprint is 0CB3 0E6F 7C15 6C20 32EF 20A5 DB1E 2C8A CDD5 BC1A
To claim this, I am signing this object:
View names names names
"AARON":["An extra A, to match your extra chromasome."],
"DJANGO":["Did you mean the over-rated musician with the stupid name or the overcomplicatd web framework with the stupid name?"],
"ABBY":["Abby. Gets stabby. Don't make her crabby! Abby."],
"KANYE":["Watch the Throne was really disappointing."],
"ABDUL":["Abdul. What a ghoul. Smells like drool. Abdul."],
"WIL":["You watch sports with a horse head on. And your name is stupid."],
"ABE":["Let's be honest. Your name is stupid."],
"BIZ":["Biz is as bad a name for a person as Jelly is for a company."],
"ABEL":["I hope your brother kills you."],
"ABIGAIL":["Hebrew for \"her father's joy.\" Your father's joy must have been making his daughter live with a shitty name."],
nwest /
Last active Dec 12, 2015
Pulls a random image from a subreddit and post the URL
# Description:
# Pulls a random image from a subreddit
# Dependencies:
# request
# Configuration:
# None
# Commands:
View gist:4494794

Greetings and Welcome Explorer,

I am glad that you found your way here. You deserve better than another routine day of drudgery aboard the Stellar Patrol Ship Feinstein. I think we want to work with you.

Detroit Labs is in the business of creating mobile apps. We do this by inviting the best and most interesting people to join our team, and asking them to solve the hard problems that go along with building and shipping software. Since you are reading this, you may be one of those people. I hope so!

View gitio
#!/usr/bin/env ruby
# Usage: gitio URL [CODE]
# Turns a URL
# into a URL
# Copies the URL to your clipboard.
url = ARGV[0]
code = ARGV[1]
We couldn’t find that file to show.