I hereby claim:
- I am ssbozy on github.
- I am ssbozy (https://keybase.io/ssbozy) on keybase.
- I have a public key ASASFJaNN_SP7cV1ie1XtSANnO3hU_spmXMlIWGj58l5cQo
To claim this, I am signing this object:
tree -H . -L 1 --noreport --charset utf-8 > index.html |
// How to: | |
// 1) Login into https://icloud.com | |
// 2) Open the developer tools and execute this code in the console | |
// See more @ https://medium.com/bugbountywriteup/how-apple-stored-all-your-email-metadata-for-years-on-their-servers-2a61b1a3232d | |
const _API_URL='https://p18-mailws.icloud.com/wm/recents'; | |
const _requestContacts = () => { | |
console.warn('Requesting your contacts...'); | |
return fetch(_API_URL, { | |
method: 'POST', | |
headers: { |
''' | |
{:x} = hex | |
{:b} = binary | |
{:o} = octa | |
{:.2} = upto 2 significant places | |
''' | |
for i in range(64): | |
print "{}-{:x}-{:b}-{:o}-{:.2} ".format(i,i,i,i,i*0.123) |
import sys | |
class CurrencyCalculator: | |
def __init__(self, check_cash): | |
self.check_cash = check_cash | |
# base_cash should be sorted list with highest currency denomination to lowest | |
self.base_cash = [100, 50, 20, 10, 5, 1] | |
self.result = self._breakdown() |
import struct | |
import requests | |
class ColorSwatch(): | |
def __init__(self, fp): | |
self.rawdata = struct.unpack(">5H",fp.read(10)) | |
namelen, = struct.unpack(">I",fp.read(4)) | |
cp = fp.read(2*namelen) | |
self.name = cp[0:-2].decode('utf-16-be') | |
self.typename = self.colorTypeName() |
import struct | |
class ColorSwatch(): | |
def __init__(self, fp): | |
self.rawdata = struct.unpack(">5H",fp.read(10)) | |
print self.rawdata | |
namelen, = struct.unpack(">I",fp.read(4)) | |
cp = fp.read(2*namelen) | |
self.name = cp[0:-2].decode('utf-16-be') | |
self.typename = self.colorTypeName() |
sudo apt-get clean | |
sudo apt-get update |
"\e[A": history-search-backward | |
"\e[B": history-search-forward | |
set completion-ignore-case on | |
set show-all-if-ambiguous on | |
TAB: menu-complete |
import jsonschema | |
import sys | |
# A sample schema, like what we'd get from json.load() | |
schema = { | |
"type" : "object", | |
"properties" : { | |
"price" : {"type" : "number"}, | |
"name" : {"type" : "string"}, | |
"details":{ |
I hereby claim:
To claim this, I am signing this object: