Skip to content

Instantly share code, notes, and snippets.

View fnogcps's full-sized avatar
🛠️
Building and debugging

Felipe Nogueira fnogcps

🛠️
Building and debugging
View GitHub Profile
@fnogcps
fnogcps / package.use.force
Created March 15, 2023 15:07
LLVM_TARGETS (gentoo, amd64)
sys-devel/llvm -llvm_targets_XCore
sys-devel/clang -llvm_targets_AArch64 -llvm_targets_AMDGPU
sys-devel/clang -llvm_targets_ARM -llvm_targets_AVR
sys-devel/clang -llvm_targets_BPF -llvm_targets_Hexagon
sys-devel/clang -llvm_targets_Lanai -llvm_targets_MSP430
sys-devel/clang -llvm_targets_Mips -llvm_targets_NVPTX
sys-devel/clang -llvm_targets_PowerPC -llvm_targets_RISCV
sys-devel/clang -llvm_targets_Sparc -llvm_targets_SystemZ
sys-devel/clang -llvm_targets_WebAssembly -llvm_targets_X86
sys-devel/clang -llvm_targets_XCore
@fnogcps
fnogcps / conventional_commit_messages.md
Created January 26, 2023 03:00 — forked from qoomon/conventional-commits-cheatsheet.md
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

@fnogcps
fnogcps / chroot-to-pi.sh
Last active January 3, 2022 11:00 — forked from htruong/chroot-to-pi.sh
Chroot to pi sd card
#!/bin/bash
# This script allows you to chroot ("work on")
# the raspbian sd card as if it's the raspberry pi
# on your Ubuntu desktop/laptop
# just much faster and more convenient
# credits: https://gist.github.com/jkullick/9b02c2061fbdf4a6c4e8a78f1312a689
# make sure you have issued
@fnogcps
fnogcps / gist:a6f95ac96398d2d928250ac54440acfd
Last active January 3, 2022 11:00
Docker's install script
#!/bin/bash
if [[ -f /etc/apt/sources.list.d/docker.list ]]; then
sudo rm /etc/apt/sources.list.d/docker.list
fi
sudo apt update
curl -sL get.docker.com | sed 's/9)/10)/' | sh
# Build image
docker build -t <image-name> .
# Run image
docker run --name <container-name> -itd -p <port>:<port> <image-name>
@fnogcps
fnogcps / gist:6c5579a93e60d33bc61c31b009af6a29
Last active March 3, 2020 08:56
Docker - List containers with filter
docker ps --format "table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}"