Skip to content

Instantly share code, notes, and snippets.

@crookedneighbor
crookedneighbor / github_without_symbols.js
Created September 25, 2015 19:10
Remove Minus and Plus Signs from Github PR Files Tab
// Open up a chrome console while viewing the files of a Github PR and paste this:
var deleted_nodes = document.querySelectorAll(".blob-code.blob-code-deletion .blob-code-inner");
var added_nodes = document.querySelectorAll(".blob-code.blob-code-addition .blob-code-inner");
var neutral_nodes = document.querySelectorAll(".blob-code.blob-code-context .blob-code-inner");
var removeNodes = function(nodes) {
for(var i=0; i < nodes.length; i++) {
nodes[i].removeChild(nodes[i].childNodes[0]);
}
@crookedneighbor
crookedneighbor / invite.js
Created September 28, 2016 01:52
Register User And Invite To Private Guild
var Habitica = require('habitica')
@crookedneighbor
crookedneighbor / guilds.js
Last active September 26, 2016 16:50
Populate Guilds
'use strict'
var uuid = require('uuid').v4
var Habitica = require('habitica')
var ENDPOINT = 'http://localhost:3000' // whatever your endpoint url is
var GUILD_ID = 'your-public-guild-id'
var NUMBER_OF_MEMBERS = 100
var count = 0

Keybase proof

I hereby claim:

  • I am crookedneighbor on github.
  • I am crookedneighbor (https://keybase.io/crookedneighbor) on keybase.
  • I have a public key whose fingerprint is 6007 FB0C 4FA5 4A8F CBF3 A359 88E8 167E A4D5 A23F

To claim this, I am signing this object: