Skip to content

Instantly share code, notes, and snippets.

@kpmiller
kpmiller / IVRank.py
Created October 5, 2017 23:47
An algorithm to find IVRank or IVPercentile
def GetIVRank(sessionid, symbol, useRank=True, debug=False):
#this returns an dictionary with the key as date, and the value as the raw IV
iv = GetImpliedVolatility(sessionid, symbol, debug=debug)
keys = iv.keys()
if len(keys)== 0:
return -1
keys.sort()
highest = 0.0
@graymouser
graymouser / hb_all_books_dl.js
Created February 28, 2016 14:09
Humble bundle book bundles - download all books at once
/*
After purchasing a humble book bundle, go to your download page for that bundle.
Open a console window for the page and paste in the below javascript
*/
$('a').each(function(i){
if ($.trim($(this).text()) == 'MOBI') {
$('body').append('<iframe id="dl_iframe_'+i+'" style="display:none;">');
document.getElementById('dl_iframe_'+i).src = $(this).data('web');
}
});

How Do I Into Git?

a helpful primer for users sick of git's poorly-named commands

I've used Git since 2011, and this is the stuff that I've always had to Google to remember. I hope it helps you not hate Git so much.

Learning About the Repo

Learning About History