![Amazon.co.jp: Rubyクックブック ―エキスパートのための応用レシピ集: Lucas Carlson (著), Leonard Richardson (著), 株式会社クイープ (翻訳): 本](https://cdn-ak-scissors.b.st-hatena.com/image/square/be39fa2eeced8d82bf9a22d7090843eb5f512d40/height=288;version=1;width=512/https%3A%2F%2Fm.media-amazon.com%2Fimages%2FI%2F414FwA2HgqL._SL500_.jpg)
Got something to say? Share your comments on this topic with other web professionals In: Articles By Dustin Diaz Published on April 23, 2007 Whether or not your JavaScript is maintainable often seems to be relative to the task you’re trying to accomplish. You can follow best practices, or not, and sometimes you’ll be fine either way. Nevertheless, in this article, we’ll demonstrate seven technique
春は出会いと別れの季節。入学や就職で、新しい生活を始める人も多いだろう。それを機にPC環境もそろそろ大人への階段を上ってもいいかもしれない。ここでは、はてなという企業でプログラマーとして働くあの人の開発環境を紹介することで、プロが好む作業環境を考える。 わたしははてなという企業でプログラマーとして働いています。はてなは、ブログやソーシャルブックマークなどWeb上のサービスを提供する会社ですが、それらのほとんどはPerlで書かれており、LinuxやApache、MySQLをはじめとするオープンソースソフトウェアの上で動作しています。そんな理由から、開発環境も自然とオープンソースのツールを使うことになります。今回から2回に分けて、そんなわたしの開発環境を簡単に紹介させていただきたいと思います。 ノートPC1台で開発する 本題のツール類の話に入る前に、開発に使っているハードウェアの話を先にしてお
The performance of Ruby on Rails is influenced by many factors, particularly the configuration of your deployment server(s). However the application code can make a big difference and determine whether your site is slow or highly responsive. This short article is about some of the tips and best coding practices to improve performances in Rails only, and won’t attempt to cover the server configurat
Filed: Thu, Jan 25 2007 under Programming|| Tags: json dhtml javascript css1 css This is a short and sweet little tutorial to show you how to dynamically insert a new Javascript (or style sheet) into your web pages, and explores how you can exploit cross-domain includes in your applications. As JSON and DHTML start to get pushed more and more to the forefront of web-based applications, the web
Hey: Ruby is expressive. Super expressive. There are many methods which roll up repetitive tasks right there in the core classes. Let’s examine two some. Enumerable#select (and #detect) Say I have an array of ActiveRecord objects and I want to find all the objects for which book_type is Comic (as opposed to Novel). And I only want to call AR’s find once. books = Book.find(:all, :order => 'id desc'
「永久脱毛したいけどどこに通ったらいいのか迷う……」 「光脱毛と医療レーザー脱毛の違いってなに……」 「月額制で永久脱毛できるクリニックってあるの……」 ムダ毛を永久脱毛したいけれど、どこのお店に行ったらよいのか迷っている女性の方は多いです。最近は格安の脱毛サロンも増えてきていますからね. Exploring the World Safely: A Traveler's Guide Traveling and exploring the world can be a thrilling and enriching experience. It allows you to immerse yourself in different cultures, taste new cuisines, and create lasting memories. However, it's essentia
Perl での print debug の方法の紹介がブーム(?)だったので、自分がよく行ってる Ruby での debug 方法7つについて書いてみます。 p ご存じの人も多い Kernel#p メソッド。これを使うとオブジェクトの内容を見やすい形で出力してくれます。 >> p ({:foobar => :baz}) {:foobar=>:baz}Object#inspect を使うと、p で出力するときと同じ文字列を String として取得できます。 >> puts ({:foobar => :baz}).inspect {:foobar=>:baz}初心者の頃この p での出力を使う方法がわからなくて困った記憶が…。 pp pp というライブラリを使うと、p より、より見やすい形式で出力してくれます。たとえば >> a = Array.new(10) { {:foobar => :
Windows XPの圧縮フォルダというほとんどの人が使っていないと思われる機能(私見)を解除したら、エクスプローラがキビキビ動くようになった気がする。というようなことを某所で言ったら、試した人が「すげぇかるくなった kyo++」とかインクリメントしてくれたので、エントリにしておこうとか。 圧縮フォルダ機能の解除の方法は、コマンド プロンプトで、 regsvr32 /u zipfldr.dll regsvr32 /u cabview.dll と、入力してやるだけ。多分再起動は必要ない。 これにより特にエクスプローラのツリー表示なんかが高速化する気がする。エクスプローラ以外ではファイラーっぽいので特に高速化する感じで、僕の環境ではACDSeeのツリー表示がとんでもなく高速化した。 また、デフォルトの検索機能が圧縮フォルダ内を探さなくなるため高速化し、いつまでたっても終わらないということは少な
Google Desktopを賢く使えば「ビルがスティーブに宛てた合併関連のメール」なども検索可能。(Lifehacker) 筆者は世界一の整理の達人ではない(その称号は筆者の仲間のほかの編集者たちにこそ与えられるべきだ)。だがフリーのデスクトップ検索ソフトGoogle Desktopのおかげで、紛失した契約書、保存場所を忘れた社会学論文の表紙、チャットのログなどを、なくして困った思いをせずに済んでいる。実際、「コンピュータ上の情報は簡単に検索できるのだからファイルや電子メールやブックマークの管理なんかしなくていい」という整理に無頓着な言い訳を、Google Desktopに正当化してもらっている。無秩序な状態を気にしなくていいのかって? まさにその通り。 しかし、無秩序に山積したファイルの中から情報を正しく引き出すための鍵は、精巧な検索方法にある。今回は、必要なとき、必要なものを正しく見
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く