#Local Cloud Architecture
##Assume Docker is installed
##Setting up nginx
##Setting up SSL http://www.westphahl.net/blog/2012/01/03/setting-up-https-with-nginx-and-startssl/
#Local Cloud Architecture
##Assume Docker is installed
##Setting up nginx
##Setting up SSL http://www.westphahl.net/blog/2012/01/03/setting-up-https-with-nginx-and-startssl/
Primitives Never use Double or Float for Currency
Services [Optimistic Locking] [Race Conditions]
##find ignored files in directory
git clean -n -X
##... delete them
git clean -X
##Setting Up a Profile
Based on this stackoverflow answer : http://superuser.com/questions/789448/choosing-between-bashrc-profile-bash-profile-etc
.bash_profile should be always :
if [ -f ~/.profile ]; then
source ~/.profile
fi
#all files changed today
find . -mtime 0
#all files in directory, or subdirectories whose names match a pattern
find . -name '*.go'
#all files in directory whose names match a pattern and which have specific content
#Postgres
##Create Postgres Dockerfile
#create fresh postgres image
docker build -t postgres .