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 | |
use Fluent\Node; | |
use Fluent\Fluent; | |
class JobAboutWidget extends Node | |
{ | |
public function make() | |
{ | |
$job = $this->data; |
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
@extends('layouts.master') | |
@section('content') | |
<nav class="navbar navbar-default" role="navigation"> | |
<div class="navbar-header"> | |
<a class="navbar-brand" href="{{ url('job') }}" id="btn-list">{{ Lang::get('job.jobs') }} <span class="badge"></span></a> | |
</div> | |
<span class="label label-primary pull-right" style="margin:15px 15px 0px 0px; padding:5px 10px" data-toggle="tooltip" data-placement="top" title="Seu perfil neste projeto é {{ $roles->user()->getProfileConfig('text') }}.">{{ $roles->user()->getProfileConfig('text') }}</span> | |
@if ($roles->user()->isAdmin()) |
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 | |
class Foo | |
{ | |
public function __call($method, $args) | |
{ | |
if(is_callable(array($this, $method))) { | |
return call_user_func_array($this->$method, $args); | |
} | |
} |
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 | |
class JobController extends BaseController { | |
public function index() | |
{ | |
$search = Input::get('search'); | |
$filter_client = Input::get('client'); | |
$filter_type = Input::get('type'); | |
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
{ | |
codigo: "A305", | |
codigo_municipio: "2304400", | |
nome: "FORTALEZA", | |
latitude: "-3.8157", | |
longitude: "-38.5378", | |
imagem: "2304400.png", | |
temperatura: "27.9 °C", | |
temperatura_min: "23.9 °C", | |
temperatura_max: "28.7 °C", |
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
public function tempoAgora() | |
{ | |
$ufRepo = $this->em->getRepository("Adm\Uf\Model\Uf"); | |
$estacaoRepo = $this->em->getRepository("Pcd\Estacao\Model\Estacao"); | |
$postos = $estacaoRepo->get_estacoes_ne(); | |
$result = []; | |
foreach ($postos as $posto) { | |
if ($posto['est_codigo'] == 572) { |
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 | |
namespace Acude\Volume\Model; | |
use Doctrine\ORM\Mapping as ORM; | |
use Doctrine\Common\Collections\ArrayCollection; | |
use Zend\Stdlib\Hydrator; | |
/** | |
* @ORM\Entity |
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
|- fauno.funceme.br | |
| | |
|---- acude | |
|-------- tabela_1 | |
|-------- tabela_2 | |
|-------- tabela_3 | |
| | |
|---- tempo | |
|-------- tabela_1 | |
|-------- tabela_2 |
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 | |
use Symfony\CS\Config\Config; | |
use Symfony\CS\FixerInterface; | |
use Symfony\CS\Finder\DefaultFinder; | |
$fixers = [ | |
'blankline_after_open_tag', | |
'braces', | |
'double_arrow_multiline_whitespaces', |
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
FROM ianrodriguesbr/nginx_php-fpm | |
MAINTAINER Ian Rodrigues <ianrodriguesbr@gmail.com> | |
RUN apt-get update && apt-get install apt-utils locales -y \ | |
&& sed -i -e 's/# pt_BR.UTF-8 UTF-8/pt_BR.UTF-8 UTF-8/' /etc/locale.gen \ | |
&& locale-gen \ | |
&& echo "America/Fortaleza" > /etc/timezone \ | |
&& dpkg-reconfigure tzdata \ | |
&& sed -i "s/;date.timezone =/date.timezone = America\/Fortaleza/" /etc/php/7.0/cli/php.ini \ |