Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am ckolderup on github.
  • I am casey (https://keybase.io/casey) on keybase.
  • I have a public key whose fingerprint is 3243 5766 65DC F5BB 8724 7BC4 15C4 8823 E7F2 0938

To claim this, I am signing this object:

@ckolderup
ckolderup / Gemfile
Created April 4, 2014 19:05
this was a good use of my time
ruby '2.0.0'
source 'https://rubygems.org'
gem 'activesupport'
curl -s "http://www.avatarpro.biz/avatar?s=500" | curl -s -F file=@- cga.graphics/api/convert/ > `openssl rand -base64 6`.png
@ckolderup
ckolderup / Gemfile
Created July 8, 2014 19:20
drilsay - make your OS X install read wint to you whenever he tweets
source 'https://rubygems.org'
gem 'tweetstream'
gem 'foreman'
@ckolderup
ckolderup / gist:efb9ff0635eee61ab3fb
Created October 9, 2014 20:10
get titles of all top hacker news stories
curl -s -S "https://hacker-news.firebaseio.com/v0/topstories.json" | jq ".[]" | xargs -I % curl -s -S "https://hacker-news.firebaseio.com/v0/item/%.json" | jq ".title"
Rick Wakeman – Shear [sic] Terror
Juggaknots – Loosifa
Clap Your Hands Say Yeah – Satan Said Dance
Holocaust – Sinister
Sampson, Jokez, Nokes, Zach & Jesse D – Crazymen
Gravediggaz – Zig Zag Chamber
Sixtoo – Caukazoid Germ
Buck 65 – Chip Chop
Lovage – Archie & Veronica
Goodie Mob – Cell Therapy
pwd = Dir.new('.')
pwd.entries.select do |e|
next unless /^.+\.csv$/.match(e)
IO.readlines(e).each do |line|
arr = line.split(',')
id = arr[0]
source = arr[6]
puts id.gsub('"', '') if /#{ARGV[0]}/.match(source)
end
end
@ckolderup
ckolderup / toot-to-post.patch
Last active August 17, 2018 05:35
A mastodon patch
From 9b33941fb9a4989c416c5499802e5d6592d8fac6 Mon Sep 17 00:00:00 2001
From: Casey Kolderup <[email protected]>
Date: Fri, 17 Aug 2018 00:16:51 +0000
Subject: [PATCH] make lethar.gy a little more boring
---
app/javascript/mastodon/locales/en.json | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/app/javascript/mastodon/locales/en.json b/app/javascript/mastodon/locales/en.json
@ckolderup
ckolderup / song-links.patch
Created August 17, 2018 05:46
at the time they're displayed, change spotify and apple music links into song.link URLs

Vox Media Developer Experience Engineer

Intro

As part of the technical interview, you’ll be provided with an exercise, and some skeleton code that aims to solve a problem. Over approximately 40 minutes, you’ll get to implement a solution the best way you can while walking the interviewers through your process.

You will have the choice of approaching the problem in either Ruby or JavaScript.

Exercise scenario