git

Week 20, 2022 - Tips I learned this week

The "this" in TypeScript, a must-have tool for Durable Functions, and a new git alias.

Once again, I found myself forgetting that this can lose context in JavaScript/TypeScript which results in exceptions because this is undefined. This is probably obvious for most developers but this is not a case I come across often so it's better to write it down so that I have something to refer to next time.

Read more...

Week 19, 2022 - Tips I learned this week

Git commands in vscode, a nice tool for Vue developers and a must-have Visual Studio extension.

If you have read my git cheat sheet, you know that I am a big fan of the GitLens vscode extension. I have been using it for a while now but just discovered recently that there is a Git Command Palette that gives access to most common Git commands.

Read more...

Week 3, 2022 - Tips I learned this week

Tooling around .NET, Azure DevOps, and VS Code.

.NET 6 introduced a new way to build a .NET application using the new WebApplication and WebApplicationBuilder classes. One thing I like about it is how configuration is handled. Instead of using the ConfigureAppConfiguration method to add a new configuration source, you can directly use the Configuration property on the WebApplicationBuilder instance. You can see an example of this change on this screenshot of the ASP.NET Core documentation:

Read more...

Week 45, 2021 - Tips I learned this week

A bit of tooling and a bit of git.

Since a colleague showed me the Vue Devtools extension, it has been a game-changer for me to work on Vue.js projects. It is very useful!

Read more...

Week 12, 2021 - Tips I learned this week

Version in git tag with Azure Pipelines and in application insight logs.

This week I learned a few things related to versioning an application

Read more...

Week 9, 2021 - Tips I learned this week

Windows Terminal startup actions, a git config setting for submodules, and a better IntelliSense for azure pipelines vscode extension.

I often see developers talking on Twitter or Dev.to about things they have learned during the previous day or the previous week. I like the idea so I decided to write my first article about tips I learned during this past week. I am not intending to write an article like this every week but from time to time when I feel I have something interesting to share or that I want to keep track of for myself.

Read more...

Clean up your local git branches.

Playing with Nushell to create a useful git alias to delete unused local git branches.

When working on a git repository, I often have to manually delete old local branches that I don't use anymore. That's not a huge waste of time but still, that's something I have to do quite often so I decided to automate that.

Read more...