In order to have VB Guest Additions updated, you can install the following plugin:
vagrant plugin update vagrant-vbguest
Reference:
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
.element { | |
position: relative; | |
top: 50%; | |
transform: translateY(-50%); | |
} |
_complete_ssh_hosts () | |
{ | |
COMPREPLY=() | |
cur="${COMP_WORDS[COMP_CWORD]}" | |
comp_ssh_hosts=`cat ~/.ssh/known_hosts | \ | |
cut -f 1 -d ' ' | \ | |
sed -e s/,.*//g | \ | |
grep -v ^# | \ | |
uniq | \ | |
grep -v "\[" ; |
alias showFiles='defaults write com.apple.finder AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/Finder.app' | |
alias hideFiles='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app' |
In order to have VB Guest Additions updated, you can install the following plugin:
vagrant plugin update vagrant-vbguest
Reference:
#!/usr/bin/env bash
mkdir -p ~/Development/docker/mysql
docker run -d --name mysql -e MYSQL_ROOT_PASSWORD=mysql -v ~/Development/docker/mysql:/var/lib/mysql -p 3306:3306 mysql/mysql-server:5.7
alias ll='ls -l' |
if [ -f "$(brew --prefix bash-git-prompt)/share/gitprompt.sh" ]; then | |
GIT_PROMPT_THEME=Default | |
GIT_PROMPT_ONLY_IN_REPO=1 | |
source "$(brew --prefix bash-git-prompt)/share/gitprompt.sh" | |
fi |
docker run -ti -v $(pwd):/tmp DOCKER_IMAGE /bin/bash |