I hereby claim:
- I am jcinis on github.
- I am jcinis (https://keybase.io/jcinis) on keybase.
- I have a public key whose fingerprint is F4CB 4F01 3D7C 0373 181E FA7A 6BEE 105D 780B 8BA7
To claim this, I am signing this object:
{
from random import choice | |
from string import ascii_lowercase, digits | |
from django.contrib.auth.models import User | |
def generate_random_username(length=16, chars=ascii_lowercase+digits, split=4, delimiter='-'): | |
username = ''.join([choice(chars) for i in xrange(length)]) | |
if split: | |
username = delimiter.join([username[start:start+split] for start in range(0, len(username), split)]) |
<?php | |
class EmailSignup { | |
private $db; | |
// defaults can be overwritten on instantiation | |
private $filename = "emailsignups.sqlite"; | |
private $tablename = "emails"; |
/** | |
* Adds event triggering whenever an append takes place. | |
* | |
* - Parent is given an "append" trigger with the child as an arguement | |
* - Child is given an "appended" trigger with the parent as an argument | |
* | |
* @author Jessey White-Cinis <[email protected]> | |
*/ | |
(function($) { | |
var jqueryAppend = $.fn.append; |
I hereby claim:
To claim this, I am signing this object:
{
server { | |
listen 80; | |
server_name _; | |
access_log /var/log/nginx/proxy.access.log; | |
underscores_in_headers on; | |
# your standard Nginx config for your site here... | |
location / { | |
proxy_set_header Host $host; | |
proxy_redirect off; |
#!/usr/bin/env python | |
''' | |
Script to backup mongodb data and push it out to s3 | |
Tarballs will remain so local backups will need to be removed manually in the case that the drive is full | |
Run from crontab | |
20 1 * * * /usr/local/bin/nubook-mongodb-backup >/dev/null 2>&1 | |
''' |
Verifying that +jcinis is my blockchain ID. https://onename.com/jcinis |
from datetime import datetime | |
from pytz import timezone | |
start = '2016-11-02 13:00:00' | |
start_timezone = 'Asia/Tokyo' | |
end = '2016-11-02 18:18:00' | |
end_timezone = 'US/Eastern' | |
start_native_dt = datetime.strptime(start, "%Y-%m-%d %H:%M:%S") |
Verifying that "jcinis.id" is my Blockstack ID. https://onename.com/jcinis |
I hereby claim:
To claim this, I am signing this object: