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 | |
# | |
# PHP 5.3 Deprecated function checker | |
# | |
# Version: 0.0.3 | |
# | |
# Author: Michiel Roos <[email protected]> | |
# | |
# www.php.net/manual/en/migration53.deprecated.php | |
# |
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
# Make sure the prerequisites are installed. | |
sudo apt-get -y install autoconf automake curl build-essential libxslt1-dev re2c libxml2-dev bison | |
# If don't have installed php use: | |
sudo apt-get install php5 php5-dev php-pear php5-mysql php5-intl php5-mcrypt php5-sqlite php5-xdebug php5-xmlrpc php5-xsl php5-xcache php5-memcache libxslt1-dev | |
# Install php archiver | |
sudo pear install PHP_Archive-alpha | |
# Install PHP 5 dependencies. |
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
http://docs.moodle.org/22/en/Compiling_PHP_from_source | |
apt-get install \ | |
libxml2 \ | |
libxml2-dev \ | |
libssl-dev \ | |
pkg-config \ | |
curl \ | |
libcurl4-nss-dev \ | |
enchant \ |
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
$ cat /proc/partitions | |
$ mkdir root | |
$ mkdir home | |
$ sudo mount /dev/sda1 root/ | |
$ sudo mount /dev/sda5 home/ | |
$ cd root/ | |
$ cd home/ | |
$ ls | |
edgarsandi | |
$ sudo mv edgarsandi/ ~/home/ |
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
# Make sure the prerequisites are installed. | |
# apt-get install \ | |
autoconf \ | |
automake \ | |
bison \ | |
build-essential \ | |
curl \ | |
enchant \ | |
git \ | |
php5-dev \ |
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
################## DROP BOX LINUX 64bits ################ | |
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - | |
~/.dropbox-dist/dropboxd | |
################## Terminology ########################## | |
sudo add-apt-repository ppa:hannes-janetzek/enlightenment-svn | |
sudo apt-get update | |
sudo apt-get install terminology |
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
cd ~ ; curl https://raw.github.com/sebastianbergmann/php-jenkins-template/master/config.xml | java -jar jenkins-cli.jar -s http://localhost:8080 create-job tnt-provisioning | |
curl https://raw.github.com/edgarsandi/php-jenkins-template/master/config.xml | java -jar jenkins-cli.jar -s http://localhost:8080 create-job tnt-provisioning | |
# closure error phpunit | |
/** | |
* @backupGlobals disabled | |
*/ |
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
git filter-branch --env-filter "export [email protected] [email protected]" master | |
git filter-branch --commit-filter 'if [ "$GIT_AUTHOR_NAME" = "Aluno" ]; then export GIT_AUTHOR_NAME="Edgar Sandi"; export [email protected]; fi; git commit-tree "$@"' | |
http://stackoverflow.com/questions/750172/how-do-i-change-the-author-of-a-commit-in-git | |
http://happygiraffe.net/blog/2009/09/01/changing-the-committer/ | |
git remote add origin https://github.com/edgarsandi/symfony_handson.git |
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
<?php | |
/* | |
* World Cup Draw Example. | |
* | |
* Using Array functions & SPL Iterators to simulate (simplified) World Cup draws. | |
* | |
* @author Oscar Merida <[email protected]> | |
* @author Edgar Sandi <[email protected]> (New FIFA rule added) | |
*/ |
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
# Zend Server 6.3 instalattion tutorial | |
http://files.zend.com/help/Zend-Server/zend-server.htm#deb_installing_zend_server.htm |
OlderNewer