WordPress with Twitter の不具合を修正した記念に、Greasemonkey を書く時に頻繁に利用する関数をまとめたので、公開してみます。 外部の JavaScript ライブラリを読み込む方法を解説したサイトもありますが、そこまで大げさな機能が必要でもなく、軽く動作さ... 続きを読む
Make Emacs yasnippet work with html-helper-mode Yasnippet is a great emacs minor mode that lets you have lots of code snippets easily at hand. Also you can create your own snippets in a very easy way without needing to write them in emacs lis... 続きを読む
2008-04-18 - msshの日記rails.elがsnippet.elを使っているからだと思われる。snippet.elとyasnippet.elは共存できないのかな。 続きを読む
Meadowyasnippet がなんだかすごい盛り上がっているようなので使ってみることにした。 導入手順yasnippet.el はyasnippet - Google Codeから最新の yasnippet-x.y.z.tar.bz2 をダウンロードする anything-cyasnippet.el はhttp://svn.coderepos.org/share/lang/... 続きを読む
emacserの間で密かなブームとなっているyasnippet.elをインストールしてみました。 実はsnippet的なものを使うのは初めてだったので、ちょっと細かく覚える意味も含めてインストール方法から書いてみます。 インストール方法は簡単で、2つ方法があります。横着... 続きを読む
誰に教えられたのでもないのですが、ぼくは冬眠前のリスのようにコード片を溜め込んでいます。コード片とは、ライブラリにするほどまとまった大きさではない、数行〜十数行のコードのことで、溜め込んだコード片は、アプリケーションやツールを作るときに使って... 続きを読む
What's this? Command-Line-Fu is the place to record those command-line gems that you return to again and again. Delete that bloated snippets file you've been using and share your personal repository with the world. That way others can gain fr... 続きを読む