1,047 reputation
21529
bio website caiochassot.com
location Brazil
age 31
visits member for 5 years, 5 months
seen Aug 7 at 19:08
primadonna ruby developer, connoisseur of regexp esoterica, one-liner showoff, snooty mac user, unix weenie, maker of fine vapourware, and designer wannabe.

Aug
3
comment Remove Mac OS X SSH Passphrase Pop-Up
Related: superuser.com/questions/73387/…
Aug
3
comment Remove Mac OS X SSH Passphrase Pop-Up
I assume you mean the OS X Keychain popup? Honestly, the thing is a godsend. But anyway… weird that some times you get it, some times you don't.
Aug
3
comment How to make Quick Look preview text files in UTF-8 by default?
Speaking of launchd, WatchPaths and QueueDirectories may do the job without my needing to tap fsevents myself.
Aug
3
comment Sometimes my .bash_history gets cleared. Why? How can I prevent that?
Hum, will try that. But this default value of 500 gave me a hint (it's the same for HISTSIZE): maybe when I start a shell that doesn't set these variables, the default of 500 kicks in and truncates my history. Makes sense?
Aug
3
answered How to make Quick Look preview text files in UTF-8 by default?
Aug
3
accepted How to make Quick Look preview text files in UTF-8 by default?
Aug
3
comment Sometimes my .bash_history gets cleared. Why? How can I prevent that?
Yeah, just me. No way I deleted the file. This happens quite regularly. I don't even think the file is ever deleted, just truncated.
Aug
3
comment How to make Quick Look preview text files in UTF-8 by default?
I guess now I need a way to run that for every text file I create. fsevents and Folder Actions come to mind. Would be nice if TextMate had post-save hooks too.
Aug
3
comment How to make Quick Look preview text files in UTF-8 by default?
In my opinion, the OS defaulting to MacRoman while the world has moved on is asinine.
Aug
3
asked Sometimes my .bash_history gets cleared. Why? How can I prevent that?
Aug
3
asked How to make Quick Look preview text files in UTF-8 by default?
Aug
3
comment How to ssh to an unreachable remote machine by tunneling through a server that everyone can reach?
-N is not -f. The process remains in foreground, you just don't get a shell. So, you don't have to fiddle with ps, just ^c. The advantage for me is exactly in not having a shell open. Otherwise I'm inclined to think it's just an idle remote shell and close it, and daaamn, just lost my tunnel.
Aug
2
comment How to ssh to an unreachable remote machine by tunneling through a server that everyone can reach?
Why are you omitting the -N option? Not that it's necessary, but do you not prefer it?
Aug
2
comment How to ssh to an unreachable remote machine by tunneling through a server that everyone can reach?
oops, I meant localhost there.
Aug
2
comment How to ssh to an unreachable remote machine by tunneling through a server that everyone can reach?
Yeah that would be awesome but I don't even know where to start. Care to post an answer?
Aug
2
comment How to ssh to an unreachable remote machine by tunneling through a server that everyone can reach?
So, I fixed your commands and posted a new answer because I don't have rep to edit your answer directly. If you please do this edit I'll gladly accept your answer and remove mine.
Aug
2
comment How to ssh to an unreachable remote machine by tunneling through a server that everyone can reach?
Awesome. Short and to the point.
Aug
2
comment How to ssh to an unreachable remote machine by tunneling through a server that everyone can reach?
updated question with reachability details. sucks that you put so much effort into a great answer that's however useless :P
Aug
2
revised How to ssh to an unreachable remote machine by tunneling through a server that everyone can reach?
added 33 characters in body; added 38 characters in body
Aug
2
revised How to ssh to an unreachable remote machine by tunneling through a server that everyone can reach?
added 225 characters in body