I hereby claim:
- I am wgx731 on github.
- I am wgx731 (https://keybase.io/wgx731) on keybase.
- I have a public key ASAJHtXfFs6QQ73o7F2RiFtUWXL4Lp09x478FIpFUq8cFgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
[user] | |
name = wgx731 | |
email = [email protected] | |
signingkey = 1E238BF264F01CB0 | |
[core] | |
quotepath = false | |
editor = vim | |
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
[commit] | |
gpgsign = true |
#!/usr/bin/env python | |
#ticket.py -- Application for pyconsg ticket. | |
#Author: wgx731 | |
#Adopted from life.py | |
# | |
#An empty board will be displayed, and the following commands are available: | |
# E : Erase the board | |
# S : Show the application | |
# C : Credit | |
# Q : Quit |
################################################### | |
## Linux.gitignore | |
################################################### | |
*~ | |
# KDE directory preferences | |
.directory | |
################################################### | |
## OSX.gitignore | |
################################################### |
// Forked from https://gist.github.com/2417902 to fix a small bug | |
// ----- | |
function PagingControl(scrollableView){ | |
var pages = []; | |
var page; | |
var numberOfPages = 0; | |
// Configuration | |
var pageColor = "#c99ed5"; | |
var container = Titanium.UI.createView({ |
import sqlite3 | |
from bottle import route, run, debug, template, request, validate, send_file, error | |
# only needed when you run Bottle on mod_wsgi | |
from bottle import default_app | |
@route('/todo') | |
def todo_list(): | |
conn = sqlite3.connect('todo.db') | |
c = conn.cursor() |