Skip to content

Instantly share code, notes, and snippets.

View balexandre's full-sized avatar
🙃

Bruno Alexandre balexandre

🙃
View GitHub Profile
@balexandre
balexandre / f1_viewer_config.json
Last active August 30, 2023 08:51
My F1Viewer configuration
{
"live_retry_timeout": 60,
"preferred_language": "en",
"check_updates": true,
"save_logs": true,
"log_location": "",
"horizontal_layout": false,
"theme": {
"background_color": "#000000",
"border_color": "#0CA597",
@balexandre
balexandre / docker_setup.md
Last active September 14, 2025 20:59
Docker services setup

Notes

below there are amd64 (intel cpu) and arm64 (apple silicon) images, use the command for your CPU

MySQL/mariaDB with password

docker run -d -p 3306:3306 --name mariadb-pwd -e MYSQL_ROOT_PASSWORD=i-am-root -e MYSQL_USER=db-user -e MYSQL_PASSWORD=db-pass mariadb:latest
docker run -d -p 3306:3306 --name mariadb-pwd -e MYSQL_ROOT_PASSWORD=i-am-root -e MYSQL_USER=db-user -e MYSQL_PASSWORD=db-pass arm64v8/mariadb:latest
@balexandre
balexandre / chocolatey.list.md
Last active October 3, 2020 09:18
Chocolatey list of applications

create them as

> choco list --local-only > choco.package.md
> choco pin > choco.package.pin.md

Installed Pinned packages

@balexandre
balexandre / .gitconfig
Last active September 14, 2025 20:53
my custom gitconfig with some very used alias
[user]
name = Bruno Alexandre
email = < email address >
[alias]
co = checkout
br = branch
unstage = reset HEAD --
last = log -1 HEAD
visual = !gitk
pp = !git fetch --all --prune && git pull
@balexandre
balexandre / update_git_repos.sh
Created September 3, 2025 06:05
Recursively update all local repositories in directory
#!/bin/bash
# Define the parent directory where all your Git repositories are located
# Run "pwd" in your terminal to find the correct path
GIT_REPOS_PARENT_DIR="/Users/balexandre/Repositories"
# Check if the directory exists
if [ ! -d "$GIT_REPOS_PARENT_DIR" ]; then
echo "Error: Directory '$GIT_REPOS_PARENT_DIR' not found."
exit 1