I use Rake to automate a lot of tasks, in my plugins and on my development systems. A good technique to learn is to organize and group your tasks using Rake namespaces. Example: desc "Download missing plugins from Github" task :plugins do # .. end namespace :plugins do desc "Fetch latest revisions" task :fetch …
Tag: tools
Capture a Screenshot of a Full Website With Ruby
I’ve been working on a project recently where I needed to take screenshots of an entire website. I’m not talking about the full screen but the entire-multiple-screens-long website. There are a few existing tools out that but they wouldn’t work for me for various reasons: I wanted to use the command line so I can …
My ebook publishing tools
This past year I’ve really been getting into writing ebooks. I’ve written a large one (Refactoring Redmine), a shorter one (off the market), am writing another (Redmine Tips), and have another that I’ll be re-releasing very soon. The good (and bad) thing is that this has exposed me to several different tools that people are …
Emacs ido – [Too Big] Error
I’ve been using ido with Emacs for some time now and have been running into an error after I create a bunch of files in a directory (like with git format-patch). The problem is ido doesn’t want to list all of the files in the directory, even after I delete them and reboot Emacs. I …
Capistrano Deploy Sequence
During my last code reading of Capistrano, I traced the deploy recipe to find out what other recipes it uses. Since overriding and hooking into these recipes are used when you customize your application deploy, I wanted to document them here so I can find it again. deploy |-- deploy:update |---- deploy:update_code |------ Code update …