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('ui.bootstrap.dialogs', ['ui.bootstrap']) | |
| .factory('$dialogConfirm', function ($uibModal) { | |
| return function (message, title) { | |
| var modal = $uibModal.open({ | |
| size: 'sm', | |
| template: '<div class="modal-header">\ | |
| <h4 class="modal-title" ng-bind="title"></h4>\ |
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 | |
| /** | |
| * Simplify the Trace of an exception. Object references are converted to class string name. | |
| * | |
| * @param Exception|Throwable $e | |
| * @throws \InvalidArgumentException | |
| * @return 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
| Que isso, jovem. PHP é um adicente que virou linguagem. | |
| Sabe, acho curioso o rumo que Node tomou, servindo de facilitador pra pacotes JS, que, olhem só, justamente pra resolver comportamento de cliente. | |
| Sou um cara com uma cabeça velha. Fora de moda. Não gosto de Node. Não gosto de JS. | |
| Eu detesto o Node pro que ele se propôs no começo. Ser um servidor JS. | |
| Ainda que a pobreza extrema do mundo acabe em 15 anos, ainda que logo tenha cura pra câncer, AIDS, etc., aparece aí o PHP, o Node e o Estado Islâmico pra provar que nem tudo são flores. | |
| Node.js é tudo, menos JS |
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 | |
| class CommandContainer | |
| { | |
| protected $commands = []; | |
| public function define($name, \Closure $closure) | |
| { | |
| $this->commands[$name] = $closure->bindTo($this); | |
| } |
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 | |
| include 'recipe/common.php'; | |
| task('git:pull', function () { | |
| run('git pull'); | |
| })->desc('Faz o GIT-PULL trazendo as últimas alterações'); |
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 | |
| // Substituir `App::error` pelo código abaixo: | |
| App::error(function (Exception $exception, $code) { | |
| // Se a aplicação estiver no "local" ou erro for "página não encontrada", não envia | |
| if ($code === 404 || App::isLocal()) return; | |
| //Log::error($exception); |
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
| // ==UserScript== | |
| // @name Superanimes | |
| // @namespace com.wallacemaxters | |
| // @version 0.1 | |
| // @description Removendo algumas coisas do Superanimes | |
| // @author Wallace de Souza | |
| // @match http://www.superanimes.com/* | |
| // @grant none | |
| // @run-at document-start | |
| // @require http://code.jquery.com/jquery-latest.js |
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 Illuminate\Routing\ControllerInspector; | |
| class RoutesSeeder extends Seeder | |
| { | |
| public function run() | |
| { | |
| $me = $this; |
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
| @if(auth()->user()->canAccessByName($route)) | |
| <p class="text-right">{!! link_to_route($route, 'adicionar', null, ['class'=>'btn btn-primary']); !!}</p> | |
| @endif |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- | |
| Web.config file for Test. | |
| The settings that can be used in this file are documented at | |
| http://www.mono-project.com/Config_system.web and | |
| http://msdn2.microsoft.com/en-us/library/b5ysx397.aspx | |
| --> | |
| <configuration> | |
| <configSections> |