Installing sphinx on Ubuntu
Sphinx is a full-text search engine, distributed under GPL version 2
Check out the home page: http://sphinxsearch.com/
sphinx needs mysql_config program, install it with:
sudo apt-get install libmysqlclient15-dev
wget http://sphinxsearch.com/downloads/sphinx-0.9.8.tar.gz
tar xvf sphinx-0.9.8.tar.gz && rm sphinx-0.9.8.tar.gz
cd sphinx-0.9.8
./configure
make
sudo make install
Coda Slider Effect using jQuery
Remy Sharp created a new screencast and detailed tutorial on “how to create a coda slider effect using jQuery:“ Although Panic didn’t really invent the effect, the sliding panels on the Coda is great implementation of this effect.
Recreating this effect is simple to do if you know what plugins to use. There are plugins out in the wild already, but we want our jQuery to satisfy the following requirements:
Why use Drupal as a development platform?
Drupal is an Open Source Content Management System (CMS), designed for power and flexibility. Boasting one of the biggest professional developer communities, Drupal is quickly becoming one of the leading PHP content management systems in the world. This article explores several key points of Drupal, and the reason why I use it as a base for web solutions.
What is the power of Drupal?
Drupal excels as a CMS and also as a development platform. It has a strong core capable of large flexibility. This means that the system can support many types of features with ease, from shopping carts to user profiles, calendars, galleries and beyond. Drupal can handle just about anything you can imagine. As developers, we embrace this flexibility because it allows us to turn any website dream into reality.
Preventing Drupal from Handling 404s for Performance
The .htaccess file included with Drupal tells Apache to send all 404 requests to Drupal to handle. While this is great in some cases, the performance degradation can have a huge impact on a site that has millions of users.
When Drupal processes a 404, it has to bootstrap Drupal, which includes Apache loading up the PHP process, gathering all of the Drupal PHP files, connecting to the database, and running some queries. This is quite expensive when Apache can be told to simply say "Page not found" without having to incur any of that overhead.
Docstoc for Free Business Related Documents Templates
docstoc is a user generated community where you can find and share professional documents. Find a vast quantity of high quality legal, business, technology, educational, and creative documents for free. docstoc allows users to upload their documents for all the world to share. In addition, users can store their documents in their own personal online folders for anytime, anywhere access.
Quarkbase - Everything about a Website
Quarkbase is a free tool to find complete information about a website. It is a mashup of over 30 data sources and many algorithms gathering information from Internet on various topics like social popularity, traffic, associated people, etc. Simple type in your webiste URL, you can get a detailed report about your website instantly.

CrossSlide - Create Pan and Cross-Fade Animations
CrossSlide is a jQuery plugin that implements in Javascript some common slide-show animations, traditionally only available to the web developer via Adobe Flash™ or other proprietary plugins. CrossSlide builds upon jQuery’s animation facility, so it is as portable across browsers as jQuery itself.
CrossSlide can do simple Static cross-fade, Slide + cross-fade and Ken Burns effect: panning, zooming and fading to specific points, to guide the eye of the viewer and convey meaning. This kind of effect relies on the browser for positioning, scaling and cropping images, through CSS and the DOM.
jCrop - Powerful Image Cropping Engine for jQuery
Jcrop is a powerful image cropping engine for jQuery. It’s been designed so developers can easily integrate an advanced image cropping functionality directly into any web-based application without sacrificing power and flexibility.
It combines the ease-of-use of a typical jQuery plugin with a powerful cross-platform DHTML cropping engine that is faithful to familiar desktop graphics applications. Jcrop also features clean, well-organized code that works well across most modern web browsers.
Linux Backup & Restore script
THE BACKUP SCRIPT
This is how it looks on screen:
Code:
|-------------------------------------------------------------
| IT'S RECOMMENDED TO RUN THIS SCRIPT BEFORE GNOME LOGIN
|-------------------- Press CTRL+ALT+F1 at the GDM login
|-------------------------------------------------------------
| BACKUP YOUR SYSTEM:
1) Backup
2) Exit
#?
You simply just type: sudo backup and choose with your number keys the wanted action and press Enter on the keyboard.
OK, lets start.
Open a terminal window and type:
$ gedit backup
Copy the following code into your empty text file:
Code:
MySQL Performance Tuning Primer Script
MySQL Performance Tuning Primer Script
http://www.day32.com/MySQL/
http://www.day32.com/MySQL/tuning-primer.sh
This script takes information from "SHOW STATUS LIKE..." and "SHOW VARIABLES LIKE..."
to produce sane recomendations for tuning server variables.
It is compatable with all versions of MySQL 3.23 and higher (including 5.1).
Currently it handles recomendations for the following:
- Slow Query Log
- Max Connections
- Worker Threads
- Key Buffer
- Query Cache
- Sort Buffer
- Joins
- Temp Tables
- Table (Open & Definition) Cache
- Table Locking
- Table Scans (read_buffer)
- MyISAM Status






