Net Core Ubuntu Dev Server

Well, continuing with the series of post years in draft.. this is from 2018/2019. How to provision, setup and publish a .Net Core development server (Ubuntu 1804) in Azure VM Provision In this example I’m using Azure but the same steps could be applied to any Ubuntu 1804 server We will skip some steps here Home > Virtual Machines > Add In this case I have created a Standard B2s (2 vcpus, 4 GB memory) ...

October 31, 2021 · 3 min · Mario Moreno

Old Hardware Debian 9

This post have at least two years in draft mode. Does not have anything special, a short story and a list of command hope someone will find useful Back in 2019 I found an old laptop in my house LG S1 (Intel Core 2 duo from 2006) battery long dead but I conected it to AC power and it started. Originally shipped with Windows XP (and Vista Ready :)) Nostalgia + willigness to learn Golang => this post ...

October 30, 2021 · 3 min · Mario Moreno

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