Skip to content

Instantly share code, notes, and snippets.

View u1hoshino's full-sized avatar

u1hoshino u1hoshino

  • Japan
View GitHub Profile
@u1hoshino
u1hoshino / 0_reuse_code.js
Created April 20, 2016 04:03
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
# Karafのメモ
## ディレクトリ構成
/bin: 起動スクリプト
/etc: 設定ファイル
/data: ワークディレクトリ
/cache: OSGiフレームワークバンドルキャッシュ
/generated-bundels: デプロイヤーが利用する一時フォルダ
/log: ログファイル
@u1hoshino
u1hoshino / AbstractEnumUserType.java
Created July 17, 2012 13:48
Hibernate Enum UserType
package sample;
import java.io.Serializable;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Types;
import java.util.Properties;
import org.hibernate.HibernateException;
$ /play-2.0.1/play.bat new play_sample
_ _
_ __ | | __ _ _ _| |
| '_ \| |/ _' | || |_|
| __/|_|\____|\__ (_)
|_| |__/
play! 2.0.1, http://www.playframework.org
The new application will be created in C:\xxxx\play_sample
public void hoge(){
// noop
}