Skip to content

Instantly share code, notes, and snippets.

@wangtzINT
wangtzINT / setup.py
Last active December 16, 2015 01:08
This script can translate txt file into excel sheet (executable version is generated by py2exe)
from distutils.core import setup
import py2exe
#This script is based on py2exe
setup(windows=["translation.py"])
@wangtzINT
wangtzINT / bubblesort1.java
Last active December 13, 2015 17:39
Topcoder 469 DIV 1 250 A good practice for sort algorithm!
import java.util.*;
import java.util.regex.*;
import java.text.*;
import java.math.*;
import java.awt.geom.*;
public class TheMoviesLevelOneDivOne
{
public long find(int n, int m, int[] row, int[] seat)
{
select: function(event, ui) {
...
return false; // or event.preventDefault();
}
@wangtzINT
wangtzINT / core.py
Created March 9, 2012 21:28 — forked from kracekumar/core.py
parallelpip demo 中文版
#! -*- Coding: utf-8 -*-
from gevent import monkey
monkey.patch_all()
import gevent
import time
from envoy import run
from sys import exit, argv
import subprocess
import pip