Quick Tip: Flushing DNS on Mac
Being a “switcher” (for the second time) meant I had to find a new version of the “ipconfig /flushdns” command that worked on my PC.
I was happy to find it’s just as easy on my Mac to flush DNS (if not a bit hidden).
function remove_more_jump_link($link) { $offset = strpos($link, '#more-'); if ($offset) { $end = strpos($link, '"',$offset); } if ($end) { $link = substr_replace($link, '', $offset, $end-$offset); } return $link; } add_filter('the_content_more_link', 'remove_more_jump_link'); ?>
Being a “switcher” (for the second time) meant I had to find a new version of the “ipconfig /flushdns” command that worked on my PC.
I was happy to find it’s just as easy on my Mac to flush DNS (if not a bit hidden).
I’m the first one to admit I’m lazy when it comes to maintaining a local copy of databases I work with. So what I decided to do was make my Mac work for me while I’m sleeping.
I’ve setup a series of daily commands to run as cron jobs on my iMac to do the boring things I spend time on every morning, thus saving me an hour of waiting around for downloads, decompressing tars and imports.