Skip to content

Instantly share code, notes, and snippets.

View Vazgen005's full-sized avatar
🥱
brrrr

Vazgen Vazgen005

🥱
brrrr
View GitHub Profile
@TheSainEyereg
TheSainEyereg / pterodactyl-upnp.md
Last active September 23, 2025 09:49
Bash script for opening assigned Pterodactyl/Pelican allocation ports via UPnP

Bash script for opening assigned Pterodactyl/Pelican allocation ports via UPnP

Requirements

  • Application API key with read acces to allocations
  • Node ID

How to

  1. Place pterodactyl-upnp.sh file to the same system Wings is running on
  2. Edit the PANEL_URL, API_KEY, NODE_ID variables, as well as additional ones if necessary.
  3. chmod +x pterodactyl-upnp.sh
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 8, 2025 12:10
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@kkrypt0nn
kkrypt0nn / ansi-colors-discord.md
Last active November 30, 2025 20:59
A guide to ANSI on Discord

A guide to ANSI on Discord

Discord is now slowly rolling out the ability to send colored messages within code blocks. It uses the ANSI color codes, so if you've tried to print colored text in your terminal or console with Python or other languages then it will be easy for you.

Quick Explanation

To be able to send a colored text, you need to use the ansi language for your code block and provide a prefix of this format before writing your text:

\u001b[{format};{color}m
@benigumocom
benigumocom / debug_from_qr.py
Last active May 9, 2025 19:00
Connect Wireless Debug from Terminal on Android11
#!/usr/bin/env python3
"""
Android11
Pair and connect devices for wireless debug on terminal
python-zeroconf: A pure python implementation of multicast DNS service discovery
https://github.com/jstasiak/python-zeroconf
"""
@wavezhang
wavezhang / java_download.sh
Last active December 3, 2025 23:54
download java from oracle without login
wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz