Skip to content

Instantly share code, notes, and snippets.

View rvedotrc's full-sized avatar

Rachel Evans rvedotrc

View GitHub Profile

Keybase proof

I hereby claim:

  • I am rvedotrc on github.
  • I am rvedotrc (https://keybase.io/rvedotrc) on keybase.
  • I have a public key whose fingerprint is 4668 DC56 305E 1FE3 DCC0 ED89 82BE EB98 7BC4 1CE1

To claim this, I am signing this object:

First, a script to ensure tmux is running how we like it:
$ cat start-tmux
#!/bin/bash
if ! tmux has-session -t irssi >/dev/null 2>&1 ; then
tmux -2 new-session -d -n irssi -s irssi irssi
fi
if ! tmux has-session -t irssi; then
#!/bin/sh
# lol, consistency!
# aws-sdk-java (main, alternate)
unset AWS_ACCESS_KEY_ID AWS_SECRET_KEY AWS_SESSION_TOKEN
unset AWS_ACCESS_KEY AWS_SECRET_ACCESS_KEY
# aws-sdk-ruby
unset AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN
#!/bin/bash
stack_name=$1
if [ "${2:-}" == "--update" ] ; then
aws cloudformation update-stack \
--stack-name $stack_name \
--template-body "$( cat tmp.template.json )" \
--parameters "$( jq '.Stacks[0].Parameters // []' < tmp.describe.json )" \
--capabilities "$( jq '.Stacks[0].Capabilities // []' < tmp.describe.json )" \
@rvedotrc
rvedotrc / tweetdeck-ed-balls.css
Created April 28, 2017 10:09
Tweetdeck custom CSS for Ed Balls day
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("tweetdeck.twitter.com") {
.tweet-body:before, .quoted-tweet header:after { content: "Ed Balls"; }
p.tweet-text, .js-quoted-tweet-text { display: none; }
}
#!/usr/bin/env ruby
# "1 rabbit saw 3 elephants while going to the river"
# - rabbit was going to the river
# - elephants were going to the river
# - rabbit and elephants were going to the river
[
{ rabbits: { count: 1, going_to_river: true }, elephants: { count: 3, going_to_river: false } },