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 / tr.py
Last active September 20, 2025 07:39
simple language translator
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# author: Hadi Cahyadi (Enhanced with async/await)
# email: [email protected]
import sys
import asyncio
import clipboard
import os
import aiohttp
@cumulus13
cumulus13 / logo.py
Last active August 27, 2025 03:59
Logo generator use 'art'
#!/usr/bin/env python3
# Author: Hadi Cahyadi <[email protected]>
# Date: 2025-08-27 10:18:57.533760
# Description: Create ascitext Logo
# License: MIT
import art
from licface import makelist, CustomRichHelpFormatter
import argparse
import sys
@cumulus13
cumulus13 / mk.py
Last active August 9, 2025 09:03
Show markdown with colors, custom lexer or theme
#!/usr/bin/env python
from rich.console import Console, JustifyMethod
from rich.markdown import Markdown
from rich.theme import Theme
from licface import CustomRichHelpFormatter
from argparse import ArgumentParser
import sys
import os
import clipboard
@cumulus13
cumulus13 / lexer.py
Last active August 9, 2025 09:00
Show and filter/search lexer
#!/usr/bin/env python
#author: Hadi Cahyadi ([email protected])
#license: MIT
from pygments.lexers import get_all_lexers
from rich.console import Console
console = Console()
def show_all_lexers():
@cumulus13
cumulus13 / mpdl.py
Created August 4, 2025 09:30
MPD List, add or remove by album path with colored and Fast
#!/usr/bin/env python3
# ensure you has installed 'mpc'
import os
import time
import sys
from mpd import MPDClient, ConnectionError
from rich import traceback as rich_traceback
rich_traceback.install(width=os.get_terminal_size()[0], theme='fruity', show_locals=False)
RESET = "\033[0m"
@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
}
}
@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 / 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 / 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()