[]RSS

[ Here: About | Archives+Tags | Artwork | Resumé | Contact ] [ Elsewhere: Comic | Projects | Philosophy | Work ]

Textmate command #0

[Comment]

August 31st, 2007 in Micro Blog

Here’s my first pass at a Textmate command (for the E text editor). It copies the text selection to a multi-line C constant, useful for pasting SQL statements into C code:

perl -p -e 's/^(\s+|)(.*)( |)(\s+|)$/$1\"$2$3\"$4/' | pbcopy
echo "Copied C-SQL to Clipboard"

The regex preserves whitespace after each line of statement within the quotes, and preserves the indent so you can still read the SQL in your C code.

Unix tool of the week: PBCopy

[Comment]

August 31st, 2007 in Micro Blog

Found while writing Textmate compatible bundles in “E”. The command (and related pbpaste) do clipboard magic from the shell:

$ pbcopy --help
pbcopy version 0.2.0
  Copy stdin to the Windows Clipboard

Another good Bash FAQ

[Comment]

August 30th, 2007 in Links

A good Bash FAQ. Always fun to learn something new about your shell.

HOWNOTTO: Hire people on Craig’sList

[Comment]

August 30th, 2007 in Links

Guy Kawasaki’s guide on How not to hire people on Craig’sList. While I hate the phrase, “keeping it real,” job postings need to be approachable, easy to grok, and based in reality.

Bloglines copies Google, news at 11

[Comment]

August 29th, 2007 in Links

Bloglines rolls out a new beta. Hey, here’s an idea: how about they just copy the Google Reader UI? There’s a chasm of possibilities in RSS land, maybe they should just focus on the reading (and finding the nuggets).

Bug reporting 101

[Comment]

August 28th, 2007 in Links

HOWTO (or not to) write a bug report.

Firefox3 and XUL

[Comment]

August 27th, 2007 in Links

HOWTO: use Firefox3 for deploying XUL apps. My question: when does XUL start to suck less?

Linus on using Git for KDE

[Comment]

August 27th, 2007 in Links

Linus thinks out loud about how to apply Git to KDE development, including thoughts on social versus technical reasons for central repositories. A good discussion for anyone considering how Git would apply to something already in something CVS/SVN-like.

Rich web SQL editor

[Comment]

August 22nd, 2007 in Links

A rich web SQL editor (all in JS/HTML). A good example of a drag/drop UI for table building, including a nice view scroll widget at the bottom. Very slick.

HOWTO integrate into s/w teams

[Comment]

August 21st, 2007 in Links

How do you effectively integrate into software development teams?. It’s a difficult problem that requires humility and patience.

Next page [>>]