hoodwink.d enhanced
 

juretta.com

26 Recent Entries tagged with »Ruby«

URI-Template gem released | March 15, 2008

URITemplate is a parser for URI Templates as defined in the URI Template specification (http://bitworking.org/projects/URI-Templates).

Loading the Netflix Dataset into MySQL | April 24, 2007

I just couldn't resist. The by now well known Netflix Prize is a great opportunity to do a little bit research about recommendation engines (recommender). I decided to use a plain MySQL 5 d...

undefined method `refresh' for # | April 13, 2007

Are you getting the following error while trying to use the "gem" command? undefined method `refresh' for #<Hash... Solution: Delete your source_cache files! These files are located...
@13:35 | Comments: 4 | Tags: Gems (3), Ruby (32)

Attachr.com: New languages added | March 18, 2007

As of today attachr.com now supports the following additional languages: Clipper Rexx Oberon FORTRAN 77/Fortran 90/95 Lisp and Pike Examples: Rexx, Oberon an...
@19:14 | Comments: 2 | Tags: Attachr (4), Ruby (32)

Rails WDDX request | January 31, 2007

I was asked how to get the body of an HTTP post request in a Rails controller. And with the most things in Rails it's very easy. ...

Debugging Ruby -RubyOSA continued | January 08, 2007

The day before yesterday i wrote a short post about RubyOSA. RubyOSA is a Ruby/AppleEvent Bridge which in the end means that you can use Ruby to script Mac OS X applications like iTunes, iChat, A...
@19:20 | Comments: 7 | Tags: Ruby (32), RubyOSA (2)

Ruby 1.9 with YARV - Ruby is getting faster | January 03, 2007

As mentioned here Ruby trunk now contains YARV. YARV is a Virtual Machin for Ruby and Ruby trunk is what will become Ruby 1.9.1 (it is 1.9.0 as of now). The benchmark looks really promising...
@19:59 | Comments: 0 | Tags: Ruby (32), YARV (1)

Ruby SequencedHash | December 29, 2006

Is there a pure-ruby ordered hash? I'm looking for something that will preserve the order in which key/value pairs were entered. Although one might argue that a Hash that preserves inserti...
@12:34 | Comments: 1 | Tags: Gems (3), Ruby (32)

RubyOSA - Ruby/AppleEvent Bridge | December 03, 2006

Get http://rubyosa.rubyforge.org/ if you are programming Ruby on Mac OS X! RubyOSA is a bridge that connects Ruby to the Apple Event Manager infrastructure. In other words, it allows you to...

Ruby: Installing Ruby MySQL driver on Intel Macs | October 13, 2006

Installing the native MySQL-Driver for Ruby on my MacBook Pro (Mac OS X 10.4.8) resulted in the following error after running sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql. ...

Ruby Oneliner | September 15, 2006

@09:41 | Comments: 0 | Tags: Dropbox (35), Ruby (32)

Ruby 1.8.5 Released | August 27, 2006

Soon to be announced on ruby-lang.org: Ruby 1.8.5 is out. You can get it here: ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.5.tar.gz. Read the release note on ruby-talk mailing list. ...
@14:12 | Comments: 0 | Tags: Ruby (32)

Ruby: Net::Http and open-uri | August 13, 2006

Ruby has different libraries that provide higher-level access to network protocols such as FTP, HTTP or HTTPS. This article shows the usage of net::http, net::https, open-uri and the rio library...
@09:28 | Comments: 0 | Tags: Ruby (32)

Rails-Rdoc task fails on Windows | August 07, 2006

Using the most recent version of Rails the rdoc rake task fails on my windows test box. A quick and simple hack enables the rdoc task. Replace: Rake::RDocTask.new("appdoc") { ...

Gem remote search | March 29, 2006

How to search for a specific gem.
@15:38 | Comments: 0 | Tags: Gem (1), Ruby (32)

Download the Kleptones 24 Hours using Ruby | March 28, 2006

Go get http://www.kleptones.com/pages/downloads_24h.html! Due to the lack of working torrent files i wrote a nifty little ruby script to fetch all the mp3 files (works on OSX and RedHat, your mileage may vary). Just type "ruby download_kleptones.rb" and all the mp3 files are being downloaded into a "Kleptones_24hours" directory. See the kleptones blog for more information.
@16:29 | Comments: 1 | Tags: Ruby (32)

Rdoc UTF-8 | March 18, 2006

The "-c" or "--charset" option specifies the character set for the HTML output.
@00:20 | Comments: 0 | Tags: Dropbox (35), Ruby (32)

Ruby remote logging | December 31, 2005

Logger: # == Synopsis # # Simple remote debug class # # == Author # Stefan Saasen s@juretta.com # # == Copyright # Copyright (c) 2005 juretta.com Stefan Saasen # Licensed under the same...

Ruby: HTTP Request | December 23, 2005

require 'net/http' req = Net::HTTP.get_response(URI.parse('http://www.juretta.com/')) print req.body require 'open-uri' open("http://www.juretta.com/") {|f| print f.read } ...
@15:57 | Comments: 0 | Tags: Ruby (32)

Ruby Mysql on Mac OS X (Panther) | December 11, 2005

Problems installing the Ruby mysql gem? [sts@powerbook mysql-2.7]$ sudo gem install mysql [...] ERROR: Failed to build gem native extension. [sts@powerbook mysql-2.7]$ cd /usr/local/li...

How to change the asset path in RubyOnRails | December 10, 2005

If you don't want to name your asset directories for javascript files and stylesheets "javascripts" and "stylesheets" here is how you can change the default path settings.

hoodwink.d | December 08, 2005

Firefox + Greasemonkey + 72.9.109.166 hoodwink.d... Go figure!
@17:25 | Comments: 1 | Tags: Ruby (32), Webdev (9)

Converting character sets | May 26, 2005

@hash.iconv!("iso-8859-1", "utf-8") require 'iconv' class Hash def iconv!(to,from) iconv = Iconv.new(to,from) perform_iconv!(iconv) iconv.clos...
@14:39 | Comments: 0 | Tags: Dropbox (35), Ruby (32)

Howto Install Complete Ruby On Debian | May 18, 2005

The following command will install all packages and libraries with "ruby1.8" in the package name, which should lead to a more or less complete installation of ruby on your machine: apt-...

Ruby and Rails on Mac OS X Tiger | April 24, 2005

ruby -v [powermac:~] sts% ruby -v ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] Readline installieren curl ftp://ftp.gnu.org/gnu/readline/readline-5.0.tar.gz | tar xfz cd readline-5.0 ....

lighthttp Apache and RubyOnRails | March 22, 2005

Using Apache as a proxy to serve a Rails on lighttpd application <Virtualhost xxx.xxx.xxx.xxx> ServerAdmin s@example.com ServerName rails.juretta.net Serv...

About

juretta.com is the personal workspace of Stefan Saasen. You can send him an email or read more about this site in the „About“ section.

Recent comment

On: “New Zealand Daylight Saving Time Change: Mac OS X and Java

very usefull,thanks,i linked it on my blog ispig:hobix

posted 5 months ago by foxcamel

Look!

Latest links  RSS  

More...