just the bare necessities of state management.
Hotlink it from https://unpkg.com/valoo
.
<?php | |
function it($m,$p){echo ($p?'✔︎':'✘')." It $m\n"; if(!$p){$GLOBALS['f']=1;}}function done(){if(@$GLOBALS['f'])die(1);} |
<?php | |
$data = <<<'DATA' | |
$program = <<<PROGRAM | |
<?php | |
\$data = <<<'DATA'\n$data\nDATA; | |
$data | |
PROGRAM; | |
echo $program; | |
DATA; |
Jekyll is a great CMS for developers and GitHub Pages is a great host to store your Jekyll sites. There is just one problem, GitHub runs Jekyll in safe mode, which means you can't use plugins. One thing you can do is building the Jekyll website locally and then push to GitHub.
Alexandre Rademaker found a solution to do this easially, which is quite usefull: "GitHub Pages and Jekyll plugins" After reading this I thought, that can be done easier!
Git provides a way to have aliases of bash commands. You can do this by adding items to the alias
key of your configuration. For this, you can add this locally by adding this lines to your %PROJECT_ROOT%/.git/config
file:
@include keyframe(fadeout) { | |
0% { | |
opacity: 1; | |
} | |
100% { | |
opacity: 0; | |
} | |
} |
<?php | |
require_once __DIR__ . '/util.php'; | |
class SQL_Table | |
{ | |
protected $pdo; | |
protected $table_name; |