Skip to content

Instantly share code, notes, and snippets.

View BoBkiNN's full-sized avatar
🐇

BoBkiNN_ BoBkiNN

🐇
  • Kazakhstan
  • 12:28 (UTC +05:00)
View GitHub Profile
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active July 18, 2024 15:23
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

This no longer works if you're alone in vc! Somebody else has to join you!

Warning

There are now two quest types ("stream" and "play")! Pay attention to the instructions!

@EgorBron
EgorBron / pyasyncs_async.py
Last active November 17, 2022 16:31
Асинхронность в Pyhton на примере готовки завтрака
import asyncio, time
from typing import List
class Toast:
is_fried = False
with_butter = False
with_jam = False
def start_fry(self):
print("Начинаем готовить тост.")
def end_fry(self):
@LIMPIX31
LIMPIX31 / suppressor.md
Last active June 3, 2024 12:49
Гайд по сапрессору на Paper

И так, вы все любите сапрессор, поэтому я решил подробно описать как это сделать, я буду дополнять статью со временем, т.к. сейчас пишу с телефона, так же не стесняйтесь задавать вопросы мне в дискорде(LIMPIX31#9144) или Telegram (@LIMPIX31).

Если это гайд вам помог, то пожалуйста оставьте звёздочку и комментарий, чтобы я знал, что улучшить или дополнить.

1.19 (fixed)

Я немного забросил тему с сапрессором и похоже, что сапрессор оффициально исправлен Mojang. 😕

Сборка из патча (1.18.2 или другая версия)

Поехали.

@tomasdev
tomasdev / minecraft-emoji.md
Last active July 23, 2024 06:24
Minecraft allowed emojis

Minecraft allowed emojis

Ever wondered how to insert emoji in minecraft? Well turns out Minecraft supports only a subset of emoji (old one) but you can copy-paste these in it!

Screenshot of the emojis being rendered in Minecraft

These also look great on signs!

Minecraft sign with glowing effect showcasing arrows

@nickelpro
nickelpro / mcvarint.py
Created November 5, 2013 02:20
Two python functions that implement the new Minecraft varint type (32-bit signed integers packed into Google protobuf varints). Packs varints into a byte string, unpacks varints from a buffer that has a read(bytes) method. Supports negative numbers even though they aren't used in the current protocol.
import struct
def pack_varint(val):
total = b''
if val < 0:
val = (1<<32)+val
while val>=0x80:
bits = val&0x7F
val >>= 7
total += struct.pack('B', (0x80|bits))