Skip to content

Instantly share code, notes, and snippets.

View nask0's full-sized avatar
👾
nothing

nask0 nask0

👾
nothing
  • ...somewhere in time!
View GitHub Profile
@nask0
nask0 / custom_resolution_on_wayland.md
Created May 18, 2026 15:05 — forked from mcjmigdal/custom_resolution_on_wayland.md
Custom Resolutions on KDE Wayland via EDID Injection

This is a AI enhanced note on my half day struggle to make my monitor work after KDE transitioned to Wayland

Custom Resolutions on KDE Wayland via EDID Injection

Under Wayland (KWin) the kernel’s DRM/KMS (Direct Rendering Manager/Kernel Mode-Setting) controls display modes. Unlike X11, Wayland does not support on-the-fly modelines via xrandr – it only uses modes that the monitor reports via EDID. In practice, this means you must override the monitor’s EDID to add unsupported modes. This guide shows how to generate a custom EDID for 3440×1440@40Hz on HDMI-A-1 and load it so KDE/Wayland will offer the new mode.

Why xrandr and gtf/cvt don’t work on Wayland

On X11 you could use xrandr --newmode or feed a modeline from cvt/gtf. But on Wayland/KWin, the compositor ignores non-native modes. For example, KWin states “the display is not supported in any geometry other than what is supported by a native mode”. In other words, adding a virtual 40 Hz mode is impossible without changing the E

@nask0
nask0 / bruteforce-all-subdomains-directory-wordlist.txt
Created September 26, 2025 04:45 — forked from Sachinart/bruteforce-all-subdomains-directory-wordlist.txt
custom directory list to bruteforce all subdomains
/index.php.bak
/backup.bak
/index.aspx.bak
/Index.aspx.bak
/Download.aspx.bak
/search.php.bak
/wordpress-db.php.bak
/db.php.bak
/phpinfo.php
/info.php
@nask0
nask0 / common.txt
Created September 26, 2025 04:45 — forked from Sachinart/common.txt
custom wordlist common.txt for bruteforce path or directory
/.env
/phpinfo.php
/info.php
/admin.php
/api/apidocs
/apidocs
/api
/api/v2
/api/v1
/api/v3
@nask0
nask0 / clean-google.txt
Created September 26, 2025 04:16 — forked from mindplay-dk/clean-google.txt
"Clean Google" ad blocking content filter (for Brave, uBlock origin, etc.)
# Block everything in search results except actual results & videos:
www.google.com###search div>div[data-rpos]:not(:has([data-snf])):not(:has([data-vurl])):not(:has(h3>a.l)):not(:has([jscontroller]):has([data-maindata*="currency"]))
# AI overview:
www.google.com##[data-mcpr]
# Junk below search results:
www.google.com###bres
# Junk in right-hand column:
@nask0
nask0 / Top_Public_Time_Servers.md
Created September 18, 2025 14:42 — forked from mutin-sa/Top_Public_Time_Servers.md
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

@nask0
nask0 / disassemble.md
Created September 17, 2025 08:08 — forked from jarun/disassemble.md
Guide to disassemble

prerequisites

  • Compile the program in gcc with debug symbols enabled (-g)
  • Do NOT strip the binary
  • To generate assembly code using gcc use the -S option: gcc -S hello.c

utilities

objdump

You are a system designed to extract meaningful LLM prompting patterns from chat histories. Analyze the full conversation history as defined below and identify:

  1. Frequently repeated LLM prompt behaviors

  2. Their function

  3. Contextual usage — where in the conversation this pattern appears, and why

  4. Underlying principle — the deeper design thinking or learning theory implied

@nask0
nask0 / exceptions-tree.php
Created September 10, 2025 13:43 — forked from mlocati/exceptions-tree.php
Throwable and Exceptions tree
<?php
if (!function_exists('interface_exists')) {
die('PHP version too old');
}
$throwables = listThrowableClasses();
$throwablesPerParent = splitInParents($throwables);
printTree($throwablesPerParent);
if (count($throwablesPerParent) !== 0) {
die('ERROR!!!');