This file contains hidden or 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
package com.kanasansoft.MultidimensionalArrayLists; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
public class MultidimensionalArrayLists<E>{ | |
private static final long serialVersionUID=1L; | |
private int[] indexes_=null; |
This file contains hidden or 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
;;; undo-tree.el --- Treat undo history as a tree | |
;; 2010/2/15 追記. | |
;; undo-tree-visualizer-quit のバグを修正しました. | |
;; 参考) http://d.hatena.ne.jp/kitokitoki/20100211/p1 | |
;; オリジナルからの変更点 | |
;; 1. q で *undo-tree* があったウィンドウも削除し,呼び出しもとのウィンドウ・バッファにポイントを移動 | |
;; 2. 上下分割から左右分割に変更 |
This file contains hidden or 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
;;from http://www.emacswiki.org/emacs/AutoComplete | |
(require 'auto-complete) | |
(require 'yasnippet) | |
(defun ac-yasnippet-candidate () | |
(let ((table (yas/get-snippet-tables major-mode))) | |
(if table | |
(let (candidates (list)) | |
(mapcar (lambda (mode) | |
(maphash (lambda (key value) |
This file contains hidden or 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
Mac OS X(10.6.7) | |
Firefox(4.0.1) | |
Tree Style Tab(0.11.2011050601) |
This file contains hidden or 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 java.util.List; | |
import com.sampullara.cli.Args; | |
import com.sampullara.cli.Argument; | |
class CommandLineOption { | |
@Argument(value = "help", alias = "h") | |
private Boolean helpFlag = false; |
This file contains hidden or 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
package com.kanasansoft.CloseableUtility; | |
import java.io.Closeable; | |
import java.io.IOException; | |
import java.util.Arrays; | |
import java.util.List; | |
public class CloseableUtility { | |
static public void closeAll(Closeable... closeables) throws IOException { |
This file contains hidden or 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
package com.kanasansoft.CloseableUtility; | |
import java.io.Closeable; | |
import java.io.IOException; | |
import java.util.Arrays; | |
import java.util.List; | |
public abstract class CloseableUtility { | |
public CloseableUtility(Closeable... closeables) throws IOException { |
This file contains hidden or 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
package com.kanasansoft.CloseableUtility; | |
import java.io.Closeable; | |
import java.io.IOException; | |
import java.util.Arrays; | |
import java.util.List; | |
public abstract class CloseableUtility { | |
public CloseableUtility(Closeable... closeables) throws IOException { |
This file contains hidden or 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
おとうさんはプログラマ その1 〜アイちゃん、プログラムのせかいを知る〜 | |
アイちゃんは好奇心旺盛(こうきしんおうせい)な女の子。 | |
ある日、アイちゃんはおとうさんのおしごとにきょうみをもちました。 | |
「おとうさん、おとうさん」 | |
「ン? アイちゃん、なに?」 | |
「おとうさんのおしごとって、プログラマなんでしょ?」 | |
「うん、そうだよ」 |
This file contains hidden or 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
達人出版経由で購入したPDFのメタデータのタイトルが「Nodejs_カバー入稿2」 | |
P89 | |
図7-4内のイベントが「foo」になっているが、その直前のサンプルコードでは「bar」になっている。 | |
P90 | |
SyncDBの例では、node.jsの機能を一切使わなくてもエラーが発生するので例として不適切な気がする。 | |
このサンプルコードでは、 | |
1行目 var events = require('events'); | |
2行目 var util = require('util'); |
OlderNewer