Command line, Tips & tricks

CD (change directory) with favourite folders

When playing with command line we need to constantly change folders switching from one project to another. Quite often you need to do this with same folders every day. Because of that I found a way to search the list of favourite folders and select all matching that phrase.

You can see how it works below:

Continue reading

Advertisements
Command line, Tips & tricks

Ultimate solution cleanup that always works

Quite often when you play with dependency updates or project configuration it’s needed to clean the solution. Especially if other teammates claim it works on their machine (or even on build server). Unfortunately neither “dotnet clean” nor “Clean” command in Visual Studio work as expected and sometimes leave some leftover.

Continue reading

Continuous delivery

CICD na sterydach: deploy pull requesta jeszcze przed jego zamknięciem

Czasem robiąc code review rodzą się wątpliwości, czy dany kawałek kodu w ogóle działa albo czy przypadkiem nie psuje reszty systemu. Najlepiej w takiej sytuacji przed zamknięciem pull requesta po prostu to przetestować, ale do tego trzeba ściągnąć najnowszą wersję kodu, zbudować i uruchomić projekt a wcześniej odłożyć swoje zmiany na bok. Sam wiem po sobie, że często z tego rezygnowałem. Można jednak rozszerzyć swój proces CI/CD aby build server sam robił deploy każdego pull request’u na odrębne środowisko.

Continue reading

Own projects, Tips & tricks

Resharper-like search for Chrome tabs and bookmarks

Some time ago I was trying to find a good extension to Chrome that would let me go to recent tab same as for example R# does it with files. The outcome was rather poor so I decided to write my own extension (it’s called Omnicomplete). It does even more and is available on GitHub. Now I use it dozens of times a day and I can recommend it wholeheartedly.

Continue reading