Skip to content

Instantly share code, notes, and snippets.

View alanfzf's full-sized avatar
❄️
learning nix

Alan González alanfzf

❄️
learning nix
View GitHub Profile
#!/bin/bash
# System variables
PROFILE=finanssoreal
BUCKET=s3://finanssoreal/database/
OBJECT="$(aws s3 ls --profile $PROFILE $BUCKET | sort | tail -n 1 | awk '{print $4}')"
FULL_PATH="$HOME/$OBJECT"
aws s3 cp "$BUCKET$OBJECT" "$FULL_PATH" --profile $PROFILE
@alanfzf
alanfzf / mystery.sh
Last active January 31, 2025 05:40
....
#!/bin/bash
start_date="2023-09-05"
end_date="2023-10-15"
commits=()
for commit in $(git log --format=%H | cut -d ' ' -f 1)
do
commits+=("$commit")
done
@alanfzf
alanfzf / autoexec.cfg
Last active November 27, 2023 22:43
Alan's CS:GO Config
# ALIAS
alias "+jumpaction" "+jump;"
alias "+throwaction" "-attack; -attack2"
alias "-jumpaction" "-jump"
bind t "+jumpaction;+throwaction;"
# BINDS
unbind mwheelup
unbind mwheeldown
bind "r" "+reload"