#Mac OS X
<?php | |
/* | |
* CLI report. | |
*/ | |
$stdOutWriter = new \mageekguy\atoum\writers\std\out(); | |
$cli = new \mageekguy\atoum\reports\realtime\cli(); | |
$cli->addWriter($stdOutWriter); | |
/* |
<snippet> | |
<content><![CDATA[ | |
/** | |
* Get $1 | |
* | |
* @return ${2:[type]} \$$1 | |
*/ | |
public function get${1/(.*)/\u$1/}() | |
{ | |
return \$this->${1:$SELECTION}; |
module.exports = function(grunt, env) { | |
var defaults = config = { | |
//Write here your configuration , grunt style, in the standard way | |
//Extract informations from package.json | |
pkg: grunt.file.readJSON('package.json'), | |
//Define a global banner |
<?php | |
namespace App\EventListener; | |
use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent; | |
use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface; | |
class ExceptionRethrowListener | |
{ | |
public function onKernelException(GetResponseForExceptionEvent $event) |
- 9h00
- Keynote d'ouverture
- 9h30
- A State of Mind. Sebastian Bergmann
- Slides : http://thephp.cc/dates/2014/forum-php/a-state-of-mind
# -*- coding: utf-8 -*- | |
# iTC Sales Report Downloader | |
# When you run this for the first time, you'll need to enter your | |
# iTunes Connect login and vendor ID. You can find the vendor ID | |
# on the iTunes Connect website by navigating to "Sales and Trends"; | |
# it's the number next to your name (top-left). | |
CURRENCY = 'EUR' | |
RESET_LOGIN = False # Set to True to remove login from keychain |
<?php | |
// Crude check. Off course this should be stored in a (memory) database. $token is an | |
// access token that is provided by oauth. | |
$token = $_SERVER['HTTP_X_AUTH_TOKEN']; | |
if ($token == "mellon") { | |
header("X-Api-User: Gandalf"); | |
header("X-Api-Context: Middle-Earth"); | |
header("Cache-Control: public, max-age=120"); |
I would like to tell my story of burnout at Amazon, considering the fact that there is so many stories out there on both sides of the issue. My story is also on both sides of the issue, and I've had a lot of time to think about why people can see the same culture but come away with completely different conclusions. This is a throwaway because I still work there and I don't plan on changing that, and I don't exactly trust the company to take this in good faith, despite the fact that I mean this as a purely constructive criticism for a company that I really do like.
I am an autodidact (my formal education only tangentially describes what I can do), and a polymath (capable of holding my own amongst PhD-level Operations Researchers, Statisticians, Econometricians, Data Scientists, Computer Scientists, as well as Software Engineers). I love to solve real world problems, and in many ways am the perfect type of person for Amazon's culture. I started in a level 5 position, but felt from the beginning that I warrant
<?php | |
// thanks to metaultralurker on reddit for inspiration | |
function map(callable $fn, \Traversable $data) { | |
foreach ($data as $v) { | |
yield $fn($v); | |
} | |
} |