How to Prevent wordpress from automatically inserting
tags everywhere

Mar 29th, 2011 | By

One of the more annoying features of wordpress is it’s need to auto-format all of your html to high hell, especially when you are importing posts in html format.  Everytime you have a line break WP will put a <br \> in there, screwing everything up. There are a few plugins around to turn this
[continue reading…]



Is mogrify -crop creating a bunch of extra files for you?

Mar 26th, 2011 | By

So here you are minding your own businesses, trying to crop some images when mogrify decides to be a wise-guy and spit out a bunch of extra files.  You’re running a command like mogrify -crop 40×40 image.jpg and instead of the end result being a 40×40 image.jpg you have image-0.jpg and image-1.jpg with -0 being
[continue reading…]



Using Openx Magic Macro and dynamic variables in HREF / html code

Mar 23rd, 2011 | By

Ok, so this is pretty obscure but I felt the need to post it considering the results that I’ve seen are totally contrary to the published resources from openx and the community. What I want is to pass along variables via the href / html code that appears in the <noscript> tag.  If I pass
[continue reading…]



Getting wget to work with uncooperative websites (-l not working)

Mar 22nd, 2011 | By

So you have a website that you want to grab but doing something like wget -l 4 domain.com is only returning the top level, index.html and that’s it. What’s going on? Well for starters it’s possible that domain.com has a rule in it’s robots.txt file that prohibits such behavior, in which case you are going
[continue reading…]



Not all Javascript popup boxes are created equal

Mar 21st, 2011 | By

I was implementing a feature onto one of my networks today and needed to use a javascript popup box to bring up a booking table.  You know those cool boxes that darken the rest of the screen and popup a slick looking window?  Well I needed one and apparently they all such except the one
[continue reading…]



Deleting Duplicate Posts in WordPress

Mar 15th, 2011 | By

I ran into a little problem today where one of the programs I wrote to create blog posts was creating duplicates during one step of the process.  I haven’t quite figured out why it’s doing it yet however in the meantime I have used it to create and import about 25,000 blog posts and the
[continue reading…]



Importing 1000’s of posts, publishing 1000’s of drafts and mysql fun

Mar 10th, 2011 | By

Alright so for one of my side businesses I am using wordpress as a platform to create large directories for businesses to use to find other businesses.  It’s like a big ass yellow pages but for specific businesses.  Anyways part of the fun has been figuring out how to get 5000-6000 listings per city into
[continue reading…]



To hell with NTFS – running the same proc on ext4 is over twice as fast

Mar 9th, 2011 | By

The way I have my partitions setup is 50GB of EXT4 for linux and 300GB of NTFS for general file storage so that I can access them if I dual boot in windows or anything else int he future.. Compatibility was the name of the game.  Because of this I end up storing most of
[continue reading…]



Microsoft making incredible gains with Virtual Reality and 3D Television

Mar 5th, 2011 | By

From a bit of research this is an area that microsoft has been toiling hard in for a few years now but it looks like this year it’s all coming together for them.  There are two videos below that show just where this could be going and in my opinion could do for the xbox
[continue reading…]



Getting your touchpad to behave nice in Ubuntu 10.10

Mar 4th, 2011 | By

Alright so easily one of the most frustrating things about having a laptop is the god damn touch pad.  Either it’s jumping all over the place while you are typing, or misinterpreting a middle click and pasting junk everywhere or any number of other frustrating things it can do to make your life miserable.  Lucky
[continue reading…]