Skip to content

Instantly share code, notes, and snippets.

View uuid.rb
VOWELS = %w[a e o u]
CONS = ('a'..'z').to_a - VOWELS
len = 5
phrase = (1..len).inject([]) {|prod,i|
prod << (i.even? ? VOWELS.sample : CONS.sample)
}.join('')
View delete.rb
# Step 1: request and download your twitter archive
# Step 2: create a twitter app (on their dev site) so you can fill out the key and secret data
# Step 3: run, and prosper
require 'twitter'
require "json"
USERNAME = 'YOURUSERNAME'
ARCHIVE_PATH = '/YOUR/DOWNLOADS/FOLDER/data/js/tweets'
View Domains-Mar2016.txt
allosome.com
avoidance.com
bester.co
boldface.co
cache.network
cache.sh
cessna.co
changeblog.co
checked.co
cleaned.co
View eric
............................................``.`...............................................
.........................................`.....,...`...........................................
......................................``.`.```.,......`.`......................................
...................................`.`....```.......`..```.....................................
...................................``.`` `..```.`..``....................................
...............................`.`` ````.`` ``.``....................................
..................................``` ```````..` `....`...................................
...............................,..`` `.``.. `....``.``................................
........................``.`....`` `.`.,:,:::.,.```.`...`..............................
...........................,,`.``` ` `.:::;;;,::.`...```...............................
@kylebragger
kylebragger / domains.txt
Last active Dec 15, 2015
I'm selling the following domain names. Make me an offer via email: kyle@kylebragger.com
View domains.txt
youshouldworkwith.me
moodboard.me
notorganized.com
togetherlist.com (+ net & org)
pettl.com (+ net & org)
ringfinger.co
omghey.com (+ net & org)
roastler.com (+ net & org)
spaces.is
View video.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css" media="screen">
* {
margin: 0;
padding: 0;
}
</style>
View code.html
<link rel="apple-touch-icon-precomposed" href="/apple-touch-icon-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/apple-touch-icon-precomposed-72.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/apple-touch-icon-precomposed-114.png">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-precomposed-144.png">
View routes.rb
# USER.boldfaced.net
constraints(Subdomain) do
get 'work/:id' => 'work_items#show', as: :user_work
get '' => 'users#profile', as: :user_profile
end
View Gemfile
source :rubygems
gem 'bubble-wrap'
gem 'motion-cocoapods'
gem 'nano-store'
View gist:3901888
var playSingleChime = function()
{
var context = new webkitAudioContext(),
gain = context.createGainNode(),
osc = context.createOscillator();
osc.connect(gain);
gain.connect(context.destination);
osc.frequency.value = 1000.0;