- SLIDE DESIGN FOR DEVELOPERS by Zach Holman (holman)
- 11 Ways to Makeover Your Presentations
- Web: http://www.apigility.org/
- Github: https://github.com/zfcampus/zf-apigility-skeleton
- Twitter: https://twitter.com/Apigility
- Create a RESTful API with Apigility by by Rob Allen (@akrabat) 2013-12-03
- Investigating Apigility by Rob Allen (@akrabat)
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 | |
class Importer | |
{ | |
private $json_array; | |
private $table; | |
private $db_config; | |
public function __construct($db_config) | |
{ |
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 | |
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.
- Composer/Packagist - A package and dependency manager.
- Composer Installers - A multi framework Composer library installer.
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
[ ℠ ] Service Mark [number: &8480] | |
[ ℃ ] Celsius [number: &8451;] | |
[ ℅ ] care of [number: &8453;] | |
[ ℉ ] Fahrenheit [number: &8457;] | |
[ № ] numero symbol – number sign [number: &8470;] | |
[ ℗ ] Sound Recording Copyright [number: &8471;] | |
[ ℞ ] Prescription Take pharmaceutical symbol [number: &8478;] | |
[ Ω ] Ohm [number: &8486;] | |
[ ℧ ] Inverted Ohm [number: &8487;] | |
[ ☀ ] sunshine – sun [ number: &9728;] |
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 = git@github.com: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:
- Docker
- Dokku - The smallest PaaS implementation you've ever seen
- Creating a Personal PaaS with Dokku - PHP
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 | |
Class Pepe | |
{ | |
protected $loaded; | |
public function __construct() | |
{ | |
$that = $this; | |
$this->loaded = function () use ($that) { |
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 | |
$handler = new MySessionHandler(); | |
session_set_save_handler($handler, true); | |
session_start(); |