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
http://www.mkyong.com/mongodb/how-to-install-mongodb-on-ubuntu/ | |
$ sudo vim /etc/apt/sources.list.d/mongo.list | |
/etc/apt/sources.list.d/mongo.list | |
##10gen package location | |
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen | |
///////////////////////////// |
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
sudo strace -o output.txt /sbin/ldconfig | |
http://www.thegeekstuff.com/2011/11/strace-examples/ |
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
erlang | |
cd /home/user/otp_src_R15B01 | |
riak | |
cd /home/user/riak-1.3.1 | |
Riak Fast Track | |
http://docs.basho.com/riak/latest/tutorials/fast-track/What-is-Riak/ | |
curl -O http://downloads.basho.com.s3-website-us-east-1.amazonaws.com/riak/1.3/1.3.1/riak-1.3.1.tar.gz |
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
Set icon for eclipse | |
sudo cp /yourEclipseFolder/icon.xpm /usr/share/pixmaps/eclipse.xpm | |
/////////////////////////////////// | |
For Ubuntu 11.10, 12.04, 12.10 | |
If the applications folder does not exist inside ~/.local/share/ create it |
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
Mysql Workbench | |
Filtering | |
SELECT * FROM sequencia_banner where id in (14,21,22,23); | |
Put message on console | |
ExibeBannerBean | |
System.out.println("ATUALIZANDO VIEWS"); | |
ExibeBannerBean |
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
jdbc:mysql://enderecodords |
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
Terminal Amazon AWS | |
sudo su - | |
tail -1000f /var/log/tomcat7/catalina.out |
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
netstat -ntpl | |
kill -9 PID |
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
VI / VIM | |
https://cloudup.com/c4EwcFOQqHi | |
Emacs | |
http://www.rgrjr.com/emacs/emacs_cheat.html | |
http://cs.iupui.edu/~kweimer/EmacsCheatSheet.pdf | |
Eclipse Indigo | |
https://code.google.com/p/eclipse-cheatsheet/ | |
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
Git status | |
Git check out aplication.properties persistence.xml | |
Git add . | |
Git commit -m "msg" | |
Merge | |
Git add . | |
Git commit -m "merge de arquivos" | |
Git pull | |
Git push |