Writing a Command Line Tool in Ruby
A tutorial on creating a basic command line tool in Ruby, covering scripts, argument parsing, and OptionParser.
Rob Dodson is a web developer focused on building impactful web experiences with a strong passion for climate change. He shares insights on front-end engineering, climate tech careers, and sustainable technology through practical posts and real-world projects.
70 articles from this blog
A tutorial on creating a basic command line tool in Ruby, covering scripts, argument parsing, and OptionParser.
An overview of the SMACSS CSS architecture methodology, explaining its core principles and categorization rules for writing scalable stylesheets.
Explores best practices for writing semantic, maintainable CSS selectors, with an introduction to frameworks like OOCSS and SMACSS.
Final part of a tutorial series on building and deploying a real-time countdown timer using Socket.io and Node.js, including code refactoring.
A technical tutorial on extending Node.js EventEmitter to build a Stopwatch model with Socket.io, focusing on proper prototype inheritance.
A technical tutorial on building a real-time countdown timer using Node.js and Socket.io, covering server-client communication and deployment.
A tutorial on creating custom jQuery Deferred objects and Promises for handling asynchronous operations like animations and AJAX.
A tutorial on integrating the EJS templating engine into an Express.js project, covering setup, configuration, and basic view rendering.
Explains how to use jQuery Deferred objects to asynchronously load Underscore.js templates and JSON data, avoiding callback hell.
A technical guide on setting up and testing AMD modules within a Backbone.js project using Mocha, Chai, and Sinon.
A technical tutorial on mocking HTTP requests for testing JavaScript applications using Mocha, Chai, and Sinon.
A guide to setting up and writing basic tests using the Mocha testing framework and Chai assertion library for JavaScript.
Explains how to implement framework-level event communication between views in Backbone.js using a central event dispatcher.
Explores methods for detecting when a Backbone.js view is added to the DOM, discussing custom events and the livequery jQuery plugin.
A technical tutorial explaining how to switch between views and manage layout in a Backbone.js application, including code examples.
Explains the Backbone.js Router and History API, comparing it to MVC frameworks and showing how to handle client-side navigation.
A tutorial covering Backbone.js basics including Events, Models, and simple data-binding with practical code examples.
A tutorial exploring the basics of RequireJS and AMD modules, including loading scripts and defining simple modules.
A technical guide exploring the Backbone Boilerplate, covering its setup, file structure, and integration with tools like Grunt and Require.js.
A guide to modifying the PATH environment variable within Sublime Text using a custom Python script to better integrate command-line tools.