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
| <?xml version="1.0" encoding="utf-8"?> | |
| <androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:app="http://schemas.android.com/apk/res-auto" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:fillViewport="true"> | |
| <androidx.constraintlayout.widget.ConstraintLayout | |
| android:id="@+id/linearLayout" | |
| android:layout_width="match_parent" |
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
| UPDATE `barang` SET `kode`=LPAD(FLOOR(RAND() * 999999.99), 16, '1') |
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
| menuentry 'Windows 10 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-322E48622E482169' { | |
| insmod part_msdos | |
| insmod ntfs | |
| set root='hd0,msdos1' | |
| if [ x$feature_platform_search_hint = xy ]; then | |
| search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 322E48622E482169 | |
| else | |
| search --no-floppy --fs-uuid --set=root 322E48622E482169 | |
| fi | |
| parttool ${root} hidden- |
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
| <div class="panel-heading">Grafik Data Rawan Bencana</div> | |
| <div class="panel-body"> | |
| <div id="kecamatan"></div> | |
| </div> | |
| <script type="text/javascript"> | |
| Morris.Bar({ | |
| element: 'kecamatan', | |
| data: [ | |
| <?php $idkec = $_GET['id']; foreach (lihat("SELECT `data`.id, count(data.jenis) AS jenis, data.kecamatan, kecamatan.nama FROM `data` INNER JOIN kecamatan ON `data`.kecamatan = kecamatan.id WHERE data.kecamatan = $idkec GROUP BY `data`.kecamatan") as $data) { | |
| $namakecamatan = cari("kecamatan", "id", $data['kecamatan']); |
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
| find * -type d -exec chmod 755 {} \; | |
| find * -type f -exec chmod 644 {} \; |
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
| sudo find / -name ".DS_Store" -depth -exec rm {} \; |
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
| ssh-keygen -b 2048 -t rsa | |
| chmod 700 .ssh | |
| mv .ssh/id_rsa.pub .ssh/authorized_keys | |
| chmod 600 .ssh/authorized_keys | |
| cat .ssh/id_rsa | |
| rm -rf .ssh/id_rsa | |
| nano /etc/ssh/sshd_config | |
| service sshd restart |
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
| array(1) { | |
| ["rajaongkir"]=> | |
| array(5) { | |
| ["query"]=> | |
| array(3) { | |
| ["origin"]=> | |
| string(3) "106" | |
| ["destination"]=> | |
| string(3) "151" | |
| ["weight"]=> |
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
| location ~ \.(hh|php)$ { | |
| fastcgi_intercept_errors on; | |
| error_page 500 501 502 503 = @fallback; | |
| try_files $uri =404; | |
| fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
| fastcgi_keep_conn on; | |
| fastcgi_pass 127.0.0.1:9000; | |
| # fastcgi_pass unix:/var/run/hhvm/hhvm.sock; | |
| fastcgi_index index.php; | |
| fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; |
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
| user www-data; | |
| worker_processes 2; | |
| pid /run/nginx.pid; | |
| worker_rlimit_nofile 10000; | |
| events { | |
| use epoll; | |
| worker_connections 1024; | |
| multi_accept on; | |
| } |
NewerOlder