Ruby - How to convert characters to ASCII decimal (byte) values
Ruby - How to convert characters to ASCII decimal (byte) valuesBy Alvin Alexander. Last updated: June 3 2016Problem: You have a character, or a string of characters, and you want to use a Ruby script...
View ArticleRuby - How to convert ASCII decimal (byte) values to characters
Ruby - How to convert ASCII decimal (byte) values to charactersBy Alvin Alexander. Last updated: June 3 2016Problem: You have a byte value, or a string of byte values, and you want to use a Ruby script...
View ArticleA Ruby script to remove binary (garbage) characters from a text file
A Ruby script to remove binary (garbage) characters from a text filealvinJune 9, 2009 - 12:03pmRead more about A Ruby script to remove binary (garbage) characters from a text fileLog in to post...
View ArticleRuby weather and mail example - a ruby script that mails me the weather
Ruby weather and mail example - a ruby script that mails me the weatherBy Alvin Alexander. Last updated: January 22 2018I just finished a Ruby client program that gets the current weather for multiple...
View ArticleRuby developer jobs
Ruby developer jobsBy Alvin Alexander. Last updated: June 3 2016During the past year I've worked with all sorts of programming languages, technologies, and frameworks, including Ruby and Rails; Java,...
View ArticleA Ruby JPEG example - Use Ruby to get the date and time from a JPEG file
A Ruby JPEG example - Use Ruby to get the date and time from a JPEG fileBy Alvin Alexander. Last updated: June 3 2016A few weeks ago when I upgraded my iPhone 3G to iOS 4, I hooked up my iPhone to my...
View ArticleRuby stdout and stderr
Ruby stdout and stderrBy Alvin Alexander. Last updated: June 3 2016Very cool, thanks to a comment from a reader I just learned about the Ruby $stdout and $stderr variables. In short, you can write to...
View ArticleFirst Mac Ruby Appscript examples
First Mac Ruby Appscript examplesBy Alvin Alexander. Last updated: June 3 2016I just took a brief look at Ruby Appscript as a potential replacement for AppleScript on Mac OS X. So far it looks...
View ArticleRuby command line arguments
Ruby command line argumentsBy Alvin Alexander. Last updated: June 3 2016Ruby FAQ: How do I read command line arguments in a Ruby script (Ruby command line args)?To read command line args in a Ruby...
View ArticleA Ruby Monte Carlo simulation of coin flips
A Ruby Monte Carlo simulation of coin flipsBy Alvin Alexander. Last updated: September 3 2017For some reason or another today I was curious about this question: If you flipped a coin ten times, what...
View Article