Category: Ruby
-
Grab the net with Arduino
How to access a website with multiple virtual hosts from Arduino Ethernet Shield. The problem is if you have used Arduino Ethernet Shield, then you know that you can connect a IP, But if the IP has multiple virtual hosts, it will only connect to default virtual host. If it is commercial shared VPS, You…
-
IRB Console with history and logging
I spend most of my time working with IRB or Rails/console. I have settled on these settings over time as they provide basic logging and IRB history. To use them, simply add the following lines to the ~/.irbrc file (create the file if it doesn’t already exist): View the code on Gist.