Setting up python with virtualenv & virtualenvwrapper on OS X – Mountain Lion (10.8.2)

May 15th, 2013

It’s pretty straight forward. There are only a couple of differences from linux.


Here are the steps:

  • brew install python (Currently 2.7)
  • pip install virtualenv
  • pip install virtualenvwrapper
  • find / -name (should be in: /usr/local/share/python/
  • Add the following lines to ~/.bash_profile or ~/.bashrc
    • export PATH=/usr/local/share/python:$PATH
    • export WORKON_HOME=$HOME/.virtualenvs
    • source /usr/local/share/python/
  • source [~/.bash_profile|~/.bashrc]

That’s it you’re done!

Setting Up My Machine – Just the way I like it! – Part 1

November 22nd, 2011

One of the hallmarks of Windows is that anything can “run” on it.

One of the hallmarks of OS X is that it works out of the box.

One of the hallmarks of Linux is that a user can configure it anyway they like.

So how is it I like all of them and none of them at the same time?  Well because of their hallmarks of course.  Why wouldn’t I want a machine that can do it all?

The problem is I’m a gamer, so it’s going to be a while before I’m able to ditch Windows entirely.  So what’s a fella to do in the mean time?

  • Dual-boot?  That’s a pain when multi-tasking or trying to accomplish something quickly.
  • Use Windows full time?  Forget that, if you’ve ever tried open source development you’ll see why.
  • Virtualization?  Maybe?
So the first thing I started to look into was how to virtualize OS X (Lion).  Why?  Because I don’t like begin forced to tweak things on my development machine just to get up and running.  I like things to just work.  (I know what all you linux gurus are going to say, however, this is my article and I’ll make any gross generalizations I want.  Anyway, if you stick with me for a little bit longer.  So now you know my first choice but there’s a problem.  Trying to get Lion to run on a non-Mac platform is like trying to install linux years ago, tons of tweaking, hacking, hair pulling, and still only certain things work.  Refer back to my earlier comment of liking things to just work and let’s throw that out of the window.


Next up linux.  It’s been a while since I installed and worked with Linux and honestly most of it was due to just how darn ugly the OS is out of the box.  The fonts are horrid, the alignment issues on windows, frames, buttons, text, etc are horrid.  Just looking at it in screenshots makes me want to puke.  What can I say, I like a UI to first engage me, be easy to look at, then make it easy to do what I want.  Windows looks great!  But then it falls on it’s face when you try and get something done.  Linux suffers from looking bad and confusing you while trying to get stuff done.  I guess that’s what you get when you put a bunch of EXTREMELY bright engineers in a room with no design skills whatsoever and ask them to put a UI to command line.  Furthermore, for some reason they believe the UI should have the power to do everything the command line options present.  If you’re a UI designer for Linux reading this.  Please go to some design courses and learn about usability from the common user perspective.  Think of us once in a while.  As a side note there are lots of “themes” for Linux to make things look pretty.  But then you’re just poor representation of Windows with a Linux backend.  There are other things that need to be addressed in the UI that are much deeper.


So for the the next few days, weeks, months, whatever it takes I intend to come up with a Linux setup that suites my needs.  Who knows maybe at the end of this journey I’ll give the ol’ MacBook a heave-ho. (I doubt it.)

I’ve been inspired…

March 19th, 2011

Today I decided to make a public announcement in the hopes that it will help me hold to my resolution.

This morning I woke up and weighed in at 178.4lbs.
My first milestone is May 14th, the weekend before the family beach trip. I want to be 162lbs.
My final milestone is June 14th. My goal weight is 155lbs.

Who inspired me? My sister, Crunchy Mama.
– Check out her site: Crunchy Mama Life

I don’t plan to be an inspiration like she does, without even trying I might add, but I do intend to try and hold myself accountable!

The boys are growing up…

August 6th, 2010

So the boys are growing up and I don’t wanna! The Evo is gone, the 4Runner is gone, and now I have a 4×4 Tacoma. A lot of my friends ask me why? The answer is pretty simple: I need a vehicle that can enable me to do things with my boys. So I got the “Taco Lantern”. We’ve already been off-roading, we are planning a camping and fishing trip, and theirs a rumor of a possible boat in the future.

P.S. – I am posting this on my newest toy, iPad, I’m hoping it offers more than just entertainment in the long run.

Scrum… It's Yum, Yum, Yum!

October 30th, 2009

No I’m not talking about Rugby, although I like that too. I’m talking about an Agile Management practice being quickly adopted by companies all over the world. But that’s not really what I’m writing about today. What I want to talk about is the lack of free tools on the web. Go ahead, try to Google for them.

I’ll wait…

Okay, I’m a bit impatient here so let me do it for you.

Click here.

Got it? There’s a ton of results! But have you actually reviewed any of them? I have, and let me tell you, it’s not pretty. Most that are free are really buggy. They lack any kind of community support, and are only free trials. Or, they have a license limit that will drive you insane. Eventually, I gave up trying to find one that would fit our needs at work, and set out to start building my own. Currently, all we need is a way to manage our Backlog without using Excel. Don’t get me wrong, Excel is a great tool, but it leaves a lot to be desired when it comes to Scrum management.

But alas, I didn’t want to just build another application even if we had a purpose for it. I wanted to learn something in the process. I keep hearing about ASP.NET MVC – it’s hot, it’s cold, it’s old, it’s new. It can’t seem to make up its mind as to what it is. But I can and I have an opinion. It’s awesome! Pure genius! I think I’m in love. Oh, and I also wanted to try out ADO.NET Entity Framework. That’s another “new to me thing” from Microsoft; and, although it’s buggy it certainly helps you get a project off the ground in record breaking time. So far, I’ve invested less than 16 hours in this tool. I have sprints, user stories, products, tasks, priorities, etc… lots of things. It’s really blowing my mind, how quickly this got up and running.

Keep in mind that this was my first time cracking open two brand new technologies. I’m sure I didn’t do everything perfect, and I’m sure I made mistakes… you’ll probably find a multitude of things wrong.  With that being said, I want to start giving back to the community that has given so much to me over the years and share my project with you! I’ve never done this sort of thing before; so, I’m going to start out small and give you a zip file that you have to setup yourself, on your own servers.

Here are the steps for getting this up and running – as best as I can remember them. As there may be holes in the process, please feel free to post comments and I’ll try and address them if you haven’t figured out a way yourself.

Here are the steps for getting this up and running – as best as I can remember them. As there may be holes in the process, please feel free to post comments and I’ll try and address them if you haven’t figured out a way to handle them yourself.

Download: BackLogger

  1. Make sure you have IIS installed.
    1. Create a new web site (BackLogger)
    2. Open the Properties on the new web site
      1. Click the “Directory Security” tab
        1. Click “Edit” under “Authentication and access control”
        2. “Uncheck” the “Enable anonymous access”
        3. Make sure “Integrated Windows authentication” is checked.
      2. Click the “Home Directory” tab
        1. Point the “Local path” to empty directory we’ll drop the files in here later.
        2. Make sure “Execute permissions” is set to “Scripts only”
        3. Click the “Configuration” button (Ignore this section if you have IIS 7 installed.
          1. Click the “Insert” button
          2. In the “Executable” text box enter without the quotes, “C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll”
          3. Make sure to “Uncheck” the “Verify that file exists” option.
      3. Click the “Documents” tab
        1. Make sure “Default.aspx” is configured.
  2. Make sure you have a MS-SQL database installed.
    1. Create a new database, I suggest BackLogger, but it doesn’t matter what you call it.
    2. Make sure you set up a user to use for the application to have access.
      1. I suggest making it simple, but this will also support Integrated Security if you feel so inclined.
  3. Download & Install ASP.NET MVC 2 Preview 2
  4. You may need to download ADO.NET Entity Data Model at this point, but I think VS 2008 already has it.
  5. Download BackLogger
    1. Unzip the file file to any directory you can find.
    2. You’ll find a SQL script.  You’ll want to execute this in the database you created earlier.
    3. Now you’ll want to move the files in the BackLogger folder to the IIS directory you set up earlier.
    4. One last step, simply alter the web.config file in two locations to get it connecting to your database and using the authentication method of your choosing.
      1. Look for Line 25 (Ctrl+G) or find the section under <configuration> called <connectionStrings>  You’ll want to alter the line that starts with “<add name=”BackLoggerEntities” …”
        1. Search for <Your Database …> values and replace them accordingly.
      2. Next go to line 65, (Ctrl+G) or find the section with <authentication mode=”Windows”>
        1. If you alter it to something other than “Windows” it may throw errors, if it does let me know I haven’t tested that part and I’ve got kids that want my attention for bedtime!

I hope I didn’t miss anything!  I probably did though!

Good luck!