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
$TTL 60 | |
$ORIGIN dev. | |
@ 1D IN SOA localhost. root.localhost. (45 3H 15M 1W 1D) | |
1D IN NS localhost. | |
1D IN A 127.0.0.1 | |
*.dev. 60 IN A 127.0.0.1 | |
go.dev. 60 IN A 127.0.0.1 | |
*.go.dev. 60 IN A 127.0.0.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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script data-main="usage" src="http://requirejs.org/docs/release/1.0.8/comments/require.js"></script> | |
</head> | |
<body> | |
<p>Check your JavaScript console for output!</p> | |
</body> | |
</head> |
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 | |
/* From https://www.usps.com/send/official-abbreviations.htm */ | |
$us_state_abbrevs_names = array( | |
'AL'=>'ALABAMA', | |
'AK'=>'ALASKA', | |
'AS'=>'AMERICAN SAMOA', | |
'AZ'=>'ARIZONA', | |
'AR'=>'ARKANSAS', |
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 Doctrine\ORM\Mapping as ORM; | |
use Doctrine\Common\Collections\ArrayCollection; | |
/** | |
* @ORM\Entity() | |
* @ORM\Table(name="user") | |
*/ | |
class User |
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 Acme\DV2Bundle\Model; | |
use Acme\DV2Bundle\Exception\UnsupportedCreditCardTypeException; | |
use Acme\DV2Bundle\Exception\UnknownCreditCardTypeException; | |
/** | |
* Acme\DV2Bundle\Entity\CreditCard | |
*/ |
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 Acme\DV2Bundle\Tests\Model; | |
use Acme\DV2Bundle\Model\CreditCard; | |
class CreditCardTest extends \PHPUnit_Framework_TestCase | |
{ | |
public function testMod10() | |
{ |
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 Ibms\JobBundle\Controller; | |
class JobController extends BaseJobController | |
{ | |
/** | |
* Job list. | |
* | |
* @param \Symfony\Component\HttpFoundation\Request $request |
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
{# twig template #} | |
<div class="flash-messages"> | |
{% block flashes %} | |
{% for notice_level in ['success','error','info', 'warning', 'notice'] %} | |
{% if app.session.hasFlash(notice_level) %} | |
<div class="alert alert-{{ notice_level }}"> | |
<a class="close" data-dismiss="alert" href="#">x</a> | |
<h4 class="alert-heading">{{ notice_level }}</h4> | |
{{ app.session.flash(notice_level) }} |
OlderNewer