Category Archives: Computer

Circuit DIY – How to Make a Tilt Measuring Inclinometer!

Here’s a really cool DIY that shows you how to make a tilt measuring inclinometer.   I do highly like how Nicholas Kwan didn’t use an accelerometer but used cheaper, basic circuit parts.  This could be the “alternative” way to put an accelerometer function in your projects without spending much money but with a LM555 timer chip.

The idea behind this was to design a capacitor using a petri-dish and aluminum foil covering half the petri-dish and using water as the dielectric. Beca

Click Here to Read Full Article

Leave a comment

Web Server Hack – How to Use DDoS Deflate to Protect Against DoS Flooding!

I have been using DDoS Deflate, which is a simple script that will automatically help you against DoS attacks on your server.  Basically it works by killing any HTTPD processes/banning IPs that reach more than set number of TCP connections.

It’s a great script since it’s free, simple, and works well against DoS attacks.  Yes, forget paying that extra hundred dollars to your server company, who’s going to probably install this script anyways.

The real gem of the DDoS Deflate script lies in co

Click Here to Read Full Article

5 Comments

Web Server Hack – How To Auto Restart HTTPD service script!

Here’s a simple script I made up that will auto restart your HTTPD service if it reaches a high load.

The script will actually stop your HTTPD server when your load is higher than the maximum load settings and will re-start when the load is back to zero.

If you are on a server that’s overloaded, this script can help you “temporarily” get by instead of your web server dying and you manually rebooting your web server.

There’s also an extra “mail” feature that will email you whenever the server is stopped or restarted. (Code after

Click Here to Read Full Article

10 Comments

Palm Pre USB Cable!

I just lost my Palm Pre USB cable and ended up spending $100 that I didn’t need to.  I guess the retail stores STILL don’t sell the Palm Pre USB cables, what a bummer.

Well, if you have a Palm Pre, prepare yourself against such loss by getting these on Amazon for only a buck each!  Also, there’s an emergency double-A battery charger which might come in h

Click Here to Read Full Article

Leave a comment

Linux Time – How to Set the Time and Date using Command Date!

linux-time

I just noticed that my web server’s time was ahead by 10 hours for some reasons.  If you run linux dedicated servers, you will want to know how to do this.  I know there’s many ways to do it but this is the simplest/fastest method.

Here’s a really simple way to set time and date on any linux/unix system:

date – Would list the date and time of the server. Below is an example of the output.

Thu Feb 8 16:47:32 MST 2001

date -s “11/20/2003 12:48:00” – Set the date to the date and time shown.

date ‘+DATE: %m/%d/

Click Here to Read Full Article

Leave a comment

Linux DIY – How to Create an SSH Tunnel and Share Internet Through Another Computer!

Well, I am in the process of creating a local tunnel connection between two of my web servers from MediaTemple (thanks Eric for the help btw), I stumbled across this cool Linux DIY that shows you how to create an SSH Tunnel between two linux computers and share the internet via proxy port number 2020.

This might be very useful if you happen to run a bunch of linux machines and run out of ethernet lines. (and you are not using WiFi)

To create a tunnel you need to check that ssh service is running on the computer that you want to connect. For Ubuntu or Debian based distribution

Click Here to Read Full Article

Leave a comment

Office DIY Ideas – How to Turn Office Junk into Useful Gadgets!

This is a Guest Post by Jeff Saporito from our partner blog site TestFreaks.com.

Few things on this earth become as cluttered, dirty and full of mysteries as the desks where we work all day.  From shriveled lettuce fragments from a 2005 sandwich still stuck between the keys, to a curious 5” floppy disk full of unknown data that has been rolled over by the chair wheels a dozen times, there are all sorts of things buried within and around our workspaces.  This is particularly

Click Here to Read Full Article

1 Comment

Palm Pre Hack – How To Tether USB Modem out of your Palm Pre!

video://www.youtube.com/watch?v=asoqB9EQsro

Well, I’ve gone a little Palm Pre crazy over the weekend, using it as my new WiFi Hotspot.  It turns out the My Tether app I used yesterday also has USB tethering capabilities.

To my surprise, the USB tethering worked beautifully, you can read up o

Click Here to Read Full Article

2 Comments

Palm Pre Hack – How to Make Your Palm Pre into a Wireless Router/HotSpot!

video://www.youtube.com/watch?v=YLJXAKTdKoI

Palm Pre has been literally “awesome” in the last couple days that I’ve had it.

I love this new touchscreen phone so much that I even registered a domain name for it called PalmPre-Hacks.com on the night I bought the Palm Pre.

Well, it turns out that my $199 investment on the Palm Pre has paid off already as I have figured out how to make it into a wireless router already.

I

Click Here to Read Full Article

Leave a comment

Netbook Hack – How to Hack a USB Port into your Netbook Battery!

I don’t think this hack is practical for most people as netbooks can charge your USB gadgets anyways but for those of you who get stuck in an island somehow and end up with a netbook battery and your cellphone dies, you can use this netbook hack that shows you how to hack a USB port into a netbook battery

.  Boy, that was a long sentence…okay i know it’s a run-on sentence with 2 ands….

Click Here to Read Full Article

Leave a comment