I hereby claim:
- I am MattMS on github.
- I am mattms (https://keybase.io/mattms) on keybase.
- I have a public key whose fingerprint is CA2E 955C 7241 A555 F222 BC00 F4B6 A42B 4690 0CD9
To claim this, I am signing this object:
from datetime import timedelta | |
import logging | |
logger = logging.getLogger(__name__) | |
def get_time_delta_from_text(text): | |
kwargs = dict() | |
for pair in text.split(','): | |
name, sep, value = pair.partition('=') |
""" | |
Simple operations for editing JSON Django fixtures. | |
These functions may be useful as example code for manipulating a JSON | |
file so it plays nice as a Django fixture. | |
""" | |
import json | |
I hereby claim:
To claim this, I am signing this object:
SELECT column_name FROM information_schema.columns WHERE table_name='my_table_name'; |
doctype html | |
html(lang="en") | |
head | |
meta(charset="utf-8") | |
meta(http-equiv="X-UA-Compatible", content="IE=edge") | |
meta(name="viewport", content="width=device-width, initial-scale=1.0, user-scalable=no") | |
title This is Jade | |
body | |
block content |
<form class="form-horizontal" method="post"> | |
<div class="control-group"> | |
<label class="control-label" for="email_inp">Email</label> | |
<div class="controls"> | |
<input id="email_inp" name="email" placeholder="Email" type="text"> | |
<span class="help-block">Please enter a valid email address.</span> | |
</div> | |
</div> | |
<div class="form-actions"> | |
<button class="btn btn-primary" name="submit_btn" type="submit">Save changes</button> |
pip install PyYAML | |
pip install requests |
import argparse | |
import logging | |
logger = logging.getLogger(__name__) | |
kwargs = dict(level=logging.INFO) | |
if '__main__' == __name__: | |
parser = argparse.ArgumentParser(description='') |
document.addEventListener 'DOMContentLoaded', (event)-> |