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
/** | |
* OATH - HOTP (HMAC-based One-time Password Algorithm) | |
* | |
* @author ArrayIterator | |
* @link https://tools.ietf.org/html/rfc4226 | |
* @link https://en.wikipedia.org/wiki/HMAC-based_One-time_Password_Algorithm | |
*/ | |
class HOTP { | |
/** |
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 | |
declare(strict_types=1); | |
// auto generated at : 2023-10-28T05:03:52+07:00 | |
return [ | |
'0-0' => [ | |
'range' => [ | |
0, | |
0, | |
], |
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 | |
declare(strict_types=1); | |
namespace ArrayIterator\Generator; | |
/** | |
* Credit card validator & generator | |
*/ | |
class CreditCard | |
{ |
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
# /etc/network/interfaces.d/50-cloud-init.cfg | |
# command : ifup -a | |
# 2001:4860:4860::8888 2001:4860:4860::8844 is a google dns | |
iface ens3 inet6 static | |
address ipv_6 | |
netmask 64 | |
gateway ipv_6_gateway | |
dns-nameservers 2001:4860:4860::8888 2001:4860:4860::8844 |
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 | |
declare(strict_types=1); | |
namespace ArrayIterator\SimpleEvent; | |
use Countable; | |
use RuntimeException; | |
/** | |
* Class Events |
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
/*! | |
* @link https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Welch | |
* @license MIT | |
*/ | |
(function(win) { | |
function convert_compat_string(e) { | |
if (e === undefined || e === null || typeof e === 'boolean') { | |
e = e ? '1' : ''; | |
} | |
return String(e); |
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 | |
declare(strict_types=1); | |
namespace ArrayIterator; | |
/** | |
* Class PolygonFixer | |
* @package ArrayIterator | |
* Like a Geo Jeon right-hand-rule Fixer based on {@link https://mapster.me/right-hand-rule-geojson-fixer/} |
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
{ | |
"Australia/Adelaide": { | |
"country_name": "Australia", | |
"country_codes": "AU", | |
"latitude": -34.91667, | |
"longitude": 138.58333, | |
"zone_name": "Australia/Adelaide", | |
"abbreviation": "CAST", | |
"offset": 34200, |
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
{ | |
"BDT": { | |
"code": "BDT", | |
"name": "Bangladeshi Taka", | |
"symbol": "\u09f3" | |
}, | |
"EUR": { | |
"code": "EUR", | |
"name": "Euro", | |
"symbol": "\u20ac" |
NewerOlder