Last active
December 31, 2015 15:29
-
-
Save huanglong-zz/8007211 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# rename file's name: | |
for f in *.eco;do base=${f/.eco/};mv $f $base;done | |
# Pretty mongodb output: | |
db.collection.find().pretty() | |
# Pretty mongodb output by default: | |
DBQuery.prototype._prettyShell = true | |
to $HOME/.mongorc.js | |
# Generate ssh keys | |
cd ~/.ssh | |
ssh-keygen -t rsa -C "[email protected]" | |
pbcopy < ~/.ssh/id_rsa.pub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment