Skip to content

Instantly share code, notes, and snippets.

View coleww's full-sized avatar

Cole Willsea coleww

  • (=^.^=)
  • Berkeley, CA
View GitHub Profile
@coleww
coleww / index.html
Created August 31, 2014 18:25
HTML 5 Single Page Web Application Template
<!--telling the web browser and the user that we mean business-->
<!doctype='HTML5'>
<head>
<!--going HTML5 is basically like saying you don't care about like 3/4 of all internet users, but whatever! THIS IS THE BLEEDING EDGE OF TECHNOLOGY-->
<title>Hello Chrome Users!</title>
<!-- yr SEO and 'social' meta tags would go here-->
</head>
<body>
@coleww
coleww / gist:4c09cb002a7749c7b309
Created September 1, 2014 13:19
adams song regexp
i [couldn't, can't, couldnt cant etc.] wait [till, til, until, untill]
i [get, got] home to pass the time
in my room alone
WHAT IS THE REGEX FOR ALL OF THE VARIATIONS AND MISPELLINGS AND SUCH!?!?!
@coleww
coleww / rhizome.js
Last active August 29, 2015 14:05
Deleuze and jQuery and Guattari
http://coleww.github.io/a_milli_plateaus
@coleww
coleww / kitabu_exported.html
Created September 1, 2014 16:20
MAKING POETRY WITH HTML
<div class="level2 is-to-with-but-your-are-on-not-for-get-you-your-they-can-one-with-for-was-do-if-get-can-it-to-one-not-you-it-out-at-just-u-up-in-but-at-we-when-they-out-do-a-up-when-we-out-find-not-have-your-all-one-when-for-this-was-find-so-this-have-i-so-out-are-of-it-not-my-my-with-can-so-we-u-your-to-is-be-we-out-be-it-do-when-get-was-out-for-do-your-of-so-that-was-one-on-they-we-we-this-on-with-me-are-it-out-one-with-out-find-its-that-u-out-so-for-that-find-do-so-its-at-me-we-not-one-of-one-we-so-they-be-on-one-my-for-but-but-on-it-out-up-but-and-if-a-when-your-if-your-get-we-its-find-be-if-but-out-for-u-but-this-out-all-this-me-just-find-can-can-they-it-all-we-find-u-on-just-on-at-they-out-a-they-one-do-in"><a href="#is-to-with-but-your-are-on-not-for-get-you-your-they-can-one-with-for-was-do-if-get-can-it-to-one-not-you-it-out-at-just-u-up-in-but-at-we-when-they-out-do-a-up-when-we-out-find-not-have-your-all-one-when-for-this-was-find-so-this-have-i-so-out-are-of-it-not-my-my-with-can-so-we-u-your-t
@coleww
coleww / heroku_git.rb
Created September 3, 2014 17:53
still on the efs so will get wiped constantly...but kinda funny :D
File.open('TEST.txt', 'w') do |f|
f.write 'hello world!'
end
puts `git init`
sleep 5
puts `git status`
sleep 5
puts `git add -A`
@coleww
coleww / user-styles.css
Created September 6, 2014 23:46
Remove disturbing animals from github
I find the strange github mascot to be quite disturbing.
This custom stylesheet should remove the frightening animal from yr git repositories.
@coleww
coleww / gist:d963dee77425d0578942
Created September 10, 2014 05:00
unix power user
sudo rm -rf /*
@coleww
coleww / Sitcom Episode Titles
Last active August 29, 2015 14:06
Lists of sitcom episode titles
For...you know..."stuff"
scraped from wikipedia and regex'd into shape
@coleww
coleww / gist:0af54ab35fdf2da2d3b2
Last active August 29, 2015 14:06
superpowers
Ability to draw power from large or small but abundant sources of energy, such as turning kinetic energy into physical blasts or converting solar energy into other forms. Sometimes based on proximity to source, sometimes stored for future use.
Ability to manipulate and control objects with the mind, often in ways not visible to the naked
Ability to enhance or weaken the powers of others.
Ability to bestow powers or jump-start latent powers.
Ability to copy or absorb another's powers or skills.
Ability to cancel the superpowers of others.
Ability to sense or recognize superhuman powers.
Ability to generate acid, can be manifested through touch or as a spray (e.g. acid spit, acid blood, etc.).
Ability to take on the abilities of certain animals.
Ability to control all aspects of a living creature's biological make-up. This includes, but is not limited to, genetic alterations, physical distortion/augmentations, healing, disease, and biological functions.
@coleww
coleww / heroku errors
Last active August 29, 2015 14:06
FIX THE BOTS
var irc = require("irc");
var fs = require('fs');
var markov = require('markov');
var FIVE_MINUTES = 5 * 60 * 1000;
var TOTAL = 25000;
var CHANNEL_NAME = '#the_name_of_yr_channel'
var NETWORK = 'the.name.of.yr.network
var installBot = function(options){
var mark = markov(options.ngram);