Tag Archives: freeware

Exporting high resolution image from QGIS project



You want to export your QGIS project into high resolution image. QGIS desktop “Project” –> “Save as Image” only save/export the project into a low resolution image (i.e. your desktop resolution).



1. Finish your project in QGIS

Finish your GIS project in QGIS Desktop, choose which layers to be shown, what style should it use, etc.

2. Choose your extent that will be exported into image

For myself, I choose the full-extent, but you may choose the extent as you wish. You my use “Vector” –> “Coordinate Capture” to help copying the coordinates. You will need to write down the coordinates for [xMin, yMin] (top-left coordinate) and for [xMax, yMax] (bottom-right coordinate). Save and close your QGIS project.

3. Execute the export command via command line of QGIS

Open your command prompt/console (preferably as Administrator/root). Go to your QGIS binary folder, where you install QGIS +”bin” folder, for example C:\Program Files\QGIS Brighton\bin. Use this command template:

For example:

That command will open QGIS Desktop for a moment then close itself. The command will produce padangsari.png in c:\users\achmadz\documents\. Open the image, and you’ll see the image in high resolution (5000×5000 pixels).


Windows Installer Cleaner

Some background:

My SSD drive is almost full, after checking with TreeSize Free, it seems a lot of space is taken by files inside c:\windows\installer\. Searching around, I conclude that some of files is safe to be deleted from that particular place. There is a VB script in http://blogs.msdn.com/b/heaths/archive/2007/01/31/how-to-safely-delete-orphaned-patches.aspx that detect which files that shouldn’t be deleted from c:\windows\installer.

I also know an application named WiCleanup from KZTechs that detect and delete the “safe” files but after I tried it, the confirmation of deletion for files one-by-one makes me uncomfortable. So, I decide, why not programming the application by myself? And this application is born!


I programmed the application in VB .NET language using the free Microsoft Visual Studio 2013 Community Edition. Without further a do, you can download the application here:

