Archive for the “Howto” category

Sending Post Data With cURL

by Mark Sanborn on August 7, 2008

I have a script on my local computer that needs to send data to my website for further processesing. To accomplish this I use a powerful tool called cURL. cURL is an open source program that lets me send or recieve HTML data in pretty much any structure you could think of. I am going (…)

Reading HTML Email with Mutt

by Mark Sanborn on August 4, 2008

Mutt is my new favorite productivity tool. I have been blazing through my emails and setting up custom macros and commands like crazy. I have have found myself optimizing mutt more than actual reading email since it makes checking email go by so fast. Like Vim I would say mutt has dramatically changed the way (…)

Tracking UPS Packages with PHP

by Mark Sanborn on July 29, 2008

By now you should know how to look up a UPS rate with PHP. Now we are going to look into tracking the package using the UPS tracking XML API. This tool uses the same process as the rate selection tool so it should look familiar to you.

Compress Images For Faster Load Times

by Mark Sanborn on July 25, 2008

We talked about images that could be embeded into the HTML for faster load times. Today we are going to talk about how to compress those images even smaller without quality loss. Often times web developers think that Adobe Photoshop’s “Save for Web” feature does enough compression. I was also under the belief that photoshop (…)

Detecting a Mount in BASH

by Mark Sanborn on June 30, 2008

Often times we will use bash to create scripts for backing up or transfering files. A lot of times these files are transfered over a mounted network share or an external usb drive. Since these mount points are not always mounted we need to come up with a script that will detect the mount before (…)

Embedding Images in HTML

by Mark Sanborn on June 25, 2008

After doing some research on embedding CSS in HTML I found an interesting link. It turns out that you can embed image data into your HTML URLs. This means that image will be downloaded along with the HTML reducing the total amount of server requests. If you could do this to all of your images (…)

Embed CSS in Your HTML for Faster Load Times

by Mark Sanborn on June 24, 2008

Most web designers know that reduced server requests equals faster load times. I got to thinking and I was wondering why is CSS always in a seperate file from regular HTML? Usually it is in a different file because you don’t want to make a ton of changes in individual files. Rather you would want (…)

Auto Standby your Computer

by Mark Sanborn on June 23, 2008

There are a few different states you can put your computer into when you are not using it. If you don’t run any other services that require networking I recommend turning your computer off via standby. It will essentially put your computer into a ultra low power state only using enough power to keep the (…)