Visual C# .Net and rsync

Experimentals, Info.Tech, Software Development, Visual C# .Net 2 Comments »

Today, I was wondering if possible to use rsync in Visual C# .Net. After couple of searches, I finally got my answer and working sample project.


I would like to share my Visual C# .Net source code project since I found many developers were looking for a working sample. I am planning to create a class wrapper too and deposit it on GitHub soon.

My GitHub:
Download: Visual C# .Net and rsync (619)

Linux: Serial Port Communication

Cisco: Network Administration, Computer Hardware, Experimentals, Info.Tech, Linux System Administration Comments Off on Linux: Serial Port Communication

Since HyperTerminal was removed in Windows 7, I decided to look up on Linux tools for serial port communication and found minicom command. Here’s how to install & use it (in my case I used Linux Mint):

# apt-get install minicom

Then after installation, cast a command:

# minicom -s

            | Filenames and paths      |
            | File transfer protocols  |
            | Serial port setup        |
            | Modem and dialing        |
            | Screen and keyboard      |
            | Save setup as dfl        |
            | Save setup as..          |
            | Exit                     |
            | Exit from Minicom        |

Then you have to setup the serial port,

    | A -    Serial Device      : /dev/ttyUSB0                              |
    | B - Lockfile Location     : /var/lock                                 |
    | C -   Callin Program      :                                           |
    | D -  Callout Program      :                                           |
    | E -    Bps/Par/Bits       : 9600 8N1                                  |
    | F - Hardware Flow Control : Yes                                       |
    | G - Software Flow Control : No                                        |
    |                                                                       |
    |    Change which setting?                                              |

So in my case, I used USB to Serial connector, so I set Serial Device to ttyUSB0

After that, go to Exit and you’ll be connected to the device you want to connect like Cisco routers/switch.

Adding new packages in Cygwin

Experimentals, Info.Tech Comments Off on Adding new packages in Cygwin

I’ve been playing around with Cygwin after 7 years. I check on the new stuffs and it has been change a lot.

One thing I puzzled about was how to add new commands aside from default cygwin installation. So here it is;

 setup.exe -q -P  wget,tar,qawk,bzip2,subversion,vim

So you will use the setup.exe of cygwin that you downloaded. Then install the commands that what you need.

–=[ update as of 09 Dec 2014 ]=–

Below is the command to update all components:

cd C:\cygwin64\
wget -N
setup.exe --no-desktop --no-shortcuts --no-startmenu --quiet-mode
WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in