VSCode: Editor Settings and Shortcuts

Pragmatic Tip 22: The editor should be an extension of your hand; make sure your editor is configurable, extensible, and programmable.
Pragmatic Tip #22 : Use A Single Editor Well

Pragmatic Tip 22: The editor should be an extension of your hand; make sure your editor is configurable, extensible, and programmable.
As a long time Sublime user, the infrequent updates and missing support for new-ish stuff started to become quite apparent. Like all plugin maintainers have turned to Visual Studio Code.
And so I finally decided to leave Sublime Text 3 behind. Welcome Visual Studio Code, the new goto editor.
The itenium Bliki
Personal Reference Bliki
Everyone who has worked with me for a while knows I’m really hyped about the Pragmatic Programmers. My original idea back in 2012 was to blog about their pragmatic tips, but this blog has instead turned into more of a “personal reference bliki”.
DateStart + DateEnd
ValueObjects
A ramble against objects containing DateStart & DateEnd pairs of properties.
Some of their equally evil relatives:
DateStart&TimeSpanorDay/Month only in DateTime, etc.decimal Money&string Currencydecimal X/Yand/orWidth/Height
This is the case for the ValueObject:
A small simple object, like money or a date
range, whose equality isn’t based on identity.
— Martin Fowler
Robocode Tutorial
robo-code/robocode: Build the best – destroy the rest!
Robocode is a programming game, where the goal is to develop a robot battle tank to battle against other tanks in Java or .NET. The robot battles are running in real-time and on-screen.
Robocode Installation & Debugging
robo-code/robocode: Build the best – destroy the rest!
Robocode is a programming game, where the goal is to develop a robot battle tank to battle against other tanks in Java or .NET. The robot battles are running in real-time and on-screen.
Autohotkey Debugging
If you are like me, you just started writing Authotkey scripts without ever really taking the time to learn the language properly. This blog post contains some scripts and tools to help you try make some sense of what is going on.
AVA Tutorial
avajs/ava: 🚀 Testing can be a drag. AVA helps you get it done.
A concurrent test runner from the Andromeda galaxy. If I was to stray from Jasmine then it could only be for a project Sindre Sorhus is working on :) The screenshots on the project site promised extensive assertion failure output with clean stack traces and built-in Promise, async/await, Observable and React component support. So I tried it out and yup, AVA delivered.
Get Started
# Install
npm init ava
# Run tests
npx ava --watch --verbose
.NET Regex Tutorial
Not nearly as confusing as it is in JavaScript.
using System.Text.RegularExpressions;
bool mach = Regex.IsMatch("input", @"w+", RegexOptions.None);
Match match = Regex.Match("input", @"w+");
IReadOnlyList<Match> matches = Regex.Matches("input", @"w+");
string result = Regex.Replace("input", @"(w+)", "$1");
Vue.js Tutorial
vuejs/vue: Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
Why Vue
100k+ ⭐: So many people can’t be wrong- Declarative rendering with a cool, terse syntax
- Low learning curve
- Reactive and composable view components
- Optional official
vue-routerandvuex(statemanagement) @vue/cli: Scaffold project with optional support for TypeScript, PWA, CSS Pre-processors, Linters, Tests, …- Automatic dependency tracking
- Virtual DOM
- Supports IE9+
Git Hooks with Husky
Update for Husky v9
A lot has changed in Husky since this blog post. See the 2024 update of this article instead!
Avoid pushing changes that break the build with githooks and Husky.
typicode/husky: 🐺 Git hooks made easy











