Skip to content

Instantly share code, notes, and snippets.

View memdbg.py
import os
import signal
PID = os.getpid()
def main():
k='%s'%'abs'
a=eval(k)
b=abs
print("%s"%hex(id(a)))
print("%s"%hex(id(b)))
try: assert a==b
View python-test-random.py
#!/usr/bin/env python
from bashplotlib.histogram import plot_hist
import random
import sys
if __name__ == '__main__':
print
View memtest.py
#!/usr/bin/env python
from __future__ import print_function
from prettytable import PrettyTable
MEMORY_UPPER_LIMIT = float(16 * 2<<39)
a = -2
b = a + 1
View keybase.md

Keybase proof

I hereby claim:

  • I am initbar on github.
  • I am initbar (https://keybase.io/initbar) on keybase.
  • I have a public key whose fingerprint is 3D60 027E A59C 2D90 4A5C CFDC 4C4A 2990 B573 20ED

To claim this, I am signing this object: