OS X Terminal color prompt
My previous Terminal Tweaks post had an incorrect prompt (PS1) setting, that caused lines to wrap on themselves! This is now corrected, with more details on the color options...
My previous Terminal Tweaks post had an incorrect prompt (PS1) setting, that caused lines to wrap on themselves! This is now corrected, with more details on the color options...
I discovered that Xcode includes a diff tool called FileMerge. Where is it and how do you launch it?
I just bought a MacBook Pro! Prior to this, I've only been exposed to Windows and a smattering of UNIX/Linux... until now. What really struck me was the price! Total sticker shock, and that was before Apple raised prices on 14 Oct 2015!
I, like many other iPhone users, turn on AssistiveTouch so that I don't have to press the Home button. Historically, this button has been quick to fail, so using the on-screen icon will save some wear-and-tear. And with iOS 9, AssitiveTouch has become customizable! Shocking (for Apple, not much is customizable)!
To clean install Windows 10, you need more than the product key from an upgraded instance of Windows 7/8. You'll need a file called tokens.dat
created during the upgrade process.
Forget the complex or manual steps, or costly tools to get screen shots scaled down from a retina display. I have a shell script that triggers an interactive window screen capture, saves the screen shot (assumed to be 2x retina display), re-sizes it to 1x and compresses the PNG further! Best of all, it does not require paid software or Automator.
A short list of free tools I find useful for blogging and web development! Includes Microsoft Visual Studio Code, ImageOptim, ForkLift 2 and Commander One.
Some tweaks to my OS X shell (Terminal.app) that I've found useful.
I opted to install Grav via the ZIP package, as documented here. My hosting provider does not give me shell access, so I would not be using git or the Grav Package Manager (GPM), but limiting myself to FTP or the cPanel File Manager.
Apache and PHP 5.5.27 are installed already in OS X 10.11 El Capitan, so just a little enabling is required.
Updated 12 Oct 2016: See the slightly updated guide for macOS 10.12 Sierra, which has been updated to Apache 2.4.23 and PHP 5.6.24.
In starting this blog, I installed and tested various Blogging and Content Management Systems (CMS), finally settling on Grav. Here's why I like Grav.