Debugging in Visual Studio
Basic Shortcuts
Git Assume Unchanged
Ideally one would create a new gitignored file to configure an application to fit his local development environment but when you do have to revert to modifying a committed configuration file, at least there is “git assume unchanged” to avoid committing your changes in these files accidentally.
Assume Unchanged
# Git assume a file
git update-index --assume-unchanged fileName
# And unassume with
git update-index --no-assume-unchanged fileName
Autohotkey DynaRun
Run any Autohotkey script on the web with a single.. Autohotkey hotkey.
Autohotkey Use Case: Submitting a Form
A simple Autohotkey use case you can start using in your application right away:
Filling in an entire form with predefined values.
Angular Road Trip
Today I want to blog about my Angular(2 – 6) experiences the past years.
After 3 years of desktop development I’ve started with Angular 2+ in july 2016, when it was still in beta.
Back then
Back then the landscape was a lot more difficult than it is today.
Advanced Windows Explorer
A listing of handy but less known shortcuts in Windows Explorer and some Autohotkey examples on how to add extra functionality.
Open Windows Explorer, the most direct way:
Managing Environment Variables with PowerShell
Working with environment variables in Windows is as easy as:
Win + Pause > "Advanced system settings" > "Environment Variables..."
After which you get a tiny, unresizable, form where you can view and manage them. Something better eventually arrived with Windows 10 but still, PowerShell :)
Use Autohotkey to open the window with Left Alt + Pause:
LAlt & Pause::Run % "rundll32 sysdm.cpl,EditEnvironmentVariables"
Less for your git pager
A git diff or git log starts the less program. Perhaps not the fanciest tool but more powerful than you might expect.
This post details the arguments that can be passed to less and also how to navigate once less is running. Things not relevant for git are omitted.
Your current configuration:
git config --get core.pager
If this returns nothing, there is room for improvement there!
TL&DR:
Configure something sensible:
# Short version
git config --global core.pager "less -eFiJM~ -j3 --tabs=3"
# Not so short version
git config --global core.pager "less --LONG-PROMPT --tabs=3 --quit-at-eof --quit-if-one-screen --tilde --jump-target=3 --ignore-case --status-column"











