You're at Mabishu, a website about discovering quality on code, searching emerging technologies, and leading a simpler, more mindful coder life. This site was established in 2005 by Fran Diéguez, a blogger, software developer, and open source geek. Subscribe to the RSS feed for updates.

How to setup a LAMP server with less than 100 characters

lamp How to setup a LAMP server with less than 100 charactersOne of the reasons cause I love the GNU/Linux for developing is its easy and quick setup.
So if you’re a LAMP-dev you can setup a LAMP server with less than 100 chars.
With the next command you will have a apache2+php5+mysql on Debian based systems with the bonus of phpmyadmin for administer your databases.
sudo apt-get install phpmyadmin lamp-server^

Dont forget the trailing ‘^’ char.

Quick post, quick solution. Isn’t it?

MacBook Pro keyboard backlight keys on Ubuntu GNU/Linux

Written on June 24th, 2010
.

macbook keyboard1 MacBook Pro keyboard backlight keys on Ubuntu GNU/Linux

Recently I have purchased a new MacBook Pro 15″ and the first thing I do was install Ubuntu Lucid Lynx on it. After some readying I have all the hardware working properly but the keyboard backlight wasn’t integrated into system and unfortunately after searching on the web for something that could do this, I decide to write a simple script with Bash and use Ubuntu-tweak to bind the keyboard keys to invoke the script. So let’s go…

Read the rest of this entry »

Speed up Google Analytics js by caching it locally

rect2818 Speed up Google Analytics js by caching it locally

The big problem of use Google Analytics is that you have to get its javascript to get to work statistics. For me this causes that my sites takes a lot of time to end the load. For this reason I always recommend put the GAnalytics code at the bottom of the page, but for me this is not enought.

One solution to this is to cache the external javascript locally but what if the external javascript changes? Here I go to explain how to store GAnalytics javascript locally and peridiocally check that is the lastest version.
Read the rest of this entry »

3 ways of get memcached status

Written on June 1st, 2010
.

rect3644 3 ways of get memcached statusIf you use memcached to cache contents among different servers and apps, and you want to get statistics for what is happening inside the memcached-sever you can use one of the available interfaces for programming languages but there are simpler ways to do that. The best way is use the command line because the simple protocol that memcached has.
Read the rest of this entry »