こんにちは. 今日はバッファ中の数値をそれぞれインクリメントする方法をご紹介したいと思います.
まず query-replace-regexp を実行します.
そして, 置換対象のパターンに
| // ==UserScript== | |
| // @name Firebug_editor | |
| // @namespace http://efcl.info/ | |
| // @description Firebugに外部エディタ起動ボタンを追加 | |
| // @include main | |
| // @compatibility Firefox 2.0 3.0 | |
| // @author azu | |
| // @version 2009/11/15 | |
| // @Note 54行目 _editor,_ext,_encodeは,自分の環境に合わせ記入すること | |
| // ==/UserScript== |
| // ==UserScript== | |
| // @name displayInputKeys | |
| // @namespace http://efcl.info/ | |
| // @description 押したキーを表示するだけ | |
| // @author azu | |
| // @homepage http://efcl.info/ | |
| // @twitter https://twitter.com/azu_re | |
| // ==/UserScript== | |
| Main.createNotifyIcon(); | |
| /*ウィンドウの枠はisPopupWindow:true,hasBorder:false,hasTickFrame:false,で消せます*/ |
| ;;; with-prefix.el --- tiny tiny name space module (this is not complete namaspace) | |
| ;; Copyright (C) 2011 podhmo | |
| ;; Author: podhmo <[email protected]> | |
| ;; Keywords: extensions, lisp | |
| ;; This program is free software; you can redistribute it and/or modify | |
| ;; it under the terms of the GNU General Public License as published by | |
| ;; the Free Software Foundation, either version 3 of the License, or |
The following document is a written account of the Code School screencasting framework. It should be used as a reference of the accompanying screencast on the topic.
You're probably aren't going to take the time to read this document if you're not interested, but there are a lot of nice side effects caused by learning how to create quality screencasts.
| ;;; recursive-hideshow.el | |
| (require 'hideshow) | |
| (defun jiros--hs-hide-all-recursive-work (minp maxp) | |
| (goto-char minp) | |
| (when (hs-find-block-beginning) | |
| (setq minp (1+ (point))) |
原文:Scaling Isomorphic Javascript Code (This is just for study, please contact me at tily05 atmark gmail.com if any problem.)
考えてみれば Model-View-Controller とか MVC ってよく聞くよね。実際どんなものか知ってる? 抽象的に言うなら「オブジェクト情報の保持されるグラフィック・システム (つまり、ラスターではないグラフィック。ゲームとか) 上に構築された、表示系を中心としたアプリケーションにおいて、主要な機能どうしの関わりをうまく分離すること」とでも言おうか。もう少し深く考えを押し進めてみれば、これは当然、他のさまざまなアプリケーションにもあてはまる言葉 (bucket term ?) だ。
過去に多くの開発コミュニティが MVC による解決案を提供し、それによってよくあるユースケースにうまく対処し、地位を築くことができた。例をあげるなら、Ruby や Python コミュニティは Rails や Django を作り、MVC アーキテクチャを実現した。
| #!/bin/bash | |
| DAEMON=/path/to/thin | |
| BUNDLE=/path/to/bundle | |
| CONFIG_PATH=/etc/thin | |
| SCRIPT_NAME=/etc/init.d/thin | |
| # Exit if the package is not installed | |
| [ -x "$DAEMON" ] || exit 0 |