#Postgres
##Create Postgres Dockerfile
#create fresh postgres image
docker build -t postgres .
#Postgres
##Create Postgres Dockerfile
#create fresh postgres image
docker build -t postgres .
#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
##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
##find ignored files in directory
git clean -n -X
##... delete them
git clean -X
Primitives Never use Double or Float for Currency
Services [Optimistic Locking] [Race Conditions]
#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/
This is a Fuze Meeting. For the optimal Fuze experience, we suggest you download Fuze ( https://www.fuze.com/download ) before your meeting. | |
Meeting ID: <ID> | |
Join Online Meeting: http://fuze.me/<ID> | |
Join by phone: | |
Dial phone number and enter the Meeting ID when prompted | |
- US Toll: +1 201-479-4595 | |
- India Toll Free : 0008004420042 |
#!/bin/bash | |
SVN_HOST="https://svn/path/to/repo" | |
git checkout master | |
git pull --rebase | |
git config --local svn-remote.svn.url "${SVN_HOST}" | |
git config --local svn-remote.svn.fetch ":refs/remotes/git-svn" | |
git config --local svn.rmdir true |