Default keyboard shortcuts for Ghostty terminal emulator. Platform-specific differences are noted where applicable.
Action | Windows/Linux | macOS |
---|---|---|
New window | Ctrl+Shift+N | Cmd+N |
Close window | Alt+F4 | Cmd+Shift+W |
# Script to migrate from obsidian readwise to logseq readwise | |
# 1. Create a new logseq vault and sync your readwise content into it. Script assumes you are in this new folder. | |
# 2. Merge obsidian readwise content into new vault using this ruby file | |
# 3. Delete Readwise folder from obsidian vault | |
# 4. copy the pages files into your obsidian pages folder | |
# map of url => new filename | |
logseq_url_map = Dir["pages/*"].map do |page| | |
[File.read(page)[/^\s*url:: (.*)$/, 1], page] | |
end.to_h |
--- | |
import { Octokit } from "octokit"; | |
const octokit = new Octokit({ auth: import.meta.env.PUBLIC_GITHUB_TOKEN }); | |
const allRepos = await octokit.rest.repos.listForAuthenticatedUser({ | |
visibility: 'public', | |
per_page: 100 | |
}); | |
// topics are the tags you can assign like "astro". to avoid highlighting my junk projects I am only sharing |
After noticing a css error in the most popular theme (minimal), I decided to download every theme and see how widespread css errors are. Shell script using curl, jq to download them all. Stylelint with all rules turned off to just check for syntax errors.
// foo
shape comments. CSS only supports /* foo */
shaped comments. These all show up as unknown word
in the syntax-check.txt report.
// color: red;
}
;
. I tried to file pull requests for the obvious ones.#!/usr/bin/env python | |
import sys | |
import matplotlib.pyplot as plt | |
import numpy as np | |
# Data for plotting | |
t = np.arange(0.0, 2.0, 0.01) | |
s = 1 + np.sin(2 * np.pi * t) |
[ | |
{ | |
"type": "mastodon", | |
"name": "101010.pl" | |
}, | |
{ | |
"type": "mastodon", | |
"name": "aana.site" | |
}, | |
{ |
diff --git a/main.go b/main.go | |
index 2d4ec9e..e7ea896 100644 | |
--- a/main.go | |
+++ b/main.go | |
@@ -101,7 +101,7 @@ func run(c *cli.Context) error { | |
return err | |
} | |
csvReader := csv.NewReader(f) | |
- csvReader.Comma = '\t' | |
+ csvReader.Comma = ',' |
package main | |
import ( | |
"bufio" | |
"errors" | |
"fmt" | |
"image" | |
"net/http" | |
"os" |
package main | |
func exec(query string, args string) (string, error) { | |
return "", nil | |
} | |
func requireNil(err error) { | |
} | |
// in vim to trigger the issue: set synmaxcol=80 |
I hereby claim:
To claim this, I am signing this object: