Skip to main content
  1. Tags/

Programming

2026

Migrating to Hugo (from Blogger)

·186 words·1 min
Ooof, that was rough. Blogger underwent many migrations since I used it last, and whatever migration tooling people have come up with in the intervening years, all are now broken, unsurprisingly. After much Gemini poking, back-and-forth, we arrived at this, which “works” (reads atom.feed):

2024

Getting the pretty 'tree' for 'git log'

·36 words·1 min
See: https://stackoverflow.com/questions/1057564/pretty-git-branch-graphs In short, can use this one-liner: git log –all –decorate –oneline –graph You can also make this into its own ‘git’ command (‘git adog’) using: git config –global alias.adog “log –all –decorate –oneline –graph”

The many merge options for 'git pull'

·157 words·1 min
Ran into this (massive hint printout from git when attempting pull) Hint: You have divergent branches and need to specify how to reconcile them. Hint: You can do so by running one of the following commands sometime before Hint: your next pull: Hint: Hint: git config pull.rebase false # merge Hint: git config pull.rebase true # rebase Hint: git config pull.ff only # fast-forward only Hint: Hint: You can replace "git config" with "git config --global" to set a default Hint: preference for all repositories. You can also pass --rebase, --no-rebase, Hint: or --ff-only on the command line to override the configured default per Hint: invocation. Git failed with a fatal error. Git failed with a fatal error. Need to specify how to reconcile divergent branches. And then thankfully came across this VERY informative StackOverflow post:

2011

cloning a github repo

·72 words·1 min
Steps needed to download my repo from github to a new computer: install git generate SSH key ssh-keygen -t rsa -C “your_email@youremail.com” add public key to github keys associated with my identity have ssh-agent forget identies ssh-add -d now reread new ones ssh-add verify ssh setup is working (see http://help.github.com/ssh-issues/) ssh -vT git@github.com clone repo git clone git://github.com/maciekk/emacs.git Note that did not have to do a “git init” or “git remote add”.

·77 words·1 min
Steps needed to download my repo from github to new computer: install git ssh keygen add public key to github keys associated with my identity ssh-add -d (have ssh-agent forget identies) ssh-add (now reread new ones) ssh -vT git@github.com to verify ssh setup is working git clo Claude (migration note): Empty or missing title. Filename is a numeric post ID (likely a Blogger import artifact). Missing title and truncated content (ends mid-sentence) — strong candidate for deletion.

2009

research notes from DSLR hunt

Camera reviews at dpreview.com: http://www.dpreview.com/reviews/nikond80/ http://www.dpreview.com/reviews/nikond90/ http://www.dpreview.com/reviews/canoneos450d/ (Canon EOS Rebel XSi) Lens reviews: http://www.the-digital-picture.com/Reviews/Canon-EF-S-17-85mm-f-4-5.6-IS-USM-Lens-Review.aspx http://www.photozone.de/canon-eos/181-canon-ef-s-18-55mm-f35-56-is-test-report--review http://www.slrgear.com/reviews/showproduct.php/product/355/cat/all (Tamron 17-50mm f/2.8 Di II …) http://www.slrgear.com/reviews/showproduct.php/product/349/cat/31 (Sigma 17-70mm f/2.8-4.5 DC Macro) http://www.slrgear.com/reviews/showproduct.php/product/136/cat/11 (Canon EF-S 17-85mm f/4-5.6 IS USM) http://www.the-digital-picture.com/Reviews/Tamron-17-50mm-f-2.8-XR-Di-II-Lens-Review.aspx (Tamron 17-50mm f/2.8) Shopping links:

2008

bash scripting docs

·14 words·1 min
Bash Reference Manual Advanced Bash-Scripting Guide Advanced Bash-Scripting HOWTO BASH Programming - Introduction HOW-TO

2007

Windows STOP messages

·104 words·1 min
I just had Windows reboot out of the blue (no BSOD, just as if I pressed RESET). Looking at the system event log it seems Windows ran into trouble: Event Type: Information Event Source: Save Dump Event Category: None Event ID: 1001 Date: 12/11/2007 Time: 3:19:32 PM User: N/A Computer: SKYNET Description: The computer has rebooted from a bugcheck. The bugcheck was: 0x100000d1 (0x00000000, 0x00000002, 0x00000001, 0xba940dc2). A dump was saved in: C:\WINDOWS\Minidump\Mini111207-01.dmp. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. A useful website detailing the STOP codes: http://aumha.org/a/stop.htm Also of interest is the KB article on dealing with the minidumps: http://support.microsoft.com/kb/315263

Java links

·58 words·1 min
Java 6 JDK 6 Documentation Setting the class path Lesson: Common Problems (and Their Solutions) Java SE Application Design With MVC Trail: Graphical User Interfaces A Visual Guide to Layout Managers OpenGL in Java