Skip to content

Instantly share code, notes, and snippets.

View endquote's full-sized avatar
💭
👋

Josh Santangelo endquote

💭
👋
View GitHub Profile
@endquote
endquote / migrate.js
Last active March 2, 2017 15:29
Migrate private repositories from your GitHub organization to your Bitbucket team.
/*
To use:
* save this script as migrate.js
* fill in the user/pass variables at the top
* save the block of json below as package.json right next to it
* install node.js from nodejs.org
* run 'npm install' from the directory where you saved the files
* run 'node migrate.js'
* profit
@endquote
endquote / instagram.js
Last active December 11, 2015 07:43
Keyboard navigation for Instagram timeline
/*
A userscript to add keyboard shortcuts to the Instagram timeline:
- J or space to go to next image
- K to go to previous image
- L to toggle like on the current image
- N to load new posts
*/
$(document.body).keypress(function(event) {
// ignore keypresses in comment fields