timezone
does not effectunix_timestamps
SET time_zone='-05:00';
SELECT unix_timestamp();` # this
SET time_zone='-06:00';
from time import sleep | |
from tornado.httpserver import HTTPServer | |
from tornado.ioloop import IOLoop | |
from tornado.web import Application, asynchronous, RequestHandler | |
from multiprocessing.pool import ThreadPool | |
_workers = ThreadPool(10) | |
def run_background(func, callback, args=(), kwds={}): | |
def _callback(result): |
import tornado.ioloop | |
import tornado.web | |
import tornado.gen | |
import tornado.httpclient | |
class GenAsyncHandler(tornado.web.RequestHandler): | |
@tornado.web.asynchronous | |
@tornado.gen.engine | |
def get(self): |
$(document).on('click', '[data-toggle][data-template]', function(){ | |
var target = $($(this).attr('data-target') || $(this).attr('href')); | |
if( !$(target).data('hogan-template') ){ | |
$(target).data('hogan-template',Hogan.compile(target.html()));} | |
target.html($(target).data('hogan-template').render($.parseJSON($(this).attr('data-template')))); | |
}); |
# Fake caller id broadcast | |
MYPORT = 3520 | |
import sys, time, random, datetime | |
from socket import * | |
s = socket(AF_INET, SOCK_DGRAM) | |
s.bind(('', 0)) | |
s.setsockopt(SOL_SOCKET, SO_BROADCAST, 1) |
*.pyc | |
.DS_Store | |
# Packages | |
*.egg | |
*.egg-info | |
dist | |
build | |
eggs | |
parts |
{ | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"font_size": 10.0, | |
"ignored_packages": | |
[ | |
"Vintage", | |
"RestructuredText" | |
], | |
"shift_tab_unindent": true, |
Name must start with a expected version tag ex: v1.4.6
. An optional small description is allowed ex: v1.4.6 Custom Title
the only these characters are allowed in the title [A-Za-z\d\s\-\:]
Pre Release
for further testingbefore_install: | |
- sudo pip install codecov | |
after_success: | |
- codecov |
after_success: | |
- bash <(curl -s https://codecov.io/bash) |