Sacramento, CA

Sunny 64° | 35°

Seattle, WA

Sunny 57° | 35°

Buk Life

Archive for the ‘Operating Systems’ Category

4 June 2009

Making your MAMP domains public

We use MAMP PRO as our local environment when we do LAMP work.  Here’s how to set it up using DynDNS so that you can provide web accessible urls to your vhosts.  This is handy to share with clients or coworkers in other offices but also for using web apps like Litmus (which was the situation I was in today).

1) Create a free account at dyndns.com.  Once you’ve activated your account, go here to create your domains.  Name them whatever you want and use the auto detected IP address.  Go through the add to cart hoops, but it will be free.

DynDNS create screen

2) Setup port forwarding in your router.  You may not need to this, but I’m guessing most would and it’s the most confusing part IMO.  We have an Airport Extreme and the configuration is below.  10.0.1.201 is the local IP of my computer on our network.  I’m port 80 externally to my local port 80.

picture-22

3) Setup MAMP.  Last step, go into MAMP and add the domain you created in DynDNS as an alias of your vhost.  This isn’t super documented but I saw the tip here.  It should all be humming now.  Now you can go to whatever.hobby-site.org and the request will travel down to your local box.

Tags: , ,

1 June 2008

How Robert does Email

First thing I do is have my mail forward from gmail to an imap account on our dreamhost dev server. This is because I don’t like how gmail handles flagging. But essentially, I setup Mail.app to check my mail via imap. I leave my Inbox in threaded view and I use that for looking up old conversations. The crux of what I do differently is I have a smart folder named “To Do” that I am in most of the time and essentially my real inbox. Here are it’s settings:

picture-2.png

Thus, this smart folder shows anything I’ve flagged and anything that is new. Also, when you unflag or read something it doesn’t disappear. So really, this todo folder shows all recent stuff as well, until you click to look at a new folder. In addition, I color code emails too using groups in my address book. Green is BKWLD, blue is friends, orange is family, etc. So, my todo mailbox ends up looking like:

My inbox

This way I can quickly keep track of new things and stuff that still needs attention. And I achieve the zero stuff in inbox serenity if I can work through all the flagged and unread emails without having to actually move or delete things.

Tags:

17 January 2008

Changing keyboard shortcuts

I’ve always wanted to change tabs in TextMate so it worked the same way as Safari. I found this post that explains how. But even more so, it got me remembering that System Pref. I’ve seen it in there but never used it. And it works great!

picture-1.png

2 I’ve always wanted to change tabs in TextMate so it worked the same way as Safari. I found this post that explains how. But even more so, it got me remembering that System Pref. I’ve seen it in there but never used it. And it works great! Robert Reinhard,CTO

January 17th, 2008 at 11:23 AM
Posted By: Robert Reinhard in Operating Systems

iPhone 1.1.3 map triangulation things IS useful

When I first saw the inaccuracy of the new maps triangulation feature I figured I’d never find much use for it. For instance, I couldn’t use it to get from my office home, since the range it gave for my office was so big. But yesterday it came handy a couple of times:

  • I was on the train on the way to Portland and was able to figure out where I was on the route
  • I was in Portland, which I don’t know super well, and was able to get the map centered in generally the right area, from which I was able to look for street signs.

Also, I noticed that if you use the triangulation twice in row, you’ll get different results. For instance, the error range was super huge one time, but I hit again and it narrowed down to only about a block size error range.

Tags:

14 November 2007

Leopard + mysql 2

I installed Leopard on my work comp last night. Because I was scarred of php/mysql config from Mark’s post I ended up using Mamp. Just learned of it this morning and installed it, but it’s working pretty nice. One useful thing is it makes it really easy to change your apache directory, so you could test sites out as the root of the webserver without any host file / vhost shenanigans. Also, you can quickly switch between php 4 and 5. I wish it installed as a system pref instead of an app, but still, pretty rad.

Mamp

Tags: ,

10 November 2007

Managing the finder in spaces

I’ve been running Leopard on my laptop for the past week (haven’t put it on my work comp yet) and there is a lot I like, but as usual, there are a number of irritants. One on that list I’ve been able to put to bed. The finder behaves unexpectedly when used with spaces. Or rather, it behaves like it should, but it just feels weird. To be able to manage the finder absolutely, in my case making it available in all spaces, you just need to know where to look for it.