Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.
brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
docker run -ti -v $(pwd):/tmp DOCKER_IMAGE /bin/bash |
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 |
alias ll='ls -l' |
#!/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
In order to have VB Guest Additions updated, you can install the following plugin:
vagrant plugin update vagrant-vbguest
Reference:
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' |
_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 "\[" ; |
.element { | |
position: relative; | |
top: 50%; | |
transform: translateY(-50%); | |
} |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |