vk | mysqli | cookies in php | mysqli tutorial | jquery autocomplete example | jquery autocomplete ajax
 


 

Recent blog posts


Manage UPS Using Power Management on Ubuntu 16.04

Power Management module on Ubuntu 16.04 is a flexible tool to manage your computer UPS.

How To Setup Virtualbox on Ubuntu 16.04

A simple guide to setup Oracle Virtualbox on Ubuntu 16.04

How to Create Partition Image Backup and Restore Using Clonezilla

In this tutorial Clonezilla Live is used to create partition image and then to restore it in a virtual machine (Virtualbox).

Easily Compress and/or Encrypt Files in Linux Using 7z (p7zip) Archiver

7z is an excellent archiving software offering high compression ratio and strong AES-256 encryption.

Fix Mouse Sensitivity in Ubuntu 16.04

After installation of Ubuntu Desktop 16.04, mouse is very sensitive (practically unusable) in most systems with wireless mouse.

Package Management and System Update in Ubuntu Desktop

Find out how to add and remove software and apply system updates in Ubuntu Desktop (GUI utilities and command line version).

How to Remove Old Kernels in Debian and Ubuntu

After installing a new Linux kernel, old kernels are not automatically deleted. They remain in your disk. You have to delete them manually. Why?

How To Create Fast And Reliable Backup Using Rsnapshot

rsync is probably the most common solution for backup on Linux. rsnapshot offers advanced functionality, using rsync and perl.

Update Postgres Major Version in Debian Jessie

Upgrading to a minor version is done through the upgrade process of Debian. For major versions, the process is much more complex.

A Simple Guide to Obtain and Install an SSL Certificate

Criteria for selecting the right SSL Certificate. Detailed instructions on how to setup the certificate in a Debian server. Validate your certificate.

Recent tech tips


How to Display Grub Menu at Boot Time in Ubuntu

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?

When to Restart Services or Reboot after Update on Debian or Ubuntu

Use needrestart to determine if some services need restart or system reboot is required after Debian or Ubuntu update

Sanitize User Input Text with PHP

When you prompt user to input text (e.g. username, lastname etc), you may use Regular expressions to sanitize User Input

How to Start Youtube Playlist from Random Video

If you want to start a youtube playlist from random video, just add: &index=random_number to the src attribute of the embed code.

Get basename and file extension with PHP or Javascript

Php has functions to easily get basename and file extension. In some cases using of regular expression is necessary.

Easily Backup Virtualbox disks using Immutable Images

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

How to check if a Request is an AJAX call with PHP

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()

How to Convert Date or Time to any Timezone and Dateformat with PHP

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

Check if a String represents a Valid Timezone with PHP

Sometimes you want to check if a string represents a valid timezone. Using PHP versions greater than 5.2, timezone_identifiers_list() would be a solution.

How to Detect Browser (and browser version) using JavaScript

Browser (and browser version) detection is an "all time classic" development requirement. jQuery.browser WAS an excellent solution, but it was removed