A Pen by Thomas Flori on CodePen.
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
IFS='.' | |
read -ra keyToSet <<< $1 | |
commentPattern="^ *(#|$)" | |
current=${keyToSet[0]} | |
keyToSet=("${keyToSet[@]:1}") | |
currentIndent=0 | |
currentPattern="^ {${currentIndent}}${current} *:" | |
nextIndent=0 | |
while read line; do |
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 | |
namespace App\Validator; | |
use Verja\Error; | |
use Verja\Validator; | |
class PasswordStrength extends Validator | |
{ | |
/** @var int */ |
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 | |
/* The Computer Language Benchmarks Game | |
http://benchmarksgame.alioth.debian.org/ | |
contributed by Thomas Flori | |
*/ | |
while (ob_get_level()) ob_end_clean(); | |
ini_set('memory_limit', '512M'); |
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
<input id="example" type=text value="Example" /> |
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
<input id="example" type=text value="Example" /> |