New article

wtf no more images

published on 06 Dec. 2018

Edit Destroy


published on 12 Nov. 2018

Edit Destroy

all systems are a go.

published on 09 Aug. 2018

I went from this...

to 👍 this...

Edit Destroy

I don't always post but when I do

published on 10 Apr. 2018

Edit Destroy

grrr (╯°□°)╯︵ ┻━┻

published on 21 Mar. 2018

I really need to start backing shit 💩 up before upgrading postgres 😑
Edit Destroy

Hibiscus brew

published on 05 Dec. 2015

Had some good friends come over today, and we brewed a beer with Hibiscus flowers :D
Edit Destroy

pumpkin spice ale round 3

published on 06 Sep. 2015

Here are some pictures from a pumpkin spice ale I brewed yesterday :D

Edit Destroy

Honda CB750 Carbs complete

published on 15 Jul. 2015

Finished rebuilding the carbs, and got them installed.
Edit Destroy

KegCop progress

published on 23 Jun. 2015

KegCop passed review \o/ so now I just have to hear back from Apple on the pending contract status.
Edit Destroy

Honda CB750 Carb rebuild

published on 22 Jun. 2015

Edit Destroy

kegcop waiting for review

published on 15 Jun. 2015

godspeed KegCop ;)
Edit Destroy

Honda CB750F wiring harness removal

published on 04 Jun. 2015

I removed the old crusty wiring harness from the motorcycle today.
Edit Destroy

CB750F rear shock install

published on 02 Jun. 2015

Here are some pictures of a rear shock, and ignition switch install on a cb750F

Edit Destroy

New Motorcycle

published on 25 May. 2015

Just want share some pictures of a motorcycle I recently purchased.
Edit Destroy

How to get the broadcom pci 1570 web cam working in Linux using qemu with OS X VM

published on 13 Feb. 2015

Objective: Alright, I'll try to make this short and sweet ...ughhh I hope. Anwyays, this article will detail / outline the steps I performed to get the Broadcom PCIE 1570 web cam found in late 2013 MacBook Pro's (MBPr) to work in a Linux environment.

So first thing is first, the Broadcom PCIE 1570 web cam is only working / tested in a OS X (10.10 Yosemite) VM running qemu. Secondly, I am sure you read the article where I outline building SPICE support for qemu, if not you can check it out here. Third, as always your gonna need a lot patience. :-/

So, with that being said, let's get started. So you already have qemu installed (yay). As of writing this, I am presently running qemu 2.1.50 (I'll admit I haven't done a git pull in quite some time.) If you haven't set up your qemu / OS X VM environment yet I first suggest you read this. It's the #1 hit doing a google search for qemu os x so it's not exactly hard to find. After you have the qemu / OS X (10.10) you'll probably run into the same problem I blogged about earlier in the month. Well if you haven't read this, now is a good time to do so. ;) If your like most people and too lazy to read the article well run the below command in a root shell because I was unable to get sudo to work with the command.

