Manage multiple AWS SSO accounts

🤔 What? You are working with multiple client. Each client manages multiple accounts using his own AWS Identity Center. 🚀 How? This can be done with a combination of aws-sso-util and mise. First we generate aws profiles for all the accounts/roles for both clients. aws-sso-util configure populate --sso-region <sso-region> -r <default-region> -u https://client1.awsapps.com/start --components "client1",account_name,role_name aws-sso-util configure populate --sso-region <sso-region> -r <default-region> -u https://client2.awsapps.com/start --components "client2",account_name,role_name The profile names will be formatted client1.<account_name>.<role_name> for client 1 and client2.<account_name>.<role_name> for client 2. ...

October 14, 2025 Â· 1 min Â· Iduoad

Use different Tools and Versions for different projects

🤔 What? You are working on multiple projects and you need multiple versions and tools of each project. 🚀 How? There are multiple ways to do this. Some are stack specific and others are stack agnostic (e.g pipx, npx, asdf, cargo…). My favorite tool is Mise (AKA mise-en-place). The best 2 things about mise besides speed are: Mise is one stop shop for building dev envs. It includes tool version management, environment setup and task execution. Mise supports multiple backend to download and install dev tools including stack specific ones (pipx, Go, Cargo …) and stack agnostic ones (aqua, asdf, ub2 Let’s say you have 2 projects using different versions of terraform. And each projects uses a different set of tools. ...

October 14, 2025 Â· 2 min Â· Iduoad

Move Fast in Filesystem

🤔 What? You are working on many projects and you have hundreds of folders to cd to. You can’t remember all the names and paths, and you are tired of long cd commands. 🚀 How? zoxide (successor of z) is a smarter cd which let you jump fast in your filesystem without remembering entire paths. zoxide uses shell hooks to record and scores all the directories you navigate to into a local directory DB. ...

October 14, 2025 Â· 1 min Â· Iduoad

Work With Multiple Git Accounts

🤔 What? You are working with multiple teams. You are using a different GitLab/GitHub account for each team. For example: | Team 1 | username@team1.com | ssh_key_1 | | Team 2 | username@team2.com | ssh_key_2 | | Personal | username@gmail.com | ssh_key_0 | Since the SSH key is unique and cannot be used across accounts. How to manage multiple accounts without hassle? 🚀 How? This is done using Git includeIf. Let’s say in addition to my personal GitLab account, I have a separate account for my Mrrakc organization with mrrakc@gmail.com. ...

October 14, 2025 Â· 2 min Â· Iduoad

Follow Up With Versions and Releases

🤔 What? You are using multiple open-source tools in your projects and need to stay up to date with their releases to track new features, bug fixes, and breaking changes. 🚀 How? Use an RSS feed reader. First, for each github project you want to track create an entry in a releases file in the following format https://github.com/<repository_namespace>/releases.atom # e.g. https://github.com/helm/charts/releases.atom Then open the file using an RSS reader like newsboat or newsraft. ...

October 14, 2025 Â· 1 min Â· Iduoad

Clone GitLab hierarchy of projects

🤔 What? You join a team with a multiple GitLab repositories spread across multiple groups and subgroups. How to clone all of them? 🚀 How? To do this you need to have GitLab cli (aka glab), then glab repo clone -group <your-group> --include-subgroups --archived=false --paginate --preserve-namespace glab repo clone -g <you-group> -a=false --paginate -p # Short --include-subgroups: Clone projects in subgroups as well (true by default). --paginate: Fetch all projects pages before starting the Clone. --preserve-namespace: Clone the projects into directories following the same group/project hierarchy in GitLab.

September 19, 2025 Â· 1 min Â· Iduoad