Monatsarchiv für August 2009

Free Ruby - Email2sms - E-Mail to SMS Gateway

Saturday, den 29. August 2009

Email2sms has been developed by www.avarteq.de.
Email2sms is a free and pure Ruby E-Mail to sms gateway including an extensible filterchain to filter and manipulate incoming emails before sending them as text messages.
Requirements
In order to run Email2sms you will need the following.

IMAP Mailbox
DeveloperGarden Account with credits. Have a look at developergarden.com

Required gems

developergarden_sdk
tmail

Installation
If it is the first […]

Ruby - Socket programming - TCPSocket - Documentation

Monday, den 24. August 2009

If you need to write an application using TCP sockets under Ruby you should have a look at the following docs:
Ruby Core RDoc:
http://ruby-doc.org/core/classes/TCPSocket.html
Programming Ruby, The Pragmatic Programmer’s Guide, Network and Web Libraries

MacOS X - Rails - RTex - Latex Installieren - Unicode - ucs.sty

Saturday, den 15. August 2009

In order to create PDFs with unicode (utf8) support within a Ruby on Rails app on Mac OS X, you need a fully working Latex installation including the ucs.sty extension.
The best way to install Latex on a Mac OS X is using MacPorts. The following command will install Tex, Latex and a whole bunch of […]

Ruby - Visibility of private and protected module methods when mixed into a class

Friday, den 7. August 2009

Consider you have a module defining a public, a protected and a private method. What happens to this visibility declaration after mixing the module into a class?
Does Ruby ignore visibility information or does Ruby take over the visiblity settings?
The following example demonstrates that Ruby preserves the module’s visibility settings and keeps private methods private and […]