Forcing writability of a directory on Windows

Following on this previous post, this short DOS script does the equivalent of chmod a+wS:   @echo off REM    forcewritable.cmd REM    Usage: Open an Administrator command prompt and run this, e.g., REM    forcewritable C:\path\to\folder   echo Taking ownership of %1… takeown /f %1 /r /d y icacls %1 /grant Everyone:F /t

Forcing a git pull

Git pull is designed to prevent you from overwriting local changes.  Sometimes, though, you want to do just that, but there’s no out-of-the-box support for it.  This script comes to the rescue:     #/bin/sh       # Fetch the newest code     git fetch       # Delete all files which are being added, so… Continue reading Forcing a git pull

Migrating to Gmail, Part 2

In this post, I discussed some ideas for how best to get a large amount of email, going back literally decades, off Outlook 2010 and onto Gmail.  Two months later I’ve finally finished – and I’m glad I did. Starting about a week ago I stopped being able to send email from Outlook reliably and… Continue reading Migrating to Gmail, Part 2