Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
👋

Josh Santangelo endquote

💭
👋
View GitHub Profile
@endquote
endquote / migrate.js
Last active Mar 2, 2017
Migrate private repositories from your GitHub organization to your Bitbucket team.
View migrate.js
/*
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 Dec 11, 2015
Keyboard navigation for Instagram timeline
View instagram.js
/*
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