Awesome fireworks display.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sqlalchemy | |
import pandas as pd | |
import pyodbc | |
import uuid | |
import csv | |
import psycopg2 | |
from claims.models import Claim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container"> | |
<div class="search"> | |
<input type="text" placeholder="search" data-search /> | |
</div> | |
<div class="items"> | |
<div data-filter-item data-filter-name="apple">Apple</div> | |
<div data-filter-item data-filter-name="google">Google</div> | |
<div data-filter-item data-filter-name="microsoft">Microsoft</div> | |
<div data-filter-item data-filter-name="hp">HP</div> | |
<div data-filter-item data-filter-name="dell">Dell</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%div.wrapper | |
%div.bttn.out.cyan | |
%span Infiniti | |
%div.corners.top | |
%div.corners.bottom | |
%div.bttn.in | |
%span Infinity | |
%div.corners.top | |
%div.corners.bottom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="earth"> | |
<svg class="box" width="500px" height="500px" viewBox="0 0 356 445" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<defs> | |
<filter x="-21.4%" y="-18.1%" width="142.7%" height="142.7%" filterUnits="objectBoundingBox" id="filter-1"> | |
<feOffset dx="0" dy="9" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset> | |
<feGaussianBlur stdDeviation="18.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur> | |
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" type="matrix" in="shadowBlurOuter1" result="shadowMatrixOuter1"></feColorMatrix> | |
<feMerge> | |
<feMergeNode in="shadowMatrixOuter1"></feMergeNode> | |
<feMergeNode in="SourceGraphic"></feMergeNode> |
I hereby claim:
- I am shalomz on github.
- I am gunicorn (https://keybase.io/gunicorn) on keybase.
- I have a public key ASBfHBPWtp9SHkQl9C1kivUEu82TenNdcYQoejKpN5kPlQo
To claim this, I am signing this object:
I hereby claim:
- I am shalomz on github.
- I am gunicorn (https://keybase.io/gunicorn) on keybase.
- I have a public key ASDHdzKL2B58O6NJIKXryXKBofrnxvSptrzvTR9kuZj2SAo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask | |
from flask import request | |
import json | |
import requests | |
import hashlib as hasher | |
import datetime as date | |
node = Flask(__name__) | |
# Define what a Snakecoin block is | |
class Block: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.template import Variable, defaultfilters | |
from django.http import HttpResponse | |
import xlwt | |
def render_to_xls(queryset, filename, fields): | |
""" | |
Output an XLS file of the queryset | |
Usage : | |
------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python | |
import sys | |
import SocketServer | |
import BaseHTTPServer | |
import SimpleHTTPServer | |
class ThreadingSimpleServer(SocketServer.ThreadingMixIn, | |
BaseHTTPServer.HTTPServer): |
NewerOlder