Skip to content

Instantly share code, notes, and snippets.

View almuhdilkarim's full-sized avatar
💭
busy

Al Muhdil Karim almuhdilkarim

💭
busy
View GitHub Profile
Abstrak
Rancangan modul 1 mengenai "Pemahaman mengenai konsep dasar dari RDBMS"
Title Pemahaman mengenai konsep dasar dari RDBMS Budget
Subject Publisher
Status Director Al Muhdil Karim
Production Release
@almuhdilkarim
almuhdilkarim / karim-story-board.md
Last active August 2, 2025 04:47
stori-board-al-muhdil-karim.md
Abstrak
Rancangan modul 1 mengenai "Pemahaman mengenai konsep dasar dari RDBMS"
Title Sejarah dan konsep dasar dari RDBMS Budget
Subject Latihan PKDP Publisher
Status Director Al Muhdil Karim
Production Release
@almuhdilkarim
almuhdilkarim / xpresensi.js
Last active January 25, 2022 22:23
Bypass Photo Validity Process
(function() {
'use strict';
const myTimeout = setTimeout(myGreeting, 5000);
function myGreeting() {
document.querySelector('.content-wrapper').firstElementChild.style.zIndex = "-100";
alert('Sistem Pertahanan Non Aktiv');
}
})();
@almuhdilkarim
almuhdilkarim / JS Slide
Last active July 21, 2021 14:54
JS Slide
// Check slide image is exist
function checkslide(url){
var http = new XMLHttpRequest();
http.open('GET', url, false);
http.send();
return http.status
}
function executeIfFileExist(src) {
var xhr = new XMLHttpRequest()
#! /bin/bash
# Aplikasi untuk aktivasi network daemon dan network pheripheral
# Depend
# 1. iwd
# 2. iptables
##===============================================
## Function systemd network module
##===============================================
@almuhdilkarim
almuhdilkarim / add-term-to-custom-taxonomy.php
Created July 6, 2020 09:25 — forked from ms-studio/add-term-to-custom-taxonomy.php
add term metabox to custom taxonomy - using WP 4.4 term meta functions
<?php
// source: http://wordpress.stackexchange.com/questions/211703/need-a-simple-but-complete-example-of-adding-metabox-to-taxonomy
// code authored by jgraup - http://wordpress.stackexchange.com/users/84219/jgraup
// CREATE CUSTOM TAXONOMY
add_action( 'init', '___create_my_custom_tax' );
@almuhdilkarim
almuhdilkarim / nginx-tuning.md
Created April 24, 2020 04:34 — forked from denji/nginx-tuning.md
NGINX tuning for best performance

Moved to git repository: https://github.com/denji/nginx-tuning

NGINX Tuning For Best Performance

For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.

Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.

You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.