Recent blog posts
PhpStorm is a excellent php IDE written in Java. This is a guide on how to install it on Ubuntu. Basic configuration.
Google Chrome is free but not Open Source, so it is not pre-installed on Ubuntu 16.04 This is a simple guide to setup and configure Google Chrome.
Mozilla Firefox is installed by default on Ubuntu 16.04 This is a simple guide to configure Firefox (Preferences, Java plugin, Adobe Flash plugin).
A simple guide to setup Java (Oracle Java or OpenJDK) on Ubuntu 16.04 desktop. Basic configuration.
A simple guide to setup samba on Ubuntu Workstation. How to mount samba shares with CIFS.
December 25th, 2016 1,349
How to manage your passwords on Linux (Ubuntu) workstations, Android devices using KeePass. How to sync to make them available anywhere.
December 19th, 2016 1,621
Ubuntu 16.04 seems to be ready for SSD. Here are some steps you should take to extend the life of your SSD drive. The keypoint is to reduce write actions.
December 17th, 2016 1,475
A simple guide to setup and monitor APC UPS on two or more Ubuntu/Debian computers (Master - Slave(s) setup) using apcupsd
December 11th, 2016 1,433
A simple guide to setup APC UPS on Ubuntu workstation computer (standalone mode) using apcupsd
Power Management module on Ubuntu 16.04 is a flexible tool to manage your computer UPS.
Recent tech tips
Strong password without having to remember it? Is it possible? Is it safe?
How to delete a command in Bash history. Sometimes it is better to not include a secret command in history. See how.
In Ubuntu, Grub boot menu is hidden by default. You can display it by pressing "SHIFT" continuously at boot time. This is useful (among other cases) in case you want to boot in Recovery mode. How to make this change permanent?
Use needrestart to determine if some services need restart or system reboot is required after Debian or Ubuntu update
When you prompt user to input text (e.g. username, lastname etc), you may use Regular expressions to sanitize User Input
If you want to start a youtube playlist from random video, just add: &index=random_number to the src attribute of the embed code.
Php has functions to easily get basename and file extension. In some cases using of regular expression is necessary.
December 9th, 2013 17,077
A good solution is to use immutable disks. When a virtual disk marked as immutable, it becomes read-only and differences will be stored in differencing disks
December 9th, 2013 25,914
It is useful to prevent direct access of AJAX calls (from browser address bar). A solution could be the following simple function check_is_ajax()
November 4th, 2013 37,480
Date manipulation is a common and useful development task. It was never easy with PHP, until PHP5 and DateTime class. Take a look at date_convert() function