Can't Boot Ubuntu on Macbook Pro - Fuzzy Screen

You try to boot ubuntu, but it loads with a corrupted screen and you can’t see any options… Chances are you are trying to run the gui on some hardware that isn’t working correctly. No need to fear. If you are booting with grub, select the option to “Install Ubuntu” and press whatever key is designated to edit the command. more...

02 Oct

How to Make a Live USB on Mac

Posted by Mike Categories: Blog
How to Make a Live USB on Mac

The ubuntu instructions are simple but may not work. There is a much better tutorial here: http://computers.tutsplus.com/tutorials/how-to-create-a-bootable-ubuntu-usb-drive-for-mac-in-os-x–cms-21253 Or if you don’t feel like opening terminal. Just download the distro, download this: http://unetbootin.sourceforge.net/ and pop in your usb. more...

01 Oct

Installing Turtlebot and ROS On Your Mac

Posted by Mike Categories: Blog
Installing Turtlebot and ROS On Your Mac

I want to set up my workstation on my mac so I can teleop turtlebot. To do that, I need to first install some things. Get homebrew installed and follow the instructions here: http://wiki.ros.org/groovy/Installation/OSX/Homebrew/Source A couple things to note: Once you tap ros/groovy, you will end up with a warning. Follow the instructions and enter more...

Got a banana pi. Like it more than raspberrypi. wont go into details, but it’s faster, quadcore, has more ram, more GPIO pins and an onboard infrared sensor. Basically, it’s better, trust me. Oh and you can install a flavor of raspbian on it, just suited to banana pi. NOTE: if you try to install regular raspbian, you wont see video from more...

30 Sep

My First Cardboard Demo

Posted by Mike Categories: Blog
My First Cardboard Demo

Many more where this came from, basically, I’m going to be doing a alot of this… You can view this on your mobile using google cardboard or http://projects.ict.usc.edu/mxr/diy/vr2go/ Anyway check it out: http://iwearshorts.com/iwearshorts.com/demo/cardboard/city/ more...

Find the Top Ten Largest Files/Folders on Your Server

quicky but a goody du -hsx * | sort -rh | head -10 Thats all more...

Generate Custom SSH Keys for Developers on Your Amazon Instances

The process is pretty simple. Let’s say you use an ssh key (.pem) file generated by Amazon. However you use the same key on a few of your instances and you’d like to allow a developer access to only one at a time. To do that, you need to generate a custom ssh key for your developer to log into one machine: Generate a custom ssh key (private) Generate more...

09 Sep

Get the most recent commit hash

Posted by Mike Categories: Blog
Get the most recent commit hash

Sometimes you just need one line that says your most recent commit in git. You just want to make sure everything is up to date. It’s super simps. git rev-parse HEAD more...

27 Apr

How to Open a New Window From Menu Cocoa

Posted by Mike Categories: Blog
How to Open a New Window From Menu Cocoa

quick one today. The video shows you how to open a new nswindow from a drop down menu selection. It allows for the nib to be instantiated and call all of the expected “windowDidLoad” behavior.   more...

11 Apr

8 Bit Color or 256 Color Array

Posted by Mike Categories: Blog
8 Bit Color or 256 Color Array

I’m sending color to an arduino and I’d like to send the entire rgb value in one byte. It’s easy to translate this from rgb values. Something like: int color = ((b&255 & 0xC0)+((g&255 & 0xE0) >> 2)+((r & 0xE0) >> 5))&0xFF; But once you get that byte to the arduino, you need to convert it back to an RGB value more...