Skip to content

Instantly share code, notes, and snippets.

View sudotman's full-sized avatar
🐈
rolling my boulder

Satyam Kashyap sudotman

🐈
rolling my boulder
  • Mumbai
  • 12:44 (UTC +05:30)
View GitHub Profile
@sudotman
sudotman / quest3CameraIntrinsics
Last active November 10, 2025 09:47
quest 3's camera intrinsics dump
original resolution received: 1280x960
pixel array size: 1280x960
intrinsics received: fx=868.31 fy=868.31 cx=640.18 cy=482.07 skew=0.000 1280x960
original resolution received: 1280x960
no distortion array available on this device through Camera2Api
camera ids: 50, 51
please note that these values would also differ depending on the Camera2 JNI configuration you have setup.
@sudotman
sudotman / mqdhRegexGist
Created November 7, 2025 12:09
meta quest developer hub's regex filter for your unreal engine application's run
^[^\r\n]*\b(?:com.yourcompany.yourapplication|UE)\b[^\r\n]*\r?\n?
@sudotman
sudotman / cat.gif
Created September 10, 2025 06:25 — forked from dumbmoron/cat.gif
cat.gif
@sudotman
sudotman / unrealRPCReplicationCheatsheet
Last active November 7, 2025 12:32
unreal rpc replication cheatsheet
| Actor ownership | Not replicated | NetMulticast | Server | Client |
| ------------------ | -------------- | ------------------------------ | -------------- | ----------------------------- |
| Client-owned actor | Runs on server | Runs on server and all clients | Runs on server | Runs on actor's owning client |
| Server-owned actor | Runs on server | Runs on server and all clients | Runs on server | Runs on server |
| Unowned actor | Runs on server | Runs on server and all clients | Runs on server | Runs on server |
| Actor ownership | Not replicated | NetMulticast | Server | Client |
| --------------------------- | ----------------------- | ----------------------- | -------------- | ----------------------- |
@sudotman
sudotman / lfsAloofPointerFix
Last active November 7, 2025 12:33
fixing lfs (should have a pointer but doesnt) issue where you can't discard/restore/stash your changes
git lfs uninstall
git reset --hard
git lfs install
git lfs pull
In case if this is not working (because this was not working for me), the following hack may work:
git rm --cached -r .
git reset --hard
@sudotman
sudotman / file.cs
Created November 3, 2023 11:49
Unity - Create a file in a custom folder on the Desktop
if(!Directory.Exists(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Desktop) + "\\ISROResults"))
{
Directory.CreateDirectory(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Desktop) + "\\ISROResults");
File.Create(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Desktop) + "\\ISROResults\\results.txt");
}
File.WriteAllText(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Desktop) + "\\ISROResults\\results.txt", "Test1");
@sudotman
sudotman / gist:372fddcb65c0be534f91d5c7da333bd0
Last active September 8, 2023 11:04
dummyTransferOrder
{
"Items": [
{
"toID": "129293",
"binID": "93582",
"materialID": "299534",
"materialText": "COMPRESSOR",
"batchID": "349ef",
"quantityRequired": "3"
},
@sudotman
sudotman / orin_min.js
Created January 20, 2023 12:02
original minified
/**
* [js-crc]{@link https://github.com/emn178/js-crc}
*
* @namespace crc
* @version 0.2.0
* @author Chen, Yi-Cyuan [emn178@gmail.com]
* @copyright Chen, Yi-Cyuan 2015-2017
* @license MIT
*/
!(function () {
@sudotman
sudotman / orig.js
Created January 20, 2023 12:02
original crc
/**
* [js-crc]{@link https://github.com/emn178/js-crc}
*
* @namespace crc
* @version 0.2.0
* @author Chen, Yi-Cyuan [emn178@gmail.com]
* @copyright Chen, Yi-Cyuan 2015-2017
* @license MIT
*/
/*jslint bitwise: true */
clBitCrack.exe -b 6 -t 32 -p 16 --keyspace 8000000000000000:ffffffffffffffff 16jY7qLJnxb7CHZyqBP8qca9d51gAjyXQN