I hereby claim:
- I am voku on github.
- I am voku (https://keybase.io/voku) on keybase.
- I have a public key whose fingerprint is 9587 34D4 0F19 EFF9 46F2 CE84 8B53 C742 E24F 6703
To claim this, I am signing this object:
#!/usr/bin/php | |
<?php | |
/** | |
* // | |
* // add something like this in your "composer post-update-cmd && post-install-cmd" | |
* // | |
* echo "\n\n"; | |
* echo "Run force \"code_check_git_hook.php\" as pre-commit-hook ..."; | |
* $force_pre_commit_hook_cmd = 'ln -sf YOUR_PATH_TO_CODE_CHECK_SCRIPTS/code_check_git_hook.php YOUR_PATH_TO_PROJECT_ROOT/.git/hooks/pre-commit'; |
#!/usr/bin/php | |
<?php | |
use Composer\XdebugHandler\XdebugHandler; | |
require_once __DIR__ . '/YOUR_PATH_THE_AUTOLOADER.php'; | |
$xdebug = new XdebugHandler('phpstan-code-check'); | |
$xdebug->check(); | |
unset($xdebug); |
<?php | |
$input_lines = ' <div>da<a> | |
lalll | |
</a>sda | |
</div>'; | |
$output = preg_replace('/^<(?<element_start>[a-z]+)(?<element_start_addon> [^>]*)?>(?<value>.*?)<\/(?<element_end>\1)>$/usi', '$3', trim($input_lines)); | |
# For more information about the properties used in | |
# this file, please see the EditorConfig documentation: | |
# http://editorconfig.org/ | |
# top-most EditorConfig file | |
root = true | |
# Unix-style newlines + UTF-8 encoding | |
[*] | |
charset=utf-8 |
# [simple.cms] + Apache Server Configs v3.1.0 | MIT License | |
# https://github.com/h5bp/server-configs-apache | |
# (!) Using `.htaccess` files slows down Apache, therefore, if you have | |
# access to the main server configuration file (which is usually called | |
# `httpd.conf`), you should add this logic there. | |
# | |
# https://httpd.apache.org/docs/current/howto/htaccess.html | |
# ---------------------------------------------------------------------- |
<script type="text/javascript"> | |
var one_error_reported_via_onerror = false; | |
var globalErrorReportHelper = function(msg, url, line, col, error) { | |
// fallback for e.g.: IE | |
if ( | |
!error | |
&& | |
typeof Error === "function" |
-ea | |
-server | |
-Xss2m | |
-Xms2G | |
-Xmx5G | |
-XX:MaxMetaspaceSize=2G | |
-XX:MetaspaceSize=512m | |
-XX:ReservedCodeCacheSize=1G | |
-XX:+DoEscapeAnalysis | |
-XX:SoftRefLRUPolicyMSPerMB=50 |
<?php | |
/** | |
* Class StringLib | |
* | |
* @see https://github.com/voku/portable-utf8 | |
*/ | |
class StringLib { | |
/** |
I hereby claim:
To claim this, I am signing this object:
# Apache Server Configs v5.1.0 | MIT License | |
# https://github.com/h5bp/server-configs-apache | |
# (!) Using `.htaccess` files slows down Apache, therefore, if you have | |
# access to the main server configuration file (which is usually | |
# called `httpd.conf`), you should add this logic there. | |
# | |
# https://httpd.apache.org/docs/current/howto/htaccess.html | |
# ###################################################################### |