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 | |
$gruposCometas = [ | |
'HALLEY' => 'AMARELO', | |
'ENCKE' => 'VERMELHO', | |
'WOLF' => 'PRETO', | |
'KUSHIDA' => 'AZUL' | |
]; | |
$i = 1; |
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
Route::filter('acl', function($route, $request) | |
{ | |
$roles = array( | |
'visitante' => null, | |
'assessorado' => 'visitante', | |
'usuarioassessor' => 'visitante', | |
'assessor' => 'usuarioassessor' | |
); | |
$allow = array( |
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
;roles | |
acl.roles.visitante = null | |
acl.roles.user = visitante | |
acl.roles.admin = user | |
;resources = controllers | |
acl.resources[] = index | |
acl.resources[] = auth | |
acl.resources[] = usuario | |
acl.resources[] = destinatario |
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
global: | |
env: | |
- LARAVEL_ENV: production | |
web1: | |
name: securityapp | |
php_version: 5.3.23 | |
php_display_errors: "32767" | |
php_extensions: | |
- mcrypt | |
- pdo_mysql |
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
import java.util.Random; | |
class TrabalhoOO { | |
public static void main(String[] args) | |
{ | |
Personagem personagem1 = new Personagem("Willian","Mago",150,10,5,100,50,1); | |
Personagem personagem2 = new Personagem("Monstro do RU","Cavaleiro",10,80,30,30,115,1); | |
System.out.println("Nome do personagem: " + personagem1.nome); |
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
----- | |
WARNINGS E NOTICES | |
----- | |
[Wed Sep 18 08:06:30 2013] [error] [client 127.0.0.1] PHP Warning: Missing argument 1 for Respect\\Config\\Container::__invoke(), called in /var/www/html/respect/vendor/respect/config/library/Respect/Config/Container.php on line 387 and defined in /var/www/html/respect/vendor/respect/config/library/Respect/Config/Container.php on line 27 | |
[Wed Sep 18 08:06:30 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: spec in /var/www/html/respect/vendor/respect/config/library/Respect/Config/Container.php on line 29 | |
[Wed Sep 18 08:06:30 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: spec in /var/www/html/respect/vendor/respect/config/library/Respect/Config/Container.php on line 59 | |
[Wed Sep 18 08:06:30 2013] [error] [client 127.0.0.1] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/respect/vendor/respect/config/library/Respect/Config/Container.php on line 59 |
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
<VirtualHost *:80> | |
ServerAdmin webmaster@localhost | |
DocumentRoot /var/www/servicos/public | |
ServerName servicos.dev | |
SetEnv APPLICATION_ENV development | |
<Directory /var/www/servicos/public> | |
Options Indexes FollowSymLinks | |
AllowOverride All |
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
<VirtualHost *:80> | |
DocumentRoot "/var/www/soa-server/public" | |
ServerName soa.dev | |
SetEnv APPLICATION_ENV development | |
Header set Access-Control-Allow-Origin * | |
<Directory "/var/www/soa-server/public"> | |
Options Indexes Multiviews FollowSymLinks | |
AllowOverride All | |
Order allow,deny |
NewerOlder