Linux Server Hack - How to Limit Bandwidth with Linux, TC, and iproute2!

Remember I did a quick post on how to write a load-balancing script (or bandwidth throttling)?
Well, today I found another cool script for limiting bandwidth. I believe this one if more complicated but if you need it, it might be greatly helpful.
Here’s the code via Adamsinfo.com:
# Set some variables
#!/bin/bash
EXT_IFACE=”eth0″
INT_IFACE=”eth1″
TC=”tc”
UNITS=”kbit”
LINE=”10000″ #maximum ext link speed
LIMIT=”5000″ #maximum that we’ll allow
Continue reading ‘Linux Server Hack - How to Limit Bandwidth with Linux, TC, and iproute2!’
Chocolate, Is it Bad for Dogs?

If you are a dog owner, you might have heard that chocolate is poisonous to dogs. Well, according to sources, it is toxic, but not unless the dog eats a certain amount. In other words, chocolate may have to be treated sorta like alcohol for dogs and do in moderation.
We’ve all heard it, “Don’t give your dog chocolate it will kill him”. We’ll how true is it you’re probably wondering. Do I have to rush him to an emergency vet if he ate one of my M&M’s?
The truth is chocolate contains theobromine that is toxic to dogs in sufficient quantities. This is a xanthine compound in the same family of caffeine, and theophylline.
The good news is that it takes, on average, a fairly large amount of theobromine 100-150 mg/kg to cause a toxic reaction. Although there are variables to consider like the individual sensitivity, animal size and chocolate concentration.
Digital Plant tells you their feelings!

Isn’t this the coolest concept digital plant you’ve seen? What if you had some ganza in there? That face would always look “high” and tell you, “oh no, don’t smoke me!”
Growing plants would be a lot easier if plants could express what it is they need from you. Fret not because that’s what the Pet Plant by Junyi Heo does. The very sleek looking pot measures soil conditions, temperature, humidity, and water - calculates those variables based on the need of said plant, and expresses its condition via a series of pictograms on an LCD display.
- Digital Plant tells you their feelings!












