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 InvalidEmail extends DomainException | |
{ | |
public static function becauseItDoesNotMatchEmailSpec(string $emailAddress): self | |
{ | |
throw new self(sprintf('%s does not conform to a recognized e-mail address format'), $emailAddress); | |
} | |
public static function becauseTldIsNotAllowed(string $emailAddress): self | |
{ |
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
Handleiding ontdek - event storming | |
Doel: | |
* klant doen inzien hoe complex hun shizzle is | |
* klant doen inzien hoeveel problemen er zijn om op te lossen | |
* klant doen inzien waar de prioriteiten liggen | |
* zelf een beeld krijgen bij hoe complex hun shizzle is | |
* een grove schatting kunnen maken in overleg met sales | |
Nodig: |
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
/** | |
* Listen to the given stream and register incoming log hits | |
* @param resource $stream A stream with log lines | |
*/ | |
public function listenTo($stream) | |
{ | |
$lastFlushTime = time(); | |
$stopConditionCallback = $this->stopConditionCallback; | |
while ($stopConditionCallback($stream)) { |
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
# some more ls aliases | |
alias ll='ls -alF' | |
alias la='ls -A' | |
alias l='ls -CF' | |
# git aliases | |
alias ga='git add' | |
alias gc='git commit' | |
alias gu='git up' | |
alias gp='git push' | |
alias gs='git status' |