Skip to content

Instantly share code, notes, and snippets.

View Aldiwildan77's full-sized avatar
:octocat:
Exploring

Muhammad Wildan Aldiansyah Aldiwildan77

:octocat:
Exploring
View GitHub Profile
@Aldiwildan77
Aldiwildan77 / comparison.csv
Created July 7, 2025 16:35
Network Communication Comparison
Approach Complexity Real-time Bandwidth Usage Reliability
Short Polling Low High
Long Polling Medium ⚠️ Medium
WebSocket High Low
SSE (Chosen) Medium Low
@Aldiwildan77
Aldiwildan77 / TnC
Last active March 7, 2025 10:22
MOCHA Terms and Conditions
<style>
[data-custom-class='body'], [data-custom-class='body'] * {
background: transparent !important;
}
[data-custom-class='title'], [data-custom-class='title'] * {
font-family: Arial !important;
font-size: 26px !important;
color: #000000 !important;
}
[data-custom-class='subtitle'], [data-custom-class='subtitle'] * {
@Aldiwildan77
Aldiwildan77 / template.html
Last active December 17, 2025 00:59
HTML TEMPLATE RENDER
<!DOCTYPE html>
<html>
<head>
<style>
.page-header,
.page-header-space {
height: 100px;
}
@Aldiwildan77
Aldiwildan77 / calculatePnL.gs
Created November 27, 2024 04:57
Calculate PnL using FIFO
function calculateProfit() {
const sheetURL = "SHEET URL";
const sheetFile = SpreadsheetApp.openByUrl(sheetURL);
const sheet = sheetFile.getSheetByName('DATA');
const orderNumberIndex = 1;
const transactionTypeIndex = 2;
const productNameIndex = 3;
const transactionStatusIndex = 5;
@Aldiwildan77
Aldiwildan77 / vanity.py
Created June 11, 2021 11:10
Vanity Hack
inv = "discοrd.gg/" + "ChromaGamingCommunity" + "||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||
/**
* Print Stylesheet
* @version 2.0
* @lastmodified 10.07.2020
* modified Muhammad Wildan Aldiansyah
*/
@media print {
/* Set content width, remove floats and margins */
/* Warning: The classes and IDs vary from theme to theme. So set your own classes here */
@Aldiwildan77
Aldiwildan77 / load.sh
Created February 24, 2020 10:29
Tile38 database for geospatial and geofencing
#!/bin/bash
start_time="$(date -u +%s)"
server=$1
file=$2
i=0
#telnet 127.0.0.1 9851 <<EOF
while IFS= read -r line
do
echo "$line"
@Aldiwildan77
Aldiwildan77 / server-install.sh
Last active July 7, 2025 03:30
The Forest Dedicated Server LINUX
id -u the-forest &>/dev/null 2>&1 || useradd -m the-forest;
cd /home/the-forest;
sudo dpkg --add-architecture i386;
echo -e "\e[32mArchitecture for 32bit successfully added\e[0m";
sudo apt update && sudo apt install lib32gcc1 steamcmd wine-stable winbind xvfb -y;
sudo apt dist-upgrade -y && sudo apt autoremove -y;
echo -e "\e[32mModules successfully installed\e[0m";
@Aldiwildan77
Aldiwildan77 / History|-1abe8753|entries.json
Last active November 27, 2022 10:28
Visual Studio Code - Cloud Settings
{"version":1,"resource":"file:///Users/ruangguru/Workspace/Development/source/skillacademy-product/.temp.env","entries":[{"id":"NMsH.env","timestamp":1649135315930},{"id":"xwJd.env","timestamp":1649315396614}]}
@Aldiwildan77
Aldiwildan77 / headset.json
Last active June 9, 2019 07:40
My steelseries arctis 3 EQ for Music
{
"equalizationeffect": {
"curve": {
"point": [
{
"_f": "31",
"_d": "7"
},
{
"_f": "62",