Skip to content

Instantly share code, notes, and snippets.

View cumulus13's full-sized avatar
💭
Just Hobbies

cumulus13 cumulus13

💭
Just Hobbies
  • cumulus13
  • singapore
View GitHub Profile
@cumulus13
cumulus13 / Visual Studio 2022 Product Key
Created August 5, 2024 04:55
Visual Studio 2022 Enterprise Product key
Visual Studio 2022
Enterprise :
VHF9H-NXBBB-638P6-6JHCY-88JWH
Professional:
TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
@cumulus13
cumulus13 / growli.py
Last active July 2, 2025 02:15
growli: send message to growl from sys.stdin
#!/usr/bin/env python3
import sys
import os
from pathlib import Path
from rich.console import Console
from rich.syntax import Syntax
# Import dengan error handling
try:
from gntplib import Publisher
@cumulus13
cumulus13 / mpcc.bat
Last active July 2, 2025 02:15
[Batch] MPD show current playlist and current playing with colors
@echo off
setlocal enabledelayedexpansion
chcp 65001 >nul
:: Define ANSI color codes with proper escape character
for /f %%a in ('echo prompt $E ^| cmd') do set "ESC=%%a"
set "RESET=%ESC%[0m"
set "BOLD=%ESC%[1m"
set "DIM=%ESC%[2m"
set "YELLOW_BG=%ESC%[43m%ESC%[30m"
@cumulus13
cumulus13 / colorx.pyw
Created July 5, 2025 06:14
Color dialog + Color Picker
import sys
#import os
from PyQt5 import QtWidgets, QtCore, QtGui
from PyQt5.QtCore import Qt
import clipboard
class ColorDialog(QtWidgets.QWidget):
def __init__(self):
super().__init__()
self.initUI()
@cumulus13
cumulus13 / cpa.py
Created July 5, 2025 06:19
copy cli with more options, this my tool, use '-h' for usage
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import sys
import re
import traceback
import argparse
import glob
import shutil
@cumulus13
cumulus13 / progress_session.py
Created July 5, 2025 11:09
Replace requests.Session with requests.Session + Progressbar (rich)
class ProgressSession(requests.Session):
def request(self, method, url, *args, max_try=3, retry_delay=1, **kwargs):
attempt = 0
last_exception = None
with Progress(
SpinnerColumn(),
TextColumn("[progress.description]{task.description}"),
console=console,
transient=True
@cumulus13
cumulus13 / close_popup.ahk
Last active July 28, 2025 16:37
Steganos Dictionary Attack
#Persistent
SetTitleMatchMode, 2
Loop {
WinWait, Steganos Privacy Suite 21
IfWinExist, Steganos Privacy Suite 21
{
ControlClick, Button1, Steganos Privacy Suite 21
Sleep, 100
}
}