I hereby claim:
- I am ragnar-johannsson on github.
- I am ragnarb (https://keybase.io/ragnarb) on keybase.
- I have a public key whose fingerprint is 5558 9F4F B638 1866 77E1 0186 7BB4 D07D 20EA FAF2
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var localStorageWrapper = { | |
contains: function (key) { | |
return this.keys().indexOf(key) !== -1; | |
}, | |
getItem: function (key) { | |
return localStorage.getItem(key); | |
}, | |
keys: function () { |
import hashlib | |
import os | |
import sys | |
def hashes(d): | |
full, relative = {}, {} | |
for root, _, files in os.walk(d): | |
for file in files: | |
file = os.path.join(root, file) |