Code: Notes on Ruby, Lua, JavaScript, Io, and other fun languages.
posted 2010-Nov-15
— updated 2011-May-28
— sub-pages updated 2014-Feb-11
Until I get them moved into the site properly, check out my mini-sites for:
- Ruby Method Lookup Flow - A diagram showing the path that is searched when Ruby is looking up methods in various locations (also available as a PDF).
- phrogz.net/RubyLibs - Random Ruby libraries I wrote and hosted before rubygems came around.
- phrogz.net/Lua - Some resources on learning Lua that I created, and a couple small libraries I have written.
- phrogz.net/JS/Classes - A few tutorials I wrote many years ago on various JavaScript topics.
- phrogz.net/JS - A big pile of super-old JS libraries and snippets and tests from the past.
The following pages are part of Code:
- Angle between three points (2D)
2014-Feb-11 - Animating with Ease In/Out
2013-Aug-08 - Calculating the area of an SVG Path or Polygon
2012-Apr-06 - Convert SVG Path to All-Absolute Commands
2012-Mar-12 - Count Photoshop Layers
2013-Apr-10 - Damped Spring Oscillations in JavaScript
2012-Oct-04 - Death to hasOwnProperty
2012-Mar-21 - Filename without extension in Ruby
2012-Mar-23 - Insights into Ruby from Lua
2006-Feb-11 - Lazy Cartesian Product
2012-Feb-27 - Round to Nearest via Modulus Division
2013-Feb-28 - Slow file reads on Win/Ruby 1.9
2010-Nov-15 - Symbol#to_proc with multiple arguments
2012-Feb-03 - tap vs. each_with_object
2012-Feb-23 - Top-down Ruby Scripts
2012-Mar-23 - é is not é
2012-Jan-25