Skip to content

Instantly share code, notes, and snippets.

View MagicD3VIL's full-sized avatar

Michael Slíva MagicD3VIL

  • Czech Republic
  • 12:31 (UTC +02:00)
View GitHub Profile
@eacpereira
eacpereira / StarfieldSFSECompleteConsoleCommands.md
Created September 18, 2023 18:24
Complete list of Starfield Console Commands with SFSE on. Minimally Edited.

Console Commands

Command Description
Show Show script value
ShowVars Show variables on object. You can optionally specified a papyrus variable or script to filter with [player|sv]
ShowGlobalVars Show all global variables.
ShowQuestVars Show quest variables. You can optionally specified a papyrus variable or script to filter with [svq QuestID]
ShowQuests List quests.
ShowQuestAliases Show quest aliases. [ShowQuestAliases QuestID]
SetPapyrusQuestVar Set a Papyrus property on the specified quest.
@spr2-dev
spr2-dev / pattern_matching.md
Last active March 9, 2024 19:54
A quick beginner guide on Lua pattern matching

Lua Pattern Matching Cheat Sheet

Table Of Contents

  1. What's a pattern ?
  2. Positional characters
  3. Common matching characters
  4. Ranges, character sets and logic
  5. Quantifiers
  6. Capture groups
  7. Examples
@kode54
kode54 / hesuvi_convert.c
Last active September 21, 2022 05:50
This fairly simple tool converts all HeSuVi 14 channel presets into 7.0 formatted _L/_R stereo pairs, for use with the soon to be updated PulseAudio module-virtual-surround-sink, which I've updated with a faster FFT overlap-save convolver, eliminated the sample length limits for impulses, and added support for asymmetrical/dual impulse mode.
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#define SPEAKER_FRONT_LEFT 0x1
#define SPEAKER_FRONT_RIGHT 0x2
#define SPEAKER_FRONT_CENTER 0x4
#define SPEAKER_LFE 0x8
#define SPEAKER_BACK_LEFT 0x10
@leafo
leafo / app.lua
Created July 10, 2014 05:17
Spreading a Lua Lapis application across multiple files
local app = lapis.Application()
package.loaded.app = app
require "app_1"
require "app_2"
return app