- Folder iuwash-plus berisi seluruh paket untuk aplikasi web
- Folder database berisi berkas database
- Berkas iuwash_mobile.apk adalah aplikasi mobile android
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 | |
function VowelSquare($strArr) | |
{ | |
$vowel = ['a','i','u','e','o']; | |
for ($i=0; $i < count($strArr); $i++) { | |
$arr1[$i] = str_split($strArr[$i]); | |
for ($in=0; $in < count($arr1[$i]); $in++) { | |
$arr2[$i][$in] = $arr1[$i][$in]; | |
} | |
}; |
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 | |
function QuestionsMarks($str) | |
{ | |
$arrString = preg_split('/[0-9]/', $str, -1, PREG_SPLIT_NO_EMPTY); | |
preg_match_all('/[0-9]/', $str, $arrNumber); | |
$arrNumber = $arrNumber[0]; | |
for ($i=0; $i < count($arrNumber); $i++) { | |
if ($i < (count($arrNumber) - 1)) { | |
if (intval($arrNumber[$i]) + intval($arrNumber[($i + 1)]) <= 10 && substr_count($arrString[($i + 1)], '?') == 3) { | |
return 'true'; |
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
Implementasi di kilatVM cloudkilat : | |
1. masuk ke root directory apache2 atau /var/www/ | |
2. wget raster.fotoudara.id/aplikasi-iuwash-plus.tar.gz | |
3. ekstrak berkas dengan perintah tar xvzf aplikasi-iuwash-plus.tar.gz | |
4. pindah folder iuwash-plus ke /var/www dengan perintah mv aplikasi-iuwash-plus/iuwash-plus/ ./ | |
5. Ubah nama folder html menjadi html_old dengan perintah mv html html_old | |
6. Ubah nama folder iuwash-plus menjadi html dengan perintah mv iuwash-plus html | |
7. sudo apt-get update | |
8. sudo apt-get upgrade | |
9. sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql php7.0-mbstring |
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
{ | |
"Message": { | |
"Data": [{ | |
"id": 202, | |
"coordinate_latitude": "-7.7308860730016", | |
"coordinate_longitude": "110.4333097376", | |
"created_at": "2018-02-06 06:31:40.348674+00", | |
"point": "0101000020E6100000209312666DEC1EC09002C458BB9B5B40", | |
"user_id": 17, | |
"columns_15157450795345": null, |
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
-- | |
-- PostgreSQL database dump | |
-- | |
-- Dumped from database version 9.5.8 | |
-- Dumped by pg_dump version 9.5.8 | |
-- Started on 2017-11-16 15:08:46 WIB | |
SET client_encoding = 'UTF8'; |
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
-- | |
-- PostgreSQL database dump | |
-- | |
-- Dumped from database version 9.5.8 | |
-- Dumped by pg_dump version 9.5.8 | |
-- Started on 2017-11-10 13:29:29 WIB | |
SET lock_timeout = 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
// Hitung jumlah data | |
$rows = file_get_contents($_POST['url'].'/'.$_POST['layer'].'/MapServer/'.$_POST['id'].'/query?where=1%3D1&returnCountOnly=true&f=pjson'); | |
$row = json_decode($rows); | |
$jumlah = $row->count / 1000; | |
$jumlah = ceil($jumlah); | |
if ($row->count > 1000) { | |
$dataId = file_get_contents($_POST['url'].'/'.$_POST['layer'].'/MapServer/'.$_POST['id'].'/query?where=1%3D1&returnIdsOnly=true&f=pjson'); | |
$dataId = json_decode($dataId); | |
$dataId = $dataId->objectIds; |
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
{ | |
"id": "peta-kerja", | |
"type": "fill", | |
"source": { | |
"type": "vector", | |
"tiles": [ | |
"http://gas.bukapeta.com/bsr/render/859b611e-3c10-499d-ac79-ad90529820ce/cc1bcee1-c5f3-4f0b-830d-b490f9cc55fa/mvt/{z}/{x}/{y}.pbf" | |
] | |
}, | |
"layers": [ |
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
{ | |
"id": "peta-kerja", | |
"type": "fill", | |
"source": { | |
"type": "vector", | |
"tiles": [ | |
"http://gas.bukapeta.com/bsr/render/859b611e-3c10-499d-ac79-ad90529820ce/cc1bcee1-c5f3-4f0b-830d-b490f9cc55fa/mvt/{z}/{x}/{y}.pbf" | |
] | |
}, | |
"layout": {}, |
NewerOlder