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
# .bash_profile is executed for login shells, | |
# .bashrc is executed for interactive non-login shells. | |
# We want the same behaviour for both, so we source .bashrc from .bash_profile. | |
# Also, when .bash_profile exists, bash ignores .profile, so we have to source | |
# it explicitly. | |
if [ -f "$HOME/.profile" ]; then | |
. "$HOME/.profile" | |
fi |
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
🫶🐰🔥 |
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
KLtgu5m7fHJw3uCF4afIxxWhLwB0dx3WgkSSIKezXXEe | |
FFlBMTAxOUE0OEhUWkE3N0FBQkRJMFAyTU5aODIy3zY= | |
VzJJVF5JVESPQlk1RzRVRjRETjP0VEhDTlpZU2c0MlV= | |
mTbae0S6fPVMOWKrj38KvChyHzw1xDTcIJQo46u82qG1 | |
MvNo1eAE9dIgzxG7F9MmuTtl4ebiNcKalJ9YFBSyA8Q0 | |
M9PlK4H45xT24HBvn5gFyUEsFldVTSi6KK7KDJric39O | |
MThBOTEMOUg9VkkxWDU3RTfwRkdzOUhXNFQzR00aRjML | |
0p77LYeRMZzmtegedTsXCLfJhJ3kyJfR6y8g3e7R5JZ= | |
yRkYVjuxioUjqeJBbCHhwMGjEF3O4oRjG2fHVVqSabnb | |
12755keFucJp96TVcraf0OHNzLQSeET5N1V6Ls9HoQUJ |
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
#!/bin/bash | |
bucket=$1 | |
set -e | |
echo "Removing all versions from $bucket" | |
versions=`aws s3api list-object-versions --bucket $bucket |jq '.Versions'` | |
markers=`aws s3api list-object-versions --bucket $bucket |jq '.DeleteMarkers'` |
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
#!/bin/bash | |
# bash generate random alphanumeric string | |
# | |
# bash generate random 32 character alphanumeric string (upper and lowercase) and | |
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
# bash generate random 32 character alphanumeric string (lowercase only) | |
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1 |
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
{ | |
"//field": "These 'double quote' 'double quote' are used as comments, because JSON doesnt' allow comment", | |
"field": {}, | |
"#another-field": "Another comment", | |
"another-field": {}, | |
"/*stuff": "Be careful to use them when you have full control of the content :)", | |
"stuff": [], | |
"bla": "bla" | |
} |
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
#!/bin/bash | |
# Copyright Notice: | |
# This spinner script has been taken from | |
# https://github.com/pacstall/pacstall/issues/68 | |
spin() | |
{ | |
spinners=(⠋ ⠙ ⠹ ⠸ ⠼ ⠴ ⠦ ⠧ ⠇ ⠏) | |
msg=$1 |
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
%YAML 1.2 | |
--- | |
# Highlight regular git commits, merge commits, and tags. | |
name: Git Commit | |
file_extensions: | |
- COMMIT_EDITMSG | |
- MERGE_MSG | |
- TAG_EDITMSG | |
scope: text.git.commit |
NewerOlder