- copy /etc/hostid from pre-existing distro
- add /etc/zfs/zroot.key with 000 permissions, and include it in initramfs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.POSIX: | |
all: | |
LDFLAGS = -ltree-sitter | |
CFLAGS = -Wall -O3 | |
CC = cc | |
TARGETS = main | |
main_SRCS = \ | |
main.c \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ~/.local/share/gnome-shell/extensions/status-area-horizontal-spacing@mathematical.coffee.gmail.com/extension.js | |
+++ ~/.local/share/gnome-shell/extensions/status-area-horizontal-spacing@mathematical.coffee.gmail.com/extension.js | |
@@ -80,6 +80,14 @@ | |
return; | |
} | |
+ if (actor.has_style_class_name('screen-sharing-indicator')) return; | |
+ if (actor.has_style_class_name('screen-recording-indicator')) return; | |
+ if (actor.first_child | |
+ && actor.first_child.get_style_class_name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template isForwardRangeOf(T) { | |
bool isForwardRangeOf(R)(R _) if (isForwardRange!(R, T)) => true; | |
bool isForwardRangeOf(R)(R _) if (!isForwardRange!(R, T)) => false; | |
} | |
import std.range.primitives : isForwardRange; | |
enum bool isForwardRange(R, T) | |
= std.range.primitives.isForwardRange!R | |
&& isInputRange!(R, T); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Keychron K8 Pro ANSI White", | |
"vendorProductId": 875823747, | |
"macros": ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], | |
"layers": [ | |
[ | |
"KC_ESC", | |
"KC_BRID", | |
"KC_BRIU", | |
"CUSTOM(4)", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local colorschemes = { | |
{ "Colors (base16)", "OneLight (Gogh)" }, | |
} | |
local colorscheme = colorschemes[1] | |
local fonts = { | |
-- { font name, font_size, line_height, cell_width }, | |
{ "Victor Mono", 14.5, 0.85, 0.9 }, | |
{ "Anonymous Pro", 16, 1.0, 0.85 }, | |
-- Iosevka |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.fontSize": 16, | |
"files.insertFinalNewline": true, | |
"files.trimFinalNewlines": true, | |
"editor.renderFinalNewline": "dimmed", | |
"editor.cursorBlinking": "smooth", | |
"editor.cursorSmoothCaretAnimation": "explicit", | |
"zenMode.centerLayout": false, | |
"workbench.preferredLightColorTheme": "VLight", // Vladeeg.vscode-theme-vlight |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"io" | |
"log" | |
"net/http" | |
router "github.com/julienschmidt/httprouter" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! 2022-05-25 https://stackoverflow.com | |
##.js-consent-banner | |
! 2022-06-03 https://www.youtube.com | |
##.ytp-endscreen-content |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
; CapsLock is Left control | |
CapsLock::LCtrl | |
CapsLock up:: | |
Send, {LCtrl up} | |
if (A_TimeSincePriorHotkey < 150) | |
Send, {Blind}{CapsLock} |
NewerOlder