Skip to content

Instantly share code, notes, and snippets.

@sshilovsky
sshilovsky / README
Last active September 3, 2022 22:53
Bare minimum helix mode for fish
# 1. Put these files in ~/.config/fish/functions/
# 2. run fish_helix_key_bindings
# To switch back, run fish_default_key_bindings
@nix { "action": "setPhase", "phase": "qmakePrePhase" }
qmakePrePhase
@nix { "action": "setPhase", "phase": "qtPreHook" }
qtPreHook
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/4irbvavkp73d1m5rnps89rglyxn0cydv-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@sshilovsky
sshilovsky / print-events.log
Created June 1, 2022 22:59
alacritty bug logs
Created log file at "/tmp/Alacritty-36089.log"
[0.000000984s] [INFO ] [alacritty] Welcome to Alacritty
[0.000034857s] [INFO ] [alacritty] Version 0.10.1 ()
[0.000039811s] [INFO ] [alacritty] Running on X11
[0.000164409s] [INFO ] [alacritty] Configuration files loaded from:
"/home/sh/.config/alacritty/alacritty.yml"
[0.038565036s] [INFO ] [alacritty] Device pixel ratio: 1
[0.042749728s] [INFO ] [alacritty] Initializing glyph cache...
[0.049284446s] [INFO ] [alacritty] ... finished initializing glyph cache in 0.006523355s
[0.049315986s] [INFO ] [alacritty] Cell size: 9 x 18
function sleep_until(alarm)
while alarm>computer.uptime() do
local timeout=alarm-computer.uptime()
computer.pullSignal(timeout)
end
end
while 1 do
sleep_until(math.min(next_breed,next_farm))
if next_breed<next_farm then
---- Minecraft Crash Report ----
WARNING: coremods are present:
TransformerLoader (OpenComputers-MC1.12.2-1.7.2.71.jar)
Contact their authors BEFORE contacting forge
// Sorry :(
Time: 6/13/18 12:20 AM
Description: Updating screen events
Log: Log file open, 13/30/14 21:04:18
Log: WinSock: version 1.1 (1.1), MaxSocks=255, MaxUdp=255
Log: Version: 8635
Log: Compiled (32-bit): Sep 29 2014 17:13:18
Log: Changelist: 827556
Log: Command line: -ONETHREAD -FULLSCREEN
Log: Base directory: \home\sh\.local\share\Steam\steamapps\common\Borderlands 2\steamassets\Binaries\Win32\
[0000.99] Log: CPU Page size=4096, Processors=2
[0000.99] Log: High frequency timer resolution =1000.000000 MHz
[0000.99] Log: Memory total: Physical=9.6GB Pagefile=9.6GB Virtual=9.6GB
/home/sh/src/notmuch> git send-email --to notmuch@notmuchmail.org --smtp-server=`which msmtp` *.patch
0001-Add-default-configuration-values-to-the-man-page.patch
(mbox) Adding cc: Sergei Shilovsky <sshilovsky@gmail.com> from line 'From: Sergei Shilovsky <sshilovsky@gmail.com>'
From: Sergei Shilovsky <sshilovsky@gmail.com>
To: notmuch@notmuchmail.org
Cc: Sergei Shilovsky <sshilovsky@gmail.com>
Subject: [PATCH] Add default configuration values to the man page
Date: Thu, 2 Oct 2014 00:10:47 +0400
Message-Id: <1412194247-23742-1-git-send-email-sshilovsky@gmail.com>
This file has been truncated, but you can view the full file.
$ ls /home/sh/Mail/notmuch/*/* # ~/Mail is my maildir
/home/sh/Mail/notmuch/cur/1412162832.000000.mbox:2,
/home/sh/Mail/notmuch/cur/1412162832.000001.mbox:2,
/home/sh/Mail/notmuch/cur/1412162832.000002.mbox:2,
/home/sh/Mail/notmuch/cur/1412162832.000003.mbox:2,
/home/sh/Mail/notmuch/cur/1412162832.000004.mbox:2,
/home/sh/Mail/notmuch/cur/1412162832.000005.mbox:2,
/home/sh/Mail/notmuch/cur/1412162832.000006.mbox:2,
/home/sh/Mail/notmuch/cur/1412162832.000007.mbox:2,
/home/sh/Mail/notmuch/cur/1412162832.000008.mbox:2,
- - - -
- - - -
b b b b
- - - -
- - - -
w w w w
- - - -
- - - -
Generation mode on
Forces difference cut: 2
- - - -
- - - -
b b b b
- - - -
- - - -
w w w w
- - - -
- - - -