Author: sroot
-
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:…
-
SPF with google site verification
Ahh, the joys of computing. My plan for a 30 minute task dissolves once more into 3 hours of head scratching. As always, the solution was ridiculously easy. The aim: To add Spam Protection Filter/Sender Policy Framework to our DNS. The problem: Having more than one TXT entry wasn’t possible with my DNS provider (and…