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 / bot.js
Created September 30, 2015 13:50
transfer follow-ings from 1 account to another
var config = require('./config')
var Twit = require('twit')
var OldAccount = new Twit({
"consumer_key": "SPIDERS",
"consumer_secret": "SPIDERS",
"access_token": "SPIDERS-SPIDERS",
"access_token_secret": "SPIDERS"
})
var NewBot = new Twit({
@coleww
coleww / mojibot.js
Last active October 1, 2015 12:49
mojibot.js
var Twit = require('twit')
var emojiRegex = require('emoji-regex');
// PUT YO KEYS HERE. OR IN ENV VARS. DO WHAT YOU WANT. I AINT GONNA TELL ANYONE WHAT TO DO.
var T = new Twit({
"consumer_key": "SPIDERS!",
"consumer_secret": "MORESPIDERS!",
"access_token": "HECKA-SPIDERS",
"access_token_secret": "KITTENSPUPPIESNOLOLJKMOARSPIDERS!"
})
@coleww
coleww / gist:d4d12521ddd4dccf73fd
Created September 29, 2015 02:37
bands that have opened for Tool (they must be really dedicated to their craft to do something as horrible as play in front of Tool fans)
Big Business
Cortizone
Cosmic Psychos
Dälek
Failure
Fantômas
Headswim
Intronaut
Isis
Jakob
@coleww
coleww / gist:11f3caddf08abfdc945a
Last active September 28, 2015 15:20
all my projects DOT json
[
{
"url":"http://vimeo.com/64972132",
"title":"TIASTBSIMHFAFD",
"description":"performance"
},
{
"url":"http://shreddit-hard-co.re/",
"title":"Shreddit Hard Core",
"description":"web audio noise toys"
[Error: Status is over 140 characters.]
message: 'Status is over 140 characters.',
code: 186,
allErrors: [ { code: 186, message: 'Status is over 140 characters.' } ],
twitterReply: { errors: [ [Object] ] },
statusCode: 403 }
{ errors: [ { code: 186, message: 'Status is over 140 characters.' } ] }
{ [Error: To protect our users from spam and other malicious activity, this account is temporarily locked. Please log in to https://twitter.com to unlock your account.]
message: 'To protect our users from spam and other malicious activity, this account is temporarily locked. Please log in to https://twitter.com to unlock your account.',
code: 326,
@coleww
coleww / gist:a9f82ba7f37504bae368
Created September 8, 2015 21:16
log urls posted to yr irc channel to a delicious account
var isUrl = require('is-url')
var exec = require('child_process').exec
var irc = require("irc");
var config = {
channels: ["#SOMECHANNEl"],
server: "irc.freenode.net",
botName: "SOME_USERNAME_YOOOOO"
};
@coleww
coleww / cron
Last active September 8, 2015 19:54
i smoke 0b10 joints
0 9 * * * ~/smoke_two_joints.sh
0 19 * * * ~/smoke_two_joints.sh
20 16 * * * ~/smoke_two_joints.sh
@coleww
coleww / weed.json
Created September 5, 2015 13:21
2,945 types of weed
{
"weeds": [
"+ Speed",
"1 Eyed Jamaican",
"1024",
"2 Pounder",
"2 Can Sam",
"2064",
"3fer",
"3 Kings",
@coleww
coleww / recruiters
Last active August 29, 2015 21:06
RECRUITERS: NO gitfiti template
https://github.com/gelstudios/gitfiti
@coleww
coleww / anon.txt
Created August 23, 2015 21:09
anonymous_bureaucrat.txt
FBI. We have a warrant to search the premises. Folks, just bear with us please. It won't take long.
You're under arrest for a charge of espionage. You have the right to remain silent. Anything you say can and will be used against you in a court of law. You have the right to speak to an attorney and have an attorney present during questioning. If you cannot afford a lawyer, one will be provided for you at Government expense. Do you understand these rights?
OK, now that's uncalled for. Senator -
Ladies and gentlemen, welcome to the 36th annual Florida State tango competition. Now entering the floor, contestants number one - Nicholas von Getzé and Miss Nita Leon.
And now, last year's champions, Leonardo Santavos, and Miss Vera Ledow.
Ladies and gentlemen, El Lobo and Nikita Moldinaro.
On television Shocking news out of Maryland today, as children's television host, Cap'n Toby, Fred Tobalowski, was arrested on federal charges of espionage. The FBI alleges that Tobalowski, working with unidentified co-consp