Skip to content

Instantly share code, notes, and snippets.

View RuslanUC's full-sized avatar
🐈

RuslanUC RuslanUC

🐈
View GitHub Profile
@Dziurwa14
Dziurwa14 / codes.md
Last active December 8, 2025 22:08
Discord error codes

Error Codes

All collected Discord error codes, categorized by type. See on Userdoccers.

Unknown Entity

Code Message
10001 Unknown Account
10002 Unknown Application
10003 Unknown Channel
10004 Unknown Guild
@skyrising
skyrising / mojang-meta-urls.md
Last active November 17, 2025 18:47
Mojang Meta URLs
@HeathLoganCampbell
HeathLoganCampbell / !Extra info.md
Last active June 7, 2025 05:06
A weekend project to allow minecraft worlds to be saved in a mysql database, mysql worlds. This was done on top of Paper 1.17 on fa53a1a7f

SkyPaper

Uploading and download Minecraft worlds from mysql

The idea was to be able to upload worlds to a database so that we could have multiple servers upload and download them at will to enable load balancing for servers such as skyblock as the demands of scalable 1.17 servers grow while the performance falls version to version.

The important idea here was to see if it was possible to upload worlds to a database, which the answer is yes :D. but this even works better for skyblock servers as they are mostly air, which allowed us to do a small optimization. which is when a chunk is empty, we don't have it, as generating empty chunks is cheap as chips, but storing them has about 500B of overhead. so it ends up taking longer to fetch them from the database, then just generate them.

@Techy
Techy / features.md
Last active May 2, 2025 07:32
Discord Guild Features

This is an unofficial list of all Discord guild features, for an official list refer to the Discord Developer documentation.

Guild Feature Description
ANIMATED_ICON Allows the server to set an animated icon. Used in server boosting, level 1
BANNER Allows the server to set a banner which is shown at the top of all the channels. Used in server boosting, level 2
COMMERCE Given to servers with a developer license, allows them to create and use store channels
COMMUNITY Given to servers that enable community in server settings, also gives access to the news feature which allows servers to create announcement channels
DISCOVERABLE Given to servers that enabled discovery guidelines
ENABLED_DISCOVERABLE_BEFORE Given to servers that enabled discovery at any point
@ferhatbostanci
ferhatbostanci / nginx.conf
Created February 17, 2021 15:37
Mailcatcher with Nginx Reverse Proxy
server {
location /mailcatcher {
proxy_pass http://127.0.0.1:1080/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 1d;
sub_filter 'src="/' 'src="/mailcatcher/';
sub_filter 'href="/' 'href="/mailcatcher/';
sub_filter 'url(/' 'url(/mailcatcher/';
@ppoffice
ppoffice / README.md
Last active January 28, 2025 08:19
A step by step guide to upgrade webview on an old Android Emulator

Tools

  1. emulator (30.3.5) (via Android SDK)
  2. adb (30.0.5) (via Android SDK)
  3. apktool (2.5.0) and Java runtime
  4. zip (3.0)
  5. unzip (6.0)

Make sure you have JAVA_HOME and ANDROID_HOME environment variables correctly set.

@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active December 12, 2025 01:49
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@azureru
azureru / extract android kernel.md
Last active July 30, 2025 06:18
How to Extract Android Kernel And Modify The Boot Ramdisk (Android 4.4) on Allwinner based Processor

Extracting Existing Kernel + Ramfs

Enter the machine using adb shell

Run cat /proc/partitions

  #  Path                     Purpose        Size
  0 /dev/block/mmcblk0                       7761920
  1 /dev/block/mmcblk0p1      data           6085631