Well, not much, really.

### easy equations!

$\oint \vec{F}\oint \vec{F} \cdot d\vec{s}=0x = a_0 + \frac{1}{a_1 + \frac{1}{a_2 + \frac{1}{a_3 + a_4}}} \cdot d\vec{s}=0$

### Ruby Imap foo

How to tell if a message has been read or not with ruby net/imap
 flags=imap.uid_fetch(uid,'FLAGS')[0].attr["FLAGS"] seen=true if flags.include? :Seen || false

Spent a while looking for that one, and well, I learned the hard way : Stop googling and read the code

### Brickd

Check out my friend Max’s new blog: Brickd. All sorts of Lego awesomeness.

### Fun With Unicode

this unicode character flips the direction of the text after it. &#8238;

Like so: ‮ this text is now backwards!!!

### Openvbx and nginx howto:

Well, you just need a few rewrite rules to deal with openvbx on nginx:

Inside of the server block, add this.
 location / { #root /var/www/nginx-default; root /www/virtual/vbx.example.com;

index index.html index.htm index.php; if (-f $request_filename) { break; } if (-d$request_filename) { break; } rewrite ^(.*)$/index.php?vbxsite=$1 last;

}

———–UPDATE————-
In trying to upgrade to the new hotness 0.84, I ran into two problems.
1) don’t forget to copy over your /OpenVBX/OpenVBX/config/database.php and /OpenVBX/OpenVBX/config/openvbx.php files from the old directory and into the new hotness directory.

2)”PHP Fatal error: Call to undefined function get_instance() in /OpenVBX/libraries/MY_Config.php on line 43″

Apparently, others are also having this problem. The installer wants you to use vbx.example.com/index.php/install but that will cause everything to break too. You should be able to drop the index.php and go directly to vbx.example.com/upgrade all will be well in the world.

### A place to mess around

Ideally, a bunch of eclectic, funky, potentially useful or useless stuff