Skip to content

Instantly share code, notes, and snippets.

@cumulus13
cumulus13 / pfman.bat
Created June 5, 2026 00:44
Windows Prefetch Manager
:: File: ../pfman/pfman.bat
:: Author: Hadi Cahyadi <cumulus13@gmail.com>
:: Date: 2026-06-05
:: Description:
:: License: MIT
@echo off
chcp 65001 >nul
title Windows Prefetch Manager
@cumulus13
cumulus13 / desktop1.png
Created May 31, 2026 09:31
this is one of my 4 monitors of my development and devopts mode monitors
desktop1.png
@cumulus13
cumulus13 / rustbuild.bat
Created May 25, 2026 10:29
Robust Rust project build script with notifications
:: File: RustBuild.bat
:: Author: Hadi Cahyadi <cumulus13@gmail.com>
:: Date: 2026-01-17
:: Description: Robust Rust project build script with notifications
:: License: MIT
:: Usage:
:: rustbuild
:: rustbuild --release
:: rustbuild --target x86_64-pc-windows-gnu
:: rustbuild -r --features "feature1,feature2"
@cumulus13
cumulus13 / adbb.py
Created May 21, 2026 08:58
ADB APK Manager - Professional • Robust • Production-Ready
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# File: adbb.py
# Author: Hadi Cahyadi <cumulus13@gmail.com>
# Date: 2026-05-21
# Description: Professional • Robust • Production-Ready
# License: MIT
"""
@cumulus13
cumulus13 / changeprompt.bat
Last active May 15, 2026 23:31
MyWindowsPrompt
@echo off
if "%~1"=="" goto usage
if "%~1"=="1" goto vertical
if "%~1"=="2" goto multiline
goto usage
:vertical
prompt $e[38;2;0;255;255m[%time: =0%]$e[0m $e[38;2;120;255;120m$p$e[0m$e[38;2;255;200;0m ^>^> $e[0m
@cumulus13
cumulus13 / gobuild.bat
Created January 17, 2026 12:33
Robust Go project build script with notifications
:: File: GoBuild.bat
:: Author: Hadi Cahyadi <cumulus13@gmail.com>
:: Date: 2026-01-17
:: Description: Robust Go project build script with notifications
:: License: MIT
:: Usage:
:: gobuild main.go -o app.exe
:: gobuild mydir\ -o app.exe
:: gobuild -o app.exe main.go
:: gobuild --output=app.exe --tags=prod --ldflags="-s -w"
@cumulus13
cumulus13 / png2ico.py
Created December 22, 2025 10:33
Convert png to ico image with multiple sizes.
#!/usr/bin/env python3
# File: png2ico.py
# Author: Hadi Cahyadi <cumulus13@gmail.com>
# Date: 2025-12-22
# Description: Convert png to ico image with multiple sizes.
# License: MIT
from pathlib import Path
@cumulus13
cumulus13 / dprune.py
Created December 22, 2025 09:25
Prune Docker images with 'None' tag.
#!/usr/bin/env python3
#File: dprune.py
## Author: Hadi Cahyadi <cumulus13@gmail.com>
# Date: 2025-12-22
# Description: Prune Docker images with 'None' tag.
# License: MIT
import subprocess
from rich.console import Console
@cumulus13
cumulus13 / langdet.py
Created December 22, 2025 08:55
Detection human language except for english
#!/usr/bin/env python3
# File: langdet.py
# Author: Hadi Cahyadi <cumulus13@gmail.com>
# Date: 2025-12-22
# Description: Detection human language except for english
# License: MIT
import sys
import os
import argparse
@cumulus13
cumulus13 / pathx.bat
Created December 18, 2025 11:45
set windows os environmen path batch script to temporary or permanent
:: File: pathx.bat
:: Author: Hadi Cahyadi <cumulus13@gmail.com>
:: Date: 2025-12-18
:: Description:
:: License: MIT
@echo off
chcp 65001 >nul
:: Define ANSI color codes with proper escape character