Yesterday I found some people on my [favorite reddit][lolphp] wonder about the output of the following code:
<?php
$a = 1;
$c = $a + $a++;
# alias git pour les francophones | |
[alias] | |
pousse = push | |
aspire = pull | |
tige = branch | |
rajoute = add | |
bouge = mv | |
montre = show | |
fusionne = merge |
<?php | |
namespace Acme\Context; | |
use Acme\MyApp\User; | |
use Behat\MinkExtension\Context\RawMinkContext; | |
use Behat\Symfony2Extension\Context\KernelAwareInterface; | |
use Doctrine\ORM\EntityManager; | |
use HWI\Bundle\OAuthBundle\Security\Core\Authentication\Token\OAuthToken; | |
use Symfony\Component\HttpKernel\KernelInterface; |
This SublimeText macro will generate your PHP getters and setters automatically. | |
Just create a list of attributes you want to generate getters and setters for: | |
class User | |
{ | |
firstname | |
lastname | |
} |
SASSC = sass --style compact | |
COMPSDIR = resources/assets/components | |
SASSDIR = resources/assets/css | |
JSDIR = resources/assets/js | |
DISTDIR = web/dist | |
CSSDIR = $(DISTDIR)/css | |
SASSINC = $(SASSDIR) \ | |
$(COMPSDIR)/asimov/src/scss \ | |
$(COMPSDIR)/asimov-contests/src/scss \ | |
$(COMPSDIR)/asimovicons/src/scss |
run: | |
casperjs index.js && convert *.jpg video.mpeg && gify video.mpeg out.gif && rm *.jpg video.mpeg |
{ | |
"title": "System Resources", | |
"services": { | |
"query": { | |
"list": { | |
"0": { | |
"query": "collectd_type:\"load\"", | |
"alias": "Load", | |
"color": "#70DBED", | |
"id": 0, |
$tab-border-color: $tabs-navigation-bg-color; | |
dl.tabs { | |
border-bottom: 1px solid $tab-border-color; | |
dd { | |
position: relative; | |
bottom: -1px; | |
border-top: 1px solid $tab-border-color; | |
border-left: 1px solid $tab-border-color; | |
border-right: 1px solid $tab-border-color; |