Skip to content

Instantly share code, notes, and snippets.

@thelabcorner
thelabcorner / minecraft-emoji.md
Last active June 1, 2025 04:51 — forked from Krakenied/minecraft-emoji.md
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

@Matt-MX
Matt-MX / scheduling.kt
Last active September 4, 2024 23:28
Utility file to easily call all task types in your Kotlin Bukkit plugins
package co.pvphub.championship.backend.util
import com.mattmx.ktgui.extensions.color
import org.bukkit.Bukkit
import org.bukkit.entity.Player
import org.bukkit.plugin.java.JavaPlugin
import org.bukkit.scheduler.BukkitTask
import java.util.concurrent.CompletableFuture
import java.util.concurrent.Future
import java.util.concurrent.TimeUnit
@osipxd
osipxd / !paper-versions.md
Last active June 9, 2025 22:36
Paper versions links
@MuhammadSaim
MuhammadSaim / rarreg.key
Last active June 7, 2025 02:42
Step 1: Create a file called rarreg.key Step 2: Paste into the file the raw content of this gist Step 3: Go to Winrar install directory (by default => c:\ProgramFiles\WinRAR\ ) Step 4: Paste the rarreg.key into WinRAR directory Step 5: Enjoy
RAR registration data
WinRAR
Unlimited Company License
UID=4b914fb772c8376bf571
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9
@mifung
mifung / Cosmos DB SQL queries.md
Last active August 19, 2024 21:16
Cheat Sheet for Cosmos DB SQL queries

Notes

  • Search text is case sensitive
  • Try to force attribute and text in your search to be in the same case
  • Wildcard search use STARTSWITH and ENDSWITH
  • two different types of nulls:
  • missing elements
  • actual null values.
  • Use IS_NULL()and IS_DEFINED() functions, to detect missing attributes and ternary logic
  • Cosmos DB SQL currently does not have an equivalent of SQL LEFT() function. Instead, use SUBSTRING()
  • There is no Year() function in Cosmos DB SQL, use SUBSTRING() to the date string and isolate
@jedimstr
jedimstr / identify_drive.sh
Created July 31, 2017 04:28
Identify Drive for unRAID or Linux
#!/bin/bash
export OMIT=0
[ ${DEBUG:=0} -gt 0 ] && set -x -v
declare -a DRIVES MODELS CHOICE
typeset -x DRIVES MODELS CHOICE CMDS
TMPFILE="/tmp/identify_drive.$$"
@dersam
dersam / gitkraken.zsh
Last active March 13, 2025 01:32
Open GitKraken using the current repo directory in the cli.
## Open GitKraken using the current repo directory.
## For when you want a prettier view of your current repo,
## but prefer staying in the cli for most things.
## This will break if GitKraken ever removes the -p flag.
## If you're not using OSX, the path is definitely different.
kraken () {
~/Applications/GitKraken.app/Contents/MacOS/GitKraken -p $(pwd)
}
@parmentf
parmentf / GitCommitEmoji.md
Last active June 6, 2025 16:10
Git Commit message Emoji
@steelThread
steelThread / 1.setup.md
Created July 11, 2011 20:11
Quick study on using Redis as a scoring engine

Redis Groups

Small prototype to look at group and ranking across a lot of users.

Setup

  • 10^6 players (can easily bump)
  • 20,000 groups
  • users are randomly put into 0..5 groups using a good distribution random # generator
  • all users are playing a single game
  • assuming the setup is a point in time somewhere during the game