all blog posts

Git Assume Unchanged

18 Feb 2019

While usually configuration files either have sensible defaults for the developers or they can create a gitignored file with their custom config values.
When you do have to change a version controlled file just to match your local development setup, “assume unchanged” / “skip worktree” can be used to avoid checking it in accidently.

Assume Unchanged

# Git assume a file
git update-index --assume-unchanged fileName

# And unassume with
git update-index --no-assume-unchanged fileName

Autohotkey DynaRun

17 Feb 2019

Run any Autohotkey script on the web with a single.. Autohotkey hotkey.


Autohotkey Use Case: Submitting a Form

31 Jan 2019

A simple Autohotkey use case you can start using in your application right away:
Filling in an entire form with predefined values.


Programming Mnemonics

12 Jan 2019

Mnemonics - helping developers remember intrinsics since 1973.

A mnemonic
a system such as a pattern of letters, ideas, or associations which assists in remembering something.


Angular Road Trip

22 Oct 2018

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.


Developing with LocalDb

8 Oct 2018

Tutorial on how to use LocalDb as a lightweight Sql Server substitution for development purposes.


Git-NumberedAdd for PowerShell

30 Aug 2018

After copying file paths from git status output and pasting them after a git add quite a few times by now, I’ve written a small PowerShell script to manipulate the working directory and staging area with fabricated indexes.


Less for your git pager

18 Aug 2018

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"
h : See all less commands.