Friday, June 7, 2013

Ubuntu Firewall Make Easy - UWF

uwf is the default firewall configuration tool to ease the firewall configuration of iptables.  To limit the firewall for http/https/ssh, just a few commands will do:

sudo ufw default deny

sudo ufw allow http

sudo ufw allow https

sudo ufw allow ssh

sudo ufw enable

Wednesday, May 8, 2013

Install Tesseract-OCR in Ubuntu


  • Tesseract OCR
  • sudo apt-get install tesseract-ocr
  • Install imagemagick to convert PDF to TIFF
  • sudo apt-get install imagemagick
  • Install poppler-utils (pdfinfo) to check number of pages of PDF
  • sudo apt-get update
    sudo apt-get install poppler-utils
  • Install Other Languages
  • Download from
    Put it in /usr/share/tesseract-ocr/tessdata

Shell Script to OCR PDF

STARTPAGE=1 # set to pagenumber of the first page of PDF you wish to convert
RESOLUTION=600 # set to the resolution the scanner used (the higher, the better)

        echo "sudo $0   "
        echo "language (optional): default eng, other possible "
        echo "ara (Arabic), aze (Azerbauijani), bul (Bulgarian), cat (Catalan), ces
       (Czech), chi_sim (Simplified Chinese), chi_tra (Traditional Chinese),
       chr (Cherokee), dan (Danish), dan-frak (Danish (Fraktur)), deu
       (German), ell (Greek), eng (English), enm (Old English), epo
       (Esperanto), est (Estonian), fin (Finnish), fra (French), frm (Old
       French), glg (Galician), heb (Hebrew), hin (Hindi), hrv (Croation), hun
       (Hungarian), ind (Indonesian), ita (Italian), jpn (Japanese), kor
       (Korean), lav (Latvian), lit (Lithuanian), nld (Dutch), nor
       (Norwegian), pol (Polish), por (Portuguese), ron (Romanian), rus
       (Russian), slk (Slovakian), slv (Slovenian), sqi (Albanian), spa
       (Spanish), srp (Serbian), swe (Swedish), tam (Tamil), tel (Telugu), tgl
       (Tagalog), tha (Thai), tur (Turkish), ukr (Ukrainian), vie (Vietnamese)"
        exit 1

