My Super Easy Paleo Diet Breakfast

I’ve seen people claim on other sites that eggs are an easy Paleo breakfast. I must be really lazy because I think cooking eggs is kind of hard, especially in the morning before work.

Fortunately, I’ve found something that works for me. I nuke 4 All-Natural Sausage Patties in the microwave, cut a bell pepper in half, and grab a hand full of baby carrots. easy-paleo-breakfast

I eat this almost everyday. It gets kind of blah sometimes, but it fits my routine.

I’d definitely be interested in hearing about what other people eat for breakfast before work. Please comment below if you have any recommendations.


Paleo Fast Food Options (My Personal Favorite)

If you’re like me and have embraced the Paleo Diet, you might find it difficult to find quality fast food options. My personal favorite is the Subway Chopped Salad. With a chopped salad, you pick the vegetables and the meat you want and they chop it up and blend it all together for you. My personal favorites are the Buffalo Chicken and the Philly Steak.

[Update] – Beware of the meat you choose. It may have surprising ingredients: Subway’s Allergen Chart

If you’ve found some other good Paleo fast food options, please share by commenting below.


My First GitHub Pull Request

I’ve been doing professional software development for 12 years. Most of my work has been done in consulting or product development of proprietary software. On occasion, I’ve come across bugs or potential improvements in open source projects that I’ve been unable to contribute to because someone else was paying for my time.

If you’ve read some of my previous posts, you may be aware that my blog is hosted on Heroku and utilizes Matt Hoofman’s WordPress-Heroku template project. By default, WordPress is unable to send email when hosted on Heroku. There’s actually an open Issue on the topic. I read through the comments on the issue and found a potential solution. The solution involved combining the SendGrid Heroku add on with the WP SendGrid plugin.

After implementing the solution for myself, I decided that it was worth the additional effort to contribute the solution back to the original project. Hopefully, it will save somebody else some time and effort in the future. The commits in the Pull Request consisted of bundling the WP SendGrid plugin with the template project and providing additional instructions in the README file.

I’m not sure why, but it felt a little scary to contact a stranger via GibHub and ask him to accept my changes. I think it’s just because I’ve never done it before. It may also be due to the fact that there’s a possibility of rejection which makes me feel a little vulnerable. Either way, it feels good to overcome that feeling and contribute to something valuable.

I hope you’ve enjoyed my post and I hope it inspires you to find something worth contributing to. Please comment if you’ve had a similar experience. I’d really enjoy hearing about it.

[Update] – My Pull Request was rejected. I’m a little disappointed but I guess that’s just the way it goes sometimes. I appreciate the fact that Matt was courteous and has provided a reasonable explanation.


Weekend Tour of Downtown Raleigh

This isn’t your typical post describing popular attractions like the wonderful museums and the historical places to visit in Raleigh. There are plenty of sites like Visit Raleigh that already do that. Instead, I will walk you through a real life experience that I had when my family recently came to visit.

The one request that my visitors had was to try some authentic North Carolina BBQ. The first place that came to mind was The Pit. Knowing how popular The Pit is, we decided to make reservations for 1:15 on Saturday afternoon. That decision paid off as the wait for walk-ins was at least an hour when we arrived. We started off with the deviled eggs and Pumpkin Cornbread then moved on to enjoying The Pit’s famous BBQ.

After lunch, we decided to go across the street and take a tour of Videri Chocolate Factory. This is my new favorite place to take visitors. The chocolate is great and the atmosphere is just as good. The employees are also very friendly and helpful. We took the tour, tasted some samples, and bought our chocolate to eat later.

Next, we strolled over to Tasty Beverage. We looked around at their expansive beer selection and had a small glass of pumpkin beer from the little bar in the back.

We wanted to take a break from consumption and walk off lunch and the beer so we went over to check out Raleigh Denim. They had a pretty cool workshop there. High-end fashion isn’t really my thing but it was cool to at least take a look at since I had never been before.

After our little break, it was time to get back to the gluttonous theme of the day so we walked over to Crank Arm Brewing. This was the first time I’d been there so I wasn’t sure what to expect. The atmosphere was nice. It was easy for everyone to talk and hear each other. We tried out the wheel of beers and then decided to move on to Glenwood South.

We started at The Cupcake Shoppe. I had a peanut butter cup cupcake and then we all split a plain jane cupcake (vanilla cake with vanilla buttercream) which was delicious. We had enough to hold us over on food for a while so we went a few doors down to The Raleigh Wine Shop.

We were a little late for the free scheduled tasting so we had to settle for the Wine Station. The wine station is a wine dispensing system that dispenses 1,2, and 4 oz pours. As we were sampling wine, the conversation somehow led to Sushi. This got everybody in the mood for it so we paid for our wine samples and walked over to Sushi O.

