Introduction Ruby on Rails, a server-side web application framework has greatly influenced web application development since its emergency in 2005. Ruby on Rails is written in Ruby under MIT licence, and I should warn on not confusing Ruby on Rails to the Ruby language. Among many other reasons, this is why you definitely should consider Ruby in your next web application project. Popularity Is Rub
一般的に、packは包み込むことで、unpackはその逆です。 Perlでのpack関数は、リスト値を型指定で包み込んで、バイナリ値に変換します。unpack関数はその逆です。 バイナリ値とは、たとえば、見た目『123』は、内部的には16進の『313233』で、バイナリ値です。 つぎに、リスト値『313233』を16進上位ニブル型指定("H*")でパックしてみます。 すると、見た目バイナリ値が『123』になるのです。 print pack("H*", 313233); #内部的には16進の『313233』である見た目バイナリ値『123』が表示される つぎに、見た目バイナリ値『123』を16進上位ニブル型指定("H*")でアンパックしてみます。 すると、リスト値『313233』が表示されます。 print unpack("H*", 123); #リスト値『313233』が表示される 尚、16
Rails Plugin Watcherとしては、 とても興味深い内容の記事がPostされていました。 10 Ruby On Rails Plugins You Should Be Using One of Ruby on Rails strengths is how easy it is to extend with Ruby Gems and plugins, becuase you don’t have to code everything yourself you can save a lot of time. One problem facing Rails codes is knowing what plugins are out there and how to use them. The following is a list of 12 plugins that shou
追記 2008/02/21 14:00:28: このページでのhaskellmodeはバージョンが旧いので emacs22でhaskell-mode2.4を動かす - 計算機と戯れる日々を参照のこと emacsのhaskell-modeの2.3を導入した。 schemeモードのC-cC-lではカレントファイルをロードした後、評価してくれる。 ところがhaskellモードを導入したままでは自分でmainと打たなければならずほとんど意味がない。 そこで.emacsを以下のようにして自動でmainを評価させ (load "~/lib/emacs/haskell-mode/haskell-site-file") (add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode) (add-hook 'haskell-mode-hook 'turn-on-
By Tim Dalton, OCI Software Engineer December 2007 Introduction Scala is a programming language that integrates features of object-oriented and functional programming languages. It is statically typed and compiles to JVM bytecode. A scripting interpreter is also part of the Scala language distribution. At the time of this writing, the current release of Scala for the JVM is version 2.6 with a sign
▽1 ● urekat ●100ポイント ベストアンサー map.connect 'top/url/:uri', :controller=>"top", :action=>"url", :uri=>/.*/ こう指定して、 http://localhost:3000/top/url/http://d.hatena.ne.jp/urekat こういうアクセスをすると、 Processing TopController#url (for 127.0.0.1 at 2007-11-10 12:40:50) [GET] Session ID: 692c8008bec6f0f50a342ddc0c54badf Parameters: {"uri"=>"http://d.hatena.ne.jp/urekat", "action"=>"url", "controller"=>"top"} こうなり
Randall Munroe is the creator of xkcd, a webcomic of romance, sarcasm, math, and language. Munroe on Munroe: "I'm just this guy, you know? I'm a CNU graduate with a degree in physics. Before starting xkcd, I worked on robots at NASA's Langley Research Center in Virginia. As of June 2007 I live in Massachusetts. In my spare time I climb things, open strange doors, and go to goth clubs dressed as a
ErlyWeb vs. Ruby on Rails EC2 Benchmarking Strangeness Posted by Yariv on December 12, 2007 I’ve been running some more benchmarks for the ErlyWeb vs. Ruby on Rails EC2 Performance Showdown. The results I’ve gotten are very strange — so strange, in fact, that I’m not going to “officially” publish anything before I run all the tests one more time. What’s strange about the results? I’ll give you
がんばって、マイティーサーバのCentOS4をubuntuのdapper(6.06)に置き換えたよー 前書き マイティーサーバはシリアルコンソールがついている大変ありがたい レンタルサーバです。とある事情(稟議が面倒)でマイティーサーバ以外には契約できない お客さんがいるのですが、私はCentOSは好きじゃない。 困ったもんだと思っていましたが、以前にRubyKaigi2006でとみたさんが やった人がいるよーって言っていたので、根性でやってみることにしました。 さて、作業します マイティーはエントリーの契約で十分です。webminとかPLESKとは一切つけません。 まず、sshでログインし、rootになります。 /etc/ssh/sshd_configの PermitRootLogin without-passwordにし、rootの.ssh/authorized_keysにpublic
The views below are not those of Yaakov Nemoy himself. All liability is assumed on the part of the reader for all resulting brain damage and any collateral damage associated thereof. How to split a repository in git We've decided in Smoltland that having a git repo would be a better idea. We were using Mercurial up till now, but as git seems to be the more popular choice in Fedoraland, it seems li
December 05, 2007 16:29 (Sydney Australia) Want to be a dark-knight git-wielding Rails coder? Here’s a quick run-through of how you might want to set up git with a new Rails app. I’m assuming you’ve managed to compile and install the 5TB of dependencies required to install git (sudo port install git-core). You’ll also want to set your name and email in the global config (git config --global user.n
In these days I’ve heard lot of rumors around Git. After reading some manual/tutorial/guide I discovered that it can be really useful, especially if you spend lot of time coding off-line (that’s my situation). This is a really small howto that describes how to work on a project versioned with svn (maybe taken from KDE repository ) using git. What’re the advantages? Since Git is a distributed revis
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く