For checking out a new programming language in some sort of organized way.
With training_wheels, you get a Vagrantfile and a suggested process. To check out a new language (for example, Ruby),
you create a subdirectory in this directory named after the language, add a setup.sh
file to provision a bare Ubuntu
VM to run the language, and update $lang
at the top of the Vagrantfile
. Then run vagrant up
and you'll have a VM
all ready for experimentation.
- Write a program that outputs "hello world"
- Write a program that takes a filename, writes "hello world" to it, and closes the file
- Write a test for the program from #2 and run it
- Write a program that hits GitHub's Events API and shows the last 10 events in a nice format
- Write a program that stores the last 10 events from GitHub's Events API in Redis/SQLite and returns the total number of events stored
- Write a Sinatra-like app that returns "hello world" as a static web page
- Write a Sinatra-like app that reads the events (stored in #5) from Redis/SQLite and displays them