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 | |
add_action('init', 'type_post_turmas'); | |
function type_post_turmas() { | |
$labels = array( | |
'name' => _x('Turmas', 'post type general name'), | |
'singular_name' => _x('Turma', 'post type singular name') | |
); | |
$args = 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
<?php | |
use Zend\Form\Annotation; | |
/** | |
* @Annotation\Name("Nome do form") | |
* | |
* | |
* Exemplo de text | |
* @Annotation\Type("Zend\Form\Element\Text") |
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 Application; | |
use Zend\Authentication\AuthenticationService; | |
class Module | |
{ | |
public function getServiceConfig() | |
{ |
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
return array( | |
'doctrine' => array( | |
'authentication' => array( | |
'orm_default' => array( | |
'object_manager' => 'Doctrine\ORM\EntityManager', | |
'identity_class' => 'Application\Entity\User', | |
'identity_property' => 'email', | |
'credential_property' => 'password', | |
), | |
), |
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 MeuModulo; | |
use Zend\ModuleManager\ModuleManager; | |
class Module{ | |
public function init(ModuleManager $moduleManager){ | |
$sharedEvents = $moduleManager->getEventManager() |
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
orm:convert-mapping | |
annotation module/Delivery/src/ --namespace="Delivery\Entity\\" --from-database |
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
# pacotes .deb | |
# | |
# apache 2 | |
# apache2 apache2-dev apache2-utils | |
# | |
# MySQL | |
# libmysqlclient-dev mysql-server-5.5 | |
# | |
# ReadLine | |
# libreadline6-dev |
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
# You can set the default proxies for Wget to use for http, https, and ftp. | |
# They will override the value in the environment. | |
https_proxy = https://user:[email protected]:3128/ | |
http_proxy = http://user:[email protected]:3128/ | |
ftp_proxy = http://user:[email protected]:3128/ | |
# If you do not want to use proxy at all, set this to off. | |
use_proxy = on |
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
Acquire::http::Proxy "http://ubuntu-galeao.ccarj.intraer:3142"; |
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
class oracle::server { | |
file { | |
"/etc/wgetrc": | |
source => "puppet:///modules/oracle/wgetrc"; | |
} | |
file { | |
"/etc/apt/apt.conf.d/01proxy": | |
source => "puppet:///modules/oracle/01proxy"; |