This file contains hidden or 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
The post-it note on the computer reads "Spring, 1922". | |
-> hub | |
=== hub | |
~ temp allFiles = LIST_ALL(Files) | |
- (loop) | |
~ temp file = pop(allFiles) // pop is an ink function from the "Ink" menu | |
{ Files ? file: // have you seen it? let's list the ones we've found. |
This file contains hidden or 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 | |
// spoiler ! | |
abstract class SQLQuery{} | |
$sql = "SELECT * FROM user " | |
. " WHERE sex = :sex " | |
. " AND age < :age" | |
; | |
$parameters = [ |
This file contains hidden or 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 route($pattern, $controller) | |
{ | |
return function($query) use($pattern, $controller) { | |
return (($matches = route_match($pattern, $query)) === false) ? | |
false : | |
function($registry) use($matches, $controller) { | |
return $controller($matches, $registry); | |
} | |
; |