Skip to content

Instantly share code, notes, and snippets.

View JcsnP's full-sized avatar
🌑
Working from moon

Chitsanupong Paenyoi JcsnP

🌑
Working from moon
View GitHub Profile

Change Logs

Server specification for Minecraft BFF SMP Server Season 4

[version] Year-Month-Day

[1.21.11] 2026-01-23

  • Restore backup file Backup at 2026-01-23 00:00:03
  • Remove following mods from server

ข้อมูลเบื้องต้น

  • Minecaft Version: 1.21.8
  • Mode Loader: Fabric
  • Seed: ยังไม่ได้สร้างโลก

Datapacks จาก Vanilla Tweaks

  • Player Head Drops
  • Cauldron Concret
package main
import (
"fmt"
"strings"
)
func WordCount(s string) map[string]int {
count := make(map[string]int)
@JcsnP
JcsnP / currencies-with-flags.json
Last active May 12, 2025 19:11 — forked from ibrahimhajjaj/currencies-with-flags.json
Currencies json that contains currency flag as image data, currency codes, currency name, currency base country name, currency base country code.
[
{
"code": "AED",
"name": "UAE Dirham",
"symbol": "د.إ",
"country": "United Arab Emirates",
"countryCode": "AE",
"flag": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAG5SURBVHja7JdLihRBEEBfVqUU6rQNggiCFxA8gswFRNy49gAeQdx4G8HbuHDvRkRUnKxPZ2dGhous6Y9TtavPZmITtYggXsWPSKOqrCkFK8stgAFKoOr1kiKAt8CD76/f/KYYj//u7bPpU28Mn199eGiBLabg7uWLUePLp08mB/j66xvA1gKVSkK9J/29guuxNCZrVX60905qZlD0xvd5XbPvmN22uo+XCFDZXI2Idjt0txuk9TFM+ve7Yk9MAkAPIKSuI3XdoEMX/aQAd4qSfYpHAI0RbVt0FGA/KYAtyvMMaBTUObRpBh2a0E3cgspewkkJQkDqGm3bQfNPL9/PtIQ+cmjC5OqbTaj9qppRcglCAFej3h9H8P9xnBUgCtRNBllYDj0QmxbWAkgxggiktFjg60PosAeMJnQtAIkRq7poBlIfK5cgRBQdzYC1dtLgVVVRluUJgEQo7XH0RminlBDCKUDK99AIwByXs4gcb0JJafaFc7aCjTlktQBIqpiVAPIYas5AcXEx6LCRzaxjKAn4465GjZ1zs13GBngMPAceLbyFfwJfTP8m2PR6SfGAM7eP07UB/g0Aw73uXdMbeJMAAAAASUVORK5CYII="
},
{
export class HttpError extends Error {
constructor(public status: number, message: string) {
super(message);
this.name = 'HttpError';
}
}
export const customFetchBase = async (endpoint: string, config: RequestInit = {}) => {
const baseURL = process.env.NEXT_PUBLIC_API_URL;
package main
import "fmt"
type Printer interface {
Print()
GetInformation() string
}
// ------------------------------------------------------------------
#include <iostream>
#include <unordered_map>
#include <vector>
#include <algorithm>
using namespace std;
class Fibonacci
{
private:
unordered_map<int, long long> cache;
@JcsnP
JcsnP / keymap.json
Created August 29, 2024 08:32
zed configurations
// Zed keymap
//
// For information on binding keys, see the Zed
// documentation: https://zed.dev/docs/key-bindings
//
# Interface Segregation
class USBInterface:
def __init__(self):
pass
def read(self):
print("reading...")
def write(self):
print("writing...")
@JcsnP
JcsnP / di.py
Created February 9, 2024 19:05
# interace
class MessageService:
def send(self, message) -> str:
pass
class Email(MessageService):
def __init__(self):
pass
def send(self, message):