Hello internet, I recently received my Gameduino2 via kickstarter and dreamt up a quick demo – tilting the screen moves the ball around (with realistic-ish physics), and keeping it on the “path” longer earns more points:
This demo doesn’t even touch the Gameduino2’s capabilities – just a fun proof of concept. Maybe someone can build off of it?
Anyways, code is available at https://github.com/trdenton/gameduino2-ballgame, including a pre-compiled .elf file for the arduino Uno. I am using the Eclipse Arduino plugin from http://baeyens.it/eclipse, and have included the project files. It should still work in the arduino IDE if you remove the eclipse project files – Enjoy!
In some cases, you need to connect to a VPN to do remote work. Typically this sets the VPN interface to be the default gateway – and so, all your web traffic/etc will route through your VPN connection. This becomes troublesome if your VPN endpoint wont route out to the web.
For example, I’m ssh-ed into some work servers right now, and need the internet to write this awesome blog post. My VPN endpoint at the office does not route any traffic to the web, by design.
To get around this, first add a static route for the subnet associated with your VPN interface
Then, remove the default route that is trying to shove all your http traffic onto the VPN
sudo route del default
Finally, re-create your default interface to specifically route out your LAN’s gateway
sudo route add default gw 192.168.0.0.1
There are probably better ways to configure this – likely, there exists a way to keep the VPN interface from becoming the default gateway – but this is quick and easy 🙂
After Rejuvenating an old laptop with electrical tape, I found it had some intermittent temperature issues. Although I have not put out all the fires yet, I did cook up some quick scripts to help me diagnose the problem.
What do you do with a busted laptop? Many people are quick to throw them away. Others turn them into FreeNAS boxes, or other useful servers. For the machine I inherited today, I decided to turn it into an all-in-one style desktop PC. The screen still worked, it was able to boot windows – the only trouble being that it was in physically rough shape.
Basically, the screen had become detached from the rest of the machine – but all the cables were still in place for it to function. After some light tweaking, I was able to get the screen to flip around the body of the laptop and sit flat on the reverse side:
But how to keep it in place? Being impatient and lazy (usually a dangerous combination), I tried my lucking using an entire roll of electrical tape to keep it all together. Because why not?
Being that this thing is going to mount against something on the reverse, I removed the keyboard as well. So it’s not bumping its keys into stuff all the time.
As luck would have it, I had an old monitor stand kicking around – works as a nice little kickstand. Not perfectly stable, but still more solid than I was expecting:
Now all that’s left is to wipe the old Vista install and put on a fresh OS…
A few hours of tinkering, an old laptop, some electrical tape, and a fresh Xubuntu install made for a perfectly good bedroom workstation. Not bad for one night!
My little Samsung netbook’s power supply died, so I thought I would see if it was an easy fix. Turns out the components are too tightly packed and coated with silicone adhesive-y stuff to easily find what is broken, but I did manage to shoot a video of a 150VDC capacitor discharge:
And that’s why you shouldn’t tinker with power supplies!