Skip to content

Instantly share code, notes, and snippets.

View dw5's full-sized avatar
🇨🇭
Making better tasting swiss cheese for mail

dw5

🇨🇭
Making better tasting swiss cheese for mail
View GitHub Profile
@dw5
dw5 / FindInArchive.cxx
Created November 1, 2019 13:43 — forked from kris7t/FindInArchive.cxx
PACK file decompilation
SLibEntryRef __thiscall SFileSystem__FindInArchive(SFileSystem *this, int index, const char *str)
{
SLibEntryRef result; // qax@3
char name_offset; // ST13_1@14
const char *name; // ST18_4@14
unsigned __int8 name_length; // ST12_1@14
SFileSystem *self; // [sp+0h] [bp-14h]@1
int cmp; // [sp+8h] [bp-Ch]@14
SLibEntryHead *lib_entry; // [sp+Ch] [bp-8h]@13
SLibEntryRef *ref; // [sp+Ch] [bp-8h]@14
@dw5
dw5 / swine_hd_patch.txt
Last active April 11, 2020 14:41 — forked from kris7t/gist:2850110
Patch S.W.I.N.E. v1.9 to support 800x600, 1366x768, 1920x1080, 1920x1200 (loses support for 1024x768, 1280x1024, 1600x1200).
This difference file has been created by IDA Pro
swine.exe
0012F735: 30 33
0012F736: 32 36
0012F737: 34 36
0012F741: 32 39
0012F742: 38 32
0012F747: 32 38
0012F748: 34 30
@dw5
dw5 / ffmpeg.md
Created November 23, 2019 19:55 — forked from dvlden/ffmpeg.md
Convert video files to MP4 through FFMPEG

This is my personal list of functions that I wrote for converting mov files to mp4!

Command Flags

Flag Options Description
-codec:a libfaac, libfdk_aac, libvorbis Audio Codec
-quality best, good, realtime Video Quality
-b:a 128k, 192k, 256k, 320k Audio Bitrate
-codec:v mpeg4, libx264, libvpx-vp9 Video Codec
@dw5
dw5 / Google Translate Core files
Last active April 22, 2021 11:50 — forked from pi0/Core files
Google translate Offline Language Files
https://dl.google.com/translate/offline/v3/r1/c.zip
https://dl.google.com/translate/offline/v3/r1/profiles.txt
@dw5
dw5 / stslte-notes.md
Created May 12, 2021 19:33 — forked from JamesHagerman/stslte-notes.md
My notes about running srsLTE

srsLTE notes

These are notes I've taken while rying to get srslte up and running. This is messy, sorry...

Working solution - LimeSDR + SoapySDR + srsLTE

Dependencies:

sudo apt install tree vim git g++ make cmake pkg-config libpython-dev python-numpy swig libi2c-dev libusb-1.0-0-dev libfftw3-dev libmbedtls-dev libboost-program-options-dev libconfig++-dev libsctp-dev gnuradio
<table class="table table-remaining">
<tbody><tr>
<td>Iš viso mokėti:</td>
<td align="right"><div class="remaining_text"><span class="remaining">15.71 €</span></div><button onclick="window.location=&quot;/mokejimai/&quot;;" class="btn btn-mezon">Peržiūrėti/Mokėti</button></td>
</tr>
</tbody></table>
@dw5
dw5 / disposable-email-provider-domains
Created August 14, 2021 13:21
List of disposable email provider domains
0815.ru
0wnd.net
0wnd.org
10minutemail.co.za
10minutemail.com
123-m.com
1fsdfdsfsdf.tk
1pad.de
20minutemail.com
21cn.com
@dw5
dw5 / phpdangerousfuncs.md
Created August 17, 2021 20:39 — forked from mccabe615/phpdangerousfuncs.md
Dangerous PHP Functions

Command Execution

exec           - Returns last line of commands output
passthru       - Passes commands output directly to the browser
system         - Passes commands output directly to the browser and returns last line
shell_exec     - Returns commands output
\`\` (backticks) - Same as shell_exec()
popen          - Opens read or write pipe to process of a command
proc_open      - Similar to popen() but greater degree of control
pcntl_exec - Executes a program
# NGiNX reverse proxy configuration for Jellyfin
#
# Use this configuration on NGiNX running on the same server as your Jellyfin instance. Replace the values as needed.
# LetsEncrypt is enabled and configured using `certbot`: install it via apt on Debian (`sudo apt install certbot`) or
# your package manager of choice. To start, make only the first section (port 80) active, then once that configuration
# is active, run Certbot for the first time to request your cert. Then, add the second section (port 443) and reload.
# With this config left in place, Certbot's automatic renewal will work and automatically replace the cert and
# reload NGiNX as needed, without interrupting your Jellyfin instance.
#
# Certbot request command:
@dw5
dw5 / db-os.txt
Last active April 17, 2025 09:41
windows
linux
macos / darwin
haikuos / beos
riscos / custom
Atlas-OS / winnt
ReviOS / winnt
reactos / winnt foss
Redox (https://redox-os.org/) / rust, unix like - custom
serenityos / unix like - custom