Skip to content

Instantly share code, notes, and snippets.

View pala's full-sized avatar
🏠
Working from home

Tao Zhang pala

🏠
Working from home
View GitHub Profile
@pala
pala / navigation.js
Created January 16, 2012 08:10
jquery keyboard navigation
$(function(){
$(document).keydown(function(e) {
var url = false;
if (e.which == 37 || e.which == 74) { // Left arrow and J
{% if page.previous %}
url = '{{page.previous.url}}';
{% endif %}
}
else if (e.which == 39 || e.which == 75) { // Right arrow and K
{% if page.next %}
@pala
pala / my1st.py
Created September 11, 2011 06:23
my very 1st python program
#!C:\\Python25
# -*- coding: GBK -*-
from Tkinter import *
import os
import tkFileDialog
import sys
import re
from tkMessageBox import *
import win32clipboard
@pala
pala / about.md
Created August 9, 2011 16:24 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer