Decided to ditch watching the second half of the Broncos game today and take a late hike in Staunton State Park. Broncos still kicked ass! Living 5 minutes from the park makes it an easy decision on an awesome fall day. Worked the Staunton Ranch trail today. Struggled and only made one mediocre shot. A little heavier on the HDR than I usually do but the flatter light situation made it come out kind of cool. It sucks when the iphone beer shot is the best you got for the day. Oh well it was a nice hike.
How to view your MYSQL databases nicely formatted in the command line
After a long day behind the keyboard I made a quick escape to Staunton to work on a couple panorama photos that i’ve been scoping out. The good light fades quick so I only had time to try a couple compositions. This shot was composed of 8 HDR images spanning around a 180 degree view.
Being able to search for a string of code across multiple files for wordpress development (or any code) is extremely useful. Especially jumping into a theme someone else built. This is the bash function I use.
This command will search all the .php files in the directory you’re in, and all directories below for the string class=”widget-area”. It outputs the entire line that the string is on and the name of the file.
Usage: mfind filetype string