Skip to content

Instantly share code, notes, and snippets.

@ckolderup
ckolderup / # vox-cli - 2019-11-11_14-43-22.txt
Created November 11, 2019 22:45
vox-cli (voxmedia/private/vox-cli) on macOS 10.14.6 - Homebrew build logs
Homebrew build logs for voxmedia/private/vox-cli on macOS 10.14.6
Build date: 2019-11-11 14:43:22

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

@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
@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
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
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
@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"
@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'
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 April 4, 2014 19:05
this was a good use of my time
ruby '2.0.0'
source 'https://rubygems.org'
gem 'activesupport'