Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env node
console.log("stuff got did")
@thynctank
thynctank / sh
Created September 16, 2019 21:30
Yip Docker Machine configs
#!/bin/bash
#AWS stuff expected from your env...
#export AWS_ACCESS_KEY="AWS_ACCESS_KEY"
#export AWS_SECRET_KEY="AWS_SECRET_KEY"
#path all directories should be copied to
copy_path=$HOME/.docker/machine/machines
#copy from override location? Override next line
bbc.com/news
bbc.com/sport
bbc.com/weather
bbc.com/travel
bbc.com/capital
bbc.com/autos
bbc.com/culture
bbc.com/future
bbc.com/sounds
bbc.com/food
set numerichints
set typelinkhints
set scalehints
let barposition="bottom"
let blacklists = ["https://calendar.google.com/*","https://www.youtube.com/*","https://mail.google.com/*","http://airbnb.io/*","https://app.getpocket.com/*","https://www.polymer-project.org/*","https://*.aws.amazon.com/*", "https://github.com/*", "https://codecloud.web.att.com/*", "https://google.com/maps/*"]
map <C-p> :togglepin<CR>
@thynctank
thynctank / genetics.js
Created June 30, 2010 03:53
collection of methods for inheriting/mutating/splicing functionality
Genetics = {
top: window,
// builds a descendant object
// overridden functions get wrapped with this._super prop pointing to base func
// inherits prototype chain
originate: function(name, def) {
var top = Genetics.top;
top[name] = def.init;
delete def.init;
top[name].prototype = def;