Flashtool (Windows)

Yep, I know… it’s old. But still useful for someone (like me).

Download Flashtool (Windows)

Latest version? Go to http://www.flashtool.net/

What is Flashtool?

FlashTool is one of the most powerful tools for Sony Xperia devices and has been around since the Xperia X10 days. The utility has been updated to version number, which brings a very useful new feature – the ability to download the latest firmware files for your Sony Xperia device.

Once you have downloaded the latest version, simply head over to the Update Checker part of the tool to select and download your firmware. In theory, this negates the need to use two tools (XperiFirm and FlashTool) to create a FTF firmware file as detailed in our recent guide. — http://www.xperiablog.net/


Disable or deactivate Device Security (Smart Manager)

Device: S7 Edge (SM-G930FD)

Android version: 6.0.1 Marshmallow

Scenario: Accidentally activated the Device Security and not able to deactivate anywhere in Smart Manager app.

Instructions to deactivate:

  1. Open the app drawer and select Settings –> Applications –> Application manager
  2. Click MORE menu on right top –> Show system apps
  4. Tap the “CLEAR CACHE” following by “CLEAR DATA” (confirm the DELETE if warning prompted)

Move files into folders, sorted by month and day with PowerShell


  • Not suitable for folder with sub-folders, such as folder of extracted zip file
  • Recommended to execute on a test environment first


  1. Change the $files and $targetPath values accordingly
  2. Copy the modified script and paste into Windows PowerShell
  3. Wait

The script:

# Get the files which should be moved, without folders
$files = Get-ChildItem 'CHANGE THIS TO ORIGINAL PATH' -Recurse | where {!$_.PsIsContainer}

# List Files which will be moved

# Target folder where files should be moved to. The script will automatically create a folder for the year and month.

foreach ($file in $files)
# Get year and Month of the file
# I used LastWriteTime since this are synced files and the creation day will be the date when it was synced
$year = $file.LastWriteTime.Year.ToString()
$month = $file.LastWriteTime.Month.ToString()

# Out FileName, year and month

# Set Directory Path
$Directory = $targetPath + "" + $year + "" + $month
# Create directory if it doesn't exsist
if (!(Test-Path $Directory))
New-Item $directory -type directory

# Move File to new location
$file | Move-Item -Destination $Directory


Before (what a mess!)







Move files to folder sorted by year and month with PowerShell

Hide WordPress header image on specific URL

Objective: Hide WordPress header image on specific URL

Target URL: All URL except http://hilmanali.com/blog/

Theme: Sorbet (child)

File name: header.php

Original code:

<body <?php body_class(); ?>>

Modified code:

<body <?php body_class(); ?>>
global $wp;
$current_url = add_query_arg( $wp->query_string, '', home_url( $wp->request ) );
$is_specific_network = stripos( $current_url, 'http://hilmanali.com/blog/page/' );






Clipboard Manager? Ditto jadikan Copy Paste lebih mudah

Ditto Clipboard Manager, adalah satu aplikasi (free & open source) yang sangat bagus untuk pengguna OS Windows. Ianya memudahkan pengguna untuk manage atau menggunakan semula items yang disalin (copy) untuk digunakan (paste) semula, pada bila-bila masa. Ini kerana semua items (bergantung pada setting) yang disalin akan disimpan di dalam database.

Sebagai contoh, kita copy satu ayat atau paragraph dari satu website. Kemudian, pada esok hari atau bila-bila sahaja ianya boleh digunakan semula (paste). Tambahan pula, ianya lengkap dengan fungsi carian yang memudahkan lagi kita untuk mencari perkataan atau items yang kita salin.

Atau, mungkin kita ada salin banyak URL website, kalau tanpa Ditto setiap URL yang kita salin akan dihapuskan dengan items baru yang kita copy. Memang di browser kita ada bookmark, tapi haruskah kita buka browser setiap kali? Sedangkan kita nak paste bukan di browser?

Ishhh… macam susah nak explain… bacalah sendiri dia punya description ni hahaha!

Ditto is an extension to the standard windows clipboard. It saves each item placed on the clipboard allowing you access to any of those items at a later time. Ditto allows you to save any type of information that can be put on the clipboard, text, images, html, custom formats, …..

Some Features of Ditto Clipboard Manager

  • Easy to use interface
  • Search and paste previous copy entries
  • Keep multiple computer’s clipboards in sync
  • Data is encrypted when sent over the network
  • Accessed from tray icon or global hot key
  • Select entry by double click, enter key or drag drop
  • Paste into any window that excepts standard copy/paste entries
  • Display thumbnail of copied images in list
  • Full Unicode support(display foreign characters)
  • UTF-8 support for language files(create language files in any language)
  • Uses sqlite database (www.sqlite.org)

Anyway, Abah dah menggunakan tool ni agak lama. Compatible dengan Windows 7 — Windows 10. Walaupon terdapat banyak clipboard manager di internet, bagi Abah, Ditto Clipboard Manager adalah yang terbaek!

Boleh download Ditto di website ni: http://ditto-cp.sourceforge.net/