Skip to content

Instantly share code, notes, and snippets.

@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created July 9, 2025 06:09
Rimworld output log published using HugsLib
Log uploaded on Tuesday, July 8, 2025, 11:09:03 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.4.0]: 0Harmony(2.3.6), HarmonyMod(2.3.4)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Vanilla Expanded Framework(OskarPotocki.VanillaFactionsExpanded.Core): 0Harmony(2.3.6), 0ModSettingsFramework(1.0.0), 0PrepatcherAPI(1.2.0), KCSG(av:1.1.2,fv:25.7.6), MVCF(2.0.0.1), Outposts(av:3.0.0,fv:1.0.0), PipeSystem(av:1.0.1,fv:22.7.29), VEF(av:1.1.7,fv:1.1.9)
Mechanoid Upgrades(GoGaTio.MechanoidUpgrades): MechanoidUpgrades(1.0.0)
Vanilla Apparel Expanded — Accessories(VanillaExpanded.VAEAccessories): VAE Accessories(1.0.0)
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created July 9, 2025 06:08
Rimworld output log published using HugsLib
This file has been truncated, but you can view the full file.
Log uploaded on Wednesday, July 9, 2025, 2:08:35 PM
Loaded mods:
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0)
Harmony(brrainz.harmony)[mv:2.3.4.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Fishery - Modding Library(bs.fishery): 0PrepatcherAPI(1.2.0), 1Fishery(0.6.1), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Core(Ludeon.RimWorld): (no assemblies)
Performance Fish(bs.performance): PerformanceFish(0.6.2)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
By analyzing APK files as ZIP archives, scanning for libapp.so files in the lib/ directory, and extracting package patterns from binary content using regex.
- Method: Opens APK as ZipFile → searches for "lib/" entries → finds "libapp.so" → reads binary content → extracts package names with regex "package:\\w/" → filters and collects unique packages
- Permissions: READ_EXTERNAL_STORAGE for APK access, QUERY_ALL_PACKAGES (Android 11+) for app discovery
- Process: Uses PackageManager to get installed apps → accesses APK file paths → opens as ZIP → scans native libraries → extracts Flutter package dependencies → stores in local database
String apkPath = packageManager.getApplicationInfo(packageName, 0).sourceDir;
boolean isFlutter = isFlutterApp(apkPath);
public boolean isFlutterApp(String apkPath) {
try {
@ekeskin
ekeskin / p4ignore.txt
Last active July 9, 2025 06:09 — forked from jase-perf/p4ignore.txt
Unreal Engine UGS P4 Ignore Example
## This p4ignore file is a combination of Epic's documentation, but
## adjusted to work even if its not in the same folder as the .uproject
## file, and the p4ignore gist from Luis Placid
# The syntax for P4IGNORE files is not the same as Perforce syntax.
# Instead, it is similar to that used by other versioning systems:
#
# - Files are specified in local syntax
# - a # character at the beginning of a line denotes a comment
# - a ! character at the beginning of a line excludes the file specification
@hv-shiva
hv-shiva / Cluely System prompt.md
Created July 9, 2025 06:08 — forked from cablej/default.md
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.
{"scenario":{"name":"Wesel","maxTurns":19,"date":"1945-03-23T06:00:00.000Z","atmosferic":0,"latitude":2,"ground":0,"turnsPerDay":6,"dayTurn":2,"reinforcements":{"3":[{"row":8,"col":19,"unit":{"eqid":709,"id":-1,"owner":1,"hasMoved":false,"hasFired":false,"hasResupplied":false,"hasOverstrength":false,"isMounted":false,"isSurprised":false,"isDeployed":false,"isCore":false,"tempSpotted":false,"strength":8,"facing":15,"flag":8,"destroyed":false,"transport":null,"carrier":0,"moveLeft":3,"ammo":7,"fuel":0,"hasAnimation":false,"hits":0,"experience":471,"entrenchment":0,"entrenchTicks":0,"leader":20},"turn":3,"id":1},{"row":18,"col":31,"unit":{"eqid":1230,"id":-1,"owner":1,"hasMoved":false,"hasFired":false,"hasResupplied":false,"hasOverstrength":false,"isMounted":false,"isSurprised":false,"isDeployed":false,"isCore":false,"tempSpotted":false,"strength":7,"facing":15,"flag":8,"destroyed":false,"transport":null,"carrier":0,"moveLeft":3,"ammo":19,"fuel":0,"hasAnimation":false,"hits":0,"experience":397,"entrenchment":0,"
oh-my-posh init pwsh --config $env:POSH_THEMES_PATH/hanselman.omp.json | Invoke-Expression
Import-Module -Name Terminal-Icons
Set-PSReadLineKeyHandler -Key UpArrow -Function HistorySearchBackward
Set-PSReadLineKeyHandler -Key DownArrow -Function HistorySearchForward
Set-PSReadLineOption -PredictionSource History
Set-PSReadLineOption -PredictionViewStyle ListView
Set-PSReadLineOption -EditMode Windows
@yusronarif
yusronarif / me-vs-jetbrains.md
Created July 9, 2025 06:06
Me and Jetbrains

Fix long load time of a directory window

step to resolve

  1. From menu -> open Help | Edit Custom Properties
  2. add new properties:
sun.awt.windows.useCommonItemDialog=true
ide.win.file.chooser.native=true
@Thurya-al
Thurya-al / admin.py
Created July 9, 2025 06:06
Authenticathion
from django.contrib import admin
# Register your models here.