Archive

Archive for the ‘How-To’ Category

Git aliases

January 12th, 2010 Michael Comments off

I’m constantly passing a list of git aliases I use in my terminals.  Here they are:


alias gb='git branch'
alias gba='git branch -a'
alias gc='git commit -v'
alias gca='git commit -v -a'
alias gd='git diff | mate'
alias gl='git pull origin master'
alias gp='git push origin master'
alias gst='git status'

Categories: How-To, Linux, Mac, Open Source, Programming, git Tags:

Comparing arrays in Ruby

January 6th, 2010 Michael Comments off

There are a number of instances where you may find yourself with two arrays and you need to find the values that do not exist in both.  This is fairly simple:

For these two arrays:

a = ["rockets", "saucers", "underwater", "warp"]
b = ["saucers", "fuel", "moon", "warp"]

A simple way to do this is to put the two arrays together and then remove the items that exist in both:

(a | b) - (a & b)

Gives you:

["rockets", "underwater", "fuel", "moon"]

Categories: How-To, Programming, Rails, Ruby Tags:

Xcode color bliss

January 7th, 2009 Michael Comments off

Thanks for the tip from @al3x on the XThemes tool.  I love the midnight theme in textmate and now my eyes are happy in XCode.

Categories: How-To, Mac, Programming, Xcode, apple Tags:

Unattended Passenger / Ruby Enterprise Installation on Ubuntu 8

December 23rd, 2008 Michael Comments off

Want to save some time when installing on Ubuntu?  We do too:

Check it out on the brightlight blog:

Unattended Passenger / Ruby Enterprise Installation on Ubuntu 8

Categories: How-To, Linux, Rails, Ruby Tags:

Upgrading to rails 2.2

November 22nd, 2008 Michael Comments off

We’re busy testing our apps on rails 2.2 now that it’s out.

Things are going very well. We’re here to help you with yours if you need us, send an email to support@imapenguin.com

Categories: How-To, Programming, Random Cool Stuff, Ruby Tags:

Help in upgrading to Ununtu 8.10

October 24th, 2008 Michael Comments off

As most of you know, Ubuntu 8.10 is set to be released next week.

As usual at Ubuntu upgrade time, we’re here to help with questions and issues.

Drop us a line at support@imapenguin.com anytime.

Categories: How-To, Linux, servers Tags:

Logical Volume Manager(LVM) Primer

July 30th, 2008 mike Comments off

Ever wonder what the mystery behind Logical Volume Manager is on your Linux box? Linux.com has a primer on LVM that’s worth 2 mins of your time.

Categories: How-To, Linux Tags:

Quick and Dirty RAID 1 on CentOS 5.2

July 23rd, 2008 mike Comments off

Had this question a couple of times this week so we decided to do a quick screencast. In this setup, there are 3 SCSI drives:

sda = 20GB
sdb = 40GB
sdc = 40GB

The OS will be installed on the sda as / and the 2 40GB drives will be setup as RAID 1 and mounted as /vmware

Need help with your setup? Email us at support@imapenguin.com.

We’re still playing with the resolution settings on Vimeo, the source video will be available for download soon…

Nate’s How-To Update Ubuntu Servers to Close Ruby Vulnerabilities

June 26th, 2008 mike Comments

ubuntu logo

Nate Clark is right. The risk of the recently announced Ruby vulnerabilities may or may not be high, but let’s not take any chances.

He’s done a quick and good how to on upgrading Ubuntu servers. Check it out. Nate Rules.

Categories: How-To, Linux, Rails, Ruby, Security, servers Tags:

Ramping up for the Imapenguin Screencast Launch

May 2nd, 2008 mike Comments off

Mid June we’re going to launch Imapenguin Screencasts. We’re in post production of the first few now.

The short short version of the service is: Learn something really interesting and useful from an expert for $9. They’ll be about an hour and cover topics like:

  • Mac OS X Security
  • Ubuntu Security
  • Launching and managing your business website with Wordpress
  • Network Mapping with Open Source tools
  • Install and configure Gentoo (you know you want to geek out with Gentoo)
  • Snort

Check back with us at Imapenguin.com soon!

Categories: How-To Tags: