Posts
All the articles I've posted.
Swype - Amazing keyboard for Android
Brief recommendation of the Swype swipe-based keyboard app for Android for faster typing.
Read more…Guide how to easy screw up your git repository
A real incident where a wrong-branch git reset --hard corrupted a release branch, with recovery steps for the team.
Read more…PowerShell + XAML => GUI
How to build a WPF GUI window in PowerShell using XAML, with a note on the STA threading requirement for PowerShell 2.
Read more…PowerShell Get-Content vs _System.IO.File___ReadAllText
Difference between Get-Content (returns array of lines) and ReadAllText (returns full string), with alternatives for both PowerShell versions.
Read more…WTF Exception.ToString() and FaultException
FaultException inner details are silently dropped by Exception.ToString(); an extension method restores the full fault message.
Read more…posh-git _ WARNING_ Could not find ssh-agent
How to suppress the posh-git ssh-agent warning by commenting out Start-SshAgent in the profile script.
Read more…PowerShell Sort-Object and Hashtables
Explains why Sort-Object -Property fails on PowerShell hashtables and how to sort them correctly using a script block.
Read more…Copy PowerShell command into clipboard
One-liner to copy the last executed PowerShell command to the clipboard using Get-History and clip.
Read more…Dropbox and Symbolic Links
Explains how to sync arbitrary folders with Dropbox by creating symbolic links using Link Shell Extension.
Read more…Git and typos
Shows how to enable git help.autocorrect to automatically fix and run mistyped git commands.
Read more…