Skip to content

Instantly share code, notes, and snippets.

View bogorad's full-sized avatar

Eugene bogorad bogorad

View GitHub Profile
@bogorad
bogorad / wezterm.lua
Last active September 28, 2025 16:43
wezterm-config-crash
-- Pull in the wezterm API
local wezterm = require("wezterm")
-- This will hold the configuration.
local config = wezterm.config_builder()
local act = wezterm.action
-- Define the connection details for my persistent WezTerm server.
local lxc_wezterm_domain = {
name = "wezterm-server",
@bogorad
bogorad / laptop-boot-plan.md
Last active October 8, 2025 09:33
laptop boot plan

Secure Laptop Configuration Documentation

<<>>

@bogorad
bogorad / lost-movie.md
Created September 19, 2025 09:24
lost movie LLM request

I am looking for an old black and white movie, 1930s-1950s, us or uk. The protagonist is an elderly academic or maybe a writer. He lives with his wife of many years. He is obsessed with an old story about a murderer who escaped from an asylum and a nurse who disappeared at the same time. He eventually discovers that he was looking for himself, and the nurse is his wife who helped him escape.

Yout task is to name that movie and provide an imdb.com link. Re-check the link before returning the result.

All plot points are relevant, please do not show off your erudition by quoting similar but irrelevant movies with similar plots. Re-check against both databases and user reviews.

# modules/auggie.nix
{
config,
lib,
pkgs,
...
}:
let
auggie-pkg = pkgs.stdenv.mkDerivation rec {
@bogorad
bogorad / gist:1b61dfcbe9ba8fff5854c02052933329
Created August 14, 2025 12:37
uri-router-urls
google.com
youtube.com
.bruc
.lan
github.com
grok.com
x.com
claude.ai
@bogorad
bogorad / config.yml
Last active June 1, 2025 12:00
current esphome config for m5stack-nano-c6
# radar_entrance.yaml
substitutions:
LOCATION: "entrance"
name: "radar_${LOCATION}"
friendly_name: "radar_${LOCATION}"
<<: !include packages/generic_m5stack-nano-c6.yaml
# !!! When overriding, copy button & light from config!!!
#######################################################
@bogorad
bogorad / generate-host-key.sh
Last active March 5, 2025 09:38
generate-host-key.sh
#!/usr/bin/env bash
set -euo pipefail
# Function to log error and exit
die() {
echo "ERROR: $1" >&2
exit 1
}
# Function for logging with timestamps
@bogorad
bogorad / gist:666544f12a168676b0fb22718a8d7c4d
Created February 3, 2025 21:16
qmk + miryoku + achordion
// Copyright 2022 Manna Harbour
// https://github.com/manna-harbour/miryoku
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdio.h"
#include QMK_KEYBOARD_H
#include "print.h"
#include "manna-harbour_miryoku.h"
@bogorad
bogorad / block-ads-x.js
Last active July 30, 2025 17:01
block x ads, unhide text - tampermonkey script
// ==UserScript==
// @name Twitter/X Ad Hider & Auto-Expander
// @namespace http://tampermonkey.net/
// @version 1.4
// @description Hides promoted tweets (ads) and automatically clicks "Show more" to expand long tweets in the timeline.
// @author Your Name (or alias)
// @match *://*.twitter.com/*
// @match *://x.com/*
// @grant none
// @run-at document-idle