Content-Length: 202481 | pFad | https://b.hatena.ne.jp/mooz/20101128#bookmark-26851647

moozのブックマーク / 2010年11月28日 - はてなブックマーク

タグ

2010年11月28日のブックマーク (3件)

  • Firebugを拡張するアドオンをまとめてみた

    Firebugを拡張するアドオンを紹介 Firecookie クッキーの編集や削除をする クッキーの変更に反応してログを吐いてくれる Software is hard | Firecookie NetExport 通信タブの記録をHTTP Archive 1.1 (HAR)形式で保存 通信タブの表示を画像としてクリップボードにコピー Firebug Autocompleter FirebugのCommand EditorにJavaScriptのコード補完機能をつける。 (Firebugにもデフォルトで補完機能はあるが、一行Command Lineにしか反応しない) Firescroll for Firebug “Auto-Scroll” 自動でFirebugのログをスクロール “Log to top” Firebugのログで上が最新になるようにするTweak Widerbug Firebu

    Firebugを拡張するアドオンをまとめてみた
    mooz
    mooz 2010/11/28
  • RubyでANSIカラーシーケンスを学ぼう! - hp12c

    ブログを下記に移転しました。デザイン変更により移転先では記事が一層読みやすくなっていますので、よろしければ移動をお願い致します。 RubyでANSIカラーシーケンスを学ぼう! : melborne.github.com - CUIの世界は地味な世界です 真っ黒なターミナル画面に単一色の文字列 それが却って落ち着くという向きもありますが 今となってはその地味さは際立っています ターミナルで色を使う方法を学ぶことで 新しい世界が開けるかも知れません ようこそANSIカラーの世界へ エスケープシーケンス ターミナルで色を使うためには エスケープシーケンスというものを利用します エスケープシーケンスはターミナル上で色を含む特定の制御を 実現するための特殊な文字列です print "\e[31mhello\e[0m" これによりターミナル上に青文字で「hello」と出力されます この"\e[31m"

    RubyでANSIカラーシーケンスを学ぼう! - hp12c
  • Object#andand

    → ‘andand’ What Object#andand lets us write: @phone = Location.find(:first, ...elided... ).andand.phone And get a guarded method invocation or safe navigation method. This snippet performs a .find on the Location class, then sends .phone to the result if the result is not nil. If the result is nil, then the expression returns nil without throwing a NoMethodError. As Dejan Simic put it: Why would y

    mooz
    mooz 2010/11/28
    Groovy の ?. 演算子を Ruby に








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://b.hatena.ne.jp/mooz/20101128#bookmark-26851647

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy