Skip to content

Instantly share code, notes, and snippets.

View nailujx86's full-sized avatar
πŸ‘¨β€πŸ’»

Julian Blazek nailujx86

πŸ‘¨β€πŸ’»
View GitHub Profile
@nailujx86
nailujx86 / config.json
Last active March 26, 2026 07:45
Automatic Unsplash Teams Background Updater (Linux)
{
"isCustomBackgroundEnabled": true,
"customBGServiceBaseUrl": "http://localhost:8842",
"customBGServiceConfigFetchInterval": 3600
}
@nailujx86
nailujx86 / searxng.yaml
Created February 15, 2026 08:16
SearXNG ZimaOS
name: searxng
services:
searxng:
cpu_shares: 90
command: []
container_name: searxng
deploy:
resources:
limits:
memory: 6148128768
@nailujx86
nailujx86 / layouts.json
Last active December 2, 2025 14:37
NeoQwertzErgo
{
"name": "NeoQwertzErgi",
"dllName": "kbdgr2.dll",
"modifiers": {
"2A": "LShift",
"36+": "RShift",
"1D": "LCtrl",
"1D+": "RCtrl",
"38": "LAlt",
"3A": "LMod3",
@nailujx86
nailujx86 / Setup-TaskScheduler.ps1
Last active March 26, 2026 07:45
Automatic Unsplash Teams Background Updater (Windows)
# ==============================================================================
# Setup Task Scheduler for Teams Background Updater
# ==============================================================================
# This script creates a scheduled task to run the Teams background updater daily
#
# Run this script with administrator privileges
# ==============================================================================
# Configuration
$ScriptPath = "PATH TO YOUR SCRIPT" # CHANGE THIS to your script location
@nailujx86
nailujx86 / monitor_data.py
Created October 8, 2023 16:54
Python ctypes win32 wmi retrieve current monitor coordinates and name
from ctypes import sizeof, windll, byref
import input_structs as structs
import winreg
import wmi
MONITOR_DEFAULTONNEAREST = 0x00000002
def get_current_monitor_handle():
active_window = windll.user32.GetForegroundWindow()
active_monitor = windll.user32.MonitorFromWindow(active_window, MONITOR_DEFAULTONNEAREST)

Keybase proof

I hereby claim:

  • I am nailujx86 on github.
  • I am nailuj (https://keybase.io/nailuj) on keybase.
  • I have a public key whose fingerprint is 8F84 6A30 6C85 CAD9 7A2A 8827 1BF5 A9AF A6C8 8024

To claim this, I am signing this object:

@nailujx86
nailujx86 / swapNext.c
Created January 29, 2019 23:12
swapNext.c
void up_swapNext(t_feld *f, int x) {
int i = 1;
f->mom = f->start;
while (f->mom && i++ < x) { // Findet Element x
f->mom = f->mom->danach;
}
if (f->mom == 0)
return;
int erstes = !f->mom->davor; // Anm.: !x = 0 (x!=0) & !x = 1 (x=0)
int letztes = !f->mom->danach;