Skip to content

Instantly share code, notes, and snippets.

View x1unix's full-sized avatar
:shipit:
Work in progress

Denys Sedchenko x1unix

:shipit:
Work in progress
View GitHub Profile
@x1unix
x1unix / README.md
Created July 24, 2025 17:11
Pair Logitech MX Master & MX Keys on Arch Linux

Pair Logitech MX Master & MX Keys on Arch Linux

Intro

Unfortunately, Logitech MX Master and MX Keys might not always be discoverable even in pairing mode.

The simplest way is to purchace Logi Bolt receiver and use it to pair mouse.

Prerequisites

@x1unix
x1unix / config
Last active May 5, 2025 03:21
Wofi Config
show=drun
width=400
height=400
always_parse_args=true
show_all=false
term=kitty
hide_scroll=true
print_command=true
insensitive=true
prompt=
@x1unix
x1unix / arch-on-mbp11-5-guide.md
Last active May 2, 2025 04:51
ArchLinux on MacBookPro11,5 (MacBook Pro Mid 2015)

ArchLinux Setup Guide For MacBookPro11,5

Intro

This article is a collection of caveats necessary to get Arch Linux up and running on old Intel MacBooks with AMD GPUs.

Steps here are based on various articles and hours of painful debugging.

Article skips full Arch setup process, focusing only on MacBook-specific steps.

@x1unix
x1unix / README.md
Created April 6, 2025 04:44
How to get "FYSETC HDMI5 HDMI Touch Screen 5INCH DSI Screen MIPI LCD V1.1" display working
@x1unix
x1unix / comfyui-wan_image2video_720p_fp8.json
Created March 3, 2025 01:44
comfyui-wan_image2video_720p_fp8.json
{
"last_node_id": 62,
"last_link_id": 114,
"nodes": [
{
"id": 39,
"type": "VAELoader",
"pos": [
-9.999995231628418,
313.7315368652344
@x1unix
x1unix / MF_TronGlowBorder.T3D
Last active January 4, 2025 08:15
Unreal Engine 5 - Tron-like Mesh Glow Effect
Begin Object Class=/Script/Engine.MaterialFunction Name="MF_TronGlowBorder" ExportPath="/Script/Engine.MaterialFunction'/Game/Materials/MaterialFunctions/MF_TronGlowBorder.MF_TronGlowBorder'"
Begin Object Class=/Script/Engine.Material Name="Material_1" ExportPath="/Script/Engine.Material'/Game/Materials/MaterialFunctions/MF_TronGlowBorder.MF_TronGlowBorder:Material_1'"
Begin Object Class=/Script/Engine.MaterialEditorOnlyData Name="Material_1EditorOnlyData" ExportPath="/Script/Engine.MaterialEditorOnlyData'/Game/Materials/MaterialFunctions/MF_TronGlowBorder.MF_TronGlowBorder:Material_1.Material_1EditorOnlyData'"
End Object
End Object
Begin Object Class=/Script/Engine.MaterialExpressionFunctionInput Name="MaterialExpressionFunctionInput_1" ExportPath="/Script/Engine.MaterialExpressionFunctionInput'/Game/Materials/MaterialFunctions/MF_TronGlowBorder.MF_TronGlowBorder:MaterialExpressionFunctionInput_1'"
End Object
Begin Object Class=/Script/Engine.MaterialExpressionFunctionInput Name="M
@x1unix
x1unix / compose.yml
Last active October 11, 2024 06:47
Jaeger + CORS Proxy
services:
nginx:
image: nginx:latest
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
ports:
- "16686:16686" # Both Jaeger UI and exporter are on the same port.
depends_on:
- jaeger
@x1unix
x1unix / reset-permissions.md
Created October 6, 2024 11:08
macos-app-reset-permissions
@x1unix
x1unix / service-worker.js
Created July 15, 2024 13:29
self-destruct SW
// Self-destructible service worker stub
self.addEventListener('install', function(e) {
self.skipWaiting();
})
self.addEventListener('activate', function(e) {
self.registration.unregister()
.then(function () {
return self.clients.matchAll();
})
@x1unix
x1unix / theme.ts
Created June 6, 2024 21:33
CodeMirror VSCode Light Theme
import { tags as t } from '@lezer/highlight'
import { createTheme } from '@uiw/codemirror-themes'
export { vscodeDark } from '@uiw/codemirror-theme-vscode'
// VSCode light theme based on dark theme from '@uiw/codemirror-theme-vscode'.
// See: https://github.com/uiwjs/react-codemirror/blob/master/themes/vscode/src/index.ts
export const vscodeLight = createTheme({
theme: 'light',
settings: {