Skip to content

Instantly share code, notes, and snippets.

View RyzeNGrind's full-sized avatar
:electron:
busy tinkering, building and having fun learning in the process. Let's connect!

RyzeNGrind RyzeNGrind

:electron:
busy tinkering, building and having fun learning in the process. Let's connect!
View GitHub Profile
@timm-stelzer-e-farm
timm-stelzer-e-farm / nixos-x1.rst
Created September 1, 2022 20:41 — forked from akaihola/nixos-x1.rst
Installing NixOS on a Lenovo ThinkPad Carbon X1 Gen 9
@usrbinkat
usrbinkat / README.md
Last active May 12, 2025 16:25
Home K8s Native FW / Router

Kubernetes Single Node Edge Firewall, Gateway, and Ubiquiti AP Controller

This is a rought draft document describing the build of VyOS on microk8s for use as a home WAN firewall/router. I also use an Ubiquiti UAP Pro Access Point to broadcast my home wifi networks.

Here is a visual of the silent fanless intel i7 kubernetes node, access point, and power-over-ethernet adapter. kill-a-watt

This is a slightly over estimated annual power cost estimate for powering the whole setup. Est Annual Cost

@hashtafak
hashtafak / Hcaptcha Solver (Automatically solves Hcaptcha in browser).user.js
Last active August 26, 2024 16:22
Hcaptcha Solver with Browser Trainer(Automatically solves Hcaptcha in browser) by Md ubeadulla | Note: This script is solely intended for the use of educational purposes only and not to abuse any website. This script uses audio in order to solve the captcha. Use it wisely and do not abuse any website. Click "Raw" to install it on Tampermonkey
// ==UserScript==
// @name Hcaptcha Solver with Browser Trainer(Automatically solves Hcaptcha in browser)
// @namespace Hcaptcha Solver
// @version 10.0
// @description Hcaptcha Solver in Browser | Automatically solves Hcaptcha in browser
// @author Md ubeadulla
// @match https://*.hcaptcha.com/*hcaptcha-challenge*
// @match https://*.hcaptcha.com/*checkbox*
// @grant GM_xmlhttpRequest
// @grant GM_setValue
@AveYo
AveYo / . Pitch Black Theme.reg
Last active June 22, 2025 00:40
Pitch Black Theme.reg - now for Ctrl+Alt+Del (and logon on 11) as well - revised 2022-06-16
Windows Registry Editor Version 5.00
; Pitch Black Theme preset by AveYo, AccentPalette idea by /u/Egg-Tricky
; for Ctrl+Alt+Del, Logon, Taskbar, Start Menu, Action Center (10 & 11)
; revised 2022-06-16: show active taskbar button in accent color
[-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent]
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent]
"AccentColorMenu"=dword:aa000000 ; Window borders and titlebar
"StartColorMenu"=dword:aa202020 ; Modals in UWP ex. Apply new refresh rate in 10
@573
573 / readme.md
Last active January 29, 2024 21:25
run services in docker in nixos in wsl(2)

Set up (pointers here) nixos first.

running the container like this docker run --name redis -dit -p 0.0.0.0:6379:6379 imagename (microsoft/WSL#5618 (comment)) let's you from the host windows do either:

Create [#file-redis-small.nix] like this (mod of https://yann.hodique.info/blog/using-nix-to-build-docker-images/, source: https://gist.github.com/sigma/9887c299da60955734f0fff6e2faeee0, this again modding http://lethalman.blogspot.com/2016/04/cheap-docker-images-with-nix_15.html, latter via https://nixos.wiki/wiki/Docker)

curl localhost:6379

or

@ltrager
ltrager / maas-wol
Created January 22, 2021 00:55
maas-wol service to use with the MAAS webhook power driver
#!/usr/bin/env python3
#
# maas-wol - Web server to accept WoL requests
#
# Author: Lee Trager <[email protected]>
#
# Copyright (C) 2021 Canonical
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
@probonopd
probonopd / Wayland.md
Last active July 13, 2025 04:25
Think twice about Wayland. It breaks everything!

Think twice before abandoning Xorg. Wayland breaks everything!

image

Source: https://x.com/LundukeJournal/status/1940441670098809093

Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.

Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.

sshuttle:
pkg.installed: []
group.present:
- gid: 2024
user.present:
- fullname: sshuttle
- uid: 2024
- gid: 2024
- allow_uid_change: True
@PurpleBooth
PurpleBooth / 1password
Last active February 2, 2025 20:51
Use sops to cache the one password vault session token because op is horrible to use
#!/usr/bin/env bash
set -euo pipefail
CACHE_DIR="${XDG_CACHE_HOME:-$HOME/Library/Caches}/wrapper-1password"
CACHE_FILE="$CACHE_DIR/session-token.yaml"
OP_LOCATION="$(command -v op)"
mkdir -p "$CACHE_DIR"
@tomlankhorst
tomlankhorst / docker-swarm-gpu.md
Last active June 9, 2025 09:05
Instructions for Docker swarm with GPUs