Mounting a Filesystem via SSH on OSX Mavericks

fuse SSH’ing to a server and doing all the configuration through terminal is easy and very fast, but when you want to edit files and set a remote development environment on your local machine, mounting a remote filesystem over ssh and editing them as the files were in your computer is the way to go.

Right now I’m using the just released OSX Mavericks (OSX 10.9), so for mounting a remote system you will need to do some tricks and tweaks to have it working. I will try to explain step-by-step on how to do it.

Continue reading

BarTop Mame Cabinet (under dev)

Who hasn’t spend a lot of money and time on arcades during childhood? What about build one and play all those games again?

Mame Cabinet

Browsing the web I found that a lot of people are building their own machines, building over a pc running a MAME emulator with a cool front-end. If you google images for ‘arcade cabinet‘ you will be amazed by what people are doing!!

I decided then to build my own, trying to use as much used stuff as possible, like a old computer, old screen and two usb game controllers that were broken but with the electronics hardware in perfect conditions. The cabinet will stay on the hackerspace from my town, TARRAFA HACKERSPACE, so we can set some championships, it will be fun for sure!!!

On this post, I will be giving updates on the progress (not much will be done during university semester, I hope to finish this project on holidays).

Continue reading

Incremental Backups using RSYNC and SSH

I was studying last semester in Politecnico di Milano, a great university in Milan, Italy. Anyway, I am taking lots and lots of pictures here (Italy is a beautiful country).

I am saving my pictures on my computer, but WHAT IF something goes wrong with my computer?
So what I am doing is backing up my pictures (also other things as work files) to my NAS SERVER in Brazil during the night, using RSYNC via SSH (Of course it’s an incremental backup, as I have more then 300GB of photos).

On my server I don’t run SSH on the regular port 22. I use, for example the port 223.

rsync -av --update --delete -e 'ssh -p 223' /Users/dansku/MyDocs/Fotografias 
[email protected]:/home/daniel/SERVER/Backups/

Where /Users/dansku/MyDocs/Fotografias is the local dir, and /daniel/SERVER/Backups is the remote dir.

This way, even if my computer is stolen, I know my data is backed up!

DIY: Home UBUNTU NAS Server

Back in 2003, I used to connect my computer on the my old 32′ TV, those huge and heavy TVs, to watch stuff from the internet, at that time, eMule was ruling the p2p community (can’t talk about USENET right? :} ). Then in 2008 I decided to build a better HTPC (Home Theater PC), a full dedicated computer connected to my TV, with good MotherBoard/VGA/SoundBoard, well, a good computer, with gaming capacities. It was good while it lasted, but you know, it was huge black box below my TV, bit noisy, but it did the job.

Continue reading

Dotklok + LM35 Temperature Sensor

I got my Dotklok up and running some days ago, I am really enjoying it on my room.
But I want to do more with it. Too bad right now I don’t have much time to play with electronics and build cool things.

Anyway, today I decided to spend some time learning the Dotklok’s code and add a temperature sensor to it. The result was really cool, and now I am sharing the bit of code I added to the clock.
Continue reading

My HTPC 2.0

Long ago, I wrote How I Made my HTPC at my place. Time passes and things change. End of year has arrived, Christmas and everything, so I decided to upgrade my system to a more efficient and cheaper one. The new choices were using a NAS (Network Attached Storage) allowing all files can be accessed from any machine connected to the network, in this case I am using Lacie Network Space 2 2TB storage. A Gigabit router TP-LINK , so far I’m very happy with this router, although. A media player WD-PLUS Live that has an embedded Linux and play videos in various formats, even FullHD , and access online content like YouTube and some radios.

Continue reading

Arduino-Based Digital Clock

Wow, this is amazing! DOTKLOK is an open-source, hackable, Arduino-based digital clock that displays a series of unique time-telling animations.

DOTKLOK is an open-source, hackable, Arduino-based digital clock that displays a series of unique time-telling animations. The passing of time is depicted with numbers and abstract/geometric patterns such as Morse code and minimal analog clock faces, and includes animations inspired by classic video games such as Pong, Tetris, Pacman, and Space Invaders.

You can buy the kit for U$150.00 and it assembled for U$200.00
for me… I think I will build one, hell yeah I’m going to build one, just love it!!!

You can check more information from dotklok’s website.

Ultrasonic Range Finder with Arduino

I recently got a Maxbotix LV-EZ4 Ultrasonic Range Finder to try understand how to use it with my little Arduino. Having a ultrasonic range finder can be very useful in many different projects, as it can detect objects, I can use it to make alarm systems (cars usually use this kind of sensor), Obstacle-Avoiding Robot and many other things that you may have in mind. It works better outdoors then the IR sensor, but the only thing I could notice is that it doen’t detects very well some thick carpets. Besides that, it’s a great sensor. From the datasheet we can read that it sonar range information from 6-inches out to 254-inches (15.24 cm – 6.452m).

ultrasonic range finder
Continue reading