I hereby claim:
- I am coderabbi on github.
- I am coderabbi (https://keybase.io/coderabbi) on keybase.
- I have a public key whose fingerprint is 809F DF04 E9BF 1742 D4A6 5E24 8CEA 6959 FAC8 E8A7
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# Allows us to read user input below, assigns stdin to keyboard | |
exec < /dev/tty | |
while true; do | |
read -p "Run Composer install? [Y/n]: " yn | |
case $yn in | |
[Yy]* ) composer install;; |
class MyValueObject | |
{ | |
/** | |
* @Assert\Length(min = 3) | |
* @Assert\NotBlank | |
*/ | |
private $propertyOne; | |
abstract class ValueObject | |
{ | |
private function __construct(array $params) | |
{ | |
foreach($params as $key => $value) | |
{ | |
if (property_exists($this, $key)) | |
{ | |
$this->$key = $value; |
Let's start simple. | |
Add your name, contact info (twitter) and a line or two describing where you're holding and what you're looking to get out of a pairing in the comments below. | |
If you make a connection, come back and remove your comment. | |
Over the course of a week (max) pledge each other one hour of code review. | |
Throw some code in a gist or a repo, invite your partner and see what happens. |
<?php | |
class RetriesExceededException extends \Exception {} | |
class Retry | |
{ | |
const MAX_RETRIES = 5; | |
const BASE_RETRY_DELAY = 1000000; |
Collection::macro('transpose', function () { | |
$items = array_map(function (...$items) { | |
return $items; | |
}, ...$this->values()); | |
return new static($items); | |
}); | |
public function store(Request $request) | |
{ |
Let's say you have this: | |
class SomeClass | |
{ | |
// users are encouraged to extend and set to true to enable magical powers... | |
protected $someQuality = false; | |
public function isSomeQuality() | |
{ | |
return $this->someQuality; |
I hereby claim:
To claim this, I am signing this object:
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" | |
if [[ $UID -eq 0 ]]; then | |
local user_host='%{$terminfo[bold]$fg[red]%}%n@%m%{$reset_color%}' | |
local user_symbol='#' | |
else | |
local user_host='%{$terminfo[bold]$fg[green]%}%n@%m%{$reset_color%}' | |
local user_symbol='$' | |
fi |
DEBUGBAR_STORAGE_ENABLED=true | |
DEBUGBAR_STORAGE_DRIVER='file' | |
DEBUGBAR_STORAGE_PATH='storage/debugbar' | |
DEBUGBAR_STORAGE_CONNECTION=null | |
DEBUGBAR_INCLUDE_VENDORS=true | |
DEBUGBAR_CAPTURE_AJAX=true | |
DEBUGBAR_CLOCKWORK=false | |
DEBUGBAR_COLLECTOR_PHPINFO=true | |
DEBUGBAR_COLLECTOR_MESSAGES=true | |
DEBUGBAR_COLLECTOR_TIME=true |