Add GUI to Ubuntu Server

Posted on September 29th, 2011

We have already discussed how to install ubuntu 9.04 LAMP server .If you are a new user and not familiar with command prompt you can install GUI for your ubuntu LAMP server using the 2 options

1) Install desktop Environment

2) Install Webmin

1) Install desktop Environment

First you nee to make sure you have enabled Universe and multiverse repositories in /etc/apt/sources.list file once you have enable you need to use the following command to install GUI

sudo apt-get update

sudo apt-get install ubuntu-desktop

(more…)


How To Share Media Between Xbox 360 and Linux

Posted on September 29th, 2011

I was surfing the internet looking for a solution to share media from a linux box to xbox 360 and this is what I found.


WordPress AntiVirus Protection

Posted on September 7th, 2011

AntiVirus for WordPress is a smart and effective solution to protect your blog against exploits and spam injections. Special feature of this plugin is Manual testing with immediate result of the infected files, and Daily automatic check with email notification.

This really works.. I installed this plugin on a theme running  on justhost.com and it found a permalinks hack similar to the one on this link

http://mashable.com/2009/09/05/wordpress-attack/


CSS Rollovers 1 image

Posted on September 6th, 2011

The default image that is visible to the user is the black & white yaprak_bw.png and when you hover over the image, it’s replaced by yaprak_color.png with its full-color glory. However, if this is a user’s initial visit to the website and therefore the color image hasn’t already been cached, there may be a user-perceivable delay in switching to the color image. The net annoyance will depend on factors like the user’s connection speed, the load on the web server and most importantly, the attentiveness of the user. A couple of methods can be applied to pre-load alternate images to avoid the perceived latency but I will advocate for something else: don’t use separate alternate images in the first place. You can use a single image where the two rollover images are flush with each other, side by side or one on top of another. Here’s how:

(more…)


PHP Limit String to Word or Sentences

Posted on September 6th, 2011

To limit a string to only first 3 sentences:

<?php preg_match('/^([^.!?]*[\.!?]+){0,3}/', strip_tags($text), $abstract); echo $abstract[0]; ?>

To limit a string to only first 30 words:

<? php preg_match('/^([^.!?\s]*[\.!?\s]+){0,30}/', strip_tags($text), $abstract); echo $abstract[0]; ?>


Add Maintenance Mode to WordPress

Posted on September 6th, 2011

Link to Plugin

This plugin adds a splash page to your blog that lets visitors know your blog is down for maintenance. Logged in administrators get full access to the blog including the front-end.

When the maintenance mode is activated, the following message is being displayed:

 

Of course you can fully modify this message in the plugin’s options.


WPA Fix for XP

Posted on October 29th, 2010

click here for fix


MacBook Pro keyboard backlight keys on Ubuntu GNU/Linux

Posted on October 4th, 2010

Just right-click on this link, save to your computer and rename it to keyboard-backlight. You can drop it at /usr/bin to execute from wherever you are.

Using keyboard-backlight from command-line
This script could have 4 different uses:

Increase backlight keyboard: sudo keyboard-backlight up
Decrease backlight keyboard: sudo keyboard-backlight down
Increase to total value of keyboard backlight: sudo keyboard-backlight total
Turn off backlight keyboard: sudo keyboard-backlight off
You can customize the amount of steps by changing the INCREMENT variable inside keyboard-backlight file.


Flash 10.1 “Gala” Gives Mac Users Hardware-Accelerated Streaming Video

Posted on June 5th, 2010

Mac (Snow Leopard): Your Mac’s processor can rest a bit easier now. Adobe has release “Gala,” a preview release of Flash 10.1 that can utilize graphics hardware to accelerate streaming web videos, reducing the strain on already-hot CPUs. (more…)


Help find drivers off hardware ID

Posted on June 2nd, 2010

http://www.devid.info/en/