This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am umeshmohan on github. | |
* I am umeshmohan (https://keybase.io/umeshmohan) on keybase. | |
* I have a public key ASDmdapJSU5renXmI2sdRBhpXPx0P8qcajOX4u0q_VavDgo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: | |
removeAnnoyanceOfObject = function(object_) { | |
object_.oncontextmenu = ''; | |
object_.onkeydown = ''; | |
object_.onkeyup = ''; | |
object_.oncopy = ''; | |
object_.onpaste = ''; | |
object_.onfocus = ''; | |
object_.onblur = ''; | |
object_.autocomplete = ''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function [x_axis_handle, y_axis_handle] = TufteStyle(axes_handle_original) | |
% TufteStyle Changes axes into a clean style described by Edward Tufte | |
% [x_axis_handle, y_axis_handle] = TufteStyle(axes_handle_original) | |
% takes in a axes handle, removes box, background and adds new x and y | |
% axes with an offset of 0.01 times the figure size. | |
% | |
% Example: | |
% plot(rand(10,1)); | |
% original_axes_handle = gca; | |
% [x_axis_handle, y_axis_handle] = TufteStyle(original_axes_handle); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Remove suggested posts | |
// @namespace https://heterorrhina.in/ | |
// @version 0.1.1 | |
// @description Remove suggested posts from facebook feed, remove right column, make content area 100% width | |
// @author Umesh Mohan | |
// @match https://www.facebook.com/* | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Images from Google books preview | |
// @namespace https://heterorrhina.in/ | |
// @version 0.2 | |
// @description Provides a button start capturing pages and download them as a pdf. | |
// @author Umesh Mohan | |
// @match https://books.google.co.in/books* | |
// @grant none | |
// @require https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.2/jspdf.min.js | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Clean up SBI/CBI's webpage | |
// @namespace https://heterorrhina.in/ | |
// @version 1 | |
// @description Remove nonsensical restrictions on SBI and CBI's page. Read http://security.stackexchange.com/questions/31229/does-disabling-right-click-have-any-impact-on-security | |
// @author Umesh Mohan | |
// @match https://retail.onlinesbi.com/* | |
// @match https://www.centralbank.net.in/* | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Images from Google books preview | |
// @namespace https://heterorrhina.in/ | |
// @version 0.1 | |
// @description Provides a button to open an auto updating page containing only images from the book preview of Google books | |
// @author Umesh Mohan | |
// @match https://books.google.co.in/books* | |
// @grant none | |
// ==/UserScript== | |
var imgsrcL, imgWindow, br, viewport, link; |