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!’
DIY - How to Make an Electric Go-Kart! (or is it Go-cart!)

I will probably never figure out the original name for Go-Karts but here’s a really cool DIY electric go-kart someone has made and you might want to refer it if you want to make your own in the near future.
This year, the Summer Engineering Workshop team was interested in making an electric go-kart. (Some kind of obsession with things you can ride…) But to make things more interesting, we decided to add a 110F ultracapacitor into the mix. Capacitors store electrical potential energy; much less than a battery, but you can charge and discharge them more quickly. Research into automotive applications of capacitors (in hybrids, for example) has led to development of ultracapacitors with increasing energy density and decreasing price.
Research is research. We were also interested in having some fun. So, we wanted to see if we could very simply integrate an ultracapacitor into a stylish electric go-kart. One of the simplest ways to do so is to use it exclusively to store energy recaptured from the kart as it brakes. Then, put this energy at the driver’s fingertips in the form of a power “assist,” or, less formally, boost! While it’s likely not the best solution for full-size autos, we wanted to make a tangible demonstration that the technology is closer to reality than many might think.
The site is very informative and even provides free circuit schematics for the electricity parts, I highly suggest you to check this one out.
DIY Life-size replica of Concorde Engine!

Concorde may be one of the fastest airplanes that most of us will ever ride in our lifetime and someone has made a 1:1 real life-size replica of the Concorde engine using what he learned from a $10 Concorde engine repair book he bought on eBay.
This engine might not run but I am sure the guy who made it knows almost every detail of what went into making the Concorde engine.
Design firm PostlerFerguson has created Olympus, a 1:1 model of one of Concorde’s engines, which will be on display in the window of Selfridges until October 22.
via crblog, Designer’s Page
DIY Movie Hack - How to Make a Portable Movie Rail System!

Do you ever wonder how to make a Portable Movie Rail System for making your own homemade professional movies?
Well, now you can hack one of these cool portable movie rail systems yourself by following some of these pics which are pretty easy to understand.
We often see chase
scene movements in film. This picture needs to be rather stable.Professional rail system is heavy, and expensive to use. We find it hard to carry around
and use.
What we need is a low cost, lightweight and portable rail system.On one weekend, my colleague Murdoch has done some research online. He
found that low-cost DIY rail system is very doable. And use only common materials at we see every day.
iPod Hack - How to breath new life into your iPod using Rockbox!

If you have bought older generation of iPods, you are in luck as Rockbox 3.0 firmware was just released to the public.
What does it do? Basically it allows you to free yourself from iTunes and do a lot more with old equipment.
Since Apple has stopped developing the firmware for the older iPods (yes, they keep making new ones to make more money, how greedy!), this Rockbox provides users with alternative way to upgrade their old iPods.
I personally have the 40GB model of the iPod shown in the pic, I should be doing a short DIY write-up to tell you all how it went.
Looks like their site is down already but keep checkin’, it should be up later.
Rockbox’s developers say that the most important changes to the software won’t be particularly obvious to the average user. “The first players supported by Rockbox decoded MP3 files using a chip specifically for this purpose. This made things a lot simpler for Rockbox, but also limited the amount of formats supported to variants of MPEG audio. Newer players don’t use this approach, and as such, it was needed to expand Rockbox to do sound decoding in software on these players. This opens up the possibility of supporting a lot of different file formats, which is of course exactly what we did! “
iPhone Hack - How to Develop Native iPhone Apps with Javascript/HTML!
Here’s a cool iPhone dev app called PhoneGap that allows you to develop iPhone Apps with Javascript and HTML for webmasters who know nothing about C.
PhoneGap is a free open source development tool and framework that allows web developers to take advantage of the powerful features in the iPhone SDK from HTML and JavaScript. We’re trying to make iPhone app development easy and open. For many applications a web application is the way to but in Safari you don’t get access to the native iPhone APIs, and the that’s the problem we’re trying to solve.
It is written in Objective-C and allows developers to embed their web app (HTML, JavaScript, CSS) in Webkit within a native iPhone app. We’re big advocates of the Open Web and want JavaScript developers to be able to get access iPhone features such as a spring board icon, background processing, push, geo location, camera, local sqlLite and accelerometers without the burden of learning Objective-C and Cocoa.
Here’s an example of how you could access iPhone data using Javascript:
Geo Location
//request location - this triggers a subsequent method call to gotLocation(lat,lon)
getLocation();//GAP will invoke this function once it has the location
function gotLocation(lat,lon){
$(’lat’).innerHTML = “latitude: ” + lat;
$(’lon’).innerHTML = “longitude: ” + lon;
}Accelerometer
//You have instant access to the accellerometer data via the accelX, accelY, and accelZ variables
function updateAccel(){
$(’accel’).innerHTML = “accel: ” + accelX + ” ” + accelY + ” ” + accelZ;
setTimeout(updateAccel,100);
}
Today at Digital Photo Gadgets Blog
Today at Digital Photo Gadgets Blog, we did a round up of digital cameras, digital frames, and more:
GE joins digital camera business. Sigma unveils DP2 digital camera.
AT&T’s new HomeManager is more than just a digital picture frame. SP3200WF is the world’s largest digital frame but is it a PC too? Hasselbald H3DII-50 can do 50 megapixels, not bad huh?
It seems like more 1.5″ keychain digital photo frames are popping up everywhere these days. There’s also some new executive 5.7″ Digital Picture Frames.
Image Moments 8-inch digital picture frame also comes with 450MB of storage, nice! Funfab digital photo frame is also a photo printer. Smartparts portable digital picture frame looks awesome with a metallic finish.
Embroidered Text Messages!

If you don’t like cellphones but you like to sew, you can create Embroidered Text Messages like shown here.
It will take you longer to create a message but will definitely stay on even if cellphone is off.
A man builds artificial eco-island off Mexico and Live there for 7 Years!

Here’s a man who built an artificial island off the coast of Mexico and lived there for 7 years.
This is a great idea, if you want to live on one but not build it yourself, you can check out Dubai’s newest man-made islands here. You can also check out these pics of the artifical island.
If you need more ideas, make sure to check out the Top 10 Man Made Islands in the world here too.
On this man made island, you’ll find a two-story house — comprised of 250,000 bottles, complete with self-composting toilet, and a solar-powered oven. It was located in a lagoon off the coast of Mexico until Hurricane Emily destroyed the work of art in 2005. However, Rishi Sowa has built a second island in Isla Mujeres, Mexico.



