Skip to content

Instantly share code, notes, and snippets.

View FelixWolf's full-sized avatar
💭
https://youtu.be/NvVFHIr6T9Y

Kyler "Félix" Eastridge FelixWolf

💭
https://youtu.be/NvVFHIr6T9Y
View GitHub Profile
// WARNING: THIS MAY CONTAIN BUGS
// I hereby waive all rights to this code to Linden Lab / Second Life
// Should be covered by contributor agreement anyway, I think?
// Everyone else can use this as LGPL.
#include "library.h"
#include "linden_common.h"
#include "lscript_library.h"
void llList2TypedString(LLScriptLibData *retval, LLScriptLibData *args, const LLUUID &id)
#include "linden_common.h"
#include "lscript_library.h"
#include "llbase64.h"
#include <cstring> // For memcpy
#include <netinet/in.h> // For htonl
void llFloatToBase64(LLScriptLibData *retval, LLScriptLibData *args, const LLUUID &id)
{
retval->mType = LST_STRING;
#!/usr/bin/env python3
with open("comm.dat", "rb") as f:
d = f.read()
d = bytearray(d)
key = 0
for i in range(len(d)):
d[i] = d[i] ^ ((key * 43) % 256)
key += 1
@FelixWolf
FelixWolf / filter_legal_legalcn_decrypt.py
Last active February 26, 2025 23:08
👀 Sink your social credit in one easy step! 📉😲
[felix@crocuta furc3ds]$ cmake -DCMAKE_BUILD_TYPE=Debug -DPLATFORM=N3DS -B build .
-- The CXX compiler identification is GNU 14.2.0
-- Detected multilib folder: armv6k/fpu
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/devkitpro/devkitARM/bin/arm-none-eabi-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The C compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
#include "fox5.h"
#if __has_include("fox5cipher.h")
#include "fox5cipher.h"
#define HAS_CIPHER
#endif
#include <fstream>
#include <string>
#include "LzmaDec.h"
#include <iostream>
@FelixWolf
FelixWolf / icongen.py
Last active October 5, 2024 12:52
3DS icon generator #Homebrew #3DS
#!/usr/bin/env python3
"""
Copyright (c) 2024 Kyler "Félix" Eastridge
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
@FelixWolf
FelixWolf / dsvardbg.ds
Created August 19, 2024 17:39
Dragonspeak variable debugger
*DS Variable debugger
*Created by Kyler "Felix Wolf" Eastridge
* DS variable debugger. Usage:
* `!getintvar <index>` - Get int variable
* `!setintvar <index> <x> [y]` - Set int variable to a value
* `!getstrvar <index>` - Get string variable
* `!setstrvar <index> <value>` - Set a string variable to a value. (Quotes allowed, intentionally avoided `[PARAM2]` to allow for quotes.)
* `!getstrtable <index>` - Retrieve a DS string table (the .txb file)
*
@FelixWolf
FelixWolf / main.liq
Created August 9, 2024 04:43
Liquidsoap server code (Don't expose the harbor HTTP to public, that's not password protected.. yet)
#!/usr/bin/liquidsoap -v
#settings.init.daemon := true
settings.init.daemon.change_user := true
settings.init.daemon.change_user.group := "liquidsoap"
settings.init.daemon.change_user.user := "liquidsoap"
settings.init.daemon.pidfile := true
settings.init.daemon.pidfile.path := "/etc/liquidsoap/main.pid"
settings.log.level := 2

Something that I dislike is that how you have people on the far side of political spectrums go "It's Us vs. Them" and refusing to associate with anyone who isn't politically like minded, so the point they may even shove out those who are centristic in view. (I've seen people claim "Centrists want to find a middle ground between <extreme stance 1> and <extreme stance 2>", like say, between "equal rights" and "slavery")
It leads to people who aren't like this to become suspicious of associating with anyone who is on that side.

For example:
Let's say Side A has few members who are far sided and shun anyone who doesn't agree with them. Then you have some members who are Side B who have differing views, but are level headed and respect other's opinions. (Respect != agree, important distinction here!)
The far sided Side A members see these Side B members show up to a place, and tell Side B "We don't want you here, we don't like ". Side B