Skip to content

Instantly share code, notes, and snippets.

View Manishearth's full-sized avatar
🍃
yahaha! you found me!

Manish Goregaokar Manishearth

🍃
yahaha! you found me!
View GitHub Profile
// ==UserScript==
// @name Stack Exchange Retag helper
// @namespace Rob W
// @author Rob W
// @description Configurable helper to enable a quicker retagging of questions at Stack Overflow
// @include http://physics.stackexchange.com/questions/*
// @include http://physics.stackexchange.com/q/*
// @include http://physics.stackexchange.com/search?*
// @include http://physics.stackexchange.com/posts/*/edit*
// @version 2.1
@Manishearth
Manishearth / cacheSelectors.js
Created June 26, 2012 08:16 — forked from Rockncoder/cacheSelectors.js
PhoneGap + JQM Performance Tip #2: Cache jQuery Selectors
var $paperTape = $("#paperTape"),
$li = $("#paperTape li"),
$sum = $("#sum"),
height = parseInt($li.css("height"),10),
top = RocknCoder.Dimensions.top,
getTop = function(){
return top;
};
// ==UserScript==
// @name Stack Exchange Retag helper
// @namespace Rob W
// @author Rob W
// @description Configurable helper to enable a quicker retagging of questions at Stack Overflow
// @include http://stackoverflow.com/questions/*
// @include http://stackoverflow.com/q/*
// @include http://stackoverflow.com/search?*
// @include http://stackoverflow.com/posts/*/edit*
// @version 2.1
@Manishearth
Manishearth / Math_tags.js
Created May 3, 2012 04:08 — forked from BrockA/Add_kbd_shortcut.user.js
Math buttons for StackExchange sites
// ==UserScript==
// @name Math Buttons
// @namespace StackExchange
// @description Adds math,chem, and SI shortcuts to SE
// @match http://*.askubuntu.com/*
// @match http://*.onstartups.com/*
// @match http://*.serverfault.com/*
// @match http://*.stackapps.com/*
// @match http://*.stackexchange.com/*
// @match http://*.stackoverflow.com/*
@Manishearth
Manishearth / Add_kbd_shortcut.user.js
Created May 3, 2012 04:07 — forked from BrockA/Add_kbd_shortcut.user.js
This is a userscript that adds shortcuts for adding <kbd> tags to posts. Designed for Stack Exchange sites.
// ==UserScript==
// @name _Add kbd shortcut
// @namespace StackExchange
// @description Adds a button and a keyboard shortcut (Alt-K) to add <kbd> tags.
// @match http://*.askubuntu.com/*
// @match http://*.onstartups.com/*
// @match http://*.serverfault.com/*
// @match http://*.stackapps.com/*
// @match http://*.stackexchange.com/*
// @match http://*.stackoverflow.com/*
@Manishearth
Manishearth / Add_kbd_shortcut.user.js
Created April 24, 2012 06:08 — forked from BrockA/Add_kbd_shortcut.user.js
This is a userscript that adds shortcuts for adding <kbd> tags to posts. Designed for Stack Exchange sites.
// ==UserScript==
// @name _Add kbd shortcut
// @namespace StackExchange
// @description Adds a button and a keyboard shortcut to add <kbd> tags.
// @match http://*.askubuntu.com/*
// @match http://*.onstartups.com/*
// @match http://*.serverfault.com/*
// @match http://*.stackapps.com/*
// @match http://*.stackexchange.com/*
// @match http://*.stackoverflow.com/*