echo 1 > /sys/module/kvm/parameters/ignore_msrs
Next, after you have everything setup ...this would be a good time to backup ;) is to modify the kernel boot flag if your running GRUB, (sorry I can't help you people running syslinux, as I have never ran it.) Add the below line to your grub.cfg
After that, your gonna want to enable to the following kernel modules, Next, find the broadcom 1570 device on your system with the below command,
lspci -v
Once you have those enabled, and you found your device it is time to find vfio group of the broadcom 1570 device / web cam. In my particular case I did the following.
readlink /sys/bus/pci/devices/0000\:04\:00.0/iommu_group
which should give you output like the following,
Normally this is where most people would tell you to unbind the driver, but since there isn't a driver for this device we need not worry about this step :)
Next, your gonna want to find the vendor ID / device ID for your web cam.
lspci -n -s 04:00.0
The above command should give you output such as the following,
04:00.0 0480: 14e4:1570
Almost there, ...bind vfio-pci
echo 14e4 1570 > /sys/bus/pci/drivers/vfio-pci/new_id
chown the device node so it is accessible by qemu,
chown $USER:users /dev/vfio/11
Last ...last thing is to allocate some memory for the device.
ulimit -l 2621440

Now it's time to test your new web cam with the below command,

sudo qemu-system-x86_64 -enable-kvm -m 4096 -cpu core2duo -machine q35 -usb -device usb-kbd -device usb-mouse -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -kernel VM/chameleon_svn2570_boot -smbios type=2 -device ide-drive,bus=ide.2,drive=MacHDD -drive id=MacHDD,if=none,file=VM/osx-yosemite.img -netdev user,id=hub0port0 -device e1000-82545em,netdev=hub0port0,id=mac_vnet0 -monitor stdio -device qxl-vga -device vfio-pci,host=04:00.0

If all is well you should see something like the following,

Edit Destroy

OS X Yosemite boot loop in qemu

published on 06 Feb. 2015

Long story short, I compiled chameleon from source, then created a Yosemite ISO, and now I am getting a boot loop.

Edit Destroy


published on 05 Feb. 2015

Edit Destroy

cannot resize os x partition inside qemu VM

published on 03 Feb. 2015

I'm trying to resize an OS X partition inside a qemu VM, but OS X does the following,

*** Update ***
Well apparently, when I increased the image size within Arch Linux, OS X is not recognizing the increased file size.

Edit Destroy

my bad

published on 17 Jan. 2015

*** Update ***
The mail server should be back up and working as intended.

Sorry for the downtime over the past couple of days :'( I switched everything over to a new VPS, and still haven't had the time to set everything up :-/ i.e. the mail server, etc etc.
Edit Destroy

Build QEMU with SPICE video support for an OS X VM

published on 11 Jan. 2015

In this tutorial / guide I hope to show one how to build QEMU with SPICE support, so one can use the qxl video driver when running a OS X under a QEMU Virtual Machine.

My current setup is the following, MBPr running archlinux with the most recent packages. (I run pacman -Syu probably once a week). However when I installed QEMU from AUR there wasn't support for SPICE at the time, so I decided to build QEMU from git source to include support for SPICE.

I chose to install the following packages in /opt/local to keep things separate from the archlinux packages. I run the following commands in a terminal.

mkdir /opt/local
mkdir /opt/src
cd /opt/src
git clone git://
Note QEMU is almost updated daily, so after cloning the repo to your local box, running git pull will get one updated to the latest greatest version of QEMU.
cd /opt/src
git clone git://
git clone git://
tar xvzf celt-
export PKG_CONFIG_PATH=$INST_ROOT/lib/pkgconfig:$INST_ROOT/share/pkgconfig
cd $SRC_ROOT/spice-protocol
./ --prefix=$INST_ROOT
Note if it complains about missing m4 directory run, mkdir m4
./ --prefix=$INST_ROOT
make install
cd $SRC_ROOT/celt-
./configure --prefix=$INST_ROOT
make install
Note only if you don't have a recent enough version of pixman (spice configure will complain if you need it)
cd $SRC_ROOT/pixman
./ --prefix=$INST_ROOT
make install
cd $SRC_ROOT/spice
./ --prefix=$INST_ROOT
make install
cd $SRC_ROOT/qemu
./configure --prefix=$INST_ROOT --target-list=x86_64-softmmu --enable-spice

Next, follow the steps outlined in this guide. Remember to add -vga qxl to the QEMU command line argument to use the SPICE video driver. The qemu command I'm using to get OS X to boot looks like the following,

qemu-system-x86_64 -enable-kvm -m 4096 -cpu core2duo -machine q35 \
-usb -device usb-kbd -device usb-mouse \
-device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" \
-kernel VM/chameleon_svn2400_boot -smbios type=2 -device ide-drive,bus=ide.2,drive=MacHDD \ 
-drive id=MacHDD,if=none,file=VM/osx-mavericks.img \
-netdev user,id=hub0port0 -device e1000-82545em,netdev=hub0port0,id=mac_vnet0 \
-vga qxl
After following these steps one should be able to boot OS X (10.9.5) using QEMU on a Linux based computer using the SPICE qxl video driver.

External Links

Edit Destroy

iOS / iDevice Serial Communication

published on 09 Jan. 2015

This is a blog post of a google doc I wrote up a while back.


To communicate an Arduino micro controller to an iPhone 3GS using serial communication.


External Links


I then wrote a simple Arduino sketch to print Hello World! to serial buffer on the iPhone. The sketch looks like the following,

void setup() {

void loop() {
Serial.println("Hello World!");

Soldering the Dock Connector

I would recommend having a 3rd hand, sheet of paper, and masking tape.


Now according to the below diagram pin 13 on the dock connector is for serial RX com and pin 15 can be used for the GND.

Testing serial receive communication on iPhone

  1. jailbreak iDevice
  2. install cydia
  3. search for minicom within cydia
  4. install minicom
  5. open minicom with root, # minicom
  6. set serial port to /dev/tty.iap
  7. change baud rate to 9600
  8. turn off hardware / software flow control

Edit Destroy

Stainless steel brewstand build

published on 04 Jan. 2015

Look else where for brew stand pictures, sorry, they got lost in a move 🤷‍♂️.
Edit Destroy

How to list the groups a user belongs to on a Linux system

published on 03 Jan. 2015

To list the groups a user belongs to on a Linux system, run the following command in a terminal.
$ groups [userName]
$ groups capin
The output should look something similar to,
sys lp wheel uucp lock scanner vboxusers sambashare kvm libvirt rvm users

Edit Destroy

How to check the distribution on a Linux system

published on 03 Jan. 2015

To check the distribution of current a running Linux system, run the following command in a terminal.
$ cat /etc/*-release

The output will look like the following,
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"

Edit Destroy

How to restart a Ruby on Rails application running in Phusion Passenger

published on 03 Jan. 2015

To restart a Ruby on Rails application running in Phusion Passenger, run the following command in a terminal.
$ touch tmp/restart.txt

Edit Destroy

How to start SSH server in Arch Linux

published on 03 Jan. 2015

In order to start the SSH server in Arch Linux, run the following command in a terminal.
$ systemctl start sshd

Edit Destroy

How to see the partition layout of a disk

published on 03 Jan. 2015

To see the partition layout of a disk, run the following command in a terminal.
$ lsblk

Edit Destroy

How to test disk write speed

published on 03 Jan. 2015

In order to test the write speed of your HDD (Hard Disk Drive) or SSD (Solid State Drive) run the following command in a terminal.
$ time dd if=/dev/zero bs=1024k of=tstfile count=1024

Edit Destroy

nice try :P

published on 02 Jan. 2015

Edit Destroy

How to display a list of users on a UNIX system

published on 02 Jan. 2015

$ cat /etc/passwd

Edit Destroy

hi chris

published on 01 Jan. 2015

will this work?
Edit Destroy

Hello Diana

published on 30 Dec. 2014

Let's kick some ass at trivia. bold
Edit Destroy

How to add a user to a group using Arch Linux

published on 30 Dec. 2014

# gpasswd -a [user] [group]


$ sudo usermod -a -G [group] [user]

Edit Destroy

hello rails

published on 29 Dec. 2014

This is my first blog post using Ruby on Rails :D
Edit Destroy

New article