[button link=”http://www.ahowto.net/wp-content/uploads/2015/03/Release.zip”]Windows Installer Cleaner Binary Only[/button]
(Of course you need .NET framework 4.5 installed if you want to run this application)
[button link=”http://www.ahowto.net/wp-content/uploads/2015/03/wic_winform.zip”]Windows Installer Cleaner Full Source Code[/button]

How to use:

It’s quite straight forward. There are three buttons there, you just need to click on them sequentially.

  1. Click “Get Kept List” to see which files that you should keep on c:\windows\installer
  2. Click “Get Delete List” to get the files that should be safe to be deleted and their size.
  3. Click “Delete Files” to delete the detected files.

What I learn from building this application:

  • how to create .NET application that need Administrator privilege (UAC things) when executed
  • how to use COM object in .NET application
  • how to use/import .dll from MS Windows in .NET
  • some file operation in .NET (FileInfo, deleting files, file’s attribute)
Windows Installer Cleaner Screenshot in Windows 7 64-bit

Windows Installer Cleaner Screenshot in Windows 7 64-bit

The application is already tested on Windows 8.1 64-bit and Windows 7 SP1 64-bit. Both systems is running fine until now. 😀

Synching Nokia phone contacts to other smartphone (Sony, iPhone)

It’s quite simple actually, the key point is: using Google Contacts (quite weird that this contact isn’t listed in Google Products).

  • First step is that you should download Nokia/Ovi Suite
  • Sync your Nokia phone contacts via Nokia/Ovi Suite
  • Select all of your contacts (Ctrl+A or Edit  –> Select All)

Select all contacts in Nokia Suite

  • Export your contacts to your PC (File –> Export contacts). Select target folder where you will save the exported contacts to. You’ll have a lot of .vcf files there. We need to combine all of this files into a single .vcf file (so, we can import all of Nokia phone contacts to Google Contacts in one go)

Exported contacts from Nokia Suite

  •  Open a command prompt and navigate to the previously selected folder. If you are using Windows 8, you can do this easily, see screenshot

Windows 8 open command prompt in current folder

  • after the command prompt opened, type this command

fuse all of vcf files into one vcf

  • Now, open your Google Contacts.
  • Choose import contacts from your Google Contact. Choose that previously produced all_contact.vcf.

Google Import Contacts

Google Contacts import dialog

  • Now, make sure there’s no duplicate contacts (especially when you often do this synchronizing things)

Remove duplicate contacts in Google Contacts

You’re done preparing, now, we can easily synchronizing with smartphone from other manufacturers


Synching with Sony Xperia Go via PC companion

  • If your Android already setup for auto-synching with your Google Accounts, there’s no need to do this step but I prefer to do this just to make sure it’s working properly.
  • Choose Sync Zone from your Sony PC Companion


  • After that, you’ll be asked about your Google Accounts where you can sync the contacts


Synchronizing with iPhone

  • Well, not much to say here, just connect your iPhone to your PC, open iTunes (if it’s not open automatically). It should be synching automatically (if you are already set-up a Google account for your iPhone). If not, click that iPhone button.

iphone button in itunes 11

  • Choose “Info” then configure your Google Contacts

iTunes configure Google Contacts

  • You’re ready to sync

iTunes sync Google Contacts

Free and OpenSource tabbed FileManager for Windows

There’s one that I like most: Double Commander. It’s totally free, no shareware or demoware, and open source and it’s created using Lazarus+FreePascal! Awesome!

double commander interface

double commander default two-windows interface

If you looking for an alternative to a shareware Total Commander, you are choosing the right one. Double Commander can also install+load plugin from Total Commander.

Although I said in the title it’s “for Windows” but Double Commander can run on Linux too. Since it’s created in FreePascal, it should be able to be compiled on Mac also. However the only available binary is only for Windows (32 and 64 bit) and Linux (also 32 and 64 bit).

If you don’t want to bloat your Windows registry, Double Commander also come in “portable” version. No need to install, just extract and you are good to run it.

Some notable features:

  • tabbed interface
double commander tabbed file manager

double window + tabbed file manager

  • built-in viewer (included hexviewer) and editor with syntax highlighting (although the recognized programming language is limited)
double commander built-in editor

built-in editor highlighting Visual Basic Code

  • extended search function, almost has all feature of Agent Ransack. You can easily search files that contain some words.
double commander extended search

full text search

  • built-in file comparator based on it’s content, multi-rename file, compress and decompress (ZIP, TAR.GZ, TGZ, LZMA, BZ2, RPM, CPIO, DEB, RAR), calculate (and verify) file hash, split and join files (no need hjsplit now 🙂 )
double commander additional functions

more built-in functions

If you want to download more recent (bleeding-edge/alpha) Double Commander for Windows 32bit and 64bit, you can head to: http://www.paehl.com/open_source/?Double_Commander

alternative to HJSplit; split and join files faster!

It’s been few days after my last post. I’ve been really busy with offline projects. So, here I’ll make a quick post.
Why we need alternative to HJSplit? Well, for me, sometimes, HJSplit is hogging my memory and CPU usage. So I need other some kind of replacement that works just like HJSplit but better (and faster and compatible with HJSplit). And I found this piece of work:

FFSJ: The Fastest File Splitter and Joiner

The feature is just like HJPlit, FFSJ can split, join and md5-checksum your files. One thing it miss it “compare” file feature but I think it’s just comparing 2 md5-checksum of both files.

This is splitting window, you have more options than HJSplit
faster free file splitter
As you can see you can choose on how FFSJ split: based on how many parts (HJSPlit didn’t have this) or based on size (like HJSPlit). Also you can encrypt your files (FFSJ will ask you the password to encrypt)

The “join” window, mostly the same as HJSplit:
faster join file

The “checksum” window, nothing special here (except that you can copy the md5 checksum automatically to clipboard):
file md5 checksum

Drawback on Windows 7 64bit:

  • shell menu extension doesn’t work; it means you can’t right-click on a file then join/split/checksum it. However, when you’re double-clicking the first part of split-file, FFSJ will automatically open it.
  • FFSJ does not shown on Windows menu list. FFSJ install itself in c:\windows\sysWOW64\FFSJ\ffsj.exe. Quite a hinder when you’re trying to split a file (which because of reason #1, you can right-click and “split” on the file)