Ben McCann

Co-founder at Connectifier.
ex-Googler. CMU alum.

Ben McCann on LinkedIn Ben McCann on AngelList Ben McCann on Twitter


MySQL Commands Cheatsheet


Install SQL Buddy sudo apt-get install apache2 libapache2-mod-php5 php5-mysql sudo /etc/init.d/apache2 restart Download SQL Buddy, unzip, and move to /var/www Allow connections from a remote server: Set the bind address in /etc/mysql/my.cnf to your ip address Open the port in the firewall by running “/sbin/iptables -A INPUT -i eth0 -p tcp –destination-port 3306 -j ACCEPT” Read More

Embedded Jetty


One of the coolest things about Jetty is the ability to run it in embedded mode.  This means that you can write a Java app with a main method that will launch a Jetty server.  This has some really nice benefits.  For example, it makes it really easy to deploy a server to EC2 because Read More

Creating .asc signature files with GPG


First make sure you don’t have a key already: gpg –list-keys If you didn’t and need to create a key then run: gpg –gen-key It might hang for awhile while generating enough random entropy. Run “ls -R /” to speed things up. And upload it to a public key server: gpg –keyserver hkp://pgp.mit.edu –send-keys <keyid> Read More

Getting started with R


Getting Help R is incredibly frustrating to learn because it is impossible to do a Google search and have anything meaningful come back for the query “R”.   RSeek may provide some help in this regard. Installing Libraries To use R in Linux, I recommend installing the latest version of the RKWard GUI program. As Read More

Installing Evan’s Debugger in Ubuntu


Evan’s Debugger is a Linux replacement for OllyDbg. You can install it by downloading the .tar.gz and doing the following: $ sudo apt-get install libqt4-dev $ sudo apt-get install libboost1.40-all-dev $ tar zxvf debugger-0.9.15.tgz $ mv debugger /usr/local/src/ $ cd /usr/local/src/debugger $ qmake -makefile DEFAULT_PLUGIN_PATH=”/usr/lib/edb/” $ make $ sudo make INSTALL_ROOT=/usr install

My first experience with Ubuntu


I just got a laptop loaded with Lucid Lynx and have had a bit of a mixed experience adjusting.  I’ve actually used Ubuntu a bit in the past, but only minimally and never as my primary computer until now. First reactions I like the default background. Have the fonts improved?  Fonts have always looked bad Read More

Trouble Resuming NX Session


Resume button disabled I was unable to resume my NX session.  While trying to connect, the resume button was greyed out (or grayed out)  This apparently can happen if the two machines are running at a different color depth. The machine I was trying to connect to was running Ubuntu, so I checked the color Read More

Using Struts 2 on Google App Engine


Google App Engine (GAE) has some great benefits such as scalability and the fact that it’s free to start.  When using Struts 2 with Google App Engine there a few things to keep in mind. The first is that it runs inside a security sandbox that is more restrictive than your typical Java environment.  This Read More

openSUSE 11.2 Setup and Review


openSUSE is my favorite Linux distribution.  Linux in general has some usability frustrations as a desktop user, so I hope to share some of the ways they can be dealt with.  If you have questions of your own leave a comment. Fix horrible bug that breaks buttons GDK has a horrible debilitating bug that was Read More

Newer Posts
Older Posts