Skip to content

Instantly share code, notes, and snippets.

View DavyCraft648's full-sized avatar
⁉️
Who am I?

Asfadavy Aulia A. DavyCraft648

⁉️
Who am I?
View GitHub Profile
@Alemiz112
Alemiz112 / PaletteHashTest.java
Last active May 25, 2025 15:26
Example implementation of Minecraft: Bedrock block state network hash computation
public class PaletteHashTest {
private static final int FNV1_32_INIT = 0x811c9dc5;
private static final int FNV1_PRIME_32 = 0x01000193;
public static void main(String[] args) throws Exception {
NbtMap blockState = NbtMap.builder()
.putString("name", "minecraft:bamboo_hanging_sign")
.putCompound("states", NbtMap.builder()
.putInt("facing_direction", 3)
@Endermanbugzjfc
Endermanbugzjfc / profanity_filter.wlist
Last active September 4, 2022 08:37
[NSFW] MCBE Profanity Filter (1.16.0.67, for anyone that is confused by Dylan)
1488
8=D
A55hole
abortion
ahole
AIDS
AIDs
ainujin
ainuzin
akimekura
@Muqsit
Muqsit / WeightedRandom.php
Last active May 16, 2024 22:39
Weighted random in PHP with O(1) runtime complexity (Alias Method)
<?php
declare(strict_types=1);
use pocketmine\utils\Binary; // https://github.com/pmmp/BinaryUtils
use pocketmine\utils\Random; // https://github.com/pmmp/PocketMine-MP/blob/60938c8c9df4bf21d096f142c6579dfad92eb8c2/src/utils/Random.php
/**
* @phpstan-template T
*/
@Pulimet
Pulimet / AdbCommands
Last active December 31, 2025 23:19
Adb useful commands list
Hi All!
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future.
Feel free to request any features you'd like to see, and I'll prioritize them accordingly.
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it.
Here's the link to the repository: https://github.com/Pulimet/ADBugger
App Description:
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups.