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 | |
| set -e | |
| echo "=== AUTO INSTALL POSTGRESQL + POSTGIS ===" | |
| # -------- INPUT USER -------- | |
| read -p "Masukkan nama database: " DB_NAME | |
| read -p "Masukkan username database: " DB_USER | |
| read -sp "Masukkan password database: " DB_PASS | |
| echo "" |
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 | |
| set -e | |
| echo "=== AUTO INSTALL GEONETWORK + NGINX REVERSE PROXY ===" | |
| # -------- INPUT USER -------- | |
| read -p "Masukkan domain (tanpa https://): " DOMAIN | |
| read -p "Masukkan port GeoNetwork (contoh 5002): " GN_PORT | |
| echo "" |
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 | |
| set -e | |
| echo "=== AUTO INSTALL GEOSERVER + NGINX REVERSE PROXY ===" | |
| # -------- INPUT USER -------- | |
| read -p "Masukkan domain (tanpa https://): " DOMAIN | |
| read -p "Masukkan port GeoServer (contoh 5001): " GS_PORT | |
| echo "" |
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 | |
| clear | |
| echo "=== AUTO INSTALL SATU PETA ===" | |
| set -euo pipefail | |
| # --- INPUT DOMAIN --- | |
| read -p "Masukkan domain (tanpa https://): " DOMAIN | |
| # --- INPUT GITLAB USERNAME & TOKEN --- | |
| echo "=== AUTH GITLAB ===" |
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
| let n = 0; | |
| let i = 0; | |
| // bagian tag dipecah agar sulit terdeteksi oleh bot | |
| const tagStart = "🔥(" + "@"; | |
| const tagMid = "cukongin" + "crypto"; | |
| const tagEnd = ")🔥"; | |
| const groupTag = tagStart + tagMid + tagEnd; // -> "🔥(@cukongincrypto)🔥" | |
| // array pesan dasar (tanpa tag, tanpa spasi tambahan) |
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
| let n = 0; | |
| const coinName = "AAZ"; | |
| const target = '400rb'; | |
| const messages = [ | |
| `jangan sampai ketinggalan, ${coinName} lagi siap-siap pump 🚀🔥`, | |
| `cek ${coinName}, mau terbang nih`, | |
| `${coinName} lagi ngumpulin penumpang, naik sekarang sebelum penuh`, | |
| `mending masuk ${coinName} sekarang, daripada nyesel pas ${coinName} udah mahal 🔥`, |
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
| // test api, show to console https://api-portal-jatim.pisdev.my.id/api/users | |
| // jquery request | |
| $.ajax({ | |
| url: 'https://klinikhoaks.jatimprov.go.id/api/mobile/getjmlhoaksytd', | |
| type: 'GET', | |
| success: function(response) { | |
| console.log(response); | |
| }, | |
| error: function(xhr) { |
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
| GRANT USAGE ON SCHEMA "user" TO username; | |
| GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA "user" TO username; | |
| GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA "user" TO username; | |
| GRANT USAGE ON ALL SEQUENCES IN SCHEMA "user" TO username; |
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
| SELECT | |
| terminal.name as terminal, | |
| city.name as kota, | |
| COALESCE(count( | |
| CASE | |
| WHEN r.is_arrival = true AND r.tvehicle_type_id = 4 THEN r.id | |
| ELSE null | |
| END), 0::bigint) AS ar_vehicle_akap, | |
| COALESCE(sum( | |
| CASE |
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
| SELECT | |
| terminal.name as terminal, | |
| city.name as kota, | |
| COALESCE(count( | |
| CASE | |
| WHEN r.is_arrival = true AND r.tvehicle_type_id = 4 THEN r.id | |
| ELSE null | |
| END), 0::bigint) AS ar_vehicle_akap, | |
| COALESCE(sum( | |
| CASE |
NewerOlder