mastering mark in emacs

Posted on Sat 22 November 2025 in tech • Tagged with programming, emacs, productivity

C-x C-x is teleport for your mark.

C-x h is “select literally everything right now”!


c-style for loop in bash

Posted on Fri 14 November 2025 in tech • Tagged with programming, rust, c

How did i not know that you can make a c-style for loop in bash

$ for (( i=0; i<5; i++ ))
  do
      echo $i
  done

Every Light Meter Tutorial on YouTube Is Wrong

Posted on Fri 14 November 2025 in tech • Tagged with photography, videography, lighting

How to use a lightmeter with your digital camera in 2025!


Parsm - an Everything Parser

Posted on Sun 29 June 2025 in tech • Tagged with unix, sed, awk, grep

Introducing Parsm: A Universal Structured Text Parser

Eat More Cookie

When scientists and engineers created the UNIX system, they built utilities that each performed a specific task exceptionally well. Commands such as grep, awk, and sed have become the atoms of text and data processing workflows. However, today's computing landscape is dominated by …


Continue reading

Programing like NASA, the Power of Ten

Posted on Fri 21 February 2025 in tech • Tagged with programming, C++, rust

Should you program like NASA?

Programming is a discipline that requires both speed and integrity. The best developers balance rapid iteration with careful checking, ensuring that their code is robust, maintainable, and adaptable over time. That’s where structured coding principles—like those found in the Power of Ten—may …


Continue reading

How to use ed - the original text editor

Posted on Fri 03 January 2025 in tech • Tagged with ed, unix

How to use ed

ed file.txt
1,$p         # Print all lines.
3d           # Delete line 3.
$s/foo/bar/g # Replace "foo" with "bar" in all lines.
w            # Save changes.
q            # Quit the editor.
i            # insert previous line
a            # append next line