spariamsgems.blogspot.com
spariamsgems: December 2007
http://spariamsgems.blogspot.com/2007_12_01_archive.html
Ruby, Ruby on Rails. Tuesday, December 11, 2007. After mostly doing RoR work for the last several months, lately I've had to write a few command line scripts that interact with MySQL. I came across an article by Steve Litt on Troubleshooters.com. Which I found useful for comparing the mysql driver, dbi, and ActiveRecord:. And here a few articles by Paul DuBois. On Ruby and database connectivity:. Using the Ruby MySQL Module. Using the Ruby DBI Module. Http:/ delaycalc.rubyforge.org/. I'm rewriting a comp...
spariamsgems.blogspot.com
spariamsgems: RubyGem - HighLine
http://spariamsgems.blogspot.com/2007/12/rubygem-highline.html
Ruby, Ruby on Rails. Tuesday, December 11, 2007. I was looking for a way to prompt a user for input on the console and ran across the RubyGem HighLine. It does a lot more than this, but here's how to capture STDIN from the console:. Username = ask("Enter your username: ") { q q.echo = true }. Password = ask("Enter your password: ") { q q.echo = "*" }. Here's the output on the console:. Enter your username: doug. Enter your password: * * *. Or simply install the gem the normal way:.
copiousfreetime.org
Copious Free Time
http://www.copiousfreetime.org/index2.html
This is what i do with mine …. Updated tutorial with new versions of crate (0.2.1) and amalgalite (0.7.1). Packaging an Application With Crate. Crate is way to package up your ruby applications as statically compiled binaries. I was lucky enough to talk about Crate at RubyConf '08. This is a small tutorial that expands upon my RubyConf talk and demonstrates how to package gem application as a standalone statically compiled executable. Step 1 — Install Crate. Step 2 — Create a new Crate Application. File ...
copiousfreetime.org
Packaging an Application With Crate
http://www.copiousfreetime.org/articles/2008/11/30/package-an-application-with-crate.html
This is what i do with mine …. Packaging an Application With Crate. Updated tutorial with new versions of crate (0.2.1) and amalgalite (0.7.1). Packaging an Application With Crate. Crate is way to package up your ruby applications as statically compiled binaries. I was lucky enough to talk about Crate at RubyConf '08. This is a small tutorial that expands upon my RubyConf talk and demonstrates how to package gem application as a standalone statically compiled executable. Step 1 — Install Crate. File you'...
ditoinfo.wordpress.com
Console input on Ruby: Masking passwords on the command line | ditoinfo in english
https://ditoinfo.wordpress.com/2007/11/19/console-input-on-ruby-masking-passwords-on-the-command-line
Talking about programming and computer stuff. Console input on Ruby: Masking passwords on the command line. I like plain old console applications. They are fast (to program, compile and use) and, of course, add a cool factor, like people saying they have absolutely no idea of what you are doing! Ruby, of course, can do console apps, but it’s not trivial to read user input. And what if you want the user to type a password? Well, “highline” gem covers this and much more. What about writing:. You are commen...
ditoinfo.wordpress.com
ditoinfo in english | talking about programming and computer stuff | Page 2
https://ditoinfo.wordpress.com/page/2
Talking about programming and computer stuff. Installing Sphinx on OS X Leopard. Bull;October 25, 2008 • Leave a Comment. Clinton Nixon has written an excelent post on the procedure. He was having problems trying to compile Sphinx on Leopard and found that 2 libraries were outdated on his OS X install: iconv and expat. After installing both, he managed to get sphinx running. Follow the instructions on his post to find out more. Http:/ www.viget.com/extend/installing-sphinx-on-os-x-leopard/. Just press Ho...
kl93.blogspot.com
dougsparling.org (kl93): March 2008
http://kl93.blogspot.com/2008_03_01_archive.html
Tech Tidbits - Ruby, Ruby On Rails, Merb, .Net, Javascript, jQuery, Ajax, CSS.and other random bits and pieces. Saturday, March 29, 2008. Phusion Passenger (a.k.a. mod rails for Apache) Preview. Riding Rails: mod rails is on the way. Labels: ruby on rails. Sunday, March 23, 2008. Ruby on Rails - Using External Asset Hosts. Add the following line to your config/environment.rb file:. ActionController: Base.asset host = 'http:/ assets.yourdomain.com'. Now this line in my layout. Wednesday, March 12, 2008.
blog.paracode.com
Building Your Tools With Thor - Dotan Nahum
http://blog.paracode.com/2012/05/17/building-your-tools-with-thor
CTO at Como. Big data. Fullstacker. Hacker. Open sourcer. Building Your Tools With Thor. Is not new; first built as a. Replacement, first commit is well over. Jump ahead several years and Thor is part of the foundation of the new-generation rails generator. And very popular tools. Recently, @wykatz emerged a fantastic looking (and much deserved) Thor website. And although I’ve started doing Thor based. Over two years ago, I think its the right time to write about Thor itself. And its also a great one for...
ehaselwanter.com
Articles tagged 'capistrano'
http://ehaselwanter.com/en/tags/capistrano
How to use highline menu in Capistrano. September 21, 2008. Sometimes invoking a task in Capistrano requires to input data. A very comfortable approach is to use highline. Since it is build for this purpose. Task :ask for environment do set :environments, [:production,:testing,:development] . Read More →. Bootstraping ec2 with Puppet, iClassify, and Capistrano. September 06, 2008. Searching through github ( http:/ github.com/search? Read More →. Automated Environment: Puppet, iClassify, and Capistrano.