New aliases

This commit is contained in:
Fergal Moran
2017-08-08 18:22:18 +01:00
parent fbc4ecc78b
commit ef1df160c3
2 changed files with 8 additions and 7 deletions

View File

@@ -13,10 +13,10 @@ alias dss_radio="cd ~/dev/personal/deepsouthsounds.com/dss.radio && workon dss.r
alias pgdo="sudo -u postgres" alias pgdo="sudo -u postgres"
alias pgadmin="docker run -it --rm -v /home/fergalm/working/pgadmin-data:/pgadmin-data --net=host fergalmoran/pgadmin4:latest; xdg-open http://localhost:5050" alias pgadmin="docker run -it --rm -v /home/fergalm/working/pgadmin-data:/pgadmin-data --net=host fergalmoran/pgadmin4:latest; xdg-open http://localhost:5050"
alias runmssql="docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=MyComplexPassword!234' -p 1433:1433 -v /home/fergalm/working/mssql-data:/var/opt/mssql -d microsoft/mssql-server-linux" alias runmssql="docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=cTXu1nJLCpC/c' -p 1433:1433 -v /home/fergalm/working/mssql-data:/var/opt/mssql -d microsoft/mssql-server-linux"
alias tor="docker run -i -t --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix:ro paulczar/torbrowser" alias tor="docker run -i -t --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix:ro paulczar/torbrowser"
alias sqlw="sqlw &" alias sqlw="/opt/SqlWorkbench/sqlworkbench.sh &"
alias se="/opt/StorageExplorer/StorageExplorer > /dev/null 2>&1 &" alias se="/opt/StorageExplorer/StorageExplorer > /dev/null 2>&1 &"
alias dbv="dbeaver > /dev/null 2>&1 &" alias dbv="dbeaver > /dev/null 2>&1 &"
alias rsl="rslsync --config /home/fergalm/.config/resilio-sync/config.json" alias rsl="rslsync --config /home/fergalm/.config/resilio-sync/config.json"
@@ -26,6 +26,7 @@ alias server="livereload -p 9999 --host $IP"
alias upd="sudo apt update && sudo apt dist-upgrade && sudo apt autoremove" alias upd="sudo apt update && sudo apt dist-upgrade && sudo apt autoremove"
alias psql="sudo -u postgres psql deepsouthsounds" alias psql="sudo -u postgres psql deepsouthsounds"
alias code="/usr/bin/code-insiders" alias code="/usr/bin/code-insiders"
alias c="/usr/bin/code-insiders ."
alias dbstatus="dropbox.py status" alias dbstatus="dropbox.py status"
alias dbignore='find `pwd` -type d -regex ".*\(node_modules\|temp\|tmp\|bower_components\|cache\)$" -prune -exec dropbox exclude add {} \;' alias dbignore='find `pwd` -type d -regex ".*\(node_modules\|temp\|tmp\|bower_components\|cache\)$" -prune -exec dropbox exclude add {} \;'

View File

@@ -27,8 +27,9 @@ for file in $files; do
ln -s $dir/$file ~/.$file ln -s $dir/$file ~/.$file
done done
#ln $dir/fonts ~/.fonts sudo cp -r fonts/* /usr/share/fonts/opentype
#fc-cache -f -v fc-cache -f -v
sudo fc-cache -f -v
git clone https://github.com/powerline/fonts.git pwfonts git clone https://github.com/powerline/fonts.git pwfonts
@@ -46,10 +47,9 @@ git clone https://github.com/bobthecow/git-flow-completion ~/.oh-my-zsh/custom/p
sudo locale-gen "en_IE.UTF-8" sudo locale-gen "en_IE.UTF-8"
#install default packages #install default packages
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo add-apt-repository ppa:neovim-ppa/stable -y
sudo apt update sudo apt update
sudo apt-get install -y exuberant-ctags build-essential cmake python-dev python3-dev libssl-dev vim-youcompleteme autojump nodejs htop ncdu python-pip python3-pip byobu zsh vim-gtk python-setuptools neovim tree git-extras cowsay fortune winbind libpq-dev xclip sudo apt-get install -y exuberant-ctags build-essential cmake python-dev python3-dev libssl-dev vim-youcompleteme autojump nodejs htop ncdu python-pip python3-pip byobu zsh vim-gtk python-setuptools neovim tree git-extras cowsay fortune winbind libpq-dev xclip whois
sudo pip install --upgrade pip sudo pip install --upgrade pip
sudo pip install --upgrade neovim sudo pip install --upgrade neovim
sudo pip3 install --upgrade neovim sudo pip3 install --upgrade neovim