Skip to content

Instantly share code, notes, and snippets.

Avatar

dylan-conlin dylan-conlin

View GitHub Profile
@dylan-conlin
dylan-conlin / error.md
Last active Nov 19, 2019
dev environment build error
View error.md

I'm getting an error that the Procfile or Procfile.dev doesn't exist, when both clearly do.

~/Documents/shortstack_apps/shortstackapi(staging*)
» ds start                                                                                                                                                            dylanconlin@dylanconlin
docker-sync ✔
mysqldb ✔
docker.elastic.co ✔

Starting shortstackapi_redis_1 ... done
@dylan-conlin
dylan-conlin / .surfingkeys.js
Last active Jun 6, 2019
surfingkeys config
View .surfingkeys.js
settings.blacklistPattern = undefined;
const unmapMultiple = (keyArray, url) => { keyArray.forEach(key => { unmap(key, url); }) };
var ri = { repeatIgnore: true }
const open = (url) => () => tabOpenLink(url);
unmapMultiple(['N', 'P'] , /.*reddit-radio.dylanconlin.com.*/)
unmapMultiple(['N', 'P'] , /.*music.youtube.com.*/)
unmapMultiple(['j', 'k', '?', 'c', '/', 'z', 'n', 'p', 'e', 'y', 'r', '#', '!', 'H', 'L', 'b', 'I', ',', 'gi'] , /.*mail.google.com.*/)
unmapMultiple(['C', 'j', 'k', 'x', '?', 'G', '.'] , /.*reddit.com.*/)
unmapMultiple(['j', 'k', 'l', 'N', 'P'] , /.*youtube.com.*/)
View cVimrc
" hi there!
let mapleader = ","
map W :tabdetach<CR>
map A :tabattach<Space>
map U lastClosedTab
map O :history<Space>
map yt :duplicate<CR>
map <C-s> openSearchBar
map <C-r> openSearchBarReverse
View ra_chart_to_youtube.rb
require 'rubygems'
require 'net/http'
require 'youtube_it'
require 'awesome_print'
uri = URI('http://www.kimonolabs.com/api/9zx1t7xi?apikey=xxxxxx')
response = Net::HTTP.get uri
results = JSON.parse response
tracks = results['results']['collection1']
View gist:9749544
### Keybase proof
I hereby claim:
* I am dylan-conlin on github.
* I am dylanconlin (https://keybase.io/dylanconlin) on keybase.
* I have a public key whose fingerprint is AA6A 39BE 81CC 38C6 4F71 3E96 6BF8 538D 6CD8 4135
To claim this, I am signing this object:
@dylan-conlin
dylan-conlin / coffee-test.coffee
Created Jan 27, 2014
1 line fizzbuzz in coffescript
View coffee-test.coffee
"#{if i%3 is 0 then 'return fizz' else ''}#{if i%5 is 0 then 'buzz' else ''}" or i for i in [1..100]
View Setting Up a VPN using PureVPN
# Setting up a VPN
This is a short guide on setting up a VPN on MacOSX 10.7.5. [VPNs are nice to have](http://lifehacker.com/5940565/why-you-should-start-using-a-vpn-and-how-to-choose-the-best-one-for-your-needs). I chose to go with [PureVPN](http://www.purevpn.com/), but [there are a lot of options](http://lifehacker.com/5759186/five-best-vpn-service-providers).
## Mac
1. Pick a [pricing plan](http://www.purevpn.com/order/). (I chose the 12 month plan)
2. Click "Add to Cart" (you don't need a dedicated ip)
@dylan-conlin
dylan-conlin / dabblet.css
Created Nov 10, 2012
The first commented line is your dabblet’s title
View dabblet.css
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;