šŸ‘Øā€šŸ’» Tunning your Devbox shell

Using Oh-My-Bash with Jetify Devbox: A Step-by-Step Guide If youā€™re a developer working with Jetify Devbox, you might have noticed that its shell environment doesnā€™t always play nicely with Oh-My-Bash. By following these steps, you can customize and personalize your themes and PS1 prompt to create a more enjoyable and productive shell experience. Step 1: Install Oh-My-Bash First, you need to install Oh-My-Bash. You can do this by running the following command in your terminal:...

2024-07-26

Automation a Nextcloud as a Podman Container

Iā€™ve been thinking to upgrade my Nextcloud service also switching to another alternative rather than docker, hence I used podman and buildah in my solution. From the rockylinux.org I found a nice post where it describes how to build and provisioning by using buildah and podman, it works pretty good and I added a tool in order to run it faster, called taskfile. Requirements: Podman Buildah Taskfile Install taskfile Clone my project From the project you can see the task defined: version: "3" tasks: up-db: dir: "db/mariadb" preconditions: - test -f db-init....

2024-06-30

Goland CORS, logs and healtcheck

In this guide, weā€™ll walk through how to create CORS (Cross-Origin Resource Sharing) and a health check endpoint in a Golang application using the Chi router. Setting Up Chi and CORS Middleware Weā€™ll use the go-chi/chi and go-chi/cors packages to handle routing and CORS in our application. Step 1: Import Required Packages First, make sure to import the necessary packages: import ( "fmt" "net/http" "log" "github.com/go-chi/chi" "github.com/go-chi/chi/middleware" "github.com/go-chi/cors" AdminMiddleware "github.com/project/api/middleware" "github....

2024-06-01

Faster and simple maintenance page

Working on different platform either to update, patch, etc need to be notificate for those people that consume that services, it shouldnā€™t change if that service itā€™s internal, you must notificate your teams about it. When youā€™re into your maintenance window you can use a faster way to broadcast everyone youā€™re working on it; I use this simple solution when I was working into a Jenkins migration, hence I stop the jenkins service and instead of 500 html error I developed a simple html text exposing it by a nginx container by the root path....

2024-02-04

Como configurar un router neutro

šŸ“£ Actualizado 02/2024 Continuando con mi post anterior explico como realizar una conexion directa con tu propio router, en mi caso tengo un router gl.inet; puedes usar otro router que disponga la configuraciĆ³n de VLAN. Dependiendo de tu proveedor de servicio, necesitamos ir a la siguiente pagina y busca tu VLAN, Leer con atencion las notas dejadas en la pagina!. En mi caso tengo Orange aunque a en mi zona llega por NEBA....

2023-11-19

Trigger pipelines by using the API

When you join a new project, company, customer, etc. (youā€™re still in the onboarding phase šŸ˜…), meanwhile you may find that you need to make a few changes to get your teamā€™s production pipelines up and running. In this case, you can call an API trigger from one project to another (this is just a example). Iā€™ve been in the situation described above before, and it was how I discovered this amazing feature in GitLab....

2023-07-15

Mastering GitLab CI/CD, Unleashing the Power of Pipelines

Hey everyone! šŸ‘‹ I hope youā€™re all having a fantastic summer time! šŸŒž I wanted to drop a quick note to let you know that Iā€™m currently working on something special for all my fellow developers/operations and GitLab enthusiasts out there. šŸ¤“āœØ In the upcoming posts, Iā€™ll be sharing a treasure trove of valuable tips and tricks related to GitLab pipelines! based in my experiences šŸ—ļø Whether youā€™re a seasoned pro or just getting started with GitLab CI/CD, thereā€™s bound to be something for everyone....

2023-06-16

Upgrading major version Nextcloud

For those who have been facing the ā€œMaintenance mode activeā€ after applied a nextcloud upgrade by switching container image version, due a major versioning issue. Even when you issue the occ upgrade into continer you gets hit by something like below: www-data@87401bdd2fa8:~/html$ php /var/www/html/occ upgrade Nextcloud or one of the apps require upgrade - only a limited number of commands are available You may use your browser or the occ upgrade command to do the upgrade Setting log level to debug Exception: Updates between multiple major versions and downgrades are unsupported....

2023-05-20

Python & Virtual Environments

When starting a Python 3 project in Linux, itā€™s essential to follow best practices to ensure a clean and isolated development environment. One of the recommended approaches is to utilize virtual environments. Virtual environments allow you to create an isolated environment for each project, preventing conflicts between different packages and dependencies. In this guide, weā€™ll walk you through the steps to set up and activate a virtual environment for your Python 3 project....

2023-03-15

Fixing tags on Azure invoices

Merging two CSV files using Pandas in Python 3 on Linux is a quick and easy process that can save you a lot of time and effort, however in my case I used other script to extract specific tag values from a CSV file, converts them into a JSON object, and writes them to a new CSV file, in that way I provided a workaround for those tags wanted....

2023-02-21