Skip to content

Instantly share code, notes, and snippets.

View nsvk13's full-sized avatar
🌴

Nikita Simakin nsvk13

🌴
View GitHub Profile
@JNNGL
JNNGL / generator.py
Last active April 19, 2024 01:47
Animated emojis in vanilla Minecraft
#!/usr/bin/python3
import math
import argparse
from PIL import Image
def build_frames(gif, animation_seconds):
num_frames = math.floor(gif.n_frames)
frame_width, frame_height = gif.size
import openai
openai.api_key = "YOUR API KEY HERE"
model_engine = "text-davinci-003"
chatbot_prompt = """
As an advanced chatbot, your primary goal is to assist users to the best of your ability. This may involve answering questions, providing helpful information, or completing tasks based on user input. In order to effectively assist users, it is important to be detailed and thorough in your responses. Use examples and evidence to support your points and justify your recommendations or solutions.
<conversation_history>
User: <user input>
@HexedHero
HexedHero / mc_client_performance_guide.md
Last active May 8, 2024 14:55
Performance guide for Minecraft 1.20.4+ Clients

Performance guide for Minecraft 1.20.4+ Clients

📜 Fabric

Fabric is the "modern" Minecraft modding software that is very modular.
We use Fabric in this guide so install it by going to https://fabricmc.net/use/ Download the .jar or .exe and run it.

Below is a list of performance and utility mods to make your Minecraft experience better and most importantly smooth.
The list is in order of most importance and they all work together including what they do with why to use them.

@Xezard
Xezard / ConfigurationType.java
Last active January 4, 2023 22:54
Simple yml configurations manager for bukkit / spigot.
import lombok.AllArgsConstructor;
import lombok.Getter;
@Getter
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE, makeFinal = true)
public enum ConfigurationType {
CONFIG("config.yml"),
MESSAGES("messages.yml");
@vikassaini01
vikassaini01 / kms
Last active May 5, 2024 05:05 — forked from CHEF-KOCH/KMS_office.cmd
KMS server Windows
Online kms host address:
--------
kms.digiboy.ir
54.223.212.31
kms.cnlic.com
kms.chinancce.com
kms.ddns.net
franklv.ddns.net
k.zpale.com
m.zpale.com