. ~/.bash_profile
HISTCONTROL=ignoreboth
shopt -s histappend
export XDG_CONFIG_HOME="$HOME/.config"
export GOPATH=$HOME/go
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
export PATH="/root/.cargo/bin:$PATH"
export PATH="/usr/local/lib/python3.9/dist-packages:$PATH"
export XDG_DATA_DIRS="/var/lib/flatpak/exports/share:$XDG_DATA_DIRS"
export XDG_DATA_DIRS="$HOME/.local/share/flatpak/exports/share:$XDG_DATA_DIRS"
export XDG_RUNTIME_DIR="/run/user/0"
PS1='$ '
if [ -n "$DESKTOP_SESSION" ]; then
eval $(gnome-keyring-daemon --start --components=secrets)
export SSH_AUTH_SOCK
fi
HISTSIZE=1000
HISTFILESIZE=2000
alias 1='llm chat -m gpt-4-0125-preview -o top_p 0.66 -o temperature 2'
alias 2='llm chat -m claude-3-opus-20240229 -o top_p 0.33 -o temperature 1'
alias 3='llm chat -m gemini-1.5-pro-latest'
alias c='reset'
alias p='ping <PLACEHOLDER_DOMAIN>'
alias P='systemctl restart networking'
alias รพ='poweroff'
alias n='ncspot'
alias Z='swaks -4 -tls -f <PLACEHOLDER_EMAIL> -t <PLACEHOLDER_EMAIL> -s smtp.gmail.com:587 -au <PLACEHOLDER_EMAIL> -ap <PLACEHOLDER_PASSWORD> -d'
alias q='echo -n "%DATE%nSubject:" | xsel && xdotool click 2'
alias pull='cd /root/data/<PLACEHOLDER_REPO> && git pull origin main'
alias push='cd /root/data/<PLACEHOLDER_REPO> && git push origin main'
alias blog='sh /userdata/document/SCRIPTS/blog.sh'
alias trans='transfersh --provider storj --storj-access <PLACEHOLDER_ACCESS_KEY> --storj-bucket transfer'
transfer(){ if [ $# -eq 0 ];then echo "No arguments specified.nUsage:n transfer <file|directory>n ... | transfer <file_name>">&2;return 1;fi;if tty -s;then file="$1";file_name=$(basename "$file");if [ ! -e "$file" ];then echo "$file: No such file or directory">&2;return 1;fi;if [ -d "$file" ];then file_name="$file_name.zip" ,;(cd "$file"&&zip -r -q - .)|curl --progress-bar --upload-file "-" "http://127.0.0.1:8080/$file_name"|tee /dev/null,;else cat "$file"|curl --progress-bar --upload-file "-" "http://127.0.0.1:8080/$file_name"|tee /dev/null;fi;else file_name=$1;curl --progress-bar --upload-file "-" "http://127.0.0.1:8080/$file_name"|tee /dev/null;fi;}
. "$HOME/.cargo/env"
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
# Start SSH agent
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519