Fixing Lion. Because reasons

These are terminal commands to make Lion behave like a real OS

# Disable Resume system-wide
defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false

# Disable auto-correct
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false

# Enable Safari’s debug menu
defaults write com.apple.Safari IncludeInternalDebugMenu -bool true

# Copy email addresses as `foo@example.com` instead of `Foo Bar ` in Mail.app
defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool false

# Disable Resume in Preview (seems to ignore the system level setting)
defaults write com.apple.Preview ApplePersistenceIgnoreState YES

# Disable Resume in Safari (also ignores system level setting)
defaults write com.apple.Safari ApplePersistenceIgnoreState YES

# Show the ~/Library folder
chflags nohidden ~/Library

# Always show scrollbars
defaults write NSGlobalDomain AppleShowScrollBars -string “Always”

# Expand save panel by default
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true

# Expand print panel by default
defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true

Thanks to https://discussions.apple.com/thread/3197405?start=0&tstart=0 and https://github.com/mathiasbynens/dotfiles/blob/master/.osx for most of these. Great resources.

VN:F [1.9.7_1111]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.7_1111]
Rating: 0 (from 0 votes)

Installing Lynx in Snow Leopard

Lynx is a text based browser that’s useful from the terminal in a pinch. It also works via SSH. Oh, the possibilities. Too bad it doesn’t automatically convert images to ascii…

Anyway, here’s how to install it on Snow Leopard:
(this method requires Xcode / developer tools installed)

mkdir ~/lynxsrc

cd ~/lynxsrc
curl -O http://lynx.isc.org/lynx2.8.7/lynx2.8.7.zip
tar xjf lynx2.8.7.zip
cd lynx2-8-7/
sudo make install
sudo make install-help


Voila. Lynx installed. Test it: lynx http://www.generallystupid.com

Have fun.

VN:F [1.9.7_1111]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.7_1111]
Rating: 0 (from 0 votes)

In case you were curious.

It’s past 3am on a work night. Why the fuck am I still awake?


VN:F [1.9.7_1111]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.7_1111]
Rating: 0 (from 0 votes)

PSA: Clearing the terminal (Ruby)

Since this took far too long to figure out:

puts "\e[H\e[2J"

will clear the screen in any UNIX Ruby installation (OS X included)

VN:F [1.9.7_1111]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.7_1111]
Rating: 0 (from 0 votes)

Land Rover: Mac Mini / iPad in-dash?

I have a 2003 Disco II SE with the Navtech factory GPS (terrible). I’m trying to decide between mounting an 8″ touchscreen (like Tony’s install… pic: Carputer) connected to a Mac Mini or integrating an iPad into the dash.

Since I don’t want to install any aftermarket audio equipment beyond what I already have, which is a BMW iPod/Aux adapter that replaced my CD Changer, that means I have to find a way to do what I need while still keeping the stock unit. I fully intend to hide it, but I haven’t investigated if there’s room to push it back into the dash an inch or two to fit either a monitor or iPad in front of it.

There’s a nice setup here, but it looks tacked on and unprofessional: DiscoNomads iPad, but I would prefer an in-dash solution. Being able to remove the iPad is not something I care about. It would require heavy modification to the dash plastic and relocating the climate controls. The iPad is slightly taller (.5″) than the dash plastic would allow for, so it’d take some creative work with bondo and plastiforming. That solution would still require the headunit, though (since I would be using an iPod AUX in converter that I use today with a Nano).

Some of the challenges:

  • Moving the head-unit backwards approximately 1″
  • Customizing the dash plastic
  • relocating the climate controls (cable length? how much play is there in the cabling to relocate approximately 5″ downward)
  • securing the iPad
  • On the Mac Mini idea, it may make more sense to use a broken laptop (since it’ll have battery power and can sleep… solves the bootup issue every time the car starts). Need to do a little more research there.

    I haven’t seen an installation done like this, so it’d be a first all around. Big undertaking.

    If I were to move the climate controls to behind the 4×4 mode shifter, would I have to extend the cabling myself? I’d have to fabricate an enclosure for them from scratch, and I’m not sure what to do about the 12v outlet.

    Might go check with Roberts Car Audio to see if he has any ideas on how to do this.

    VN:D [1.9.7_1111]
    Rating: 9.0/10 (1 vote cast)
    VN:F [1.9.7_1111]
    Rating: 0 (from 0 votes)

    Shisha: Starbuzz Pirates Cave


    Starbuzz has become my favorite brand of Shisha over the past couple of years. Their quality has consistently been higher than the competition and holds up over time stored at room temperature in a cabinet. Most sizes (50g, 100g, and 250g) come in a well-sealing metal tin, and the Kilo comes in a plastic jar with a screw on cap. All serve to preserve the flavor and moisture well. You can’t go wrong with any flavor from Starbuzz in my experience. Molasses is used as the base for flavor, so drip into the body isn’t a major issue compared to honey-based shisha from Fantasia and other vendors. Of course, you can avoid this entirely by using a Vortex bowl, but you’ll end up using more coal in the long run.

    What’s the first thing that comes to mind when you hear the name pirates cave? Perhaps something from Forgotten Realms? Or maybe Pirates of the Caribbean. Hook, if you’re old school. (I’m a dork, I know)


    set sail ye scallywags!

    Starbuzz has a unique naming convention to their shisha that doesn’t do much to describe the taste of the product. But it’s creative and can spark the occasional conversation. Names like Caramel Macchiato and Kiwi-Strawberry can get a little boring after a while. What’s the fun in knowing what you’re smoking, anyway?!

    The reality is a bit more mundane: lime! Don’t let that turn you away, however.

    After impulse buying this from hookah-shisha.com, it quickly became my favorite Shisha. From the first puff, the flavor is full and sweet. It reminds me of a lime margarita, and has a nice aftertaste. On average, each bowl of pirates cave lasts about an hour, and the flavor doesn’t diminish one bit.

    Each pull results in a medium amount of smoke. It’s certainly not a disappointing thickness, but won’t be as fulfilling if you’re accustomed to smoking coffee or caramel flavored shisha. Easily enough to puff a few smoke rings!

    When you first open the container, the shisha may seem a bit dry. Massaging the bag a little will spread the molasses (and is good practice for any shisha) and result in a much more flavorful smoke. It can be difficult to spread evenly in the bowl at times, which can result in added time during prep.

    One of the first things I’ve noticed with this shisha is the pleasant buzz you get after only a few hits. It’s not as strong as Al Fakher or Social Smoke, but it’s definitely there and won’t leave you light headed afterwards.

    I’m prone to headaches while smoking, but Starbuzz shisha typically doesn’t trigger one for me. This is a major plus in my book. Everyone reacts differently, of course, so your mileage will vary here.

    Overall, this is my favorite shisha. The flavor and duration are great for social settings and it’s typically agreeable to preferences of all types. When the party can’t decide on a flavor, this is my suggestion, and this is also a great introductory flavor for the uninitiated.

    Review Setup:
    Hookah: Nammor Pharoah 30″
    Bowl: Vortex
    Coal: Coco nara natural (x3)
    Accessories: Heba Diffuser

    VN:F [1.9.7_1111]
    Rating: 0.0/10 (0 votes cast)
    VN:F [1.9.7_1111]
    Rating: 0 (from 0 votes)
    Get Adobe Flash playerPlugin by wpburn.com wordpress themes