I hereby claim:
- I am av4tar on github.
- I am av4tar (https://keybase.io/av4tar) on keybase.
- I have a public key whose fingerprint is 4EB6 DAA3 FE27 6E2C 3FF2 07E1 9285 1593 1ED1 2342
To claim this, I am signing this object:
| --- | |
| # firewall | |
| - name: iptables rules in place | |
| when: not dev_instance | bool | |
| copy: src=iptables dest=/etc/sysconfig/iptables owner=root group=root mode=0644 | |
| notify: iptables is restarted | |
| - name: iptables service disabled and stopped | |
| when: dev_instance | bool |
| RewriteEngine On | |
| # The following rule tells Apache that if the requested filename | |
| # exists, simply serve it. | |
| RewriteCond %{REQUEST_FILENAME} -s [OR] | |
| RewriteCond %{REQUEST_FILENAME} -l [OR] | |
| RewriteCond %{REQUEST_FILENAME} -d | |
| RewriteRule ^.*$ - [NC,L] | |
| # The following rewrites all other queries to index.php. The | |
| # condition ensures that if you are using Apache aliases to do | |
| # mass virtual hosting, the base path will be prepended to |
I hereby claim:
To claim this, I am signing this object:
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| <?php | |
| class Importer | |
| { | |
| private $json_array; | |
| private $table; | |
| private $db_config; | |
| public function __construct($db_config) | |
| { |
| <?php | |
| class AbstractManagerBase extends \PHPUnit_Framework_TestCase | |
| { | |
| protected function getEmMock() | |
| { | |
| $emMock = $this->getMock('\Doctrine\ORM\EntityManager', | |
| array('getRepository', 'getClassMetadata', 'persist', 'flush'), array(), '', false); | |
| $emMock->expects($this->any()) | |
| ->method('getRepository') |
A curated list of amazingly awesome PHP libraries, resources and shiny things.