- Github Pages
- Gitlab Pages
Aerobatic(shutdown: 2021.10.30)- Cloudflare Pages
- Surge.sh
- Vercel
- Firebase
- Netlify
- Digitalocean Cloud/Pages
- AWS
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=""> | |
| <video autoplay="true" id="video-webcam"> | |
| Izinkan untuk Mengakses Webcam untuk Demo | |
| </video> | |
| <button onclick="takeSnapshot()">Ambil Gambar</button> | |
| </div> | |
| <script> | |
| var video = document.querySelector("#video-webcam"); | |
| navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia || navigator.oGetUserMedia; |
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
| {% include 'partial/head.html' %} | |
| {% include 'partial/navbar.html' %} | |
| <script src="https://maps.googleapis.com/maps/api/js?key=API_KEY"></script> | |
| <script type="text/javascript"> | |
| // variabel global marker | |
| var marker; | |
| function taruhMarker(peta, posisiTitik) { |
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
| @echo off | |
| set /p Y=Enter adb.exe folder path: | |
| cd /d %Y% | |
| adb devices | |
| pause | |
| for %%X in ( | |
| "com.amazon.appmanager" | |
| "com.android.browser" | |
| "com.android.chrome" | |
| "com.android.email" |
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 | |
| HOUR(CONVERT_TZ(`bookingCreatedAt`, '+00:00', '+08:00')) AS jam, -- convert UTC time to local time +08:00 | |
| COUNT(*) AS total_booking | |
| FROM | |
| Booking -- table name | |
| WHERE | |
| YEAR(`bookingCreatedAt`) = 2024 AND MONTH(`bookingCreatedAt`) = 10 -- month of year 2024 | |
| GROUP BY | |
| jam | |
| ORDER BY |
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
| <script type="application/ld+json"> | |
| { "@context": "http://schema.org", | |
| "@type": "BlogPosting", | |
| "headline": "<data:post.title/>", | |
| "alternativeHeadline": "<data:post.title/>", | |
| "mainEntityOfPage" : "<data:blog.homepageUrl/>", | |
| "image": { | |
| "@type" : "imageObject", | |
| "url" : "<data:post.firstImageUrl/>", | |
| "height": "480", |
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
| mkdir out | |
| for i in *pdf; do pdftk "$i" cat 2-end output "out/$i"; done |
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 pertemuan2; | |
| // mengimpor Scanner ke program | |
| import java.util.Scanner; | |
| public class DataKaryawan { | |
| public static void main(String[] args) { | |
| // deklarasi variabel | |
| String nama, alamat; |
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 | |
| # | |
| # This is a script to create a .bin image with corresponding .cue out of your | |
| # PSX game discs as backup and/or for usage with emulators. | |
| # | |
| # Run-time requirements: cdrdao | |
| # | |
| # This script is partly based upon the "wesnoth-optipng" script from the | |
| # Battle for Wesnoth team. | |
| # |
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] | |
| ;;;;;;;;;;;;;;;;;;; | |
| ; About php.ini ; | |
| ;;;;;;;;;;;;;;;;;;; | |
| ; PHP's initialization file, generally called php.ini, is responsible for | |
| ; configuring many of the aspects of PHP's behavior. | |
| ; PHP attempts to find and load this configuration from a number of locations. | |
| ; The following is a summary of its search order: |
NewerOlder