MSBuild: Build C#7 Project with GitLab
Since I started using C# 7's features like 'Local Functions', 'Inline out variables' or 'expression-bodied members' I ran into a p…
Stop Linewrapping in Terminal
If you tail, less, cat or grep big log files you often encounter lines that contain no usefull information to you but are getting…
Entity Framework 6 (EF6): Refresh DbContext object
It took me a while to figure out how to do this: var objectContext = ((IObjectContextAdapter)dbContext).ObjectContext; var refres…
EF6 Bulk Insert
Entity Framework can be slow when inserting data using a foreach loop for example. This Method uses the SqlBulkCopy class to speed…
Software Findings
Extend Monitor to another computer: http://spacedesk.ph Web-Based Email Client: http://www.rainloop.net Duplicate Detection/Clean…
Command Line Shortcuts
Here is a little collection of command line shortcuts that you can use to save some MouseClicks: Hibernate System: %WINDIR%\Syste…
apt: autoselect best mirror
We're in 2018 and some nice guy wrote an awesome python script which autoselects the best mirror based on the country you provide…
Git CheatSheet
Change origin from HTTPS to SSH git remote rm origin git remote add origin git@git:XYZ.git git pull git branch —set-upstream-to=o…
Raspberrypi CheatSheet
Autostart chromium in fullscreen mode Edit ~/.config/lxsession/LXDE-pi/autostart and add the following line: @chromium-browser --s…
OOP: Methods vs. Functions
Method: > A method is a piece of code that is called by a name that is associated with an object. In most respects it is identica…