Skip to content

Instantly share code, notes, and snippets.

@crzsotona
crzsotona / Ubuntu 22.04 Enhanced Session
Created June 10, 2025 00:44
Ubuntu 22.04 + Hyper V + Enhanced Session mode + XRDP PulseAudio
Credits
# https://c-nergy.be/blog/?p=13655
# https://askubuntu.com/questions/844245/how-to-compile-latest-pulseaudio-with-webrtc-in-ubuntu-16-04
# https://askubuntu.com/questions/496549/error-you-must-put-some-source-uris-in-your-sources-list
# https://unix.stackexchange.com/questions/65167/enable-udev-and-speex-support-for-pulseaudio
# https://rudd-o.com/linux-and-free-software/how-to-make-pulseaudio-run-once-at-boot-for-all-your-users
# https://gist.github.com/rkttu/35ecab5604c9ddc356b0af4644d5a226
# Installation and Enhanced session
# follow steps on the post below, I installed Ubuntu 22.04 on a Windows 11 machine
@crzsotona
crzsotona / stalker.xls
Created April 6, 2025 14:59
Stalker Shadow of Chernobyl xlst transform for game dialogs xmls
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<html>
<head>
<title>String Table</title>
</head>
<body>
<h1>String Table</h1>
@crzsotona
crzsotona / firetv_firmware.md
Created July 30, 2023 00:41 — forked from JulyIghor/firetv_firmware.md
Amazon Fire TV Stick 4K Firmware and apps. Official Cloud Front direct links only

FireTV 2nd gen Cube Firmware
github.com/Pro-me3us/raven_firmware

Fire TV Stick 4K Firmware

Date Version Download MD5
2019-08-20 Fire OS 6.2.6.5 (NS6265/2157) update-kindle-mantis-NS6265_user_2157_0002852679044.bin 09289b141c8339fe675cb0204689071f
2019-10-09 Fire OS 6.2.6.6 (NS6266/2292) update-kindle-mantis-NS6266_user_2292_0003054040196.bin 253162813010472bb8d54fc8b8eb7b80
2019-11-02 Fire OS 6.2.6.8 (NS6268/2315) [update-kindle-mantis-NS6268_user_2315_0003255372676.bin](https://d1s31zyz7dcc2d.cloudfront.net/5188853d0c8dd0c460b31b985065e071/update-kindle-mantis-NS6268_user_2315_0003255372676
@crzsotona
crzsotona / dishonored2_cvars.txt
Created May 17, 2020 19:10 — forked from fakuivan/dishonored2_cvars.txt
All cvars for Dishonored 2 as of version ``1.77.9.0``, in the format: <cvar struct address> | <cvar name> = <cvar default value> | <cvar int value address> -> <current int value>\n<cvar description>
Dishonored2.exe+3BFC7F0 | aas_subdivisionSize = 64 | Dishonored2.exe+3BFC818 -> 64
the size of subdivisions to use for debug drawing
Dishonored2.exe+340CC20 | achievements_Verbose = 0 | Dishonored2.exe+340CC48 -> 0
debug spam for achievements
Dishonored2.exe+3BFA570 | ai_debugCam = 0 | Dishonored2.exe+3BFA598 -> 0
enable debug camera
Dishonored2.exe+3BFA470 | ai_debugScript = -1 | Dishonored2.exe+3BFA498 -> 4294967295
@crzsotona
crzsotona / grant_all_permissions.sh
Created February 5, 2020 21:21 — forked from nitiwari-dev/grant_all_permissions.sh
How to grant all permissions at once in marshmallow using shell script
#!/bin/sh
#Author - Nitesh Tiwari
#Github - https://github.com/nitiwari-dev
#add your package_name
PACKAGE=com.coderconsole
#create array with all the permission you need to enabled
PKG_ARRAY='android.permission.CALL_PHONE
android.permission.GET_ACCOUNTS
@crzsotona
crzsotona / gist:e6c1d9f0aa6059b4de6a128750726934
Created July 5, 2019 14:59 — forked from rctphone/gist:62f75cf2f0293bdc9dd27eebac1d5c61
How to solve "APFS inverter failed to invert the volume" error
After cloning APFS drives using Disk Utility it usually ends with a volume containing ContainerToInvert file with the size of a cloned partition.
Don't be afraid, using the following steps you can mount this file as APFS container and get all partitions.
1. Requirements
We need FUSE and xmount installed
2. Terminal
Open Terminal app and type the following:
$ sudo mkdir /Volumes/apfs_image/