Skip to content

Instantly share code, notes, and snippets.

View j-wilkins's full-sized avatar

Jake Wilkins j-wilkins

View GitHub Profile
@mislav
mislav / netflix.sh
Last active February 21, 2024 16:56
Watch Netflix as if you were in the US by proxying DNS through a DigitalOcean instance.
#!/bin/bash
set -e
droplet=netflix
interface=Wi-Fi
us_regions=( nyc1 nyc2 nyc3 )
random_region() {
echo ${us_regions[RANDOM % ${#us_regions[@]}]}
}
@Valarissa
Valarissa / pay_history.md
Created April 29, 2015 15:20
Pay Discussion History

...

Labor Unions & Worker's Rights

During the 1890's we saw the rise of a period of time known as the Progressive Era. There was a social consciousness surrounding everything from environmental concerns to worker's rights, from women's suffrage, to the rise of communism and socialism. People were concerned about the well-being of society as a whole, with the understanding that if we protect and help the least among us, the rest will benefit as well. This wasn't without horrifying racism and sexism which were still very much alive and well, which I could write an entirely different article on that hypocrisy, but not right now. Muckrakers, who were writers and journalists working undercover, typically, wrote scathing treatises

@seanlilmateus
seanlilmateus / evernote.rb
Last active January 25, 2016 19:24
ScriptingBridge with MacRuby or Rubymotion
#!/Library/RubyMotion/bin/ruby -wKUW0
# if your using MacRuby you might change this to
# => #!/usr/bin/env macruby -wKUW0
framework 'Foundation'
framework 'ScriptingBridge'
# the original is part of an arstechnica article by Ryan
# SOURCE: http://arstechnica.com/apple/2011/09/tutorial-os-x-automation-with-macruby-and-the-scripting-bridge/
# this script with get your favourite songs and create a Evernote Note # German and English
@sstephenson
sstephenson / Simple Encryption.md
Created April 11, 2013 23:48
Simple file/stream encryption using OpenSSL

Simple file/stream encryption using OpenSSL

Create and store a 512-byte random encryption key named secret:

$ mkkey secret

Encrypt the contents of file with the secret key and write it to file.enc:

$ encrypt secret < file > file.enc
@steveklabnik
steveklabnik / gist:5171193
Last active December 15, 2015 00:09
Resque roadmap
Rescue 1.x
----------
- Pretty good but has bugs
- used by a LOT of people. (30k)
- fixing issues that are open
- 1.23.x will be the end
- just bugfixes
Resque 2.0
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active June 5, 2024 22:16
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@swaroopch
swaroopch / flask-boilerplate-tmux.bash
Created December 5, 2010 07:00
A command that scripts a tmux session
#!/bin/bash
function flask-boilerplate-tmux
{
# https://github.com/swaroopch/flask-boilerplate
BASE="$HOME/code/flask-boilerplate"
cd $BASE
tmux start-server
tmux new-session -d -s flaskboilerplate -n model
@devth
devth / .tmux.conf
Created November 29, 2010 19:32
tmux configuration
# screen prefix key
set -g prefix C-b
set-window-option -g mode-mouse on
# reload
bind-key r source-file ~/.tmux.conf
# hsplit
unbind %