if [ $# -lt 2 ]; then

SOURCE=$1 # set to the file name of the PDF
OUTPUT=$2 #set to the final output file


if [ $# -eq 3 ]; then

ENDPAGE=`pdfinfo $SOURCE | grep Pages | sed 's/ //g' | cut -d':' -f2`

touch $OUTPUT
for i in `seq $STARTPAGE $ENDPAGE`; do
    convert -monochrome -density $RESOLUTION $SOURCE\[$(($i - 1 ))\] page.tif
    echo processing page $i
    tesseract -l $LANGUAGE page.tif tempoutput
    cat tempoutput.txt >> $OUTPUT

Thursday, July 22, 2010

Avidemux - Free Video Editor

Price: $0
Platform: Windows
Version: 2.5.3

Avidemux is a free video editor designed for simple cutting, filtering and encoding tasks. It supports many file types, including AVI, DVD compatible MPEG files, MP4 and ASF, using a variety of codecs. Tasks can be automated using projects, job queue and powerful scripting capabilities.

Avidemux is available for Linux, BSD, Mac OS X and Microsoft Windows under the GNU GPL license. The program was written from scratch by Mean, but code from other people and projects has been used as well. Patches, translations and even bug reports are always welcome.

Most Important, you can use Avidemux to rotate a video by clicking Filter -> Rotate.




Wednesday, March 24, 2010

Mixxx - Free Digital DJ Software

URL: Mixxx
Price: $0
Platform: Windows, Mac, Linux
Version: 1.7.2

  • Free, open source DJ software for Windows, Mac OS X, and Linux
  • MIDI controller support

  • Superior mixing engine with recording, vinyl control, and more
  • Created for DJs, by DJs

Monday, March 22, 2010

Unknown Device Identifier - Discover those yellow question mark labeled Unknown Devices

Price: $0
Platform: Windows
Version: 7.0

Unknown Device Identifier enables you to identify the yellow question mark labeled Unknown Devices in Device Manager. And reports you a detailed summary for the manufacturer name, OEM name, device type, device model and even the exact name of the unknown devices. With the collected information, you might contact your hardware manufacturer for support or search the Internet for the corresponding driver with a simple click. With this utility, you might immediately convert your unidentified unknown devices into identified known devices and find proper driver on the Internet and contact the hardware device manufacturer or vender. Known devices recognized by Microsoft Windows will also be analyzed independent of the operating system.

You are suggested to do a thorough driver backup with My Drivers after you have identified all the unknown devices with their proper device drivers software installed.

Supported OS: Windows 95, Windows 98, Windows 98SE, Windows Me, Windows 2000, Windows XP, Windows Server 2003, Windows Server 2008, Windows Vista, and Windows 7. Future OS are supported via the online update. You might even run the small freeware utility from CD or floppy.


- Identify USB 1.1/2.0/3.0 Device

- Identify IEEE 1394 Device

- Identify ISA Plug&Play Device

- Identify AGP Bus Device

- Identify PCI, PCI-E, eSATA Device

- Multilingual interface: English, French

- Find Drivers for Hardware Devices

- Contact Hardware Vender directly

- Save or Print Hardware information

Saturday, March 20, 2010

IZArc - Free Archive Utility

Price: $0
Platform: Windows
Version: 4.1

IZArc is the best freeware archive utility supporting many archive formats like: 7-ZIP, A, ACE, ARC, ARJ, B64, BH, BIN, BZ2, BZA, C2D, CAB, CDI, CPIO, DEB, ENC, GCA, GZ, GZA, HA, IMG, ISO, JAR, LHA, LIB, LZH, MDF, MBF, MIM, NRG, PAK, PDI, PK3, RAR, RPM, TAR, TAZ, TBZ, TGZ, TZ, UUE, WAR, XXE, YZ1, Z, ZIP, ZOO. With a modern easy-to-use interface, IZArcprovides support for most compressed and encoded files, as well as access to many powerful features and tools. It allows you to drag and drop files from and to Windows Explorer, create and extract archives directly in Windows Explorer, create multiple archives spanning disks, creating self-extracting archives, repair damaged zip archives, converting from one archive type to another, view and write comments and many more. IZArc has also build-in multilanguage support.

With IZArc you can open CD image files like ISO, BIN, CDI and NRG.
It is also possible to convert such files from one type to another (BIN to ISO, NRG to ISO).

If you need to send large files to your colleagues, friends or customers who may not have archiving tool you can easily create self-extracting archive that can be extracted by simple double click.

IZArc can be configured to run your preferred Anti-Virus scanner when you open any archives.

IZArc supports 256-bit AES encryption to secure your data.

IZArc is integrated in Windows so you can perform all archiving operations by using right-click menus in Windows Explorer. If you have broken archives

IZArc can help you to repair them with ease.

IZArc is 100% virus free and it doesn't contain any spyware or adware.

IZArc is the most complete archive utility available today.

Thursday, March 18, 2010

doPDF - Free PDF Converter

Price: $0
Platform: Windows
Version: 7.1.330

doPDF7.1 installs itself as a virtual PDF printer driver so after a successful installation will appear in your Printers and Faxes list. To convert to PDF, you just have to print the document to doPDF, the free pdf converter. Open a document (with Microsoft Word, WordPad, NotePad or any other software), choose Print and select doPDF. It will ask you where to save the PDF file and when finished, the PDF file will be automatically opened in your default PDF viewer. Screenshot below shows how easy it is to create a PDF file from Microsoft Word (word to pdf):

Creating PDF files with doPDF

Main benefits for using this free PDF converter:
  • It’s free - PDF converter free for both commercial and personal use.
  • 32-bit and 64-bit support - can be installed on both 32-bit and 64-bit Windows operating systems.
  • No GhostScript or .NET - doesn’t require 3rd party programs to do PDF files such as GhostScript or runtime environments like the .NET Framework. This makes the setup file to be incredibly small compared to other free PDF creator programs.
  • Customizable resolution - you can choose any resolution from 72 to 2400 dpi.
  • Predefined/custom page sizes - choose a default page size (Letter, Legal, A4, A5, A6, ...) or enter your own custom page size.
  • Searchable PDFs - you can search for text within the created PDF file (and search engines will also index the text from the PDF).
  • Multi-language - choose a language for the user interface from the 20 languages currently supported.
  • Do your part in saving the planet - instead of consuming paper to print your document, why not create a PDF file out of it and spare a couple of planet-saving trees?
  • Barely uses any computer resources - compared to other free PDF creator softwares, doPDF barely uses any memory or CPU resources when doing the actual conversion to PDF.

doPDF is a free PDF converter, it is not a PDF viewer. To view PDF files you will need the free Adobe Reader.

doPDF 7.0.322