Skip to content

Instantly share code, notes, and snippets.

View ignu's full-sized avatar
🏳️‍🌈
interested in: react/typescript rails/ruby elixir & graphql

Leonard Smith ignu

🏳️‍🌈
interested in: react/typescript rails/ruby elixir & graphql
View GitHub Profile
@ignu
ignu / data.csv
Created August 19, 2015 03:32
data! from editdata.org!
one two three yeah
hi bye oh oh
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 / bcoIgnore.js
Last active July 26, 2016 21:39
Ignore posts on BCO containing words you don't want to see.
// 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()
})
body {
font-size: 1.2em;
}
.posts { display: none; }
.lastpost { display: none; }
.readbar { display: none; }
@ignu
ignu / session.json
Created January 10, 2017 15:32
React Web Workshop Gists
[
{"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
# 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 ->
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',
@ignu
ignu / functions.js
Last active November 16, 2017 22:50
var sayHello = function() {
console.log('hello')
}