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.sandersnewmedia.com/why/2012/04/16/installing-pil-virtualenv-ubuntu-1204-precise-pangolin/ |
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
>>> from django.contrib.sites.models import Site | |
>>> site = Site() | |
>>> site.domain = 'example.com' | |
>>> site.name = 'My website' | |
>>> site.save() | |
>>> site.id |
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
show dbs | |
use db_name | |
show collections | |
#display tables | |
db.testData.find() | |
var c = db.testData.find() |
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
pip install git+https://github.com/django-nonrel/[email protected] | |
pip install git+https://github.com/django-nonrel/[email protected] | |
pip install git+https://github.com/django-nonrel/[email protected] |
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
EBS > Create new application | |
1. | |
Name | |
Desc | |
64 bit Tomcat 7 | |
Same app | |
2. | |
Launch | |
Name: Portal... |
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 add-apt-repository ppa:webupd8team/sublime-text-2 | |
sudo apt-get update | |
sudo apt-get install sublime-text | |
sudo chown -R yourusername:yourusername /home/yourusername/.config/sublime-text-2 |
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
wget http://downloads.basho.com.s3-website-us-east-1.amazonaws.com/riak/1.3/1.3.0/ubuntu/precise/riak_1.3.0-1_amd64.deb | |
sudo dpkg -i riak_1.3.0-1_amd64.deb | |
wget http://downloads.basho.com.s3-website-us-east-1.amazonaws.com/riak/1.3/1.3.0/riak-1.3.0.tar.gz | |
tar zxvf riak-1.3.0.tar.gz | |
cd riak-1.3.0 | |
make rel |
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 apt-get remove vim-tiny | |
sudo apt-get install vim | |
http://www.akitaonrails.com/2009/01/03/rails-on-vim#.UZcOOkBDsTw | |
http://www.akitaonrails.com/2010/07/19/screencast-comecando-com-vim#.UZcOXEBDsTw |
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://askubuntu.com/questions/124292/what-is-the-correct-way-to-install-ati-catalyst-video-drivers-fglrx/126513#126513 | |
http://askubuntu.com/questions/162075/my-computer-boots-to-a-black-screen-what-options-do-i-have-to-fix-it | |
http://ubuntuforums.org/showthread.php?t=1775322&page=2 |
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
select email, concat(nome, concat(" ", ifnull(sobrenome, " "))) as nome FROM news_letter where feiras='1' and informar='1' | |
excel | |
ctrl U substituir " por <blanke> |