Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ██████╗ █████╗ ███████╗██╗ ██╗██████╗ ██████╗
- # ██╔══██╗██╔══██╗██╔════╝██║ ██║██╔══██╗██╔════╝
- # ██████╔╝███████║███████╗███████║██████╔╝██║
- # ██╔══██╗██╔══██║╚════██║██╔══██║██╔══██╗██║
- # ██████╔╝██║ ██║███████║██║ ██║██║ ██║╚██████╗
- # ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝
- ## exports ##
- export PS1="\[\e[95m\]╰─➤ \[\e[m\] \[\e[1;34m\]\W\[\e[m\] "
- export HOMEBREW_CASK_OPTS="--appdir=/Applications"
- export EDITOR=vi
- export PATH=$PATH:/Users/jonny/Scripts/bin
- export PTPIMG_API_KEY=##########
- ## basic aliases ##
- alias c="clear"
- alias f='open -a Finder ./'
- alias feral="ssh ##########.feralhosting.com"
- alias ns="notify-send"
- alias ls="ls -1a"
- ## config ##
- alias brc="vi ~/.bashrc"
- alias mpdconf="vi ~/.mpd/mpd.conf"
- alias ncmpcppconf="vi ~/.ncmpcpp/config"
- alias ncmpcpp2conf="vi ~/.ncmpcpp/config2"
- alias beetsconf="vi ~/.config/beets/config.yaml"
- alias mpvconf="vi ~/.config/mpv/mpv.conf"
- alias neofetchconf="vi ~/.config/neofetch/config"
- alias pyartconf="vi ~/scripts/pyart.py"
- ## files ##
- alias size="du -sh"
- alias countf="tree -L 1 | tail -1"
- alias sortcount="cd /volumes/ext/torrents/sort/; tree -L 1 | tail -1; cd ~"
- ## chat ##
- alias bitlbee="/usr/local/Cellar/bitlbee/3.5.1/sbin/bitlbee -D"
- alias weechat="weechat --dir ~/.weechat --upgrade"
- alias tw="tmux attach -t weechat"
- alias twitchchat="weechat -d .twitch"
- ## music ##
- alias ncmpcpp2="ncmpcpp -c .ncmpcpp/config2"
- alias ncmpcpp3="ncmpcpp -c .ncmpcpp/config3"
- alias mpdr="kilall mpd;mpd;mpc play;ncmpcpp"
- alias mpdr2="kilall mpd;mpd;mpc play;ncmpcpp2"
- alias pyart="python /Users/jonny/scripts/elements/pyart.py"
- alias pyart_hotel="python /Users/jonny/scripts/elements/pyart_hotel.py"
- alias mpdas="nohup mpdas &"
- alias music="echo -e \"\n\";echo -e \"BEET STATS\\n\";beet stats;echo -e \"\n\";echo -e \"LEFT TO SORT\\n\"; sortcount; echo -e \"\n\""
- ## torrents ##
- alias mt="mktorrent -s RED -p -a https://flacsfor.me/#########/announce"
- alias mi='mediainfo'
- # alias ptpimg="/Users/Jonny/Scripts/ptpimg_uploader.py"
- function micheck() {
- mediainfo "$1" | grep 'Bit depth'; mediainfo "$1" | grep 'Sampling rate'
- }
- function t() {
- cd desktop; mt "$1";mediainfo "$1" | grep 'Bit depth'; cd ~
- }
- ## beets alias' ##
- alias bi="beet import"
- alias bu="beet up"
- ## functions ##
- # function lvstrmr() {
- # livestreamer --twitch-oauth-token ########### http://twitch.tv/$1 best -p /Applications/mpv.app/Contents/MacOS/mpv
- # }
- function stream() {
- streamlink -p mpv twitch.tv/$1 best
- }
- function webm() {
- ffmpeg -i "$1" -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis output-file.webm
- }
- pman()
- {
- man -t "${1}" | open -f -a /Applications/Preview.app/
- }
- process()
- {
- ps aux | grep $1
- }
- 0x0() {
- [ -n "$2" ] && local fn=";filename=$2"
- echo $(curl --http1.1 -# -o /dev/stdout -F "file=@$1$fn" https://0x0.st)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement