learn_ruby solutions

December 16, 2013

A good number of my students have approached me for help on these exercises, which are part of testfirst.org and used as an entrance requirement to appacademy.io.

Get the solutions to exercises 1-11 here:

https://github.com/lazyprogrammer/learn_ruby

May finish the rest of the exercises if requested.

#appacademy #learn_ruby #rails #ruby

Go to comments


Find and Replace Text from the Command Line in Linux

December 10, 2013

Use sed

sed -i 's/<original_text>/<replacement_text>/' <file.txt>

Example:

sed -i 's/Bob/Alice/' names.txt

Go to comments


Deep Learning and Artificial Intelligence Newsletter

Get discount coupons, free machine learning material, and new course announcements