Month: July 2012

  • Peer to Peer downloading (Torrents) and network problems

    Recently my parents had some friends visit. They had a laptop with them and asked to use the internet. We’ve not problem with that so let them connect…. except when they connected they were running a peer-to-peer file sharing program. If you’re here, you probably know what that is. A way of sharing large files…

  • Screen recording on a mac

    Mac OS continues to keep me happy. Sure, it has it’s faults but I just needed to capture my screen to file a software bug report. I could have explained step by step by typing but sending a video file is so much simpler. Except, I hadn’t done it on my Mac before. A quick…

  • Useful bash command for ruby programming (find a string within a file including sub directory files)

    Here’s a useful bash command, great for finding the source of any ruby “unintialized constant” errors. steve@Steve-Root-MBP$grep -r ‘Spree::Admin::Application’ . Returns the file name and the line with the matching string, like: ./app/controllers/spree/admin/satisfies_controller.rb: class Spree::Admin::SatisfiesController < Spree::Admin::ApplicationController So, my constant that caused the error is located in app/controllers/spree/admin/satisfies_controller.rb The command is made up like this:…