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 <casey@kolderup.org>
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 / 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'
@ckolderup
ckolderup / gist:5389867
Created April 15, 2013 17:42
no guarantees that this doesn't require some other setting that I have in my config, but here's a start
statusbar = {
# formats:
# when using {templates}, the template is shown only if its argument isnt
# empty unless no argument is given. for example {sb} is printed always,
# but {sb $T} is printed only if $T isnt empty.
items = {
# start/end text in statusbars
barstart = "{sbstart}";
barend = "{sbend}";
@ckolderup
ckolderup / cd_with_git_histogram.sh
Last active December 14, 2015 14:38
Add a histogram when you cd into any git repos showing your commits across all branches over the past half-year. Requires Zach Holman's `spark` script (`brew install spark`): https://github.com/holman/spark latest version: updated spark-action.rb to take in a directory name. todo: put ruby script in git, change weeks to an optional fileopts flag…
cd() {
if [[ $@ == '-' ]]; then
builtin cd "$@" > /dev/null # We'll handle pwd.
else
builtin cd "$@"
fi
# you could use git rev-parse below instead but it'll trigger in all directories in the repo
if ls .git &> /dev/null; then
echo -e " \033[1;34m"`~/bin/spark-action.rb . 26`"\033[0m"
fi
@ckolderup
ckolderup / tanstaafl
Created March 5, 2012 05:04
My Inaugural Picaro Game Jam entry
---
gameName: TANSTAAFL
gameDescription: ...or is there?
version: "1"
events:
- id: honeyOnTheCatHair
type: replaceItems
items:
- honey
- catHair
@ckolderup
ckolderup / vimrc.patch
Created November 7, 2011 15:41
syntastic vimrc changes after installing syntastic (via pathogen or whatever)
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_enable_signs=1
let g:syntastic_auto_loc_list=1
run SyntasticEnable ruby
run SyntasticEnable javascript
run SyntasticEnable coffee
run SyntasticEnable haml
run SyntasticEnable perl
@ckolderup
ckolderup / gist:1147224
Created August 15, 2011 17:12
MacVim: retain current working directory across new windows
" add this to your .gvimrc.
" thanks to Logan for the obvious trick to achieving
" this that I was looking straight past!
if has("gui_macvim")
macmenu &File.New\ Window key=<nop>
map <D-n> :!mvim<CR><CR>
endif