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
*mangle | |
:PREROUTING ACCEPT [25:1778] | |
:INPUT ACCEPT [25:1778] | |
:FORWARD ACCEPT [0:0] | |
:OUTPUT ACCEPT [37:1889] | |
:POSTROUTING ACCEPT [35:1400] | |
-A PREROUTING -p tcp -m tcp --sport 21 -j TOS --set-tos 0x08/0xff | |
-A PREROUTING -p udp -m udp --sport 21 -j TOS --set-tos 0x08/0xff | |
-A PREROUTING -p tcp -m tcp --sport 20 -j TOS --set-tos 0x08/0xff | |
-A PREROUTING -p udp -m udp --sport 20 -j TOS --set-tos 0x08/0xff |
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
" Disable valadoc syntax highlight | |
"let vala_ignore_valadoc = 1 | |
" Enable comment strings | |
let vala_comment_strings = 1 | |
" Highlight space errors | |
let vala_space_errors = 1 | |
" Disable trailing space errors | |
"let vala_no_trail_space_error = 1 |
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 Mozart\Library\Console; | |
use Mozart\Library\Console\Console; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Output\OutputInterface; | |
use Symfony\Component\Console\Shell; | |
use Symfony\Component\Console\Command\Command; | |
/** |
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 App; | |
/** | |
* import annotations | |
*/ | |
use Mozart\Library\Annotations as Mozart; | |
/** | |
* @Annotation |
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 Mozart\Library\Annotations; | |
/* | |
* This file is a part of Mozart PHP Small MVC Framework | |
* | |
* (C) Faizal Pribadi - Gesture Media Ltd - 2012 | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* |
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
$fileLoader = dirname(dirname(__FILE__)); | |
require $fileLoader . '/autoload.php'; | |
use Mozart\Library\Event\Event; | |
use Mozart\Library\Event\EventDispatcher; | |
class OhMyEventListener | |
{ | |
public function create(Event $event) | |
{ |
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 | |
interface SemanticalEventInterface | |
{ | |
public function set($eventName); | |
public function get($functionName); | |
} | |
class SemanticalEvent implements SemanticalEventInterface | |
{ | |
private $eventName; |
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 Mozart\Library\DependencyInjection; | |
class ContainerBuilderUp | |
{ | |
public function running() | |
{ | |
$format = '(%1$2d = %1$04b) = (%2$2d = %2$04b)' | |
. ' %3$s (%4$2d = %4$04b)' . "\n"; |
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 | |
/** | |
* Build couple the component of Mozart PHP | |
* Create the custom event and dispatch With Dependency Injection | |
* Simple And Very Interesting | |
*/ | |
/** |
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 YourApp; | |
/* | |
* This file is a part of Mozart PHP Small MVC Framework | |
* | |
* (c) Faizal Pribadi <faizal_pribadi@aol.com> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* |
OlderNewer