5,003 reputation
114290
bio website
location
age
visits member for 5 years, 4 months
seen 2 days ago

I started learning web design to support my efforts as a singer/songwriter. I'm still doing that, but these days my actual job involves building intranet resources as well. My skillset is PHP, HTML, CSS, and Javascript (I'm a big fan of jQuery).


Nov
18
comment How to install vim with clipboard support on Fedora?
@garyjohn - ...and, your awesome tip about running graphical vim on the command line has come in handy yet again, this time on a Mac. mvim -v also gives access to the system clipboard. Thanks!
Nov
14
comment Macvim color scheme conflicting with .vimrc
Update - I am now using the Solarized color scheme, which is very easy to read and, among other things, sets a good highlighting color for me, so I don't have to do the above at all.
Oct
31
comment Printing background colours in Chrome
Doesn't work if it's more than one screen long. Also, most designers will set different styles for screen and print using the media attribute of the style tag: fonts that work better in each media, maybe removing images or ads from the printed version, etc. Printing from a screenshot defeats this effort.
Oct
14
comment What's the Unix command-line symbol for “the PID of the last suspended process”?
awesome, thanks for the clarification. :)
Oct
13
comment What's the Unix command-line symbol for “the PID of the last suspended process”?
I think kill % was what I was looking for. Though I suppose this is actually the last job started rather than the last one suspended, for me this is typically the same one.
Oct
7
comment Toggle between two different vim configurations?
@Michael Caron - you can keep your .vimrc and .vim anywhere you like, as long as you have symlinks in your home folder to wherever you put them. Personally, I use this trick to keep all my configs in a .dotfiles folder, which I can sync to Github.
Oct
7
comment Toggle between two different vim configurations?
I recently learned that vim -u "NONE" opens vanilla vim, with no configuration. That can be useful if you've got a complex configuration and want to know whether some behavior is native to Vim or not. (This also works for MacVim - I haven't tried Gvim on Linux.)
Sep
22
comment How can I add line breaks in an XML file from the Unix command line?
After reading your comment, I tried this with both single and double quotes from zsh, then I switched to bash and tried both ways. In every case, it just inserted n. I'm using OSX Snow Leopard - what are you using?
Sep
19
comment How can I add line breaks in an XML file from the Unix command line?
On my OSX machine using zshell, that command converts <foo><bar>stuff</bar></foo> to <foo>n<bar>nstuff</bar>n</foo>n.
Sep
16
comment How can I add line breaks in an XML file from the Unix command line?
Oh wow, I didn't know about xmllint. Thanks!
Aug
31
comment How can I tell what syntax and indentation rules Vim is using on a particular line?
Now that I think about it, I suspect that BOTH the PHP and HTML rules are being applied.
Aug
31
comment How can I tell what syntax and indentation rules Vim is using on a particular line?
@digitxp - I don't have a /syntax/javascript.vim currently. I do have a indent/javascript, but that just decides when to indent or unindent, not how many spaces to use for an indent. And, as I said, a separate JS file gets indented with my default of two spaces.
Aug
26
comment Can I use Vim editing mode on the command line without losing recursive history search?
That's interesting, though - I frequently use search as a movement in Vim. I guess I can't use it to move within the command I'm currently editing, since it's pegged to searching history, eh?
Aug
26
comment Can I use Vim editing mode on the command line without losing recursive history search?
A hard choice! garyjohn shows a Vim way to do it, and JdeBP shows how to get the keybinding for Ctrl+R back! I'm going to play with both methods and accept an answer later. I'll decide based on 1) which method seems easier to me and 2) which gets more upvotes. Thanks to both of you!
Aug
26
comment Can I use Vim editing mode on the command line without losing recursive history search?
My muscle memory blesses you!
Aug
26
comment Can I use Vim editing mode on the command line without losing recursive history search?
Yes, zshell is the same. Thanks!
Jul
1
comment How can I simulate a slow machine in a VM?
Ha! Interesting idea to buy an actual machine. Since the whole idea is to emulate an old computer, buying an old computer is a pretty cheap option. :)
Jun
24
comment In bash, how can I rename a file without repeating the path?
Cool! I think Darth's brace expansion method is easier, but this is exactly what I asked for.
Jun
16
comment In bash, how can I rename a file without repeating the path?
Oh, right! I love brace expansion but I didn't think to use it here. :) Thanks!
Apr
5
comment Despite the fact that GIT does NOT store file deltas, can you still rollback to previous file versions (unlimited times?)
Chris, you seem to have a pretty good handle on Git internals. Any chance you might take a swing at this? stackoverflow.com/questions/5176225/…