Skip to content

Instantly share code, notes, and snippets.

View the-byte-bender's full-sized avatar

the-byte-bender

  • 09:14 (UTC +03:00)
View GitHub Profile
@the-byte-bender
the-byte-bender / ipa.pyw
Last active October 19, 2024 19:35
quickly access English phonemes in IPA, grab the one you need mid-writing, and paste it directly.
import wx
import pyperclip
class IPASelector(wx.Frame):
def __init__(self):
super().__init__(parent=None, title="IPA Selector")
panel = wx.Panel(self)
self.ipa_symbols = [
@the-byte-bender
the-byte-bender / script.dart
Created December 2, 2023 13:22
Script to encrypt/decrypt sounds for mist world
import 'dart:io';
import 'dart:convert';
List<int> applyXOR(List<int> data, int soundId) {
List<int> XOR_KEY = [8, 5, 13, 5, 97, 4, 63, 27];
XOR_KEY[0] ^= (soundId & 0xFF);
XOR_KEY[6] ^= ((soundId >> 8) & 0xFF);
for (int i = 0; i < data.length; i += 32) {