AVTech CCTV DVR Motion Detector Settings

Couple of days ago I was given a task to configure CCTV DVR device (AVTech 4 Channel MPEG 4 recorder). I prefer the embedded device approach as opposed to the cheap PC CCTV cards as the latter requires a full blown PC and it depends on Windows operating system (which naturally incur additional costs).

AVTEch CCTV Security DVR

The AVTech CCTV DVR is priced slightly higher, but you get the perks of having a dedicated and compact device for your CCTV solution. It has a network interface which lets you configure and view your CCTV security camera over the internet.

Motion Detector Settings
Generally I’ve no trouble at all in using AVTech, the only thing that I’ve hard time figuring is the motion detector settings, which allows the camera to record the video only if it detects movement on one of its cameras.

Fortunally I found a source which reveals the meaning of each configurable settings on the AVtech CCTV device :

Continue reading “AVTech CCTV DVR Motion Detector Settings”

Secure your WordPress installation now, avoid from being compromised

Following recent announcement from Technorati about WordPress security vulnerability issue and the fact that there are a lot of WordPress sites that has been compromised. It is recommended those who are running WordPress blog to upgrade and tightens their WordPress site security to prevent it from being injected with malicious or spammy code.

Here are few pointers that might help you secure your WordPress installation to prevent it from being cracked into :

Remember you will be responsible for all the damage caused by the crackers should your site been cracked into

Squeezing size out of zip and gzip files in Ubuntu Linux

Here is how you can squeeze out few more kilobytes from your zip or gz files by using advzip or advdef from AdvanceCOMP package (installable from Ubuntu respository) :

advpng -z4 example.zip

Output
[code]
mypapit:$ advzip -z4 example.zip
761604 655677 86% example.zip
761604 655677 86%
[/code]
Saves you almost 6KB per file.

Similarly gzip files can be recompressed the same way to save more space.

advdef -z4 *.gz

[code]
mypapit:$ advdef -z4 *.gz
214451 207312 96% coolplayer.tar.gz
21523 20800 96% phex-pkg1.00.tar.gz
26527 25516 96% png2ico-src-2002-12-08.tar.gz
262501 253628 96%
[/code]
Saves you almost 11KB total.

The differences may be small for most of you, but it means a lot in situation where space is at premium and every little bit of Kilobytes count.

p/s: w00t, this is the first post for 2008!

Ubuntu Linux : How to combine multiple PDF file

Here’s how to combine multiple PDF file on Ubuntu.

First install ghostscript and pdftk from Ubuntu repository :

apt-get install gs pdftk

Then, using ghostscript, combile all the pdf files you desired into one file, using this command

[code]
s -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=combined_file.pdf -dBATCH file1.pdf file2.pdf file3.pdf
[/code]

The command will produced the combined pdf output on “combine_file.pdf”

How to recover corrupted gzip files in Linux

Ever come accross corrupted gzip or tarball which couldn’t be uncompressed? No worries, The gzip Recovery Toolkit make it possible for you to recover those files.

Here’s how to recover gzip (or tarball .tar.gz) file in Linux operating system :

  1. First download and compile gzrt
  2. run gzrecover on corrupted gzip — “gzrecover corrupted.tar.gz”
  3. extract the recovered file using cpio — “cpio -F corrupted.tar.recovered -i -v”

Note that however that not all file/data are recoverable using this method. Alternatively, you can use bzip2recover for recovering bzip2 compressed file.