Safari Bookmarks Lose Sort, Become Unsorted or Revert to Previous State After Running SafariSort

Problem SafariSort sorts all bookmarks but they are later reverted to their previous state. Bookmarks do not hold their sorted order after editing or adding bookmarks. Background When enabled iCloud syncing keeps all your Apple applications up to date with recent changes so you have the updates on all your computers and iOS devices. This wonderful cloud syncing is great …

Block Access to Websites on a Mac by Modifying /etc/hosts

It’s easy to block incoming connections on a Mac with the builtin firewall. Blocking outgoing connections to websites from your browsers or applications is a little more difficult. You could use an app like LittleSnitch but that is honestly overkill. If you are comfortable with using Terminal then you can simply edit your hosts file to prevent your system from …

PHP Form Select with Date Range

Create a form select with a range of years automatically with PHP. The above code will output the following: <select> <option value=’2008′>2008</option> <option value=’2009′>2009</option> <option value=’2010′>2010</option> <option value=’2011′>2011</option> <option value=’2012′>2012</option> <option value=’2013′>2013</option> <option value=’2014′>2014</option> <option value=’2015′>2015</option> <option value=’2016′>2016</option> </select>