Skip to content

Instantly share code, notes, and snippets.

View weyderfs's full-sized avatar
👨‍💻
Keeping Cloud Infrastructure Up!

Weyder Ferreira weyderfs

👨‍💻
Keeping Cloud Infrastructure Up!
  • Brazil
  • 20:38 (UTC -03:00)
View GitHub Profile
@rmdes
rmdes / how_to_manage_python_on_fedora.md
Last active October 29, 2024 21:35 — forked from tchamberlin/how_to_manage_python_on_fedora.md
How to manage Python and related tooling on Fedora 39

Dev Dependencies

sudo dnf groupinstall "Development Tools"
sudo dnf install gcc zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel tk-devel libffi-devel xz-devel

How to manage Python via pyenv and pipx on Fedora 40

@kasunbg
kasunbg / delete-unused-security-groups.sh
Created January 11, 2019 12:36
Delete unused AWS security groups
comm -23 <(aws ec2 describe-security-groups --query 'SecurityGroups[*].GroupId' --output text | tr '\t' '\n'| sort) \
<(aws ec2 describe-instances --query 'Reservations[*].Instances[*].SecurityGroups[*].GroupId' --output text | tr '\t' '\n' | sort | uniq) \
| tee -a unused-security-groups-in-ec2.txt
for x in `cat unused-security-groups-in-ec2.txt`; do echo 'deleting sg: $x' ; aws ec2 delete-security-group --group-id $x; done
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active June 1, 2025 14:46
Conventional Commits Cheatsheet

Conventional Commit Messages starline

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

Tip

Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@fbn4sc
fbn4sc / command.txt
Created January 29, 2018 01:35
Delete all branches except master and develop.
git branch | grep -v "master\|develop" | xargs git branch -D
@bcomnes
bcomnes / redshift.conf
Created December 9, 2012 07:35
My configuration file for Redshift. Place it in ~/.config/ Drag redshift onto the Startup Applications menu to have it boot on start
; Global settings
[redshift]
temp-day=6500K
temp-night=5000
transition=1
;gamma=0.8:0.7:0.8
gamma=1.000:1.000:1.000
location-provider=geoclue
;location-provider=manual
adjustment-method=vidmode
@andreyvit
andreyvit / tmux.md
Created June 13, 2012 03:41
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a