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
| <?php | |
| $a = function($param) { | |
| return function() use ($param) { | |
| return function() use($param) { | |
| return ++$param; | |
| }; | |
| }; | |
| }; | |
| echo $a(45)()() . PHP_EOL; |
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
| Edgar Rodrigues Sandi | |
| Edgar Sandi | |
| tw/@EdgarSandi | |
| fb/EdgarSandi | |
| G+/EdgarSandi | |
| Ln/EdgarSandi | |
| Oracle PL/SQL - 24h | |
| Aula 1 - 17/01 |
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
| -- Resposta do lab | |
| -- tabela categorias | |
| CREATE TABLE tb_categorias( | |
| cd_categoria NUMBER(3) PRIMARY KEY, | |
| nm_categoria VARCHAR2(50) NOT NULL | |
| ); | |
| -- Tabela cursos | |
| CREATE TABLE tb_cursos( | |
| cd_curso NUMBER(5) PRIMARY KEY, |
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
| Edgar Rodrigues Sandi | |
| @EdgarSandi | |
| Oracle PL/SQL | |
| 6 aulas | |
| 05/08 | |
| 07/08 | |
| 12/08 | |
| 14/08 | |
| 19/08 |
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
| # Zend Server 6.3 instalattion tutorial | |
| http://files.zend.com/help/Zend-Server/zend-server.htm#deb_installing_zend_server.htm |
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
| <?php | |
| /* | |
| * World Cup Draw Example. | |
| * | |
| * Using Array functions & SPL Iterators to simulate (simplified) World Cup draws. | |
| * | |
| * @author Oscar Merida <oscar@phparch.com> | |
| * @author Edgar Sandi <edgar.r.sandi@gmail.com> (New FIFA rule added) | |
| */ |
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 filter-branch --env-filter "export GIT_AUTHOR_EMAIL=edgar.r.sandi@gmail.com GIT_COMMITTER_EMAIL=edgar.r.sandi@gmail.com" master | |
| git filter-branch --commit-filter 'if [ "$GIT_AUTHOR_NAME" = "Aluno" ]; then export GIT_AUTHOR_NAME="Edgar Sandi"; export GIT_AUTHOR_EMAIL=edgar.r.sandi@gmail.com; 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 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
| 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 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
| ################## 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 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
| # Make sure the prerequisites are installed. | |
| # apt-get install \ | |
| autoconf \ | |
| automake \ | |
| bison \ | |
| build-essential \ | |
| curl \ | |
| enchant \ | |
| git \ | |
| php5-dev \ |