Skip to content

Instantly share code, notes, and snippets.

@dajare
dajare / dpkg.log
Created December 13, 2025 11:48
dpkg log for 2025-12-11
2025-12-11 10:11:50 startup packages remove
2025-12-11 10:11:50 status installed linux-headers-6.14.0-35-generic:amd64 6.14.0-35.35~24.04.1
2025-12-11 10:11:50 remove linux-headers-6.14.0-35-generic:amd64 6.14.0-35.35~24.04.1 <none>
2025-12-11 10:11:50 status half-configured linux-headers-6.14.0-35-generic:amd64 6.14.0-35.35~24.04.1
2025-12-11 10:11:50 status half-installed linux-headers-6.14.0-35-generic:amd64 6.14.0-35.35~24.04.1
2025-12-11 10:11:51 status config-files linux-headers-6.14.0-35-generic:amd64 6.14.0-35.35~24.04.1
2025-12-11 10:11:51 status not-installed linux-headers-6.14.0-35-generic:amd64 <none>
2025-12-11 10:11:51 status installed linux-hwe-6.14-headers-6.14.0-35:all 6.14.0-35.35~24.04.1
2025-12-11 10:11:51 remove linux-hwe-6.14-headers-6.14.0-35:all 6.14.0-35.35~24.04.1 <none>
2025-12-11 10:11:51 status half-configured linux-hwe-6.14-headers-6.14.0-35:all 6.14.0-35.35~24.04.1
@dajare
dajare / phkwic.md
Last active November 24, 2025 10:07
KWIC for `Power-House`
 1... lower gifts than a Bonaparte. In a word, you want a Power-House, and then the age of miracles will begin."</p>...
 2... · · · · · · ·<p>But always that phrase of his, the "Power-House," kept recurring. You know how twisted your thoug...
 3...going to Bokhara, was the maniac who dreamed of the "Power-House." There were going to be dark scenes in the drama...
 4...nce. It was a boy's mechanical toy arrayed against a Power-House with its shining wheels and monstrous dynamos.</p...
 5...secret organisation which went under the name of the Power-House. He laughed out loud at my question.</p>...
 6...our records. There may be something filed about your Power-House."</p>...
 7... it was no use explaining that for him to spy on the Power-House was like an elephant stalking a gazelle. The only...
 8...erest to tell me. I had asked about the phrase, the "Power-House." Well, he had come across it in the letter of a ...
 9...ck. The more my scheme succeeded the more likely the Power-House would be to wreak its 
@dajare
dajare / bookmarks-to-text.sh
Last active November 20, 2025 14:24
Convert `NETSCAPE-Bookmark-file-1` to plain text; bash script
#!/usr/bin/env sh
# netscape-to-text.sh -- Convert Netscape (HTML) bookmarks to an indented plain-text list.
# POSIX sh compatible (no gawk extensions). 2 spaces per level. Usage:
# ./netscape-to-text.sh bookmarks.html > bookmarks.txt
# or: cat bookmarks.html | ./netscape-to-text.sh
file=${1:-/dev/stdin}
depth=0
# Put tags onto separate lines so attributes split across lines are handled.
@dajare
dajare / se-extra-bits.md
Last active October 17, 2025 08:32
SE Extra Bits

This file SUPPLEMENTS SEMoS; it does not replace it.

Typography, etc.

  • Word-joiner: U+00A0[^a]
  • Hair space: U+200A
  • nb hyphen: U+2011
  • 2-em: ⸺
@dajare
dajare / weekly.html
Last active December 13, 2025 10:05
Mags
<h3>Economist</h3>
<ul>
<li class="now"><a href="mags/Economist-2025-12-13.epub">Economist, 13 Dec 2025</a> | Europe’s Populist Right</li>
<li><a href="mags/Economist-2025-12-06.epub">Economist, 06 Dec 2025</a> | Slot Machine Politics</li>
<li><a href="mags/Economist-2025-11-29.epub">Economist, 29 Nov 2025</a> | Britain’s Bodge-it</li>
<li><a href="mags/Economist-2025-11-22.epub">Economist, 22 Nov 2025</a> | Anything Goes America</li>
</ul>
<h3>Science+</h3>
@dajare
dajare / fossil_zenburn_css
Last active November 3, 2024 14:07 — forked from jsilence/fossil_zenburn_css
Zenburn theme for Fossil; updated for 2.24
/* Zenburn theme for fossil */
/* forked from https://gist.github.com/jsilence/1259056 */
/* https://kippura.org/zenburnpage/ */
/* http://fossil-scm.org | Updated for v. 2.24 */
/* Some tables have their styles hardcoded. :( */
/* Any feedback and contribution is welcome */
/* General settings for the entire page */
body {
margin: 0ex 0ex;
@dajare
dajare / .XCompose
Created October 18, 2024 12:42
My X11/ComposeKey profile
include "%L" # import the default Compose file for your locale
# MY MULTI = Rt-Super-key (beside right-Ctrl) | ThinkBook = Rt-Ctrl
## DOT-FILE!! Rename = .XCompose
<Multi_key> <semicolon> <apostrophe> : "‘" U2018 # LEFT SINGLE QUOTATION MARK
<Multi_key> <semicolon> <numbersign> : "’" U2019 # RIGHT SINGLE QUOTATION MARK
<Multi_key> <bracketleft> <bracketleft> : "‘" U2018 # LEFT SINGLE QUOTATION MARK
<Multi_key> <bracketright> <bracketright> : "’" U2019 # RIGHT SINGLE QUOTATION MARK
<Multi_key> <grave> <grave> : "‘" U2018 # LEFT SINGLE QUOTATION MARK
@dajare
dajare / il
Created August 6, 2024 09:29
X11/xkb/symbols/il | From Ubuntu 22.04.4 LTS
// This is an implemetation of the Israeli standard SI-1452 (2013)
// It does not implement changes to the English layout, as that part
// of the standard is not normative nor really useful in the context
// of xkb.
// This implementation extends the standard with Yiddish digraphs
// (a common extension) and Nun Hafukha (a fun character).
default partial alphanumeric_keys
xkb_symbols "basic" {
// uses the kbd layout in use in Israel.
@dajare
dajare / se-literary-calendar.html
Last active October 11, 2024 14:34
SE Literary Calendar
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, user-scalable=no" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="x-ua-compatible" content="ie=edge, chrome=1" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/kognise/water.css@latest/dist/light.min.css" type="text/css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/fork-awesome.min.css" integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" crossorigin="anonymous">
<link href="https://www.sudalyph.org/seci/fstyle.css" rel="stylesheet" type="text/css" />
@dajare
dajare / se-piper-short-fiction.md
Last active January 6, 2024 09:26
H. Beam Piper, Short Fiction details