Skip to content

Instantly share code, notes, and snippets.

@vay3t
Created January 14, 2020 14:24
Show Gist options
  • Save vay3t/4ca41fd27c8d38faf40ee8e412c68f19 to your computer and use it in GitHub Desktop.
Save vay3t/4ca41fd27c8d38faf40ee8e412c68f19 to your computer and use it in GitHub Desktop.
GOBIN=$HOME/go/bin
export PATH=$PATH:$GOBIN
export PATH=$PATH:$HOME/arsenal/john/run
export PATH=$PATH:$HOME/utilidades/badvpn/build/bin
alias urldecode='python -c "import sys, urllib as ul; print ul.unquote_plus(sys.argv[1])"'
alias urlencode='python -c "import sys, urllib as ul; print ul.quote_plus(sys.argv[1])"'
alias lt='ls --human-readable --size -1 -S --classify'
alias left='ls -t -1'
alias header='curl -I '
alias www='python3 -m http.server'
alias json="python -m json.tool"
alias mkcd='foo(){ mkdir -p "$1"; cd "$1" }; foo '
alias ..='cd ..'
alias ...='cd ../../../'
alias ....='cd ../../../../'
alias setclip='xclip -selection c'
alias getclip='xclip -selection clipboard -o'
alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m'"
alias rot47="tr '\!-~' 'P-~\!-O'"
function cl() {
DIR="$*";
# if no DIR given, go home
if [ $# -lt 1 ]; then
DIR=$HOME;
fi;
builtin cd "${DIR}" && \
# use your preferred ls command
ls -F --color=auto
}
[[ -s "/etc/grc.bashrc" ]] && source /etc/grc.bashrc
#: undercover && export PS1='C:${PWD//\//\\\}> '
# Enables autocompletion of options for bashfuscator
eval "$(/usr/bin/register-python-argcomplete3 bashfuscator)"
export BEEP=/usr/share/sounds/ubuntu/stereo/bell.ogg
alias beep='paplay $BEEP'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment