How to fix corrupt packet error for with rsync for large files

In order to have local copies of my web pages hosted on VPS I have configured rsync cronjob to sync everything during the night to my local box.

Sometimes with larger files you can encounter errors like these:

Received disconnect from [YOUR_IP]: 2: Packet corrupt
rsync: [sender] write error: Broken pipe (32)
rsync error: unexplained error (code 255) at io.c(820) [sender=3.1.1]

Continue reading “How to fix corrupt packet error for with rsync for large files”

Convert directory of .prg files to .asm in Windows

I wanted to convert my old Turbo Assembler sources from Commodore 64 to modern .asm files that I can use on any editor in PC.

There is a tool called TMPview that can make your life easier.

TMPview is a viewer/converter that inputs a binary format Turbo Assembler source code and outputs the ASCII equivalent in a format suitable as
input for our cross assembler, TMPx. Continue reading “Convert directory of .prg files to .asm in Windows”

Compile Realtek rtl8812AU/8821AU USB WiFi driver on Debian Jessie

Install the driver first from github:

sudo apt-get install git
git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux
cd rtl8812AU_8821AU_linux
sudo cp -R . /usr/src/rtl8812AU_8821AU_linux-1.0
sudo dkms add -m rtl8812AU_8821AU_linux -v 1.0
sudo dkms build -m rtl8812AU_8821AU_linux -v 1.0
sudo dkms install -m rtl8812AU_8821AU_linux -v 1.0

Continue reading “Compile Realtek rtl8812AU/8821AU USB WiFi driver on Debian Jessie”