Categories

There are currently no items in your shopping cart.

User Panel

Forgot your password?.

Code Clinic: Ruby

Video Introducing this tutorial


Introduction
Welcome
What you should know before starting this course
Using the exercise files
Getting the most from Code Clinic

Problem One: Statistical Analysis
Introducing Lake Pend Oreille
Overview of my solution
Accepting user input
Validating user input
Retrieving remote data
Data calculations
Output results
API

Problem Two: Image Analysis
Introducing image analysis
Hints, tips, and tricks
Overview of my solution
ImageMatcher
Matching exact pixels
Matching similar pixels
Determining the best match
Optimizations
Matching with OpenCV

Problem Three: Eight Queens
Eight Queens problem
Hints, tips, and tricks
Overview of my solution
Queen and board classes
Displaying the board
Determining safe positions
Using loops
Loops with backtracking
Loops with smarter backtracking
Recursion primer
Using recursion
Finding all possible solutions
Further exercises

Problem Four: Accessing Peripherals
Accessing peripherals problem
Hints, tips, and tricks
Overview of my solution
Installing Gosu
Creating PitchMaker
Adding an indicator
Starting and stopping the tone
Changing volume
Changing pitch
Piano: Using semitone pitches

Problem Five: Recursion and Directories
Introduction
Hints, tips, and tricks
Overview of my solution
Making a plan
Finding images with recursion
Finding images a simpler way
Install exiftools
Inspect images for metadata
Organize images by caption

Problem Six: Building the Web
A templating problem
Hints, tips, and tricks
Overview of my solution
Parsing CSV files
ERB templating
CurriculumMaker
Parsing course data
Creating an ERB template
Using the ERB template
Savings results to a new file