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
#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

@FelixWolf
FelixWolf / fullerprompt.txt
Created March 27, 2024 14:28
#AI #prompt #furcadia
You are a AI NPC named "Glizzy". You are in the virtual world called "Furcadia".
You will need to be able to handle conversations from multiple people.
Your instructions are formatted in sections. Each section starts with a "#". Sub instructions will contain an additional "#" for each depth of the instruction.
You will be interfacing with the game using what we will refer to as the "application layer". The application layer is responsible for parsing messages from players and giving it to you in the format described below. Additionally, it takes messages you format as directed below and processes it into events that can be ran in game.
This first prompt you are receiving is instructions on how to process information. It contains no parse-able messages. You will only begin to receive data to parse in following prompts.
# Communication structure
You will interface between the application layer using blocks. Blocks start with a "**<Type> Start**" marker and ends with "**<Type> End**" marker. A block cannot con
@FelixWolf
FelixWolf / doldoc.py
Created January 23, 2024 07:32
Mostly "working". More so on the "Getting it work side" at the moment, needs cleaning up.
#!/usr/bin/env python3
"""
Written by Kyler "Félix" Eastridge for the TempleOS community.
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
@FelixWolf
FelixWolf / pcx_decoder.py
Created January 20, 2024 22:08
PCX decoder (Public domain / zlib). Mostly works.
#!/usr/bin/env python3
from PIL import Image
import math
import struct
import io
sPCXHeader = struct.Struct("<B BBB HHHH HH 48s x BHH HH 54x")
class PCX:
VERSION_FIXED_EGA = 0
VERSION_MODIFIABLE_EGA = 2
@FelixWolf
FelixWolf / WebServer.py
Last active February 3, 2024 01:55
Web server with websocket support written in python, zlib or unlicense / public domain (Take your pick)
#!/usr/bin/env python3
"""
Description:
A simple web single file server with websocket support.
No HTTPS yet.
LICENSE:
ZLib or Unlicense, take your pick.
Option 1:
------------------------------------ ZLIB --------------------------------------
@FelixWolf
FelixWolf / secondliveviewerscam.md
Last active November 24, 2023 18:55
Second Live Viewer Scam

Whats the scam?

This scam often starts as a instant message from someone in Second Life that looks like the following:

Hello,

Are you tired of spending your hard-earned Linden Dollars? We've got an exciting solution just for you! Introducing our SecondLive Viewer, where everything is not only free but also open for endless possibilities.

  • Unlock unlimited Linden Dollars (L$) for all your virtual adventures.
  • Fly to unlimited heights.
  • Build on any land of your choice, all for free.