Author Archives: tb

Syntax highlighting…

Syntax hiliting is the ability to get code samples in your blog to look like they do in your editor… without having to add steps, or code, that brings you out of the “flow” of your article. Like this: which … Continue reading

Posted in Uncategorized | Leave a comment

db :: adding "missing" foreign key constraints (tsql)

I had the following tables after various failed attempts at “alter column”, “add constraint”, etc. I finally found the correct incantation In (other) words: in the foo_orders table create a new foreign key from the customerid field to the id … Continue reading

Posted in Uncategorized | Leave a comment

Bitrot

My blog had a little crash, and is being restored from “backup”…

Posted in Uncategorized | Leave a comment

django :: date filter cheat sheet

I don’t seem able to memorize the list of format characters for the date filter, maybe because the documentation lists them in alphabetical order. I’ve created the cheat sheet below with an attempt at semantic grouping… Time seconds s Seconds, … Continue reading

Posted in django | Leave a comment