今年から始まったMercurial Advent Calendar 2011 - [PARTAKE]の1日目です。(あんまりフライングといわれるので記事コピーしました。)最初は小ネタという事で、MercurialのRebase拡張の使い方についてケーススタディで説明したいと思います。いろいろパター…
今年から始まったMercurial Advent Calendar 2011 - [PARTAKE]の1日目です。(日付間違っただけでフライングじゃないよ。。)最初は小ネタという事で、MercurialのRebase拡張の使い方についてケーススタディで説明したいと思います。いろいろパターンを上げて…
SCMBootCamp in Tokyo 2(scmbc)でMercurialのサポーターという事でサポーターをしてきました。主催者のid:kyon_mmさん、サポーターの皆さん、参加者の皆さんお疲れさまでした。代表的なまとめはこちら。 2011/11/19 SCMBootCamp in Tokyo 2 #scmbc - Togette…
バレンタインチョコ欲しい! 欲しいプレゼントは… PlayStation 3 (160GB) チャコール・ブラック (CECH-2500A) 【メーカー生産終了】出版社/メーカー: ソニー・コンピュータエンタテインメント発売日: 2010/07/29メディア: Video Game購入: 21人 クリック: 40…
雰囲気だけ。 The Bazaar Work Routine Bazaarでの作業手順 Overview of the Bazaar work routine: Bazaarでの作業手順の概要 1. Tell Bazaar your name and email address; these will be used as defaults to identify your commits. (Usage: bzr whoami “…
できんじゃん。 RoutingFilterをForwordでも動かし、かつJSPのダイレクトアクセスを許し、UrlRewriteFilterで.jspできたら削ってリダイレクトする処理を書けば実現できる。
情報共有として 二段構えにできるよう整理。 <urlrewrite> <rule> <name>静的ファイルは除外</name> <from>/(css|js|images)/(.*)</from> <to last="true">/$1…</to></rule></urlrewrite>
カスタムタグを作るときに親のtldまでコピペするのは面倒。xdocletで使える定義されていないし。メンテナンスできないし。 なので、tldを抽出してxdocletのテンプレート(taglib_tld.xdt)に組み込める形式に変換するantを書いた。 taglib_tld.xdtに組み込め…
nullを返す場合、Requestへのセットはやらないんですね。SAStrutsのチュートリアルのlayoutを使う事を想定 package tutorial.action; import javax.annotation.Resource; import org.seasar.struts.annotation.ActionForm; import org.seasar.struts.annotat…
SAStrutsのチュートリアルのlayoutを使う事を想定 package tutorial.action; import javax.annotation.Resource; import org.seasar.struts.annotation.ActionForm; import org.seasar.struts.annotation.Execute; import tutorial.form.IncludeTestForm; pu…
SAStrutsプロジェクトをmavenで作成したときのログ。 % mvn archetype:generate -DarchetypeRepository=https://www.seasar.org/maven/maven2/ \ -DarchetypeGroupId=org.seasar.sastruts \ -DarchetypeArtifactId=sa-struts-archetype -DarchetypeVersion="…
こんなページ調べました 参考URL Seaser2 Seasar2 - Seasar2 Seasarに関してこの2年間やってきたこと - ひがやすを blog SeasarのプロダクトMap - 主観で纏めてみた - - newta(にゅーた)の日記 Seasar関連の便利クラス - 出羽ブログ Struts使ってるならApatc…
anything-find-fileでカーソル位置のファイル(ffap-line、ffap-guesser)を開くとかしたいと思うんだ。C-x C-fはファイルを開くキーバインドだし。 ;; anything-find-file setting. (setq anything-find-file-additional-sources-at-first '(anything-c-sourc…
人生を書き換える者すらいた。: 人材獲得作戦・4 試験問題ほか そりゃもう、2日以上費やしましたよ。。。
http-post-simple.el to json.el ga required.
Ctrl+HomeとCtrl+PageDownに疲れたあなたに
TODO javadoc以外のコメントのヘッドライン表示 if () {とは違い{が次の行に来ていた場合のhs-hide-toggleの挙動 (defun get-javadoc-comment-headline (start end) "Return Javadoc comment headline." (save-excursion (save-restriction (narrow-to-regio…
phpのコードやrubyのコードが含まれているので、たぶんウェブブラウザでは開きたくない。 diff --git a/plugins/anything-config.el b/plugins/anything-config.el index 8e0a797..607e61d 100644 --- a/plugins/anything-config.el +++ b/plugins/anything-…
こんな感じにした。こっちは動くかなら diff --git a/plugins/auto-complete-yasnippet.el b/plugins/auto-complete-yasnippet.el index b4ea9a8..c47b447 100644 --- a/plugins/auto-complete-yasnippet.el +++ b/plugins/auto-complete-yasnippet.el @@ -3…
yasnippet-0.6.1b(c?)では、yas/snippet-table-hashのデータ構造とyas/expand-snippetの引数の順番が以前のバージョンとは違うらしい。 以下パッチ diff --git a/plugins/anything-c-yasnippet.el b/plugins/anything-c-yasnippet.el index b74c115..79020d9…
以前の案ではコンパイルに失敗すると止まったので書き直した。 バッファーにauto-install.elの出力を書き出して終了を表す文字列が表示されたらwaitループを抜ける。 (progn (setq install_dir (expand-file-name "#{install_dir}") load-path (cons install…
read-bufferって内部でread-buffer-functionが定義されていればそれを、定義されていなければcompleting-readを呼び出す。 anything-completing-readがanythingの結果がnilの場合keyboard-quitしているんだからanything-read-bufferがkeyboard-quitしないの…
Twitter / troter: kill-buffer->interactiv ...とりあえずコレで回避できるけど絶対正攻法ではない。this-commandとかよくわからない (defadvice anything-read-buffer (around transmissive-keyboard-quit-anything-read-buffer) (let ((it ad-do-it)) (if…
多分これで直ります。id:rubikitchさんどうでしょうか? @@ -907,12 +907,13 @@ used by `anything-lisp-complete-symbol-set-timer' and `anything-apropos'" (interactive) (let ((anything-map (anything-read-file-name-map)) ;; anything-read-file-nam…
anything-complete.elのanything-find-fileはアクションが選択できない。sudoしたいとき不便なのでkeymapを上書きする。ついでにsuじゃなくてsudoにする。 (setq anything-su-or-sudo "sudo") (define-key (anything-read-file-name-map) "\C-i" 'anything-s…
めも emacs --batch -no-init-file -no-site-file --directory ~/.emacs.d/elisp/ \ --eval " (progn (require 'auto-install) (require 'cl) (setq auto-install-directory (concat (car load-path) \\"/\\") auto-install-save-confirm nil auto-install-p…
すっきりさせてみた。 # add lazy initialization attribute definition module LazyInitializationAttribute def LazyInitializationAttribute.append_features(mod) super def mod.lazy_attr_accesser name, hook=nil, &block attr_writer name lazy_attr_…
module LazyInitializationAttribute def LazyInitializationAttribute.append_features(mod) super mod.const_set("LAZY_INITIALIZE_BLOCK_TABLE", {}) def mod.lazy_attr_accesser name, hook=nil, &block lazy_attr_reader name, hook, &block attr_write…
めも echo "http://www.emacswiki.org/emacs/download/auto-complete.el" | \ emacs --batch --load /path/to/install-elisp.el \ -eval "(setq install-elisp-repository-directory \"~/.emacs.d/elisp/\")" \ -eval "(setq install-elisp-confirm-flag nil…
出力結果 targetとコメントを抽出 ruby buildxmltarget.rb apache-tomcat-6.0.18-src/build.xml build-prepare [] compile [] Compile internal server components Copy static resource files build-only [build-prepare,compile,package] package [] Commo…