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 | |
/* | |
* XML EXAMPLE FOR RETURNING GET REAL DATA VALUE | |
* This for Tricky XML Return Data | |
* if got invalid attribute will be use tag as | |
* <tag key="key name of tag" type="type value"></tag> | |
* | |
// SET DATA | |
[ | |
'Array1' => [ # array |
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 | |
namespace Pentagonal\FollowComposerLoader; | |
use InvalidArgumentException; | |
use Composer\Autoload\ClassLoader; | |
/** | |
* Class ComposerLoaderPSR4 | |
* | |
* Using @uses ClassLoader that make Load Class With Easy Way |
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 | |
/** | |
* (MYSQL EXPORT WITHOUT DUMP USE DOCTRINE DBAL) | |
* | |
* | |
* | |
* NOTE : ONLY WORKS WITH `MYSQL` ONLY | |
* | |
* This Class Using Doctrine DBAL to instantiate connection | |
* {@link : https://github.com/doctrine/dbal} |
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
/*! | |
* Domain Check | |
* // gTLD | |
* {link: https://data.iana.org/TLD/tlds-alpha-by-domain.txt} | |
* // assign full TLD + sTLD | |
* {top: https://publicsuffix.org/list/effective_tld_names.dat} | |
* @author pentagonal <[email protected]> | |
* @date 29th july 2017 | |
*/ | |
(function (global, factory) { |
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
#!/bin/bash | |
# | |
# Pentagonal | |
# Ubuntu (Based) Php, Nginx, MariaDB Installer | |
# youtube: https://www.youtube.com/pentagonalOrg | |
# email: [email protected] | |
# | |
isDefaultOk=false; |
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_type=1); | |
namespace Pentagonal\Gist\Task\Abstracts; | |
use Pentagonal\Gist\Task\Interfaces\TaskInterface; | |
use InvalidArgumentException; | |
/** | |
* class TaskAbstract |
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 | |
// result data | |
$resultString = 'Fill With Whois Result'; | |
// Domain .be fixer | |
$resultString = str_replace("\r", "", $resultString); | |
if (strpos($resultString, ":\n\t")) { | |
$arr = explode("\n", $resultString); | |
$currentKey = null; | |
foreach ($arr as $key => $value) { |
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 | |
/** | |
* MIT License | |
* | |
* Copyright (c) 2017, Pentagonal | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
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 | |
/** | |
* MIT License | |
* | |
* Copyright (c) 2017, Pentagonal | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
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 | |
/** | |
* MIT License | |
* | |
* Copyright (c) 2017, Pentagonal | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |