I hereby claim:
- I am pentagonal on github.
- I am pentagonal (https://keybase.io/pentagonal) on keybase.
- I have a public key whose fingerprint is 8847 B4E4 5D0E 254F 1D2E 1550 ECB1 9699 9CF5 3FB0
To claim this, I am signing this object:
<?php | |
/** | |
* Entities the Multibytes string | |
* Iconv must be enable to use this function work properly | |
* | |
* @param string $string the string to detect multibytes | |
* @param boolean $entities true if want to entity the output | |
* @return string | |
*/ | |
function multibyteEntities($string, $entities = true) |
<?php | |
/** | |
* Add MiddleWare to fix URL Rewrites | |
* Prevent Duplicate Route Access for | |
* ^/indexfile.php/main === ^/main | |
* Slim variable is from context object of | |
* ----------------------------------- | |
* $slim = new \Slim\App(); | |
* ----------------------------- | |
*/ |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* This only example usage of using slim as application | |
* By default Slim 3 only detect if environemnt https set not 'off' | |
* but on some case eg : cloudflare Flexible SSL / FULL SSL will be hide site behind | |
* the CloudFlare Secure Protocol. | |
* You could change anything namespace etc. to working with Slim 3 App | |
* @see {https://support.cloudflare.com/hc/en-us/articles/203487280--How-do-I-fix-the-infinite-redirect-loop-error-after-enabling-Flexible-SSL-with-WordPress-} | |
* on some case cloud flare use Environment (HTTP_X_FORWARDED_PROTO) | |
* to hide real site and serve on their secure protocol |
<!-- | |
Common presets for web design resolution | |
=== misc artboards | |
@see https://gist.github.com/fc-io/951592753248dd3ce5ab | |
=== social artboards | |
@see https://github.com/herrhelms/social-artboards-sketch | |
Put Into: |
<?php | |
class Utility | |
{ | |
/* --------------------------------------------------------------------------------* | |
| Serialize Helper | | |
| | | |
| Custom From WordPress Core wp-includes/functions.php | | |
|---------------------------------------------------------------------------------| | |
*/ |
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | |
* You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
"use strict"; | |
/* | |
* thirty-two | |
* https://github.com/chrisumbel/thirty-two | |
* |
<?php | |
/** | |
* Example Class | |
*/ | |
class MyRoutes | |
{ | |
/** | |
* @var \Slim\App $slim | |
*/ | |
protected $slim; |
<?php | |
/** | |
* prototype of Builder & Extending Doctrine DBAL | |
* please see { @link https://github.com/PentagonalProject/ProjectSeventh/tree/development } | |
*/ | |
use Doctrine\DBAL\DriverManager; | |
/** | |
* List Scheme |
<?php | |
namespace Pentagonal\RujakLegi; | |
/** | |
* Class Collection | |
* @package Pentagonal\RujakLegi | |
*/ | |
class Collection implements \ArrayAccess, \IteratorAggregate, \Countable | |
{ | |
/** |