23
Mar
2012
Matt

Log in using your webcam on Linux

Using pam-face-authentication, you can login using your face and webcam instead of typing a password. You can also use your face to authenticate when using commands such as su and sudo, and virtually all other applications that ask for your account passowrd, even if you are in text-only mode.

Tags: 
18
Sep
2011
holly-miller

The Most Useful Types of Phone Apps to Have

One of the biggest—and funnest—advantages to owning smartphone over a regular cell phone is all the apps available for every smartphone, Blackberry and even iPads and iPod Touch devices. And if the thousands of apps currently available aren't enough, don't worry: Hundreds more are developed every day. There are dozens of different types of phone apps, and what someone will choose depends on several personal factors, but overall, some apps are a little more versatile, helpful and just plain convenient than others.

Tags: 
17
Jul
2011
Matt

Modify the Windows Registry from Startup Repair

Many of you will probably be familiar with Windows Vista's and Windows 7's Startup Repair feature. It repairs the Windows boot files, checks the disk for errors, let's you restore your computer using System Restore, and corrects incorrect registry values. Well, most of the time. There are some errors that Startup Repair hasn't been programmed to detect. There have been many cases where people have made an incorrect change to the registry, preventing Windows from booting, and have had to reinstall Windows.

Tags: 
07
Jul
2011
Matt

Create a custom Guest Article form for WordPress

At some point, you may want to add a Guest Article submission form to your WordPress site. To do this, you could use a plugin like TDO Mini Forms or Gravity forms. Only problem with these though is, in Gravity Forms' case, you have to pay about $40 for a license to use it, and TDOMF, although it is a good plugin, it hogs resources (when I activated it, it took 20-30 more database queries to generate my homepage).

Tags: 
01
Jul
2011
Matt

Create a shell script to backup your site's files, MySQL database, and server configuration files

In this article I will show you how to create a simple shell script that backs up your sites files, MySQL database tables, and server configuration files (nginx, varnish, etc.) and compresses them with Gzip, stores each backup in its own directory, and deletes the backups that are older that 14 days. Then we will set up a cron job that runs this script every 2 days.

28
May
2011
Matt

Advanced operations with Google

You can use Google as a calculator, converter and dictionary. Here's how:

Calculator

To use Google Search as a calculator, just type any of the following mathematical expressions into the search box:

Tags: 
21
May
2011
Matt

Replace something in a web page using javascript

Using this code, you can replace all ocurrences of a element with another one:

Tags: 
21
May
2011
Matt

Cool trick to edit the current page displayed

I've just stumbled across this cool trick. Go to any web page and type this in your address bar:

javascript:document.body.contentEditable='true'; document.designMode='on'; void 0

Now you can edit any page, just like you would in a normal text editor. To deactivate this, type:

Tags: 
09
May
2011
Matt

Install PHP-FPM and configure it for nginx and WordPress

In this article we'll install and configure PHP5 from source with FPM (FastCGI proccess manager), wich is a better alternative to standard FastCGI for 2 reasons: it's faster, and it dynamical adjusts the amount of child processes as necessary. First let's uninstall the old PHP (if you already have it installed, if not, skip ahead):

apt-get remove php5-common

And stop FastCGI:

/etc/init.d/php-fastcgi stop

Tags: 
08
May
2011
Matt

The amount of unnecessary data we download each month

Every time you load a web-page, unnecessary data (in the form of white-spaces, indentation and comments in the code) is downloaded with it. Each month, this data adds up to a staggering 23,000,000GB! That's the equivalent of downloading 2,555,555 DVDs, or 5,750,000,000 songs. It would take a single DSL connection 5,422,440 hours (619 years) to download that much data. See the original infographic (by GTMetrix) by clicking the image bellow.

Tags: 

Pages

Subscribe to Front page feed
Do NOT follow this link or you will be banned from the site!