Skip to content

Instantly share code, notes, and snippets.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active September 1, 2025 11:48
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for non-video, non-activity quests! For stream/play quests use the desktop app!

Note

When doing stream quests, you need at least 1 other account in the vc!

How to use this script:

  1. Accept a quest under Discover -> Quests
@amrza
amrza / run.py
Last active September 1, 2025 11:44
How to write RTL(Arabic/Persian) text on images in python.
# Tested on Python 3.6.1
# install: pip install --upgrade arabic-reshaper
import arabic_reshaper
# install: pip install python-bidi
from bidi.algorithm import get_display
# install: pip install Pillow
from PIL import ImageFont
@jackblk
jackblk / disable-auto-update-android.md
Last active September 1, 2025 11:43
disable auto update on android, this is for samsung phone

This guide is for Windows.

  • Connect phone via USB to PC, wait a while for drivers to install.
  • Install "Minimal ADB Fastboot" (from XDA-Developers).
  • Enable USB DEBUG under "Config / Developer Options" on phone.
  • Open a Command Prompt under the folder "C:\Program Files (x86)\Minimal ADB and Fastboot"
  • Open phone adb shell: adb shell
  • Use the following commands:

Ghostty Keyboard Shortcuts

Default keyboard shortcuts for Ghostty terminal emulator. Platform-specific differences are noted where applicable.

Window Management

Action Windows/Linux macOS
New window Ctrl+Shift+N Cmd+N
Close window Alt+F4 Cmd+Shift+W
@Blackshome
Blackshome / notifications-and-announcements.yaml
Last active September 1, 2025 11:37
notifications-and-announcements.yaml
blueprint:
name: Notifications & Announcements
description: >
# πŸ“’ Notifications & Announcements
**Version: 1.5**
State your trigger and spread the word πŸ’¬πŸ”‰
@Blackshome
Blackshome / low-battery-notifications-and-actions.yaml
Last active September 1, 2025 11:37
low-battery-notifications-and-actions.yaml
blueprint:
name: Low Battery Notifications & Actions
description: >
# πŸͺ« Low Battery Notifications & Actions
**Version: 2.9**
πŸš€ Stay Charged, Stay Smart! Let's automate and take charge of your battery maintenance!πŸ”‹βš‘
@CHSuworatrai
CHSuworatrai / VMware vSphere 6.x Licence Keys
Created April 8, 2021 09:20 — forked from DVSB/VMware vSphere 6.x Licence Keys
VMware vSphere 6 and 7 Licence Keys
VMware vSphere 6 Enterprise Plus
1C20K-4Z214-H84U1-T92EP-92838
1A2JU-DEH12-48460-CT956-AC84D
MC28R-4L006-484D1-VV8NK-C7R58
5C6TK-4C39J-48E00-PH0XH-828Q4
4A4X0-69HE3-M8548-6L1QK-1Y240
VMware vSphere with Operations Management 6 Enterprise
4Y2NU-4Z301-085C8-M18EP-2K8M8
1Y48R-0EJEK-084R0-GK9XM-23R52
@yrro
yrro / backup.py
Last active September 1, 2025 11:22
Orchestrate backups via borgbackup
#!/usr/bin/python3
# Usage: 'backup' alone will back the system up
# 'backup ARGS' will run borg with ARGS, configuring repository location, passphrase etc.
# e.g., 'backup list ::' will list backups in the repository
# Goals: run on RHEL 8's default Python interpreter (3.6) with no non-RHEL packages required
# Non-goals: backing up multiple filesystems, any configurability save modifying values set
# in code.
@rgov
rgov / reboot-recovery.c
Last active September 1, 2025 11:14
Tool to reboot an NVIDIA Jetson device into recovery mode
/*
Tool to reboot an NVIDIA Jetson device into recovery mode. Run as root.
Based on https://forums.developer.nvidia.com/t/remote-reboot-into-recovery-mode/36032/4
*/
#include <linux/reboot.h>
#include <sys/syscall.h>
#include <unistd.h>
int main() {