Skip to content

Instantly share code, notes, and snippets.

View mdestafadilah's full-sized avatar
🧠
I'm an Intuiting Ekstrovert (IE) with B Blood Type.

mDestaFadilah mdestafadilah

🧠
I'm an Intuiting Ekstrovert (IE) with B Blood Type.
View GitHub Profile
@mdestafadilah
mdestafadilah / KANTIN DIGITAL
Created August 7, 2025 04:38
KANTIN DIGITAL
<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kantin Digital SIMART</title>
<meta name="description" content="Kantin Digital SIMART menyediakan berbagai makanan dan minuman dengan sistem digital yang modern dan praktis.">
<meta name="keywords" content="kantin digital, SIMART, makanan, minuman, belanja online, sistem kantin">
<meta name="author" content="Sekolah Impian Simart">
@mdestafadilah
mdestafadilah / realtime-speach-voice-to-text
Created July 29, 2025 05:36
realtime-speach-voice-to-text
<!DOCTYPE html>
<html>
<head>
<style>
body {
font-family: Arial, sans-serif;
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
@mdestafadilah
mdestafadilah / PRAYER JS
Created July 23, 2025 03:21
PRAYER.JS EXAMPLE
<script>
function updateClock() {
const clockElement = document.getElementById("jam");
const now = new Date();
const hours = now.getHours().toString().padStart(2, "0");
const minutes = now.getMinutes().toString().padStart(2, "0");
const seconds = now.getSeconds().toString().padStart(2, "0");
clockElement.textContent = `${hours}:${minutes} WIB`;
}
setInterval(updateClock, 1000);
@mdestafadilah
mdestafadilah / UUID PROCEDURE MYSQL
Created May 20, 2025 21:29
UUID PROCEDURE MYSQL
DELIMITER //
CREATE PROCEDURE generate_uuid(OUT uuid_value VARCHAR(36))
BEGIN
SET uuid_value = UUID();
END //
DELIMITER ;
@mdestafadilah
mdestafadilah / TOOLS PROJECT SARIASIH
Created May 18, 2025 14:34
TOOLS PROJECT SARIASIH
https://scribd.vdownloaders.com/
https://wordtohtml.net/site/index?tour=1
https://wordtohtml.net/convert/docx-to-html
https://cloudconvert.com/docx-to-html
@mdestafadilah
mdestafadilah / BPJS-AKTIF-CEK
Created February 22, 2025 21:28
BPJS-AKTIF-CEK
function checkStatusAktifBpjs() {
var jenis_identitas = $('.jenis_identitas').val();
if(jenis_identitas=='NIK'){
var jml_karakter = 16;
var jenis_identitas = 'nik';
var nomor_asuransi = $('.ktp').val();
}else{
var jml_karakter = 13;
var jenis_identitas = 'nomor_kartu';
@mdestafadilah
mdestafadilah / CALL-IHS-SATUSEHAT
Last active February 22, 2025 20:48
CALL-IHS-SATUSEHAT
// SOURCE: https://app.klikmedis.com/satusehat/patient/by_nik?nik=NIK&nama=NAMA
function validateKTP(input) {
var ktpValue = input.value;
var errorMessage = document.getElementById('ktpError');
if (ktpValue.length !== 16) {
errorMessage.style.display = "inline";
} else {
errorMessage.style.display = "none";
}
@mdestafadilah
mdestafadilah / nginx-file-access
Created January 10, 2025 22:43
nginx-file-access
location ~* \.(jpg|jpeg|gif|png|bmp|ico|flv|swf|js|css|ttf|woff|woff2) {
add_header Cache-Control public;
add_header Cache-Control must-revalidate;
expires 7d;
}
location ^~ /public/ {
deny all;
}
@mdestafadilah
mdestafadilah / unseed dangers
Created November 8, 2024 21:13
unseed dangers
source: https://collinsadi.hashnode.dev/unseen-dangers-how-developers-fall-prey-to-hidden-security-threats
```
const { spawn } = require("child_process");
// Importing the `spawn` function from the "child_process" module to execute system commands.
const os = require("os");
// Importing the `os` module to detect the platform (Windows, Linux, or macOS).
const fs = require("fs");
// Importing the `fs` (file system) module to handle file reading and writing.
@mdestafadilah
mdestafadilah / INVENTORI
Created November 6, 2024 08:57
INVENTORI
- https://github.com/Mustaghfiril05/Inventory
- https://github.com/HenSetiawan/laravel-inventori
- https://github.com/sheptianbagjautama/laravel-inventory-stock
- https://github.com/ZibranovSky/Web-Inventory-Barang
- https://github.com/anoerman/invenitri
- https://github.com/zahidin/web-aplikasi-inventory-gudang
- https://github.com/yogski/stock-opname
- https://github.com/arman9189/Inventory-Manager