Skip to content

Instantly share code, notes, and snippets.

@dajare
dajare / hq.ini
Last active March 4, 2024 10:02
Haycraft-Queen Cornerstones @ Standard Ebooks
[000]
updated="2024-03-04"
[001]
author="Allingham, Margery"
title="Death of a Ghost"
year="1934"
se="·"
[002]
@dajare
dajare / sebooks-project-template.md
Last active February 14, 2024 08:26
Standard Ebooks Project Info Template

SE Project Info

Book info

  • Title:
  • Author:
  • Pub date:
  • start: se create-draft --author="AUTHOR" --title="TITLE" --pg-id=NNN
  • build: se build --output-dir=$HOME/PATH/sebooks/FOLDER/dist/ .
@dajare
dajare / ssc-bookreviews.md
Last active January 10, 2024 19:31
The Book Reviews of Slate Star Codex

The Book Reviews of Slate Star Codex

All of them . . .

See below for earlier “squid314” reviews; also for more recent reviews on Astral Codex Ten.

2020

  • 06/01 - [Book Review: Origin Of Consciousness In The Breakdown Of The Bicameral Mind][19]
  • 05/05 - [Book Review Contest: Call For Entries][35]
@dajare
dajare / se-piper-short-fiction.md
Last active January 6, 2024 09:26
H. Beam Piper, Short Fiction details
@dajare
dajare / 2titlecase
Last active December 31, 2023 18:22
Bash script to titlecase chapter titles in UPPERCASE
for filename in chapter-*.xhtml; do
new12=$(sed -n '12p' "$filename" | cut -b 8- | se titlecase -n)
sed -i -e '12s#^\(.*<p>\).*#'"\1$new12"'#g' "$filename"
## Uncomment next line to echo new title line to terminal for checking
# sed -n '12p' "$filename"
done
@dajare
dajare / base16-embers-light.lua
Created December 25, 2023 11:22
Embers Light - Base16 theme for Textadept 12*
-- Base16 Theme: Embers Light
-- Embers Light theme adapted for Textadept (http://foicica.com/textadept/)
-- Theme author: Jannik Siebert (https://github.com/janniks)
-- Base16 (https://github.com/chriskempson/base16)
-- Build with Base16 Builder (https://github.com/chriskempson/base16-builder)
-- Repository source: https://github.com/rgieseke/base16-textadept/blob/3c74baf8fedc381b5eb96c82fb96c71df9db34e8/base16-embers-light.lua
local view, colors, styles = view, view.colors, view.styles
-- Base16 colors
@dajare
dajare / gmal-bb.md
Created December 20, 2023 17:27
Give Me a Lightbulb | BearBlog

Give Me a Lightbulb

GMaL is the title of my BearBlog. If you have a response/comment to any of my posts, please use the comment facility below.

Thanks!

@dajare
dajare / html5_template.html
Last active March 1, 2023 15:00 — forked from nathansmith/html5_template.html
Simple HTML5 Template
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, user-scalable=no" />
<title>untitled</title>
<link rel="stylesheet" href="" />
</head>
<body>
@dajare
dajare / sot-power-pop.md
Last active March 28, 2022 10:58
Sea of Tranquility / Our Favorite Power Pop Albums
@dajare
dajare / custom.css
Created November 28, 2021 09:39
Zettlr | Custom CSS
/* Enter your custom CSS here */
body #editor {
background-color: #f6f3ea;
}
#editor .CodeMirror {
line-height: 1.75em;
font-family: 'Noto Serif', 'Charis SIL', 'iA Writer Duospace', serif;
}
body .size-header-1, body .size-header-2 {