Table of Contents
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
October 19th | |
------------ | |
08:30 - 10:00 Keynote | |
10:15 - 11:15 Create PHPantastic packages - Matthew Weier O'Phinney | |
11:30 - 12:30 Building tools people love to use - Taylor Otwell | |
13:30 - 14:30 Keynote | |
14:45 - 15:45 Asynchronous programming in PHP - Adam Englander | |
16:00 - 17:00 Kicking off with Zend Expressive and Doctrine ORM - James Titcumb | |
17:15 - 18:15 PHP internal architecture - Elizabeth Smith |
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
tag_release=$(curl -s https://{user}:{key}@api.github.com/repos/{org}/{repo}/releases/latest | grep -Po '"tag_name":.*?[^\\]",' | perl -pe 's/"tag_name"://; s/"//; s/",$//' | xargs) | |
have_an_update() { | |
if [ ! -f "$version_file" ] | |
then | |
return 0 | |
fi |
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
Verifying that +leedavis81 is my blockchain ID. https://onename.com/leedavis81 |
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
First thing it asks you to do to get started, is globally install their CLI tool. I don't want to, I like my stuff contained! | |
... trys to get the laravel installer contained within a directory .. | |
I give in and install it globally, then use the larval install method to create a project, then... | |
composer bombs out with a github throttling issues due to the vast amounts of dependencies that come down. So it needs a key, I give it one. | |
I paste in, but don't see the Token (Hidden) text and assume my paste didn't work. I copy again, paste, copy, paste realise what i've done, try and clear the hidden field. Then, meh, hit enter. Do the process again, succeeds. Until this handy error occurs.... |
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
if [ $(id -u) -eq 0 ]; | |
then | |
PS1="\[$bold\]\[$dk_blue\]\@\[$black\] \[$red\]\u\[$yellow\]@\[$green\]\h\[$pink\]:\w\[$reset\] $ " | |
else | |
PS1="\[$bold\]\[$dk_blue\]\@\[$black\] \[$green\]\u\[$yellow\]@\[$green\]\h\[$pink\]:\w\[$reset\] $ " | |
fi |
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
Hi Lee, | |
It was a cold day, Gustav arrived for his first day at work clutching his laptop and some books on the Zend framework. His past nights had been disturbed by the 'Tetris effect', lines of pure code produced by his unconscious mind in his sleep, dropping down, one atop the other, leaving him in somewhat of a half awake, half asleep state throughout the nights. His world view was formed through code, indeed giving him great insight, yet leaving him somewhat distant from those around him. | |
He was starting to question his sanity. A formidable PHP Zend coder, instead of taking rest in its conventional sense, his mind would be occupied with thoughts on RESTful services, instead of using soap in the bath, he would be comparing SOAP with RESTful services. He took a single bite on a pear, the only food he had eaten in two weeks, and instantly started thinkng of PEAR and PECL extensions. Instead of eating, he would usually be coding, his natural hunger instinct shut off from the deep levels of focus 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 | |
function retry($retries, callable $fn) | |
{ | |
while (true) | |
{ | |
try { | |
return $fn(); | |
} catch (\Exception $e) { | |
if (!$retries) { | |
throw new \Exception('', 0, $e); |
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 | |
function igorRetry($retries, callable $fn) | |
{ | |
beginning: | |
try { | |
return $fn(); | |
} catch (\Exception $e) { | |
if (!$retries) { | |
throw new \Exception('', 0, $e); | |
} |
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
; Sample supervisor config file. | |
; | |
; For more information on the config file, please see: | |
; http://supervisord.org/configuration.html | |
; | |
; Note: shell expansion ("~" or "$HOME") is not supported. Environment | |
; variables can be expanded using this syntax: "%(ENV_HOME)s". | |
[unix_http_server] | |
file=/tmp/supervisor.sock ; (the path to the socket file) |
NewerOlder