3,815 reputation
bio website ithaca.arpinum.org
location New York, NY
age 46
visits member for 5 years, 5 months
seen Dec 18 at 0:43

Tinker, tailor, soldier, spy

comment How to disable ipv6 in Linux Mint
@Aaron This should probably become the accepted answer now. My answer is likely to be out-of-date for most people.
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.
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.
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.)
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.
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.
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.
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.
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.
comment TextMate file type association
@umassthrower Thanks for letting me know that. I generalized too quickly. Updated the answer to make that clearer.
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.
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.)
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.
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?
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.
comment Corrupt vimrc file
This shouldn't be necessary since MacVim enables Ruby support by default.
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
comment What is the official installer for Unix packages on Mac OS?
If you want prebuilt binary packages, check out Rudix.
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
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.