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
# -*- coding: utf-8 -*- | |
# http://boxcar.io | |
# send message to mobile | |
__author__ = "Cloverstd" | |
import urllib | |
import urllib2 | |
import json |
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/bash | |
key="infopush.debug.log.2014-07-" | |
suffix=".tar.gz" | |
for ((j=16; j<24; j++)); do | |
key_day=${key}${j}"-" | |
for ((i=0; i<24; i++)); do | |
if ((${i} < 10));then | |
key22="22/"${key_day}"0"${i} |
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
#!/usr/bin/env python | |
# encoding: utf-8 | |
from tornadorpc.xml import XMLRPCHandler | |
import tornado.ioloop | |
import tornado.httpserver | |
import tornado.web | |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDolyzLgc+keal0kSgpG24smd8pk0c7jgzcebRMrWiTqYpcu8ber6KjUf8nBLKVvx8t2K40c+xIUA7ptMryXiAz6tCckFC2rTmp7S7gqdjpEk0HgGU+m/WliZDyV1X0cYqiG2y/KlizDxgR40uAYXhRgT3dfrcQi5GO9qg+dUDip9lBsF2f/lnOOmYOVJMEHu77NklyWOMa3DJF1BiTxe+CtFd4sU0P7oidemik099HqWSf3lgxYqu/rgqCumLIHWF/CI8714xlfe64lcsTwMJsd7xL0qgTYvDmLmynFKwQEsDgvcZcRNEEI5pkC9kZ9/rQBDr8yaobArRo7QGXM3KD cloverstd@gmail.com |
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
#!/usr/bin/env python | |
# encoding: utf-8 | |
import time | |
def test(interval): | |
for i in xrange(int(interval)): | |
print i | |
time.sleep(1) |
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
#!/usr/bin/env python | |
# encoding: utf-8 | |
from __future__ import absolute_import, unicode_literals | |
import tornado.ioloop | |
import tornado.httpserver | |
from tornado.options import parse_command_line, define, options | |
import tornado.httpclient | |
import tornado.web | |
import tornado.gen |
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
[General] | |
# warning, notify, info, verbose | |
loglevel = notify | |
[Proxy] | |
# http, https, socks5 | |
Proxy = custom, 1.2.3.4, 443, rc4-md5, password, http://server/custom.module | |
[Rule] | |
# Block privacy trackers |
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
王 | |
江 | |
周 | |
胡 | |
刘 | |
李 | |
吴 | |
毛 | |
温 | |
习 |
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
-- Standard awesome library | |
require("awful") | |
require("awful.autofocus") | |
require("awful.rules") | |
-- Theme handling library | |
require("beautiful") | |
-- Notification library | |
require("naughty") | |
naughty.config.default_preset.width = 400 |
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 'pagination.html' as pagination %} | |
{% call(page) pagination.paginate(page, last_page) %} | |
{{url_for('manage.order_list')}}?page={{page}}&status={{status}} | |
{% endcall %} |
OlderNewer