This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
GitLab Users to CSV Script | |
Purpose: Fetches user data from a GitLab instance API and saves it into a CSV file. | |
Prerequisites: | |
* Python 3 installed. | |
* `requests` library installed (`pip install requests`). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env xdg-open | |
[Desktop Entry] | |
Name=newuser - Teams | |
Exec=/opt/teams-for-linux/teams-for-linux --appTitle "newuser - Teams" --customUserDir="/home/$USER/.teams-data/newuser" | |
Terminal=false | |
PrefersNonDefaultGPU=false | |
Icon=teams-for-linux | |
Type=Application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -g fish_greeting | |
# starship prompt - install starship for this to work | |
if status is-interactive | |
starship init fish | source | |
end | |
# List Directory (install eza for this to work) | |
alias l='eza -lh --icons=auto' # long list | |
alias ls='eza -1 --icons=auto' # short list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#You need to have aws-cli installed and configured | |
#Credits to Reddit user u/aa93 for the suggestions | |
mkdir code | |
aws lambda list-functions | \ | |
grep FunctionName | \ | |
cut -d '"' -f4 | \ | |
while read -r name; do | |
aws lambda get-function --function-name $name | tail -n 3 | egrep -o 'https?://[^ ]+' | sed 's/"//' | xargs wget -O ./code/$name.zip |