229 reputation
15
bio website
location Berkeley Heights, NJ
age 42
visits member for 2 years
seen Oct 31 at 19:35

I am software developer, currently working as an Agile Consultant/Mentor. My primary technology stack at the moment is Ruby/Rails/jQuery/Passenger/PostgreSQL/RHEL5. In the past I've worked extensively with C, C++, Perl, MySQL, and Debian. I'm currently exploring Objective C and iPad application development and learning OS X after years of being an Ubuntu zealot.


Sep
24
awarded  Autobiographer
Mar
4
awarded  Critic
Jan
30
comment Tmux copy-pipe with mouse selection
It's possible for mouse selection to work without any of these shenanigans. I use iTerm 2, OSX Mavericks, and tmux 1.8, and any text I select in tmux (real tmux selection, not a terminal selection) is copied to the system clipboard. Alas, it works on one of my machines and not another (same versions of everything), and I can't for the life of me figure out why...but it's possible. I'll post my config once I figure out how to get it working on both.
Jan
26
answered How to cancel local port forward from ssh console
Nov
30
awarded  Yearling
Nov
5
awarded  Commentator
Nov
5
comment Can I set a default title for a tmux window?
I use set-option -g default-command "reattach-to-user-namespace -l zsh", and most of the time end up with a window named zsh, as desired. For unknown reasons, sometimes the name doesn't switch, and the window is called reattach-to-user-namespace. I still haven't noticed a pattern as to when/why this happens, but it seems like there might be a subtle bug, or something in my configuration.
Oct
8
answered Weird insertion from Vim on mouse click
Jul
25
comment Cannot change case of existing file name in OS X
Note that this is only fixed through hacks in OSX's tools (e.g. /bin/mv). The filesystem is still hopelessly broken (case-insensitive but case-retaining), so things like GNU mv and other not-hacked-for-OSX will still have this problem. Terrible decision by Apple that can't be fixed because too many commercial OSX apps rely on the bad design.
Jul
9
comment How can I get the current screen resolution from the command line on OS X?
On my Air running 10.8.4 with an external display, this shows both the Air's resolution and the external display's resolution, on separate lines.
Mar
28
answered What is the equivalent unix command to a Mac OSX “Compress” menu action?
Mar
19
answered Sudo <any command> throws: Command not found but works without sudo
Mar
19
comment Sudo <any command> throws: Command not found but works without sudo
Er, actually, I misread the problem. sudo is found; it's bundle that's missing. Make sure you have Bundler installed on the machine.
Mar
19
comment Sudo <any command> throws: Command not found but works without sudo
What does which sudo get you on the machine, both in the working and non-working states? It sounds like your sudo might be in a weird place.
Jan
30
comment How can I put a newline in my zsh prompt without causing terminal redraw issues?
print is part of zsh. You can see the help for it in man zshbuiltins. Bash has its own equivalent, but I'm not sure they're compatible.
Jan
16
answered How to make edits in Windows to files on a linux server?
Dec
20
comment How to get multiple physical windows for an ssh session?
In addition to the answers below, you may want to look into ssh-agent. This will remember your passwords for a configurable amount of time and allow you to login without a password on subsequent connections after an initial password login.
Dec
20
comment Remove an empty directory with ssh
The answer below is correct, but there's also no harm in doing rm -rf on an empty directory; it's identical to rmdir. Most of the time, if I don't care about what's in a directory, I'll use rm -rf rather than worry about whether or not it might be empty.
Dec
20
comment Remove all Mac generated files '._' with bash
That find command should work fine. If you're seeing warnings/errors like find: './._': No such file or directory, try running this instead: find . -depth -name '._*' -exec rm -rf {} \; to do a depth-first traversal, deleting matching items in subdirectories before trying to delete the directories themselves.
Dec
20
comment How can I select files which meet a condition in a directory structure
Thanks. I have some sort of mental block against -delete. Been using it with xargs for like 20 years. :)