Categories
microsoft programming tips tools

extend visual studio with simple scripts

There’s this neat feature in Visual Studio called External Tools that’s underrated. What it does is allow you to run any external tool and pass in stuff from Visual Studio and do something cool with that. For example the current file in your editor, or the currently selected text. This means that you can write […]

Categories
software tips tools windows

wake up Windows automatically using a scheduled task

This seems easy at first, but it turns out to be a lot harder than expected, due to various OS and power settings that get in the way. The idea is simple: you want to have your Windows 10 machine start up at a specific time using a task set in the task scheduler. When […]

Categories
geek microsoft programming software tips

publish a static website to Azure using GitHub actions

Last post I talked about setting up a serverless website on Azure using BLOB storage. What I didn’t go into is how to publish files to that site automatically. Yes, you can use the BLOB explorer to manually upload your files but seriously, who wants to do that kind of boring task if you can […]

Categories
geek internet n3wjack programming tips

programming guidelines, sort of

Years ago I ran into a website offering crude design advice. I thought it would be funny to make something similar for programming advice or guidelines. I started with a one-page website with a bunch of tips and then after a while forgot about it. Recently I ran into that project again and figured I […]

Categories
geek programming software tips vim

url decode and encode text in vim

Vim has a lot of cool features, and one of them is the ability to take the text you are editing and run it through whatever text-parsing tool you like. This tool can be a shell command, a standalone executable, or your very own script in your favorite scripting language.The magic is all in this […]