Skip to content

Instantly share code, notes, and snippets.

View inxomnyaa's full-sized avatar
🐺
Working on WolvesFortress MCBE RPG Server

inxomnyaa inxomnyaa

🐺
Working on WolvesFortress MCBE RPG Server
View GitHub Profile
@inxomnyaa
inxomnyaa / wp_external_viewer.js
Last active August 13, 2025 22:45
WorldPainter External Viewer Script with Persistent Configuration (vibecoded with Claude)
// WorldPainter External Viewer Script with Persistent Configuration
// This script exports the current world and opens it in external 3D viewers
// Import required Java classes
var Properties = Java.type("java.util.Properties");
var FileInputStream = Java.type("java.io.FileInputStream");
var FileOutputStream = Java.type("java.io.FileOutputStream");
var File = Java.type("java.io.File");
var JOptionPane = Java.type("javax.swing.JOptionPane");
var JPanel = Java.type("javax.swing.JPanel");
LYUCS92YXV-eyJsaWNlbnNlSWQiOiJMWVVDUzkyWVhWIiwibGljZW5zZWVOYW1lIjoi5pyd6Zm956eR5oqA5aSn5a24IiwibGljZW5zZWVUeXBlIjoiQ0xBU1NST09NIiwiYXNzaWduZWVOYW1lIjoiVGFvYmFv77ya5p6B5a6i5LiT5LqrICAtLS0g6LCo6Ziy55uX5Y2W77yBIiwiYXNzaWduZWVFbWFpbCI6IkphbWVfQnJhaXRtYW5AaG90bWFpbC5jb20iLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiJGb3IgZWR1Y2F0aW9uYWwgdXNlIG9ubHkiLCJjaGVja0NvbmN1cnJlbnRVc2UiOmZhbHNlLCJwcm9kdWN0cyI6W3siY29kZSI6IkdPIiwicGFpZFVwVG8iOiIyMDI1LTAyLTE5IiwiZXh0ZW5kZWQiOmZhbHNlfSx7ImNvZGUiOiJSUzAiLCJwYWlkVXBUbyI6IjIwMjUtMDItMTkiLCJleHRlbmRlZCI6ZmFsc2V9LHsiY29kZSI6IkRNIiwicGFpZFVwVG8iOiIyMDI1LTAyLTE5IiwiZXh0ZW5kZWQiOmZhbHNlfSx7ImNvZGUiOiJDTCIsInBhaWRVcFRvIjoiMjAyNS0wMi0xOSIsImV4dGVuZGVkIjpmYWxzZX0seyJjb2RlIjoiUlNVIiwicGFpZFVwVG8iOiIyMDI1LTAyLTE5IiwiZXh0ZW5kZWQiOmZhbHNlfSx7ImNvZGUiOiJSU0MiLCJwYWlkVXBUbyI6IjIwMjUtMDItMTkiLCJleHRlbmRlZCI6dHJ1ZX0seyJjb2RlIjoiUEMiLCJwYWlkVXBUbyI6IjIwMjUtMDItMTkiLCJleHRlbmRlZCI6ZmFsc2V9LHsiY29kZSI6IkRTIiwicGFpZFVwVG8iOiIyMDI1LTAyLTE5IiwiZXh0ZW5kZWQiOmZhbHNlfSx7ImNvZGUiOiJSRCIsInBhaWRVcFRvIjoiMjAyNS0wMi0xOSIsI
@inxomnyaa
inxomnyaa / cycle-caps.ahk
Created May 8, 2025 02:05
Cycle the CASE of selected text like on Android via CAPS - AutoHotkey v2
;AHKv2
#SingleInstance Force
#Warn
CapsLock:: {
static state := 0
static originalText := ""
clipboardBackup := A_Clipboard
@inxomnyaa
inxomnyaa / tiktok-live-autohotkey.ahk
Last active April 3, 2025 23:35
Automatic Scene Switcher for TikTok LIVE Studio (AHK & shortcuts)
#Persistent
SetTimer, CheckWindows, 100 ; Check frequently for window changes
global lastActiveWindow := ""
CheckWindows:
; Only run when TikTok LIVE Studio is running
if !WinExist("ahk_exe TikTok LIVE Studio.exe")
return
@inxomnyaa
inxomnyaa / winget-upgrade-selected.ps1
Last active August 9, 2025 23:52
Upgrade Selected Apps via Winget
# Based on https://www.codewrecks.com/post/general/winget-update-selective/ (gist at https://gist.github.com/alkampfergit/2f662c07df0ca379c8e8e65e588c687b)
# Adds a grid for selecting multiple apps
# Fixes packages with truncated names
# Adds a confirmation dialogue before actually upgrading
# Updated to use newer winget commands and improved error handling
# Improved Winget Selective Upgrade Script using Microsoft.WinGet.Client PowerShell Module
# This version uses structured PowerShell objects instead of parsing text output, which is way faster
class Software {
[string]$Name
@inxomnyaa
inxomnyaa / better-github-profile-status.css
Last active January 14, 2022 09:59
GitHub better profile status
/* ==UserStyle==
@name GitHub better profile status
@version 1.0.0
@description Puts the status below the profile picture and makes it always show
@namespace GitHub
@author XenialDan
@homepageURL https://gist.github.com/thebigsmileXD/667a5a024be03d4ac788dde9d2cb69d1
@supportURL https://gist.github.com/thebigsmileXD/667a5a024be03d4ac788dde9d2cb69d1
@updateURL https://gist.githubusercontent.com/thebigsmileXD/667a5a024be03d4ac788dde9d2cb69d1/raw/1a78e232ab96ecde110eea0fca5e566331533a2a/better-github-profile-status.css
==/UserStyle== */
@inxomnyaa
inxomnyaa / clean-deepl.css
Created December 18, 2021 18:34
Clean up deepl, works great with FireFox MultiTranslate addon
.dl_body {
min-height: 100%;
}
.dl_body > * {
display: none !important;
}
.dl_body > .dl_translator_page_container {
display: flex !important;
height: 100%;
width: 100%;
@inxomnyaa
inxomnyaa / HwndHostEx.cs
Created August 9, 2021 02:25 — forked from itsho/HwndHostEx.cs
Hosting an app inside a WPF app (System.Windows.Interop)
using System;
using System.Runtime.InteropServices;
using System.Windows.Interop;
namespace HostingAppTest
{
// based on https://stackoverflow.com/q/30186930/426315
public class HwndHostEx : HwndHost
{
private readonly IntPtr _childHandle;
@inxomnyaa
inxomnyaa / autounping.js
Created April 22, 2021 22:48
Disable ping on reply in Discord (PWA)
// ==UserScript==
// @name autounping
// @namespace Violentmonkey Scripts
// @match *://discord.com/*
// @grant none
// @version 1.1
// @author -
// @description 4/21/2021, 6:00:42 PM
// @noframes
// ==/UserScript==
@inxomnyaa
inxomnyaa / NPC tags
Created December 13, 2020 08:48
SNBT of NPC in MC10 1.16.200 vs MCEE
"":{Armor:[{Count:0b,Damage:0s,Name:"",WasPickedUp:0b},{Count:0b,Damage:0s,Name:"",WasPickedUp:0b},{Count:0b,Damage:0s,Name:"",WasPickedUp:0b},{Count:0b,Damage:0s,Name:"",WasPickedUp:0b}],Attributes:[{Base:0f,Current:0f,DefaultMax:1024f,DefaultMin:-1024f,Max:1024f,Min:-1024f,Name:"minecraft:luck"},{Base:20f,Current:20f,DefaultMax:340282300000000000000000000000000000000f,DefaultMin:0f,Max:340282300000000000000000000000000000000f,Min:0f,Name:"minecraft:health"},{Base:0f,Current:0f,DefaultMax:16f,DefaultMin:0f,Max:16f,Min:0f,Name:"minecraft:absorption"},{Base:0f,Current:0f,DefaultMax:1f,DefaultMin:0f,Max:1f,Min:0f,Name:"minecraft:knockback_resistance"},{Base:0,5f,Current:0,5f,DefaultMax:340282300000000000000000000000000000000f,DefaultMin:0f,Max:340282300000000000000000000000000000000f,Min:0f,Name:"minecraft:movement"},{Base:0,02f,Current:0,02f,DefaultMax:340282300000000000000000000000000000000f,DefaultMin:0f,Max:340282300000000000000000000000000000000f,Min:0f,Name:"minecraft:underwater_movement"},{Base:0,02f,Cur