Skip to content

Instantly share code, notes, and snippets.

View dylan-conlin's full-sized avatar

dylan-conlin dylan-conlin

View GitHub Profile
@dylan-conlin
dylan-conlin / error.md
Last active November 19, 2019 18:58
dev environment build error

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 June 6, 2019 03:09
surfingkeys config
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.*/)
@dylan-conlin
dylan-conlin / cVimrc
Last active March 9, 2020 16:34
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
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']
### 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 January 27, 2014 02:53
1 line fizzbuzz in coffescript
"#{if i%3 is 0 then 'return fizz' else ''}#{if i%5 is 0 then 'buzz' else ''}" or i for i in [1..100]
@dylan-conlin
dylan-conlin / Setting Up a VPN using PureVPN
Created September 4, 2013 02:47
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).
# 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 November 10, 2012 00:33
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;