Skip to content

Instantly share code, notes, and snippets.

View ArrayIterator's full-sized avatar

ArrayIterator ArrayIterator

View GitHub Profile
@ArrayIterator
ArrayIterator / ISO4217.json
Last active March 17, 2025 22:08
FULL 2020/02 - ISO 4217 Currency codes
{
"BDT": {
"code": "BDT",
"name": "Bangladeshi Taka",
"symbol": "\u09f3"
},
"EUR": {
"code": "EUR",
"name": "Euro",
"symbol": "\u20ac"
@ArrayIterator
ArrayIterator / ISO3166.json
Last active March 17, 2025 22:08
FULL 2020/02 - ISO 3166 Country Codes
{
"BD": {
"name": "Bangladesh",
"continent": {
"code": "AS",
"name": "Asia"
},
"code": {
"alpha2": "BD",
"alpha3": "BGD"

UPDATE FLEET LOCATION HISTORY

Processing Call ke GPS API & Fleet Location Upate

FAIL

Apabila gagal maka update table fleet column last_gps_update_data dengan :

<?php
declare(strict_types=1);
namespace ArrayIterator\Service\Core\Generator;
use InvalidArgumentException;
use RangeException;
use TypeError;
/**
@ArrayIterator
ArrayIterator / Job Vacancy
Created January 20, 2020 11:25
Job vacancy - Logisly
Rekan rekan sekalian Ysh, Logisly, perusahaan platform logistik B2B sedang membuka lowongan untuk beberapa posisi.
1. Principal/senior engineering manager.
2. Senior frontend developer.
3. Senior backend developer.
4. Senior UI/UX designer(engineering/quantitive discipline background).
5. Senior security engineer(offensive oriented).
Silahkan sertakan CV dan jawaban dari pertanyaan berikut melalui email kepada hrd@logisly.com.
@ArrayIterator
ArrayIterator / UpdateTrigger.gs
Last active November 19, 2019 13:32
Update Trigger Google Script
/*====================================================================================================================================*
ImportJSON by Brad Jasper and Trevor Lohrbeer
====================================================================================================================================
Version: 1.5.0
Project Page: https://github.com/bradjasper/ImportJSON
Copyright: (c) 2017-2019 by Brad Jasper
(c) 2012-2017 by Trevor Lohrbeer
License: GNU General Public License, version 3 (GPL-3.0)
http://www.opensource.org/licenses/gpl-3.0.html
------------------------------------------------------------------------------------------------------------------------------------
@ArrayIterator
ArrayIterator / DesktopUserAgent.php
Last active February 12, 2020 17:54
PHP Response Generator , Simple Token Generator & User-Agent Helper
<?php
declare(strict_types=1);
namespace ArrayIterator\Library\Source\Generator;
use InvalidArgumentException;
use RangeException;
use TypeError;
/**
@ArrayIterator
ArrayIterator / TinyPng.php
Last active June 26, 2020 06:27
TinyPng Optimize Image API
<?php
declare(strict_types=1);
namespace ArrayIterator\App\TinyPng;
use Exception;
use GuzzleHttp\Client;
use GuzzleHttp\Psr7\Stream;
use GuzzleHttp\RequestOptions;
use InvalidArgumentException;
var sanityHTMLClass = (str) => {
if (typeof str !== 'string') {
return '';
}
return str
// replace for v?s?printf
.replace(/%[a-fA-F0-9][a-fA-F0-9]/, '')
// Limit to A-Z,a-z,0-9,_,-
.replace(/[^A-Za-z0-9_-]/, '');
}
@ArrayIterator
ArrayIterator / SchemaParser.php
Last active April 6, 2018 14:01
TL Schema Parser
<?php
declare(strict_types=1);
namespace ArrayIterator\MTProto;
/**
* Class SchemaParser
* @package ArrayIterator\MTProto
* @link https://core.telegram.org/mtproto/TL
*/