This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Visual Studio 2022 | |
| Enterprise : | |
| VHF9H-NXBBB-638P6-6JHCY-88JWH | |
| Professional: | |
| TD244-P4NB7-YQ6XK-Y8MMM-YWV2J |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| import os | |
| import sys | |
| import re | |
| import traceback | |
| import argparse | |
| import glob | |
| import shutil |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Persistent | |
| SetTitleMatchMode, 2 | |
| Loop { | |
| WinWait, Steganos Privacy Suite 21 | |
| IfWinExist, Steganos Privacy Suite 21 | |
| { | |
| ControlClick, Button1, Steganos Privacy Suite 21 | |
| Sleep, 100 | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| #author: Hadi Cahyadi (cumulus13@gmail.com) | |
| #license: MIT | |
| from pygments.lexers import get_all_lexers | |
| from rich.console import Console | |
| console = Console() | |
| def show_all_lexers(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
OlderNewer