Required Headers
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 | |
| 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
| <?php | |
| /** | |
| * Copyright (c) 2017. | |
| * @license GPL-3 or Later {@link https://www.gnu.org/licenses/gpl-3.0.html} | |
| */ | |
| declare(strict_types=1); | |
| namespace Pentagonal\Sample\Util; |
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: org@pentagonal.org | |
| # | |
| 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
| /* | |
| * Resolve Google Map v3 without API Key | |
| * since june 22 2016 | |
| * Put on body and load before map render | |
| */ | |
| (function (window) { | |
| if (!window.document) { | |
| return; | |
| } |
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
| { | |
| "time": 1543829671, | |
| "data": { | |
| "id": 2, | |
| "kode": "31", | |
| "nama": "Provinsi DKI Jakarta", | |
| "portal": "jakarta.prov", | |
| "kabupaten": [ | |
| { | |
| "id": 66, |
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
| { | |
| "data": { | |
| "sub_header": { | |
| "head_of_household": "", | |
| "sub_district": "", | |
| "address": "", | |
| "urban_village": "", | |
| "city": "", | |
| "rt_rw": "", | |
| "postal_code": "", |
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 | |
| # Binary Compilation Placed on | |
| # /opt/ | |
| # Please Make Sure no /opt/bin/ or /opt/lambda/ directory | |
| # CENTOS x64 only | |
| ######################################################## | |
| #### NOTE PLEASE RUN ##### | |
| #$ rpm -Uvh https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm | |
| # |
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
| { | |
| "uri": "(string:url:endpoint:follow the stage)", | |
| "path": "/kk", | |
| "method" : "POST", | |
| "headers": { | |
| "Content-Type": "application/json" | |
| }, | |
| "body": { | |
| "fileName": "(string:plain => FileName.jpeg)", | |
| "image": "(string:base64Encoded => image binary)" |