Skip to content

Instantly share code, notes, and snippets.

# Properties file with JDBC-related settings.
##########
# HSQLDB #
##########
#jdbc.driverClassName=org.hsqldb.jdbcDriver
#jdbc.url=jdbc:hsqldb:hsql://localhost:9001/bookstore
#jdbc.username=sa
#jdbc.password=
###########
# MySQL 5 #
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import com.wjch.util.Datasource;
public class TeaDao {
@wjch
wjch / LINUX Proxy settings using export http_proxy.sh
Created March 1, 2013 17:01
LINUX Proxy settings using export http_proxy,在本shell及其子进程中进行设置
export http_proxy=http://server-ip:port/
export http_proxy=http://127.0.0.1:8087/ //GAE
export http_proxy=http://proxy-server.mycorp.com:3128/
@wjch
wjch / playLOL.sh
Last active December 14, 2015 06:59
博客的一些代码
#!/bin/bash
cd "/home/你的用户名/.wine/drive_c/Program Files/League of Legends US/RADS/system"
WINEDEBUG=+ntdll wine "rads_user_kernel.exe" run lol_launcher $(ls ../projects/lol_launcher/releases/) LoLLauncher.exe
@wjch
wjch / setting_user.json
Last active December 14, 2015 05:58
我的Sublime Text2用户配置
// While you can edit this file, it's best to put your changes in
// "User/Preferences.sublime-settings", which overrides the settings in here.
//
// Settings may also be placed in file type specific options files, for
// example, in Packages/Python/Python.sublime-settings for python files.
{
// Sets the colors used within the text area
// 主题文件的路径
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",