#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 file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package test; | |
import org.apache.commons.configuration.CompositeConfiguration; | |
import org.apache.commons.configuration.Configuration; | |
import org.apache.commons.configuration.PropertiesConfiguration; | |
import org.apache.commons.configuration.BaseConfiguration; | |
import java.util.Iterator; | |
class PropMain { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"fmt" | |
"io" | |
"os" | |
"syscall" | |
) |
OlderNewer