| 2025-12-17 |
Bash process substitution is cool. |
info "(bash) Process Substitution", https://youtu.be/2A4bs40scSo?si=6ypQ9MLstPsbMK6m |
| 2025-12-17 |
Concurrency is the key to fault-tolerant programming. |
https://youtu.be/cNICGEwmXLU?si=cYkpUjRDXVvr1EO4 |
| 2025-12-10 |
On macOS, C-RET opens the context menu for the cursor position. |
https://apple.stackexchange.com/a/476141/590533 |
| 2025-12-10 |
In Emacs org-mode, C-u C-u C-c TAB expands a shrunk table. |
info "(org) Column Width and Alignment" |
| 2025-12-10 |
In Emacs info-mode, see your history with L. |
info "(emacs) Help-Int" |
| 2025-12-10 |
In Emacs, set the default text size in the default face. |
info "(emacs) Standard Faces" |
| 2025-12-09 |
In Emacs, single letter bindings prefixed with C-c are reserved for the user. |
info "(emacs) Key Bindings" |
| 2025-12-09 |
Programming as a user (e.g. configuring Emacs) seems to be an entirely separate UX from development. |
|
| 2025-12-08 |
In Emacs with evil, substitute TAB for org-cycle with zO and zo. |
C-h k zO, C-h k zo |
| 2025-12-04 |
Tutorial for crochet beanie that might work well for paracord. |
https://youtu.be/ufCgyVbmWkI?si=8mJ7e8cSm6p9XNe5 |
| 2025-12-03 |
In Emacs, add prefix argument to q in view-mode buffers to kill the buffer instead of burying it. |
info "(elisp) Quitting Windows" |
| 2025-12-02 |
In Geiser for Emacs, saving the current buffer in /tmp/ and compiling with C-c C-k prior to C-c C-a seems to be a workaround for temp buffer name space issues. |
|
| 2025-11-29 |
In Guix, soft-pinning is an interesting idea. |
https://www.freakingpenguin.com/blog/guix-tricks-soft-pinning-channels-in-a-channelsscm-file.html |
| 2025-11-29 |
An introduction to basic GnuPG usage. |
https://www.techtarget.com/searchSecurity/tutorial/How-to-use-GPG-to-encrypt-and-decrypt-files |
| 2025-11-28 |
In InDesign, the indent to here character can be used to define a content dependent indent for subsequent lines. |
https://helpx.adobe.com/indesign/using/tabs-indents.html |
| 2025-11-26 |
In Emacs, engine-mode looks to be a well-build package for leveraging search engines. Per the author's recommendation, I will try the built-in webjump first. |
https://elpa.nongnu.org/nongnu-devel/engine-mode.html |
| 2025-11-24 |
In Guix, sudo guix pull is basically never needed. An optimal system is configured to always use the user's guix package. |
https://logs.guix.gnu.org/guix/2025-11-24.log#222855 |
| 2025-11-21 |
Some more ideas for handling secrets in Guix. |
https://gitlab.com/martin-baulig/config-and-setup/guix-packages/-/blob/work-wal-g/guix/extensions/secrets.scm?ref_type=heads, https://gitlab.com/martin-baulig/config-and-setup/guix-packages/-/blob/work-wal-g/packages/baulig/build/secrets-service.scm?ref_type=heads |
| 2025-11-21 |
Some ideas for handling secrets in Guix. |
https://www.freakingpenguin.com/blog/guix-tricks-managing-secrets-using-password-store-and-run-time-decryption-scripts.html, https://github.com/fishinthecalculator/sops-guix?tab=readme-ov-file |
| 2025-11-21 |
Some useful info about guix-for-channels and other ways to configure channels within the system config. |
https://lists.gnu.org/archive/html/guix-devel/2024-12/msg00265.html |
| 2025-11-21 |
An interesting argument: Macros are are necessary for language development, not regular use cases. |
https://qr.ae/pC4VPZ |
| 2025-11-21 |
An interesting value comparison: immutable data > functions > macros. |
https://ericnormand.me/article/data-functions-macros-why |
| 2025-11-18 |
In Emacs ERC, connect to ZNC with (erc-tls :server "my_znc_server.com" :port 5555 :nick "dima5" :password "dima/oftc:zncpassword"). |
https://notes.secretsauce.net/notes/2014/10/08_znc-and-erc.html |
| 2025-11-17 |
A great Guix config for reference. |
https://github.com/hiecaq/guix-config |
| 2025-11-17 |
In Guix, a way to pin specific packages to their own channel commits is in the works. They are calling it inferiors. |
https://guix.gnu.org/manual/en/html_node/Inferiors.html |
| 2025-11-16 |
In Emacs, edit a file that requires root credentials with C-x C-f /sudo::/path/to/file/. |
https://emacs.stackexchange.com/a/56/49222 |
| 2025-11-16 |
A helpful explanation of Emacs package management in Guix. |
https://www.youtube.com/live/gqmZjovuomc?si=4UgDFBHT5p7hnaXZ |
| 2025-11-16 |
A good introduction to Guix. |
https://rendaw.gitlab.io/blog/55daefcf49e2.html |
| 2025-11-16 |
In Guix, there is a built-in service for ZNC (the IRC bouncer). |
https://guix.gnu.org/manual/devel/en/html_node/Messaging-Home-Services.html |
| 2025-11-16 |
In Guix, channels can be added directly to the system config with guix-for-channels. This will force a guix pull before every build (including the initial build). |
https://guix.gnu.org/manual/devel/en/html_node/Customizing-the-System_002dWide-Guix.html |
| 2025-11-14 |
In Vim and Emacs evil insert mode, CTRL-T and CTRL-D indents/outdents the current line. |
:help i_CTRL-T, :help i_CTRL-D, C-h f evil-shift-right-line, C-h f evil-shift-left-line |
| 2025-11-14 |
In Elisp, a great introduction to interactive functions. |
https://systemcrafters.net/learning-emacs-lisp/defining-functions-and-commands/ |
| 2025-11-13 |
For Guix, a custom service to daemonize kmonad. |
https://tannerhoelzel.com/gnu-shepherd-simple-service.html |
| 2025-11-13 |
In Guix, temp home environments (including dotfiles) can be created with guix home container. |
https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix-home.html |
| 2025-11-03 |
In Guix, build a dev enviroment as a package from within the project repo. |
https://guix.gnu.org/cookbook/en/html_node/Software-Development.html |
| 2025-11-03 |
In Emacs, image-dired is a thumbnail preview file manager. |
info "(emacs) Image-Dired" |
| 2025-10-29 |
A basic tutorial for manual manipulation of SVGs. |
https://www.aleksandrhovhannisyan.com/blog/svg-tutorial/#how-are-svgs-drawn |
| 2025-10-29 |
In Emacs, some great help on batch renaming files in dired. |
info "(emacs) Transforming File Names" |
| 2025-10-24 |
An interesting browser-based SVG path editor.s |
https://yqnn.github.io/svg-path-editor/ |
| 2025-10-24 |
In Emacs, an interesting preview mode for SVGs. |
https://monospace.games/misc/svg-preview-mode/ |
| 2025-10-20 |
Some great tips for incremental adoption of plain text accounting. |
https://tylercipriani.com/blog/2024/10/24/plain-text-accounting/ |
| 2025-10-20 |
In Emacs, some great tips on expanding the use-package macro. |
https://emacsnotes.wordpress.com/2023/07/02/migrating-to-use-package-tip-1-do-not-use-a-naive-macroexpand-to-grok-a-use-package-declaration-use-this-wrapper-instead/ |
| 2025-10-20 |
In Emacs, glyphless-display-mode will show all invisible characters. |
https://lemmy.world/post/15944517 |
| 2025-10-16 |
Guix has packages for Wireguard. |
https://enge.math.u-bordeaux.fr/blog/wireguard.html |
| 2025-10-16 |
Wireguard is the new de-facto FOSS VPN. |
https://www.wireguard.com |
| 2025-10-07 |
Bash permits parenthesized sub-expressions. (Just be sure you escape the parentheses: \(\).) |
https://unix.stackexchange.com/a/50613 |
| 2025-09-25 |
The documentation for the Emacs youtube-dl frontend is available on GitLab. |
https://gitlab.com/tuedachu/ytdl |
| 2025-09-23 |
An interesting Hledger budgeting strategy. |
https://gist.github.com/ony/bbec599c0893e676b772559909b81de6 |
| 2025-09-23 |
A CSV importer for Ledger written in Elisp. |
https://codeberg.org/joostkremers/csv2ledger |
| 2025-09-23 |
This is an interesting strategy for budgeting with org mode and Ledger. |
https://orgmode.org/worg/org-tutorials/weaving-a-budget.html |
| 2025-09-23 |
Union Square and Co. is a publisher that has book designs which are an interesting blend of classic and modern. |
https://www.hachettebookgroup.com/imprint/union-square-co/ |
| 2025-09-23 |
In Emacs, track stats on use-package load times at init. |
https://www.gnu.org/software/emacs/manual/html_node/use-package/Gathering-Statistics.html |
| 2025-09-23 |
This video is a must watch on containerizing with Guix. |
https://archive.fosdem.org/2020/schedule/event/guix/ |
| 2025-09-18 |
In Emacs org-publish, use the prefix argument to force-rebuild. |
https://stackoverflow.com/a/21259718/28799158 |
| 2025-09-18 |
Skribe and Skribilo may be the scheme markup language I have been looking for. |
https://www.nongnu.org/skribilo/ |
| 2025-09-17 |
In Emacs org mode, some useful tips for big tables (like this one) are available in the manual. |
info "(org) Column Width and Alignment" |
| 2025-09-17 |
Some good pointers on publishing notes from org-roam via org-publish. |
https://commonplace.doubleloop.net/how-i-publish-my-wiki-with-org-publish |
| 2025-09-17 |
In Emacs, this is a simple workflow for find/replace across files. |
https://stackoverflow.com/a/271136/28799158 |
| 2025-09-16 |
Some useful references for future exploration of Gnus for email. |
https://baty.net/posts/2025/03/using-gnus-for-email/, https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/master/gnus-guide-en.org, https://github.com/jwiegley/dot-emacs/blob/master/init.org |
| 2025-09-16 |
In Emacs, C-x C-v kills the current buffer, replacing it with the new file/directory. |
C-h k C-x C-v |
| 2025-09-11 |
This is a good introduction to completions in Emacs (with keybinds). |
https://www.masteringemacs.org/article/understanding-minibuffer-completion |
| 2025-09-11 |
macOS has massive overlap with Emacs keybindings. |
https://jblevins.org/log/kbd |
| 2025-09-09 |
Google Docs utilizes the RE2 REGEX standard. |
https://support.google.com/docs/answer/62754#regular_expressions&zippy=%2Csee-an-example, https://github.com/google/re2/blob/main/doc/syntax.txt |
| 2025-09-09 |
In Google Docs, \v is the REGEX pattern for soft returns. |
https://appiphony.com/blog/create-a-hard-or-soft-return-in-google-docs#:~:text=You%20can%20also%20quickly%20identify,returns%2C%20search%20for%20%5Cv. |
| 2025-09-09 |
In InDesign, use a paragraph rule to add offset before the first paragraph in a text frame. |
https://graphicdesign.stackexchange.com/a/70460/211504 |
| 2025-09-05 |
A some great instructions on loading SICP into Emacs info mode. |
https://zv.github.io/sicp-in-texinfo |
| 2025-09-05 |
Emacs has a native tab mode! Type C-x t 2 to create a new tab. |
info "(emacs) Tab Bars" |
| 2025-09-04 |
This is a great introduction to xargs in Bash. |
https://stackoverflow.com/a/76130645/28799158 |
| 2025-09-03 |
Emacs has some text object marking capabilities by default. |
info "(emacs) Marking Objects" |
| 2025-09-02 |
In Emacs, launch a new eshell from the current dired directory via C-u M-x eshell. Navigate between these eshells by number: C-3 M-x eshell will open *eshell*<3>. |
https://stackoverflow.com/a/6533447 |
| 2025-09-02 |
In Emacs, org-roam has an Obsidian-style graph visualization. |
https://github.com/org-roam/org-roam-ui?tab=readme-ov-file#usage |
| 2025-08-28 |
In Emacs, C-o opens a new line after the point. This is a close as Emacs gets to Vim's C-o and C-O. |
C-h k C-o |
| 2025-08-28 |
In Emacs on macOS, the tile bar can be disabled for a cleaner look. |
https://stackoverflow.com/a/72426586 |
| 2025-08-27 |
The Inscape CLI does great conversions from SVG to image formats. |
https://stackoverflow.com/a/14174624 |
| 2025-08-27 |
In Guix, the sops-guix package is an interesting way to manage secrets. |
https://fishinthecalculator.me/blog/secrets-management-with-sops-guix.html |
| 2025-08-25 |
In Lisp, comment convention recommends ; for end-of-line comments and ;; for comments on their own lines. |
https://stackoverflow.com/a/6365579, https://www.lispworks.com/documentation/HyperSpec/Body/02_ddb.htm |
| 2025-08-22 |
In Emacs, type C-q to insert a literal character regardless of bindings. (Think of it at the interactive equivalent of quoting symbols in Lisp.) |
C-h k C-q |
| 2025-08-22 |
In Emacs, evaluate (insert (format-time-string "%Y-%m-%d")) to insert the current date in YYYY-MM-DD format. |
|
| 2025-08-22 |
In Emacs, devil-mode may be the best modifier-less minor mode. |
https://github.com/susam/devil, https://susam.github.io/devil/ |
| 2025-08-22 |
In Emacs, god-mode beautifully addresses modifier fatigue. |
https://chrisdone.com/posts/god-mode/, https://github.com/emacsorphanage/god-mode |
| 2025-08-20 |
In Vim insert mode, ga will reveal information about the character under the cursor, including its Vim digraph. |
:help ga |
| 2025-08-14 |
This author has an interesting perspective on prepress via CSS paged media module. |
https://iangmcdowell.com/blog/posts/laying-out-a-book-with-css/ |
| 2025-08-14 |
SXML is a Guile Scheme standard for representing XML. |
https://www.gnu.org/software/guile/manual/html_node/SXML.html |
| 2025-08-13 |
A potentially useful guide on setting up Gnus in Emacs. |
https://www.bounga.org/tips/2020/05/03/multiple-smtp-accounts-in-gnus-without-external-tools/ |
| 2025-08-13 |
50# offset (uncoated) paper stock has an average thickness of 0.004 in. |
https://www.hollandlitho.com/paper_thickness_and_weight_cutting_through_the_confusion.html |
| 2025-08-12 |
In Vim and Emacs evil, CTRL-B is bound to <PageUp>. |
:help CTRL-B, C-h f evil-scroll-page-up |
| 2025-08-12 |
In Emacs ELisp buffers, tab autocompletion of procedures can be enabled. |
https://stackoverflow.com/a/7023515 |
| 2025-08-11 |
This is a good place to start when learning Emacs. |
https://protesilaos.com/codelog/2019-12-20-vlog-switch-emacs/ |
| 2025-08-11 |
Protesilaos Stavrou is a Greek thinker with potential insights on FOSS and Emacs. |
https://protesilaos.com/about/ |
| 2025-08-10 |
This paper explains the rationale behind LAML. |
https://archives.iw3c2.org/www2002/_normark/laml/papers/lugm-laml.pdf |
| 2025-08-10 |
LAML is perhaps the nicest Lisp markup language. |
https://people.cs.aau.dk/~normark/laml-distributions/laml/index.html |
| 2025-08-10 |
I guess I should not be surprised that there are many attempts at Lisp-as-markup. |
https://www.cliki.net/Lisp+Markup+Languages |
| 2025-08-10 |
Guix channels may be embedded in the system and home config files. |
https://guix.gnu.org/manual/devel/en/html_node/Customizing-the-System_002dWide-Guix.html, https://guix.gnu.org/manual/en/html_node/Guix-Home-Services.html |
| 2025-08-08 |
In Bash, use du -hs . to get the size of the current directory. |
man du, https://stackoverflow.com/a/16662027 |
| 2025-08-07 |
In Emacs, M-n to access minibuffer future history moving files between dired buffers. |
https://www.reddit.com/r/emacs/comments/1hevtrx/dired_faster_way_to_move_files/, https://engineering.collbox.co/post/working-faster-in-emacs-by-reading-the-future/ |
| 2025-08-02 |
In Emacs, C-x 4 0 closes the current window and buffer. |
https://superuser.com/q/1309765/2465866 |
| 2025-08-01 |
This is a great introduction into Vim-comparable motions in Emacs. |
https://www.masteringemacs.org/article/effective-editing-movement |
| 2025-07-16 |
A potentially useful plugin for batching various InDesign exports. |
https://creativepro.com/files/kahrel/indesign/batch_convert.html |
| 2025-07-10 |
This is a very provocative talk about interactive and visual programming. |
https://jackrusher.com/strange-loop-2022/ |
| 2025-07-10 |
Interactive programming is what I have been looking for regarding the correct way to interface with computers. |
https://en.wikipedia.org/wiki/Interactive_programming |
| 2025-07-09 |
In Vim insert mode, type <C-o> to use one normal mode command without leaving insert mode. |
:help i_CTRL-O |
| 2025-07-07 |
Guix has a handy reference card for frequent commands. |
https://guix.gnu.org/guix-refcard.pdf |
| 2025-07-04 |
LispKit is a library for developing Scheme on Apple devices. It has some interesting graphing capabilities. |
https://www.lisppad.app/libraries/lispkit/lispkit-draw-chart-bar |
| 2025-07-02 |
These posts give the most detailed explanation of the InDesign MathML implementation than I have found to-date. |
https://indiscripts.com/post/2024/10/indesign-20-goes-to-mathml-1, https://indiscripts.com/post/2025/03/indesign-20-goes-to-mathml-2 |
| 2025-07-01 |
This is a great basic usage of Guix Deploy. |
https://stumbles.id.au/getting-started-with-guix-deploy.html |
| 2025-07-01 |
Gimp supports automated workflows via scripting in Scheme! |
https://www.gimp.org/tutorials/Basic_Batch/ |
| 2025-06-27 |
In Vim, type U to toggle undo line. |
:help U |
| 2025-06-27 |
In Vim, ZZ is equivalent to :x. |
:help ZZ |
| 2025-06-27 |
In Vim, <C-d> will show all matching help topics for an incomplete help command. |
:help c_CTRL-D |
| 2025-06-27 |
In Vim, type <C-w>p to go to the previous window. |
:help CTRL-W_p |
| 2025-06-20 |
GUI apps can be started from the Linux virtual terminal via a number of methods. |
https://linuxconfig.org/how-to-run-x-applications-without-a-desktop-or-a-wm, https://superuser.com/q/550020, https://superuser.com/q/606811 |
| 2025-06-20 |
David Thompson, a Guix contributor, gives some helpful perspective on hardware compatibility with Guix's FOSS stance. |
https://dthompson.us/posts/installing-guix-on-a-10th-gen-thinkpad-x1.html |
| 2025-06-20 |
In Vim, type g<C-g> to see information about the cursor position. |
:help g_CTRL-G, :help word-count |
| 2025-06-20 |
In Vim, type :set ruler to enable line/column/relative position info for the cursor in the bottom left of the window. |
:help ruler, https://unix.stackexchange.com/a/335468/727998 |
| 2025-06-19 |
In Vim insert mode, type <C-k>Co for the copyright symbol: ©. |
:digraphs, :help digraph |
| 2025-06-19 |
In Vim command mode, type :e <cfile> to create a new file at the path under the cursor. |
:help <cfile> |
| 2025-06-18 |
This devlog has some helpful info about an initial Guix setup. |
https://simendsjo.me/blog/20240712085803-initial_guix_home_setup.html |
| 2025-06-17 |
Guix deploy is a built-in feature for managing Guix on remote hardware. |
https://guix.gnu.org/manual/en/html_node/Invoking-guix-deploy.html |
| 2025-06-17 |
Haunt is a static site generator written in Guile Scheme. |
https://dthompson.us/projects/haunt.html |
| 2025-06-17 |
The man page for bash has a whole section about the readline (with keybinds. |
man bash |
| 2025-06-17 |
In Vim, Netrw cannot copy directories. |
https://vi.stackexchange.com/questions/12095/is-it-possible-to-clone-a-directory-with-netrw, https://stackoverflow.com/questions/26958059/vim-netrw-copy-commands |
| 2025-06-17 |
Vim can be configured to run as a command server when GUI support is enabled. |
:help clientserver, https://subvisual.com/blog/posts/119-open-files-on-existing-vim-sessions/ |
| 2025-06-16 |
This is a great quick-start guide by the founder of Guix about using Guix Home. |
https://guix.gnu.org/blog/2022/keeping-ones-home-tidy/ |
| 2025-06-13 |
This guy, Podiki, built a gaming rig with Guix System. He is also a major contributor to NonGuix. |
https://boilingsteam.com/how-i-built-my-new-linux-gaming-desktop-in-2021-with-amd-cpugpu-and-gnu-guix/ |
| 2025-06-12 |
In Vim, use :helpg /pattern/ to search the Vim help via grep. Use :cn and :cp to navigate matches. |
:help helpg |
| 2025-06-02 |
System Crafters is a great community with info about Guix and Emacs. |
https://systemcrafters.net/ |
| 2025-06-02 |
Guix is a better, GNU clone of NixOS configured in Guile Scheme. |
https://guix.gnu.org/ |
| 2025-06-02 |
Literate programming is a way of documenting high-level code approaches by structuring the code files with prose. |
https://en.wikipedia.org/wiki/Literate_programming |
| 2025-05-30 |
In Zsh, $OLDPWD stores the value of the previous pwd. This is hugely useful for moving files around. |
|
| 2025-05-30 |
In Zsh, adding a glob to an expression makes the whole expression a glob. Make sure you are postfixing * if you want to see all matches for a that begin with the glob. |
|
| 2025-05-30 |
In Vim, use <C-w>T to move the current window to a new tab. |
CTRL-W_T |
| 2025-05-30 |
In Zsh, use exec zsh to totally reload Zsh (including environment variables). |
https://batsov.com/articles/2022/09/15/reload-zsh-configuration/ |
| 2025-05-30 |
top is way better than Activity Monitor. |
man top |
| 2025-05-21 |
In Vim, nrformats+=alpha must be set to increment/decrement letters with the below two commands. |
:help nrformats |
| 2025-05-21 |
In Vim visual modes, use g<C-x> to decrement. |
:help v_g_CTRL-X |
| 2025-05-10 |
In Vim visual modes, use g<C-a> to increment numbers on all lines. |
:help v_g_CTRL-A, https://www.joshmorony.com/totw/28/ |
| 2025-05-07 |
In Vim, use `< and `> to go to the beginning and end of the previous visual selection. |
:help `<, :help `>, https://stackoverflow.com/questions/11176159/how-to-jump-to-the-start-or-the-end-of-visual-selection-in-vim |
| 2025-05-06 |
In Vim, <C-r><C-r>register will paste from a register without executing special characters. |
:help i_CTRL-R_CTRL-R, https://vim.fandom.com/wiki/Pasting_registers |
| 2025-05-06 |
In Vim, you can execute arbitrary edits with :g/pattern/normal somecommand. |
:help :g, https://learnvim.irian.to/basics/the_global_command |
| 2025-05-05 |
In double entry accounting, payments made with credit cards and other liabilities are represented as outgoing (negative) values. |
https://www.reddit.com/r/plaintextaccounting/comments/eh9bz7/yet_another_question_about_credit_cards_and/ |
| 2025-05-02 |
In Zsh use bindkey -v to enable Vi mode. (Insert mode is the default. |
|
| 2025-05-01 |
In Zsh use setopt extended_glob; yourcmdhere (^negativepattern) to apply a command via an exclusion. |
https://unix.stackexchange.com/a/541787/727998 |
| 2025-04-30 |
In Vim insert mode, type <C-v>160 to insert a no-break space. |
https://vimtricks.com/p/vimtrick-non-printable-characters/ |
| 2025-04-30 |
In Vim, you can set various white space characters and markers with listchars. |
:help listchars |
| 2025-04-30 |
In Vim R replace mode, type <C-r>" to paste yanked contents. |
https://stackoverflow.com/a/25413808/28799158 |
| 2025-04-28 |
In Vim GREP, \_. matches any character including a newline. |
:help /\_., https://stackoverflow.com/a/784203/28799158 |
| 2025-04-28 |
In Vim, use :%s//~/ to redo the last substitution. |
:help g&, https://vi.stackexchange.com/a/18107/54693 |
| 2025-04-28 |
Pandoc can translate markdown fenced divs to ICML paragraph and character styles. |
https://github.com/jgm/pandoc/wiki/Importing-Markdown-in-InDesign |
| 2025-04-28 |
Processing manuscripts as XML may dramatically reduce the InDesign workload. |
https://helpx.adobe.com/indesign/using/importing-xml.html, https://carijansen.com/indesign-xml-reference-guide/, https://stackoverflow.com/a/66267474/28799158 |
| 2025-04-24 |
In Vim, gq{motion} will format the text. This is particularly useful for aligning text to a tab stop. |
:help gq |
| 2025-04-23 |
In Vim @% is the register for the current file (absolute path). |
:help quote% |
| 2025-04-23 |
In Vim, :call delete(@%) deletes the current (but leaves the buffer intact. |
:help delete(), https://stackoverflow.com/a/16679182 |
| 2025-04-23 |
In Vim GREP, \c makes the selection case insensitive. |
:help /\c, https://superuser.com/a/713957 |
| 2025-04-23 |
In Vim, _ is the current line motion. |
:help _, https://stackoverflow.com/a/47864035/28799158 |
| 2025-04-22 |
This video explores the importance of experience/familiarity/practice in learning at pace. |
https://www.youtube.com/watch?v=bSDprg24pEA |
| 2025-04-22 |
Vim has a built in print feature: :hardcopy |
:help :hardcopy, https://stackoverflow.com/a/9693079 |
| 2025-04-22 |
lpr is a shell service for printing files. |
man lpr, https://superuser.com/a/607380 |
| 2025-04-18 |
In Vim command mode, <cfile> is replaced with the filename under the cursor. |
:help <cfile> |
| 2025-04-18 |
Lilypond is a musical markup language based on ABC and LaTeX. There is a (depreciated) Pandoc Lua filter for it already. |
https://lilypond.org, https://abcnotation.com, https://github.com/pandoc/lua-filters/tree/master/lilypond |
| 2025-04-18 |
In Vim GREP, the \%V atom restricts the search to the last visual mode selection. |
help /\%V, https://vim.fandom.com/wiki/Search_and_replace_in_a_visual_selection#Substituting_in_a_visual_selection |
| 2025-04-18 |
In Vim command mode, use <Up> and <Down> to scroll through history just like in the shell. |
:help c_<Up>, :help c_<Down> |
| 2025-04-18 |
In Vim, use :ene=/:enew= to begin editing a new file in the pwd. |
:help :enew |
| 2025-04-17 |
I finally remembered where I bought my favorite round thick-rimmed glasses. |
https://www.fytoo.com/product/FT0969?id=2239 |
| 2025-04-17 |
Language is provably ambiguous. |
https://youtu.be/rWjUS2h2BfU?si=pITI0xi3Fq0LUz8p |
| 2025-04-17 |
The royal order of adjectives is a standard order for chaining adjectives in English. |
https://dictionary.cambridge.org/us/grammar/british-grammar/adjectives-order |
| 2025-04-17 |
ShellCheck is a Haskell shell script validator. |
https://hackage.haskell.org/package/ShellCheck |
| 2025-04-16 |
GitHub CLI extension leaves much to be desired. Currently, it can only process shell commands. |
https://docs.github.com/en/copilot/using-github-copilot/using-github-copilot-in-the-command-line |
| 2025-04-16 |
API keys are not a part of the ChatGPT Plus subscription. They are served by the OpenAI API platform. |
https://community.openai.com/t/api-access-as-a-chatgpt-plus-subscriber/573409/2 |
| 2025-04-15 |
InDesign's GREP supports word boundaries: \b. (It also supports the opening/closing boundaries: \< and \>.) |
https://www.oreilly.com/library/view/grep-in-indesign/9780596157173/ch04.html |
| 2025-04-10 |
Zenburn is a Vim color scheme used natively for Pandoc syntax highlighting. It is so good, I am using it in my .vimrc. |
https://github.com/jnurmine/Zenburn |
| 2025-04-10 |
SVG favicons are now a thing. |
https://css-tricks.com/svg-favicons-and-all-the-fun-things-we-can-do-with-them/ |
| 2025-04-10 |
In CSS, use display: flow-root; to ensure parent elements min size accounts for floated elements. |
https://www.digitalocean.com/community/tutorials/css-no-more-clearfix-flow-root |
| 2025-04-09 |
In Vim insert mode, evaluate expressions (e.g. math) by typing <C-R>=yourexpression<CR>. |
:help c_CTRL-R_=, https://vimtricks.com/p/vim-calculator/ |
| 2025-04-09 |
In Vim, open file under the cursor in a new split with CTRL-W_f. |
:help CTRL-W_f, https://vimtricks.com/p/open-file-in-a-split/ |
| 2025-04-09 |
In Vim, quickly switch to a one-time shell with :shell or :sh. |
:help :shell |
| 2025-04-09 |
In Git, use git reset to clear local changes since last commit. |
https://stackoverflow.com/a/1146981/28799158 |
| 2025-04-09 |
In Vim, use g& to repeat last substitution. |
:help g&, https://vi.stackexchange.com/a/18107/54693 |
| 2025-04-09 |
In Git, safely undo up to a prior commit without destroying history: git revert --no-commit 0d1d7fc3..HEAD |
https://stackoverflow.com/a/21718540/28799158 |
| 2025-04-08 |
Pandoc will treat iframes and other plain HTML as code blocks if there are more than four spaces worth of indentation. |
https://github.com/jgm/pandoc/issues/2244 |
| 2025-04-08 |
In Vim, delete all but current buffer with %bd\verte# |
https://stackoverflow.com/a/34050776/28799158 |
| 2025-04-08 |
Quickly create a PDF with a subset of the pages of another PDF by selecting the pages in the sidebar, right-clicking, and selecting Extract Pages…. |
|
| 2025-04-04 |
A joke about how deep the rabbit hole goes for solving computer problems. |
https://people.willamette.edu/~fruehr/haskell/evolution.html |
| 2025-04-03 |
The T2 chip on Apple computers can make installing Linux difficult. |
https://wiki.t2linux.org |
| 2025-04-02 |
Tufte CSS is a CSS styling philosophy derived from Edward Tufte's books and handouts. (It is very elegant.) |
https://edwardtufte.github.io/tufte-css/ |
| 2025-04-02 |
git checkout -b [<name-of-new-branch>] is a composition of git branch and git checkout. |
https://stackoverflow.com/questions/66882952/how-to-create-new-local-branch-and-switch-between-branches-in-git |
| 2025-04-02 |
Pandoc multiline tables best fit my needs for note taking. NOTE: They still convert to single-line. |
https://pandoc.org/MANUAL.html#extension-multiline_tables |
| 2025-04-02 |
In Vim, use :echo expand("%:h") to show the path of the current file. |
:help :echo, :help expand() |
| 2025-04-02 |
In Vim, % refers to the complete file path, %:h gets the head (path minus filename). |
:help %:h |
| 2025-04-02 |
In Vim, insert current time insert mode with <C-r>=strftime('%F')<CR>. |
https://superuser.com/questions/451340/how-to-insert-the-date-into-vim |