de acordo com sua aplicação. Não tem coisa que eu abomine mais do que um banco de dados e uma aplicação web desenvolvida em “Latin1” (iso-8859-1) ou pior ainda, em Windows 1252. Apenas para refrescar a memória, até o Ruby 1.8 todo string de texto era nada mais do que uma cadeia de byt...
Essa é completamente fora do escopo deste artigo, mas como meu código no Github está utilizando, vou apenas listar como instalei. Para quem não conhece, o Twitter Bootstrap é um conjunto de stylesheets e javascripts para estilizar rapidamente seu site, justamente para casos como este,...
Today is my birthday so here is a gift 2012-07-15 Today is my birthday! Hooray for me! To celebrate I decided to release the source code for JotBot. JotBot is a cross-platform desktop application written in JRuby. It was a commercial product released somewhere around 2009. It is notab...
ERR unknown command blpop for Resque, Redis and Rails Posted by mencio on July 15, 2012 — 0 comments I just posted small note on how to fix "unknow command blpop" for Resque, Redis nad Rails. You can check it out here . Comments Post a Comment Comment abilities for non registered ...
return values from fork: fork_and_return Posted by grosser on July 15, 2012 — 0 comments revert any side-effects like require or memory leaks and still get a result fork_and_return Comments Post a Comment Comment abilities for non registered users are currently deactivated, pendin...
Wettpool - Open Source Sports Betting Pool Ready for 2012/13 Football Season (in Rails 3.2+) Posted by geraldbauer on July 15, 2012 — 0 comments Now that the European Football Championship (aka Euro 2012) is over I've reconfigured the Wettpool app with new game fixtures for more fun i...
Essa é completamente fora do escopo deste artigo, mas como meu código no Github está utilizando, vou apenas listar como instalei. Para quem não conhece, o Twitter Bootstrap é um conjunto de stylesheets e javascripts para estilizar rapidamente seu site, justamente para casos como este,...
We can use an HTML table that contains the data we want to export as Excel has no problem displaying these. When we open this up in Excel we’ll see that the encoding problem has disappeared and data containing newlines is handled correctly, too. The spreadsheet looks a little differen...
This episode builds on last week's episodes and shows how to integrate Facebook further through the Open Graph protocol. You will also learn how to tunnel your local server and move Facebook communication into a background process.
f you’re anything like me, you’re already starting a new project immediately after wrapping up the last one. There just aren’t enough hours in the day to code up all the crazy ideas I have floating around in my head. Often, these ideas are the result of checking out some fun new gem, ...
SVNレポジトリ RubyのソースコードはSVNレポジトリに保存されており、ViewVC経由で参照できます: <URL:http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?root=ruby> また、Anonymous SVNも利用可能です: trunkの場合: $ svn co http://svn.ruby-lang.org/repos/ruby/trunk ruby 1.8の場合: $ svn co http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8 ruby その他...
In the example above “render” is the name of the event, and the rest is called the payload . The payload is a mechanism that allows instrumenters to pass extra information to subscribers. Payloads consist of a hash whose contents are arbitrary and generally depend on the event.
totsuzen 0.0.3 Add Totsuzen method to String Class. install gem install totsuzen Download Documentation Subscribe Stats Authors con_mame 24 total downloads 19 for this version Owners Links Homepage Gemfile gem "totsuzen", "~> 0.0.3" Versions 0.0.3 July 15, 2012 Show all versions (3 to...
pry(#<Class:0x104e63de0>):1> show-method all.in_groups_of From: /Users/eifion/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.10/lib/active_support/core_ext/array/grouping.rb @ line 19: Number of lines: 19 def in_groups_of(number, fill_with = nil) if fill_with == false collection = s...
前回では、ミドルウェアなどの設定ファイルの管理を想定した「一定の内容が書かれたファイルを指定の場所に指定の状態に保つ」ことを実現しました。 さて、この設定ファイルの内容を変える必要が出てきたとします。ただテキストを変更するだけなら、とてもカンタンです。テンプレートを修正して chef-solo を実行するか、chef-client の実行をすれば変更後の内容に置き換わります。 ところが、大抵のミドルウェアでは設定ファイルの内容を置き換えるだけでは変更内容は反映されません。だいたい後の処理として再起動など (reload とか restart) が必要になります。 ...
capistrano-node-deploy 1.0.8 Capistrano recipes for deploying node apps install gem install capistrano-node-deploy Download Documentation Subscribe Stats Authors James Smith 692 total downloads 39 for this version Owners Links Homepage Gemfile gem "capistrano-node-deploy", "~> 1.0.8" ...
rubydns 0.4.1 A simple DNS server DSL for Ruby. install gem install rubydns Download Documentation Subscribe Stats Authors Samuel Williams 5,769 total downloads 31 for this version Owners Links Homepage Source Code Gemfile gem "rubydns", "~> 0.4.1" Versions 0.4.1 July 15, 2012 0.4.0 J...
This gem uses jQuery Data Tables to generate grids in Ruby on Rails applications