3,625 reputation
822
bio website ithaca.arpinum.org
location New York, NY
age 45
visits member for 4 years, 9 months
seen yesterday

Tinker, tailor, soldier, spy


Sep
1
comment Building Vim with rbenv and Command-T on OSX
@romainl I've never used neocomplete. Lua bindings are important to me because I use Lua.
Aug
31
comment Building Vim with rbenv and Command-T on OSX
@romainl MacVim doesn't come precompiled with Lua support, among other things. But now I just compile MacVim myself as well: github.com/telemachus/brew/blob/master/Formula/macvim.rb.
May
26
comment Can FIGNORE be limited to specific applications?
@romainl Just tried. It doesn't appear to work. FIGNORE may need to be set in the shell rather than used per command in that way. (Hadn't thought to do it that way - a good thought, but looks like it doesn't work.)
May
6
comment find command is giving error on Mountain Lion
If you're coming from Linux or getting tips from a Linux source, it's always worth remembering that many commands on OSX are BSD versions, not the GNU ones you might be familiar with. They differ in many small, subtle ways and some big, not-so-subtle ways too.
Jan
15
comment Bash: changing font size
You can use ANSI escapes (or tput) for bold just like for color: wiki.bash-hackers.org/scripting/terminalcodes. Either way, don't forget to reset the output when you're done.
Nov
5
comment Migrating from cmd to mac
Links I found useful for learning about launchd and launchctl: dustin.github.com/2010/02/28/running-processes.html, alvinalexander.com/mac-os-x/…, alvinalexander.com/mac-os-x/…. Also, if you are a Ruby person, check out Mike Perham's lunchy.
Nov
1
comment Building Vim with rbenv and Command-T on OSX
@romainl No, it isn't if you want to build vim with support for options not included by MacVim.
Nov
1
comment vim: how do I view my history of yanks and deletions?
@NoamGagliardi That book is mediocre at best (not the norm for O'Reilly). I highly recommend Practical Vim.
Aug
12
comment TextMate file type association
@umassthrower Thanks for letting me know that. I generalized too quickly. Updated the answer to make that clearer.
May
1
comment How to remove the Ubuntu Gnome desktop after making the switch to KDE?
@BloodyIron To be honest, I'm not sure. I don't think the Ubuntu Software Centre existed the last time I used Ubuntu. I'm more comfortable with the command-line tools (and Debian), but there may be a GUI or Ubuntu-specific way to do it as well.
Apr
29
comment sh: time command not found
Check man time and see if your implementation of time lacks the -p flag. That said, even if the flag was the problem, the error should then be -p: command not found not time not found. All that said, are you sure your system's sh is pointing to bash? If you're on some operating systems, it may be dash. (Again, not sure that helps unless dash lacks a time built-in and you have no separate time command.)
Feb
4
comment How different shell scripts map to different OSes
Debian and its children distros (at least some of them, Ubuntu for sure) now use Dash as /bin/sh. So I would be very careful about assuming that Bashisms will work on "just about any Linux distro out there". See this for some tips regarding how to avoid Bashisms: wiki.ubuntu.com/DashAsBinSh.
Nov
17
comment select files from a set
This sounds like a programming question more than a user one - maybe more appropriate for Stack Overflow? Beyond that, can you explain a little more what you want to happen? You want to use the find command to show all the files and then let the user trim the selections?
Nov
13
comment CPAN install to many directories
@Jayen With a set-up like that, I understand not wanting to install a new Perl interpreter. local::lib and cpanm should be able to simplify your modules, though, even without Perlbrew.
Jun
18
comment Corrupt vimrc file
This shouldn't be necessary since MacVim enables Ruby support by default.
Dec
20
comment Easy way to get gcc and make in OSX
This is slightly orthogonal to this question, but for future Googlers. The Xcode installer bundles together a bunch of (smaller) .pkg packages. In theory, you should be able to open Xcode and install only what you really want from it. See this link, for example, github.com/mxcl/homebrew/wiki/Xcode
Nov
21
comment What is the official installer for Unix packages on Mac OS?
If you want prebuilt binary packages, check out Rudix.
Oct
5
comment list/find all regular files in all subdirectories excluding binary files
I thought of a similar thing, but worried that executable != binary. Nevertheless, you can do this just with find as well: find . -type f \! -executable
Oct
4
comment How to get SSH working on Linux laptop?
Ah, also, to stop, start or restart sshd (say to load new configuration settings), you will probably need something like this: sudo /etc/init.d/ssh [stop, start, restart]. You only want one of the commands in the brackets at a time - an no brackets.
Oct
4
comment How to get SSH working on Linux laptop?
I half suspect that you enabled SSH login for the router itself with that checkbox. That is, some routers allow you to ssh into them in order to make changes to the router securely (and remotely). Also, how exactly are you trying to log in via ssh? Are you specifying a user? It should look something like ssh user@myip.etc, not just ssh myip.etc