I hereby claim:
- I am hownowstephen on github.
- I am hownowstephen (https://keybase.io/hownowstephen) on keybase.
- I have a public key whose fingerprint is 2CE3 342A 2DA0 15F1 357C CCEC 6A23 23F4 3206 E3A4
To claim this, I am signing this object:
h1 { | |
color: red; | |
font-size: 3em; | |
text-decoration: underline; | |
} |
I hereby claim:
To claim this, I am signing this object:
import gevent.queue | |
queue = gevent.queue.Queue() | |
# Basic gevent.queue.Queue operations | |
# Put to the queue | |
# Good practice is to communicate across the queue using tuples | |
queue.put((0, 'message',)) |
import requests,re,math | |
# Factorial function basic | |
def factorial(size,start=0): | |
'''Determines the min n! where sum(digits(n)) == 8001''' | |
result = 0 | |
while result != size: | |
start += 1 | |
result = sum([int(x) for x in str(math.factorial(start))]) | |
return start |
from apy import Endpoint, app | |
@Endpoint('/main') | |
class MainEndpoint: | |
def get(*args,**kwargs): | |
return {'response': ['hello','world']} | |
def post(*args,**kwargs): | |
return {'response': ['you','posted']} |
#!/usr/bin/python | |
""" | |
csvbrowse.py | |
Acts as a command line csv browser, allows you to view only a select set of columns | |
and open from a particular line | |
Usage: | |
csvbrowse.py -f <csvfile> -H | |
displays a listing of the headers of the file |