It is possible to increase a given date or datetime value in php by either a year, month, day, hour, minute, second and millisecond. This is achieved using the strtotime() php function. The strtotime() php function is used to convert any type of string passed to it as a parameter to a unix time stamp. We will use Continue reading
CSS3, how to create html div elements with rounded corners
This is a CSS3 feature that enables you to display almost any html (box elements) element that has a border property to be displayed with a rounded corner. If you are familiar CSS3, then most probably you are familiar with this, if not then head straight to www.w3schools.com so that you DON’T HAVE TO COME BACK HERE AGAIN! Before you proceed, beware that Continue reading
DISABLE GUEST ACCOUNT ON UBUNTU 11.10 ONEIRIC
If you want to disable a user account, guest account in this case, then that is as easy as childplay – at least after you have read this. All you need to do to disable an account is to edit a file called lightdm.conf located at /etc/lightdm/lightdm.conf. According to wikipedia, “LightDM is Continue reading
HOW TO USE SUDO ON DEBIAN
If you are moving from Ubuntu to debian for reasons best known to you, then you are most likely to run into a little trouble working with sudo: the command that allows the normal users on the system to temporarily perform root functions. If it is installed after your OS is installed, then most probably it is not yet configured to run or allow users on the system to run with root privileges even if they have the password. This of course is a security feature for your system.
Luckily enough, this can be easily configured as I learned the other day. Continue reading
How to uninstall netbeans on Ubuntu
If you downloaded netbeans from the net and installed it using the .sh file format, then this tip will show you how to remove it once you are done with and do not need it on your system anymore.
It is installed using an “install.sh” file and thus, it is uninstalled using Continue reading
Ubuntu linux: How to create .zip and .tar.gz files
If you are on a windows machine, you probably are wondering why someone would go googling “how to create zip files”. I have done that myself severally and that is why today am writing this tip on how to create not just a zip file but also a .tar.gz file for both windows and linux idiots alike. Continue reading
Ubuntu: How to fix backlight problem on Acer aspire 5734-z
This tip will show you how to fix the back light problem that has been reported on Acer aspire 5734-z machines when trying to install Ubuntu 11.series.
What happens is that the machine’s back light goes off at some point when it is booting or rebooting.
There are two ways of going about this: first Continue reading
Ubuntu: how to install .sh files
When I have downloaded a package or file with the .sh extension from the net and I need to install it on Ubuntu, then this is how I do it. Continue reading
JQuery: How to hide default text field content on focus and unhide on focusout
This quick tip will show you how to use this cool feature on your selected form input fields such that when you click or create focus on an input field, the default value disappears or auto-hides. We will also learn to reverse this such that when the focus moves out or you click outside the input field, the original default text reappears. We are going to do this using JQuery.
If you do not have JQuery yet, just download it from here. Continue reading
How to back up a wordpress site on cPanel
This quick tip will show you how you can back-up your wordpress website hosted on cPanel.
Basically, there are two steps or sections of your website that you need to back up. These are backing up the database and backing up the wp_content folder. Continue reading