Skip to content

Instantly share code, notes, and snippets.

View wanforge's full-sized avatar

Sugeng Sulistiyawan wanforge

View GitHub Profile
@wanforge
wanforge / KB Typing Animation.md
Created October 26, 2025 14:40
KB Typing Animation

KB Typing Animation

// Global object untuk typing animation
window.KBTyping = {
    instances: new Map(),
    
    init: function(selector, options = {}) {
        const elements = typeof selector === 'string' 
            ? document.querySelectorAll(selector) 
@wanforge
wanforge / generator.bat
Created July 25, 2024 02:57
Generator Config Startup/Auto Run Apps (Laravel or NodeJs) Console Windows
@REM filename generator.bat
@echo off
setlocal enabledelayedexpansion
@REM set variable
set npmApp="app1" "app2"
set laraApp="app1" "app2" "app3"
set reverbApp="app1"
@wanforge
wanforge / embedded-file-viewer.md
Last active January 20, 2024 04:21 — forked from tzmartin/embedded-file-viewer.md
Embedded File Viewer: Google Drive, OneDrive

Example from tinyfilemanager

https://github.com/prasathmani/tinyfilemanager/blob/8e87afae5b744c3e23490000bf0d398d6d4a749c/tinyfilemanager.php#L1782

if($online_viewer == 'google') {
    echo '<iframe src="https://docs.google.com/viewer?embedded=true&hl=en&url=' . fm_enc($file_url) . '" frameborder="no" style="width:100%;min-height:460px"></iframe>';
} else if($online_viewer == 'microsoft') {
    echo '<iframe src="https://view.officeapps.live.com/op/embed.aspx?src=' . fm_enc($file_url) . '" frameborder="no" style="width:100%;min-height:460px"></iframe>';
}
@wanforge
wanforge / Fix-Slow-apt-get-update-Optimize-Kali-Linux-2019
Created May 17, 2023 06:44 — forked from kuamit5516/Fix-Slow-apt-get-update-Optimize-Kali-Linux-2019
Fix-Slow-apt-get-update-Optimize-Kali-Linux-2019-New-Working-Code
Open Terminal and type - leafpad /etc/resolv.conf
add this - nameserver 8.8.8.8
nameserver 8.8.4.4
save and exit
now open new terminal and type - leafpad /etc/apt/sources.list
add this - #Repositories :
deb http://kali.cs.nctu.edu.tw/kali kali-rolling main contrib non-free
deb-src http://kali.cs.nctu.edu.tw/kali kali-rolling main contrib non-free
now save and exit
@wanforge
wanforge / History\-105c3786\entries.json
Last active July 30, 2022 09:44
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///c%3A/Users/HelloWorld/Documents/server/www/olimp-front-peserta/demo/src/views/apps/customers/CustomerDetails.vue","entries":[{"id":"1i2o.vue","source":"searchReplace.source","timestamp":1657693409703}]}
@wanforge
wanforge / cloudSettings
Created December 6, 2021 08:57
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-12-06T08:57:43.373Z","extensionVersion":"v3.4.3"}
@wanforge
wanforge / cloudSettings
Created October 28, 2021 03:58
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-10-28T03:58:52.520Z","extensionVersion":"v3.4.3"}
@wanforge
wanforge / cloudSettings
Created September 1, 2021 08:16
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-09-01T08:16:35.061Z","extensionVersion":"v3.4.3"}
@wanforge
wanforge / cloudSettings
Last active August 31, 2021 09:27
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-08-31T09:27:44.298Z","extensionVersion":"v3.4.3"}
@wanforge
wanforge / cloudSettings
Last active August 31, 2021 09:02
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-08-31T09:02:34.072Z","extensionVersion":"v3.4.3"}