Skip to content

Instantly share code, notes, and snippets.

🏳️‍🌈
NO CHAOS. ONLY ENERGY.

Len Smith ignu

🏳️‍🌈
NO CHAOS. ONLY ENERGY.
Block or report user

Report or block ignu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View functions.js
var sayHello = function() {
console.log('hello')
}
View twitter_bot.js
const Twit = require('twit');
const R = require('ramda');
const usersReplied = []
var bot = new Twit(donaldjtrumpisprod)
const replies = [
// #'Trump thinks temps are at record lows. https://twitter.com/realDonaldTrump/status/418542137899491328?ref_src=twsrc%5Etfw',
'https://twitter.com/justinjm1/status/860637529325883394',
View init.coffee
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@ignu
ignu / session.json
Created Jan 10, 2017
React Web Workshop Gists
View session.json
[
{"Id":5445,"SessionTime":"0001-01-01T00:00:00","SessionStartTime":"2017-01-10T08:00:00","SessionEndTime":"2017-01-10T12:00:00","Room":null,"Rooms":["Indigo Bay"],"Title":"7 Languages in 7 Hours","Abstract":"Hands-on experience in seven different languages, ranging from object-oriented to functional, from the cozy and familiar to the eye-squintingly terse and foreign. You'll work through a familiar kata in each of them, showing you how to approach an entirely new language. You'll learn about the strengths and weaknesses of each language out in the real world. You'll also see how each language's quirks can teach us ways to improve the code we write every day.\r\n\r\nYou may not come out of this pre-compiler an expert in all of these languages, but you'll have learned a lot about how to get started with a new one. You may even discover a new passion! At the very least, the next time a new language comes along, you'll have the tools you need to tackle it, and enough knowledge to help you push past the \"what
View bco_mobile.css
body {
font-size: 1.2em;
}
.posts { display: none; }
.lastpost { display: none; }
.readbar { display: none; }
@ignu
ignu / bcoIgnore.js
Last active Jul 26, 2016
Ignore posts on BCO containing words you don't want to see.
View bcoIgnore.js
// Step 1: download and enable https://chrome.google.com/webstore/detail/custom-javascript-for-web/poakhlngfciodnhlhhgnaaelnpjljija
// Step 2: Add your banned words here.
var bannedWords = ['posterName_', "PosterName", "offensiveWord"]
var removeShit = function() {
bannedWords.forEach(function(word) {
console.log("removing", word)
$("ul.view:contains(" + word + ")").hide()
})
View supertest.js
request(app)
.post('/api/users')
.set('Accept', 'application/json')
.end((err, res) => {
console.log(err)
expect(err).to.be(undefined)
expect(res.status).to.be(200)
done()
})
@ignu
ignu / data.csv
Created Aug 19, 2015
data! from editdata.org!
View data.csv
one two three yeah
hi bye oh oh
@ignu
ignu / data.csv
Last active Aug 29, 2015
data! from editdata.org!
View data.csv
cool o
oneaf adsf
af asdf
View cool.sh
#!/bin/bash
# Called by "git push" after it has checked the remote status,
# but before anything has been pushed.
#
# If this script exits with a non-zero status nothing will be pushed.
#
# Steps to install, from the root directory of your repo...
# 1. Copy the file into your repo at `.git/hooks/pre-push`
# 2. Set executable permissions, run `chmod +x .git/hooks/pre-push`
You can’t perform that action at this time.