I had the Shrimp Tempura Roll and a few of us sipped on some saki. This was a new experience for me as I had never had Sushi before. I still don’t think I’m going to become a big sushi fan like I know some people are, but I enjoyed the experience of it nonetheless. After our long day of eating and drinking, we were all pretty exhausted so we headed home.

I hope you found the post informative and will consider taking this little tour for yourself. Please leave a comment if you do. I’d like to hear about your experience.



Since I’m on a mac, I’ll walkthrough how to install git on OSX. If you’re on a different operating system, you can find instructions here: Install Git.

There’s actually multiple ways to install git on osx. I’m going to walkthrough how to install it using the graphical interface. First download the latest version from the git-osx-installer page. Open the downloaded .dmg file and then click on the included .pkg file. Simply click through the install and accept the defaults.

To confirm your installation, open the terminal and type git –version. This should display the version that you’ve downloaded and installed. If it displays a different version, it means you are using git from a different install. To use the git version you’ve just installed, add /usr/local/git/bin to your path. Make sure it appears before any other directories that may contain git.

I hope you’ve learned something from reading this post. I’ve learned a few things while writing it. As usual, if you have any suggestions or issues, please leave a comment.


Learn Git

I’ve been casually learning git for about a year or so. Mostly on side projects since the bulk of my source control usage is still in subversion. I’ve learned most of the basics, but I believe there’s still a lot I don’t know. Over the next few months, I plan to learn some of the more advanced functionality of git and share it with my readers.

I’ll start with the basics so that people who are trying to learn git for the first time can follow along. If you are already familiar with the basics, please feel free to skip ahead. I’m hoping to learn a lot more about git as well so please feel free to comment on my posts and let me know if anything is inaccurate or outside of git best practices. Stay tuned…


How to Fix the “Could Not Connect to Server” PostgreSQL Error

I’ve wasted a few hours of my time on more than one occasion not being able to connect to PostgreSQL from Rails on my Mac. I thought I’d share the solution in case anyone else is having the same issue. Here’s the error:

could not connect to server: Permission denied
Is the server running locally and accepting
connections on Unix domain socket “/var/pgsql_socket/.s.PGSQL.5432″?

The problem is explained here this stackoverflow post

After trying the solution and running around in circles for a while wondering why it wasn’t working, I finally saw the comment explaining the need to reinstall the pg gem after the PATH update. I ran “gem uninstall pg” and then “bundle install” and everything started working again.


Basic Git Diff Variations

Show the changes of a specific revision:

git show [shaOfRevision]

Show the names of the files that have changed between 2 specific revisions:

git diff –name-only [shaOfRevision1] [shaOfRevision2]


WordPress on Heroku

Heroku is awesome!  From what I hear, WordPress is pretty awesome too so I thought I’d try combining them.  I googled “WordPress Heroku” and found this template on github:  The instructions in the readme were pretty straightforward.  I was able to get everything up and running at Heroku in about 20 minutes or so.

The problems didn’t occur until I needed to upgrade to WordPress 3.4.2.  Because Heroku has a read-only file system, I had to upgrade locally and then push my git repo back up to Heroku.

I installed MAMP and ran my wordpress app.  I got this error: “Connecting to your PostgreSQL database without a password is considered insecure.
If you want to do it anyway, please set “PG4WP_INSECURE” to true in your “db.php” file.”.

I setup a database and created a user with a password that had privileges and then tried putting the environment variable in my .bash_profile.  No dice.  I finally realized that it wasn’t reading my env variable properly so after a little googling I came across this post:  That told me that I needed to put my MAMP environment variable in the /Applications/MAMP/Library/bin/envvars file.  I did that and it started working.

Here’s a summarized list of how to solve this problem:

  1. Create a database called wordpress
  2. Create a postgres user with a username and password
  3. Assign privileges for the user on the wordpress database
  4. Add “export DATABASE_URL=postgres://myusername:mypassword@localhost:5432/wordpress” in the /Applications/MAMP/Library/bin/envvars file

I’ve Finally Started My Blog

For all of my fans who have been anxiously awaiting for my blog, it’s finally here!  Seriously though, I’ve been thinking about starting a blog for a while.  It’s always like “I should start a blog” and then I fire up my trusty macbook, start researching my blogging engine options and then get distracted (usually writing code instead).

I’m not really sure exactly what I’m going to write about, but my main goal is to become a better writer.  I googled “How to become a better writer” and the first suggestion I read was to write often.   So that’s what I’m going to do.  I’ll probably write a lot about software since that’s my work and my hobby.  I also have a strong interest in things that are happening in Downtown Raleigh so expect some posts on that as well.

Thanks for reading my first post!  I hope my future posts will be far more interesting than this boring introduction post.