Tips

The following are just some ’tips’ that helped me (and most of them are still helping me) in my professional career. They don’t pretend to be an exhaustive list nor absolute truths relevant to any situation and context. Also I don’t pretend to get credit as the ‘creator’ of these techniques, some (maybe most) of them could sound like just common sense for a lot of people. It is just a small compilation from mentors I was lucky to have throughout my career, articles or blog posts or even tweets that since several years ago I was particularly interested in and of course personal experience. We can maybe even don’t agree in some of them and that is fine, maybe in the comments section we can start a respectful conversation and in my case discover other points of view ...

October 3, 2021 · 20 min · Mario Moreno

SonarQube Email Report Application

In this short blog post I want to present a little application I made around three years ago. At that moment I was working on a small team developing a .NET full framework application and we used SonarQube to measure technical metrics. You can always explicitly navigate to the project dashboard but I wanted to have a daily summary in my inbox. The version of SonarQube that we had didn’t support that functionality so based on a previous full .NET framework application were I was playing with the SonarQube server rest API I built this little .NET Core application to get SonarQube metric email reports in my inbox ...

May 1, 2021 · 3 min · Mario Moreno

Base Windows Script

Continuing with the series of old MS Windows stories I found a shell script that I used as a base for several scripts mainly to automatize CI/CD tasks This script was made from reviewing other coworkers scripts and example scripts from the Internet echo off SETLOCAL @REM ---------------------------------------------------------------------------- @REM @REM author: [email] @REM @REM ---------------------------------------------------------------------------- echo. echo ========================================================= echo [script_name]] echo ========================================================= echo. @REM set local variables set start_time=%time% @REM ------------------------------------------------ @REM Shorten the command prompt for making the output @REM easier to read. @REM ------------------------------------------------ set savedPrompt=%prompt% set prompt=$$$g$s rem do stuff pushd %CD% @if %ERRORLEVEL% NEQ 0 GOTO Error echo process successfully finished. GOTO End :Error echo an error has ocurred. :End echo start time: %start_time% echo end time: %time% pause :finish popd set prompt=%savedPrompt% ENDLOCAL echo on As an example here is a poor man’s way to generate a daily metric report from a Silverlight report application (that old) ...

April 29, 2021 · 2 min · Mario Moreno

Old School Bootable USB Windows Creation

I was reviewing several old directories and I found different Windows recipes and scripts that I used often some time ago Basically the following are the steps to create a Windows booteable disk from command line What you will need: a flash drive (back in my time with 4GB was more than enough but I can see that current Windows 10 ISO is almost 6GB) and a Windows ISO file ...

April 24, 2021 · 2 min · Mario Moreno

Hardy Heron promise

Back in 2008 I was a fulltime senior .NET developer. .NET Framework 3.5 was recently released, Visual Studio 2008, TFS 2008, SQL Server 2008, Silverlight, Windows Vista.. I was fully commited to .NET and all Microsoft related technologies and products Also by that time I was able to bought my first laptop. My choice was a HP Pavilion TX which ended being more beautiful than powerfull but it was mine to try and investigate new technologies ...

February 18, 2021 · 3 min · Mario Moreno