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
| theme/node/page--node--8.tpl.php para nodo 8 |
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
| Ansible | |
| $ git clone git://github.com/ansible/ansible.git | |
| $ cd ./ansible | |
| $ source ./hacking/env-setup | |
| Install PIP | |
| $ wget https://bootstrap.pypa.io/get-pip.py | |
| $ python get-pip.py | |
| $ sudo pip install paramiko PyYAML jinja2 httplib2 | |
| PlayBooks |
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
| CREATE DATABASE my_database DEFAULT CHARACTER SET latin1 DEFAULT COLLATE latin1_swedish_ci; | |
| CREATE DATABASE my_database DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci; |
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
| #!/usr/bin/env bash | |
| apt-get update | |
| apt-get install -y apache2 | |
| sudo apt-get install -y php5 | |
| sudo apt-get install -y libapache2-mod-php5 | |
| sudo /etc/init.d/apache2 restart | |
| sudo apt-get install -y curl | |
| curl -sS https://getcomposer.org/installer | php |
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
| config.vm.box = "hashicorp/precise64" | |
| config.vm.provision :shell, :path => "bootstrap.sh" | |
| config.vm.network :forwarded_port, host: 4567, guest: 80 | |
| config.vm.synced_folder "/var/www/projects/symfony/www/app/cache", "/vagrant/symfony/app/cache", :mount_options => ['dmode=777,fmode=777'] | |
| config.vm.synced_folder "/var/www/projects/symfony/www/app/logs", "/vagrant/symfony/app/logs", :mount_options => ['dmode=777,fmode=777'] |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
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
| rsync -azu -e 'ssh -i /<path>/key.pem' user@host:<originpathfile>/{foler|file} <localpath> |
NewerOlder