all blog posts

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
18 Feb 2019
git

Autohotkey DynaRun

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

17 Feb 2019
autohotkey

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.

31 Jan 2019
autohotkey

Programming Mnemonics

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.

12 Jan 2019
cheat-sheet

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.

22 Oct 2018
angular war-story

Developing with LocalDb

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

8 Oct 2018
sql tutorial

Git-NumberedAdd for PowerShell

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.

30 Aug 2018
git powershell product

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