Nuda Tees is having a megamuthafunkin' blowout sale. All t-shirts are only $8!

PostMar 31st, 2008 | Comments (0)
Nuda Tees is having another Megamuthafunkin' sale this week!

All t-shirts are only $8!

There are also four new designs:








How to stop iChat from being a RAM hog

PostMar 20th, 2008 | Comments (0)
Is iChat hogging a ton of RAM for you? The "File Transfers" window might be the cause.

(This post refers to iChat v4.0. I'm not sure if the same problem exists for previous versions.)

I get a lot of big files sent to me via IM - Photoshop files, Illustrator files, etc. I leave the File Transfers window open all the time, and I almost never clear it. It turns out, that's not a very good idea.

Each file transfer that you receive results in iChat immediately grabbing more RAM. And if you don't clear your File Transfers list, each file will continue to hog that RAM until you clear the list - even if you quit iChat and relaunch it. I ran a little test to prove it.

I sent myself 8 files totalling 2.4 megs:



In Activity Monitor, iChat was using 119 megs of RAM:



I then clicked the "Clear" button in iChat's File Transfers window:



iChat's RAM usage instantly dropped to 98 megs:



That means that only 2.4 megs of file transfers resulted in iChat grabbing 21 megs of RAM. You can imagine what leaving the File Transfers window uncleared for weeks would do. iChat was routinely hogging 600+ megs of RAM for me, which was really slowing my computer down.

So make sure you clear your File Transfers window often!

How to regain access to Webmin with IP Access Control enabled

PostDec 31st, 2007 | Comments (0)
For anyone who is as smart (read: really dumb) as me and enabled Webmin's IP Access Control feature but forgot to add their server's IP address as an allowed IP address, here is how to regain access to Webmin after your local IP address changes and Webmin locks you out.

Edit /etc/webmin/miniserv.conf and change the "allow" IP address to your new IP address.

Now is also the perfect time to add your server's IP address to the whitelist, so that you can at least access Webmin locally from the server via lynx if you need to in the future.

To add multiple IP addresses, just put a space in between them.

Example:

allow=12.34.56.78 98.76.54.32

Using PHP sessions across subdomains

PostDec 20th, 2007 | Comments (0)
By default, PHP uses the 'PHPSESSID' cookie to propagate session data across multiple pages, and by default it uses the current top-level domain and subdomain in the cookie declaration.

Example: www.domain.com

The downside to this is that the session data can't travel with you to other subdomains. So if you started a session on www.domain.com, the session data would become unavailable on forums.domain.com. The solution is to change the domain PHP uses when it sets the 'PHPSESSID' cookie.

Assuming you have an init file that you include at the top of every PHP page, you can use the ini_set() function. Just add this to the top of your init page:

ini_set('session.cookie_domain',
substr($_SERVER['SERVER_NAME'],strpos($_SERVER['SERVER_NAME'],"."),100));

This line of code takes the domain and lops off the subdomain.

Example: forums.domain.com -> .domain.com

Now, every time PHP sets the 'PHPSESSID' cookie, the cookie will be available to all subdomains!

The Story of Stuff

PostDec 4th, 2007 | Comments (0)
If you're an eco-concious individual, you should really check out the very well-made video, "The Story of Stuff." It's about how all of our "stuff" is made and its impact on our lives and planet. If you're not an eco-concious individual, then you REALLY need to watch this.

Favikon.com is the easiest way to create favicons

PostNov 13th, 2007 | Comments (0)
Need to create a favicon for a website? Go to Favikon.com, upload an image, and you're done. It's fast and easy, and you can even crop the source image. Very slick indeed.

Installing Portsentry on CentOS 4 using Webmin

PostSep 21st, 2007 | Comments (1)
Here is a quick tutorial on how to install Portsentry on CentOS using Webmin.

When I downloaded the latest Portsentry tarball I kept getting errors when I tried to "make linux" as the instructions stated to do. When it comes to linux stuff, I'm only as smart as the instructions I'm reading, so if I encounter errors, I instantly look for a new method to do what I'm doing. So I started searching for an Portsentry RPM.

I found an RPM at: ftp://ftp.falsehope.net/home/tengel/centos/4/te/i386/RPMS/portsentry-1.2-1.te.i386.rpm

If you have Webmin installed, you can go to System > Software Packages and enter the ftp URL in the "From ftp or http URL" field and click "Install." That's it. It's installed.

Then just go to System > Security Sentries, click on "Portsentry Configuration", and click the "Start Portsentry Daemons" button.

Your ports are now protected!

Walmart is confusing

PostAug 30th, 2007 | Comments (1)
Walmart has created a confusing situation. This phone is "Online Only," but is also "Not Sold Online." Hmmmm....

Nuda Tees is having a megamuthafunkin' blowout sale. All t-shirts are only $8!

PostAug 1st, 2007 | Comments (0)
Nuda Tees is having a big sale. All t-shirts are only $8!

Tell your friends and neighbors!

Check out the sale

OS X and securityd fix

PostJul 9th, 2007 | Comments (1)
Fellow Mac users-

Last night I updated some stuff on my computer and was prompted with the all-too-familiar Keychain confirmation dialog box:



However, when I clicked "Change All" my computer came to a crawl because "securityd" gobbled up 1.3 gigs of RAM. A quick Google search came up with an article by The Malicious Retard over at Unsanity.org.

To sum up the rather long article, just open the Terminal (/Applications/Utilities/Terminal) and type:

sudo mv /var/db/CodeEquivalenceDatabase /var/db/CodeEquivalenceDatabase.old

or

open /var/db (and then manually move CodeEquivalenceDatabase to the trash, if you can)

That's it. Just restart your computer, and all should be well in the world again.
Visit the archives to see older posts