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; | |
/** | |
* Image Resizer | |
* | |
* @uses | |
* $im = new ImageResizer(); | |
* // array if success | |
* $result = $im->create('/path/to/file/source.png') |
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
// Package Name | |
// path: {root}/com/example/android/myapp/http | |
package com.example.android.myapp.http; | |
import okhttp3.*; | |
import okhttp3.Request.Builder; | |
import java.io.IOException; | |
import java.util.LinkedList; | |
import java.util.List; |
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 |
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 | |
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
#!/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
/*! | |
* 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
<?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} |