姓名 | 电话 | 常住地 | 行业/单位 |
---|---|---|---|
林丁锋 | 18759129591 | 长沙 | 通信 |
杨金坤 | 18059632999 | 长泰 | 建材水电 |
郑宝林 | 13600975176 | 龙岩 | 制冷设备 |
杨鹏林 | 13400631318 | 厦门 | IT |
张景辉 |
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
sudo apt-get install python-software-properties | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-java7-installer | |
To automatically set up the Java 7 environment variables JAVA_HOME and PATH: | |
sudo apt-get install oracle-java7-set-default |
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/sh | |
PROJECT_ROOT="$(pwd)/pvzsequel/proj.ios" | |
WORKSPACE="$PROJECT_ROOT/pvzsequel.xcodeproj/project.xcworkspace" | |
CONFIG="Release" | |
SCHEME="pvzsequel" | |
SDK="iphoneos" | |
TARGET="pvzsequel" | |
BUILDDIR="$PROJECT_ROOT/build" | |
OUTPUTDIR="$BUILDDIR/Release-$SDK" |
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
@contextlib.contextmanager | |
def working_directory(path): | |
""" | |
A context manager which changes the working directory to the given | |
path, and then changes it back to its previous value on exit. | |
Original by Greg Warner: | |
http://code.activestate.com/recipes/576620-changedirectory-context-manager/#c3 | |
""" | |
prev_cwd = os.getcwd() | |
os.chdir(path) |
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: gbk -*- | |
__author__ = 'harmy' | |
import glob | |
def main(): | |
guild_master = {} | |
guild_member_count = {} | |
with open("update_guild.sql", "w+") as f: | |
#插入tbl_guild_member表 | |
for txt_file in glob.glob("*.txt"): |
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 os, shutil, glob | |
[os.mkdir(file[:-4]) for file in glob.glob("*.tga")] | |
[shutil.move(file, file[:-4]) for file in glob.glob("*.tga")] |
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 | |
# -*- coding: utf-8 -*- | |
import os | |
import sys | |
import zipfile | |
print "Processing File " + sys.argv[1] | |
file=zipfile.ZipFile(sys.argv[1],"r"); |
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
while datetime.today() <= "2012-12-21": | |
work_hard() | |
play_hard() | |
sleep() | |
if(life is not None): | |
print "hello world!" |
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
#encoding=gbk | |
import datetime | |
__author__ = 'harmy' | |
import os, sys, shutil, csv, shelve, multiprocessing | |
from multiprocessing import Process | |
if len(sys.argv) != 4: | |
print "用法: hequ.py 老区1数据路径 老区2数据路径 新区区id" | |
exit(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
import os, shutil, glob | |
for file in glob.glob("*.jpg"): | |
print "processing %s..." % file | |
try: | |
shutil.rmtree(file[:-4]) | |
except: | |
pass | |
os.mkdir(file[:-4]) | |
os.system("convert.exe -crop 512x512 -quality 75%% -scene 1 %s %s\%%d.jpg" % (file, file[:-4])) |
OlderNewer