# File '/var/www/sass-pages/.sass/lib/sass/script/functions.rb', line 942 def mix(color1, color2, weight = Number.new(50)) assert_type color1, :Color assert_type color2, :Color assert_type weight, :Number unless (0..100).include?(weight.value) raise ArgumentError.new("Weight #{weight}...
#133 Capistrano Tasks (revised) Mar 24, 2012 | 10 minutes | Deployment , Tools Learn the basics of writing Capistrano tasks, how to set variables, and run commands on a remote server. Then peak into the internals of Capistrano's deploy tasks to see how they work. Subscribe to Watch Ep...
Cinch 2.0 is here Posted by dominikh on March 24, 2012 — 0 comments Today I released version 2.0 of the best known IRC framework for Ruby, introducing a lot of nice new features and API improvements. Changelog and migration guide (for older users) can be found at http://bit.ly/GLoXVP ...
I understand Thomas Lecavalier when he says that it will lead to deap changes in redmine architecture. Is it possible to open a new development branch in Redmine for this kind of feature ? I'm affraid I don't have the necessary skills to develop such a feature and to dive into redmine...
My conscience won’t let me call Ruby a computer language. That would imply that the language works primarily on the computer’s terms. That the language is designed to accomodate the computer, first and foremost. That therefore, we, the coders, are foreigners, seeking citizenship in th...
Concerning Commercial Uses of the (Poignant) Guide This book is released under a Creative Commons license which allows unlimited commercial use of this text. Basically, this means you can sell all these bootleg copies of my book and keep the revenues for yourself. I trust my readers (...
Пару дней назад GitHub создали специальный раздел на сайте, посвященный стилям написания кода (на Ruby, JavaScript, HTML, CSS). Тема стилистики кода возможно такая же "горячая", как и выбор редактора/IDE. И, на мой взгляд, абсолютно верного ответа нет. Каждый выбирает тот подход (как ...
Please also note that highline makes many tasks such as user input simple. There’s main and Vision Commander and gli also. There is a tiny wrapper over OptionParser called subcommand (a ruby gem) which allows for commands within our program. All option parser syntax will continue to w...
.CodeRay { background-color: #232323; border: 1px solid black; font-family: 'Courier New', 'Terminal', monospace; color: #E6E0DB; padding: 3px 5px; overflow: auto; font-size: 12px; margin: 12px 0; } .CodeRay pre { margin: 0px; padding: 0px; } .CodeRay .an { color:#E7BE69 } /* html att...
okuyama 0.0.1 okuyama client for Ruby install gem install okuyama Download Documentation Subscribe Stats Authors Kenji Hara 13 total downloads 13 for this version Owners Links Homepage Bundler gem "okuyama", "~> 0.0.1" Versions 0.0.1 March 24, 2012 Development Dependencies bundler ~> ...
check out if they have a REST-api and access this API using one of the numerous tools available like ActiveResource or HttpParty. If they don't have a REST-API, talk them into adding one, there are also numerous php-Tools out there that will help you do that. You probably do not want ...
I think it is time for gem_prelude to die. It was created to address a symptom, namely, that rubygems was slow on some systems (and proportional to the number of gems you have installed). I don't know of any other reason why it exists. If there are other reasons, I'd like to know. The...
yahoo_nba 0.0.1.alpha Get nba stats using yahoo api install gem install yahoo_nba --pre Download Documentation Subscribe Stats Authors jamesjn 3 total downloads 3 for this version Owners Bundler gem "yahoo_nba", "~> 0.0.1.alpha" Versions 0.0.1.alpha March 24, 2012 Development Dependen...
Visage is a web interface for viewing collectd statistics. It also provides a JSON interface onto collectd's RRD data, giving you an easy way to mash up the data.
>> How Can I generate uuid ? any references or Ideas could You people >> suggest.I have not even heard about it? >> > > http://en.wikipedia.org/wiki/Uuid#Ruby > In Windows, you can use this code. I'm not sure where I found this from, so I can't tell you who to thank :P require 'Win32A...
The top 10 websites built with Ruby on Rails Posted by Collin on 05/19/2011 in Rails Tutorials . Ruby is a growing force in programming. With that growth we have seen some pretty phenomenal applications developed through it. In this article we will take a look at what are in my opinio...
omniauth-rtm 0.0.1 OmniAuth strategy for Remember The Milk install gem install omniauth-rtm Download Documentation Subscribe Stats Authors Nickolay Abdrafikov 4 total downloads 4 for this version Owners Links Homepage Source Code Bug Tracker Bundler gem "omniauth-rtm", "~> 0.0.1" Vers...
Bundler manages an application's dependencies through its entire life, across many machines, systematically and repeatably
I am using OSX Lion with rvm installed . Ruby version ->ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0] Rails gem -> rails (3.1.3, 2.3.14) On executing 'RAILS_ENV=production rake db:migrate', I get the following error message. Warning: Insecure world writable dir /usr...