vim-ruby-debugger http://github.com/astashov/vim-ruby-debugger/tree/master いまのところ Mac OS X 上で +clientserver できるのは MacVim だけ (MacVim-KaoriYa も。X11使ったやつもいけるかも?)。 こんな感じでRailsアプリやrubyスクリプトをデバッグできます。 gemでruby-debug-ideを入れときます。 sudo gem install ruby-debug-ide vim-ruby-debuggerを持ってきます。 git clone git://github.com/astashov/vim-ruby-debugger.git debuggerのportなどを取得するためのlsofの引数あたりを、ちょっと変える必要があります(feedback予定)。
最近の家 #2 最近の家の話です。 1記事にするほどでもないような、こまごました話や家の雰囲気を記録するゆるいシリーズです。 過去の「最近の家」記事はこちら 最近の家 #1 - ダイナミック気晴らし 猫がいつも エレファントスツール(右の黒い椅子)の下で寝ている。かまくらみた…
Classes in Python allow developers to create reusable components for their code, making it easier to maintain and modify. In this article, we will explore the basics of classes in Python and how to use them effectively in your projects. Basic Principles of Object-Oriented Programming Object-oriented programming (OOP) is a programming paradigm that uses objects and their interactions to design appl
この記事(http://la.ma.la/blog/diary_200609280045.htm)を参考に、MozLab(http://dev.hyperstruct.net/trac/mozlab)のMozReplを使って、Vimでファイル(*.html,*.htm,*.js,*.css)保存時にFirefoxをリロードするVimスクリプトを作ってみた。 :SetreloadfirefoxでVimでファイルを保存するたびにFirefox(MozReplを開始しておく)がリロードされます。 もう一度:Setreloadfirefoxと入力すると解除されます。 ※rubyが必要です。 ※perl, python を使ったスクリプトを公開しました。Vimでファイル保存時にFirefoxをリロードする(with MozLab) : Serendip - Webデザイン・ホームページ制作 demo
Vim 7.2 対応 http://0xcc.net/blog/archives/000137.html だいぶ適当。間違いなどがあったらご指摘いただけると助かります。 Ruby (String) VimScript(string) s = "abc" let s = "abc" s = x + y let s = x . y s == x s ==# x s % [x, y] sprintf(s, x, y) printf(s, x, y) [x, y, z].join(s) call join([x, y, z], s) s.capitalize call substitute(s, '\w\+', '\u\0', "") s.capitalize! s.center(x) :center ならある s.chomp s.chomp! s.chop let s = strpart(s,
If someone told you that some magic machine could create a software app from scratch, you might think of it as some futuristic invention. A long while back, that's probably what people thought about industries that could mass-manufacture products. Today most industries don't think twice about the time and energy saved by machines when they build things like cars, clothes, chemicals, and more. It i
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く