Disabling the Wordpress Flash Uploader

Sometimes it can be finnigy — the wordpress flash uploader. When it works, it works nicely, but when it doesn't work it can be frustrating to troubleshoot and fix. If you ever decide that you don't want it anymore, there is a very simple snippet that will make it look like wordpress never had a [...]

Tags: , , ,

Euler’s Formula and Trig Identities

Electrical Engineers tend to use imaginary numbers quite often for various reasons. The term ‘imaginary’ can be misleading. In algebra II, when I heard that term, I was skeptical about the usefulness of an imaginary quantity. But if you can get over the name, they can be used as a powerful tool in many math, [...]

Tags: , , , , , , , , , , ,

US Bank – Funny Ad

If you get this Credit Card, We will hit you in the face with a golf club. – US Bank
Iowa State has a high dollar deal with U.S. Bank that allows students to use their university id as a debit card. They have it set up such that, if you come to ISU, during [...]

Tags: , , , , , , , , , ,

Freebording – Snowboarding in the Summer

Skateboarding, a sport I enjoy, originated from surfers who wanted to "surf the streets". A new sport, freebording, that some friends of mine at ISU are pioneering in the ISU Freebord Club, is allowing them to "snowboard the streets". A Freebord is like a long skateboard with two wheels placed along the center axis [...]

Tags: , , ,

Convolution of Two Uniform Probability Distributions

The Problem
Two friends A and B meet every morning at the Grand Central Station around 7 am. Suppose the actual times they arrive are independent and uniformly distributed between 6:55 am and 7:05am. Let Z denote the time between arrivals, i.e. Z = time B arrives – time A arrives (can be negative!).
(a) What is [...]

Tags: , , , , , , ,

Integrating Zenphoto and Wordpress

Update: I am now using google picasa with the kpicasa plugin. I've determined that this is the best method of putting a complete gallery onto a post or page. This completely eliminates zenphoto. If you are committed to using zenphoto, and you have your theme set up exactly the way you want it, then this [...]

Tags: , , , ,

Accelerometer on Robot Finger

I helped attach an accelerometer to a robot at ISU, which has been featured on Discovery Channels show, Brink.

We used an adxl345 digital accelerometer with the breakout board from sparkfun.com, in addition to an arduino.
We used the I^2c wire arduino library. This was a temporary solution so that the research assistants can gather surface [...]

Tags: , , , , , , ,

Hardlink Wordpress Navigation

This cool little theme code snippet allows the wordpress navigation to link to a page outside of wordpress. It takes advantage of custom fields for pages. Just place this code at the top of your themes header.php file
<?php
/*
Copyright (c) 2009 < Nate Nuzum >
Use under terms of MIT license
*/
global $post;
$redirect = get_post_meta($post->ID, 'redirect', true);
if [...]

Tags: , , , , , , ,

FratHouseInsurance- Greasemonkey Script

Meatspinning is the new term for leaving a shock site on somebody’s computer while they are gone to surprise them when they get back.
I wrote my first greasemonkey script yesterday. Protects me from being meatspinned, lemonpartied, or any of about 40 other shock sites. It was only two lines of javascript, but I think the [...]

Tags: , , ,

Google Thinks Server is Spanish

I was working with google calendar xml feeds the other day, and the funniest thing was happening. If I went to the feed on my computer, it would show up in English. If my server downloaded it, it would show up in Spanish, with all of my events translated. After several hours of looking into [...]

Tags: , , , , ,