Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
// Example 1 | |
mediator.name = 'Doug'; | |
mediator.subscribe('nameChange', function(arg){ | |
console.log(this.name); | |
this.name = arg; | |
console.log(this.name); | |
}); | |
mediator.publish('nameChange', 'Jorn'); |
// | |
// returns a list of all elements under the cursor | |
// | |
function elementsFromPoint(x,y) { | |
var elements = [], previousPointerEvents = [], current, i, d; | |
// get all elements via elementFromPoint, and remove them from hit-testing in order | |
while ((current = document.elementFromPoint(x,y)) && elements.indexOf(current)===-1 && current != null) { | |
// push the element and its current style |
<?php | |
/** | |
* Script for flushing bytecode cache | |
* | |
* usage: | |
* php flush_cache.php unix:///var/run/php5-fpm.sock | |
* php flush_cache.php 127.0.0.1 9000 | |
* | |
* Change SECRET bellow before use! |
PHP Conferences Fall 2015
Conference | WebSite | City | Country | Date |
---|---|---|---|---|
PHP SouthCoast | http://2015.phpsouthcoast.co.uk | Portsmouth | UK | 18/07 |
Laracon US | http://laracon.us | Luisville, KY | US | 11-12/08 |
NorthEastPHP | http://2015.northeastphp.org | Boston, MA | US | 22-23/08 |
Laracon EU | http://laracon.eu/2015/ | Amsterdam | Netherlands | 25-26/08 |
WeCamp | http://weca.mp/2015/ | De Kluut (Island) | Netherlands | 25-29/08 |
PHP Summer Camp | http://2015.phpsummercamp.com | Rovinj | Croatia | 26-29/08 |