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
./app.php app:test ../../../application/modules/proposta/controllers/ManterpropostaincentivofiscalController.php ../../../tests/application/modules/proposta/controllers/ Proposta_ManterpropostaincentivofiscalController ../../../application/modules/proposta/controllers/GenericController.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
SELECT `COLUMN_NAME` | |
FROM `INFORMATION_SCHEMA`.`COLUMNS` | |
WHERE `TABLE_SCHEMA`='yourdatabasename' | |
AND `TABLE_NAME`='yourtablename'; |
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
<html> | |
<?php | |
for($i = 0 ; $i < 10 ; $i++){ | |
echo $i.'<br/>'; | |
} | |
echo "Fim"; | |
exit; | |
?> | |
</html> |
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
composer create-project laravel/laravel --prefer-dist foo2 | |
sudo vim /etc/hosts | |
add 192.168.33.11 foo2.local.dev | |
cd ~/Dev/maquina/vagrant | |
vagrant up | |
vagrant ssh | |
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.akadia.com/services/ora_date_time.html |
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
<!DOCTYPE html> | |
<html lang="en" ng-app="cursoAngular"> | |
<head> | |
<meta charset="utf-8"/> | |
<script src="js/angular.min.js"> | |
</script> | |
<script src="js/app.js"> | |
</script> | |
<script src="js/controllers.js"></script> | |
<script src="js/services.js"></script> |
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
angular.module('cursoAngular').controller('curso1Controller', | |
[ | |
'$scope', | |
'$log', | |
'$http', | |
'aula3Factory', | |
'aula3Service', | |
function($scope, $log, $http, aula3Factory, aula3Service) { | |
$scope.aula = 'Dia 2'; | |
$scope.filtro = { nome: 'Meu dedo'} |
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
{ | |
"name": "My App", | |
"description": "My elevator pitch goes here", | |
"launch_path": "/", | |
"icons": { | |
"128": "/img/icon-128.png" | |
}, | |
"developer": { | |
"name": "Your name or organization", | |
"url": "http://your-homepage-here.org" |
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 | |
//pratica 01 | |
foreach ( $pessoas as $p ){ | |
echo $p; | |
} | |
//pratica 02 | |
foreach ( $pessoas as $pessoa ){ |
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 namespace livraria; | |
/** | |
* Como usar ArrayObject | |
* OBS: Instale o php xdebug para visualizar os resultados. | |
**/ | |
/** | |
* Objeto livro | |
* @author Wouerner <[email protected]> |