Tag Archives: SOHO

Making the program to synchronize folders/files in the Local Network

UPDATE:
I opened a dedicated website for this project - http://sobsoft.com/. All downloads will be found there.

Making the program to synchronize folders/files in the Local Network (works for HDD as well). Something like Dropboks for LAN .
Made a first version, which makes a mirror of folders that you selected and where you selected.

Features:

  • For each directory (with its sub directories) runs a separate process.
  • Each process copies in 8 threads.
  • At the start the program polls the mirror for changes and copies now/changed files to the computer, unless nothing have changed. Then starts the reverse process (from computer to the mirror), and monitors the specified folders until you turn off the computer.

In general, the “mirror”:

  • If the file appears on the computer -> it appears on the mirror
  • If the file was updated (like document was edited) on the computer – > it updates on the mirror
  • If the file was deleted from your computer -> withdrew from the Mirror
  • If you connect to the mirror from another computer -> get a copy of your folders/files.

Downloads:

Every time you turn to the primary synchronization if there are new folders/files, the program first creates a copy of their empty, then it copies. Do not worry, if that. Size zero is changing rapidly to normal.

Configuration Window

Configuration Window

Add folders you want to sync.

Add folders you want to sync.

Choose your Mirror location.

Choose your Mirror location.

If you have any ideas of features you want to see included, please, leave a comment here.

Smart TV from old monitor.

One day I’ve got an old broken monitor – Samsung SyncMaster 320′ mx. The problem – doesn’t work at all.

1. SyncMaster

Another brick in the wall

What is interesting about it? It has 3 USB, Network and VGA output.

It might be something interesting inside.

It might be something interesting inside.

Reading Samsung website, I found that this monitor has Windows XP Embedded inside with “Magic Info” app on it.

OK. Taking back cover off.

Looks, it has a computer inside!

Looks, it has a computer inside!

The capacitor on the Power Supply was bubbled. Yes, it would be much better to replace entire board, but it just too expensive for now. So, this time I just ordered new one capacitor from Amazon for $5.

4. SyncMaster_PS

I had to replace this bad guy. Electrolytic capacitors are so electrolytic…

OK. Then some more steps:

  1. Plug 4GB USB stick for the swap file, because internal SSD is just the same 4GB.
  2. Plug the keyboard and wireless mouse (the keyboard is actually not necessary).
  3. Add some RAM (2 GB against 512Mb it had before) and assign some of it to Video card.
  4. Install a new version of Windows XP using entire disk space (it was divided to 2 partitions, one for the system and one for the recovery).
Not bad computer, huh?

Not bad computer, huh?

Then:

  1. Install XBMC with XBMC Hub
  2. Add media directories from home NAS.
  3. Post the post to this blog.

6. SyncMaster_XBMC

So. Now I have a not bad 32′ HD Smart-TV.