jQuery plugin : monnaTip 0.1

This the simplest tooltip jQuery plugin you can find around.

    features:

  • takes advantage of live(), mouseenter and mouseleave methods
  • tracks mouse movement
  • right and bottom viewport border tracking
  • can be applied on any element

Demo - download - Google code
more.. »

use name attribute for input instead of id for use with label

you need Jquery:

  1.  
  2. <label for="myinput"></label><input name="myinput" type="text" value="text here" />
  3. $('label').live('click', function(e){
  4.         if( $(e.target).is(':input') ) return;
  5.         var i = $(':input[name="' + $(this).attr('for') + '"]')
  6.         i.is(':checkbox') ? i.attr('checked', !i.attr('checked') ) : i.focus().select();
  7.     })
  8.  

Convert html to vbcode and post to vbulletin

using vbulletin files :

  1.  
  2. chdir('/path/to/forum');
  3. define('THIS_SCRIPT', 'login');
  4. require_once( './global.php');
  5. require_once( DIR . '/includes/functions_wysiwyg.php' );
  6.  
  7. echo convert_wysiwyg_html_to_bbcode('<i>hello world</i>');
  8.  

using external function :
more.. »

Sitemap Creator 0.2 beta

Sitemap Creator crawls/spiders your website creating XML sitemaps compatible with the standard sitemaps.org protocol supported by Google, Yahoo!, MSN and MoreOver. The script pings Google, Yahoo!, MSN and MoreOver bots to download the sitemap file, then tracks the bot and sends you an email on every scan to your Sitemap and gives you a full report of the Search Engine respond.
Sitemaps are created from a CSV file which could easily be edited using any text editor before creating the sitemap. more.. »

Configure sendmail to accept emails only if “from", “to" or specific field matches

you can exclude an email address or even a host that is spamming you using the access file located in your etc directory, the bad news is that it does not support regex or even wildcards. more.. »

Remotley start programs on your Linux Desktop

It is very easy to start programs remotely on your windows desktop from another computer but running X11 application on Linux from another ssh session would start a new X11 session on your remote machine, that was a problem for me and here is how I solved that….. more.. »

Sort Unix processes on ps by highest memory usage

just a snippet, –sort is not good for me..try
ps -eo pmem,pcpu,rss,vsize,args | sort -k 1 -r | more
more.. »

Sitemap Creator 0.2a: Create sitemaps 09 valid for Google, Yahoo, MSN, Ask.com and moreover sitemaps

New Sitemap Creator Beta available
Sitemap Creator 0.2a is different from version 0.1, The script now is able to crawl/spider your website, create your sitemaps, ping Google, Yahoo, MSN, Ask.com, moreover.com with the location of your sitemaps and send you alerts by email when sitemaps are created or crawled by the search bot. The crawler saves sitemaps data into an easy to edit CSV file.

Download (build 20070109) :
sitemap_creator.tar.gz - sitemap_creator.zip
more.. »

Adding FAlbum URLs to XML-Sitemap WordPress Plugin

As I mentioned on my previous post yesterday about Fixing FAlbum Plugin that I'm trying to add support for Google XML Sitemaps Plugin to FAlbum so that all URLs including albums, photos and tags would be added to Blog’s Sitemap which would be crawled by Google, Yahoo and MSN . more.. »

Fixing Flickr FAlbum rewrite rules, thumbnails, javascripts and more …

FAlbum is a WordPress Plug-in that adds your Flickr photo albums to your blog without redirecting the viewer to Flickr or leaving your blog. It is very useful and unique, I have always needed that plugin on my blog, however, some features needed a lot of digging into the code to fix or to get it working. So, I am going to describe a step by step installation of this plugin then will show how to fix. more.. »

BPEL4WS Series

Process Modeling

Abstract

In this article, we will walk through modeling a sample process using the Business Process Execution Language for Web Services. This article uses Sybase PowerDesigner as the modeling tool and J2EE 1.4 as the programming and deployment platform. The article assumes basic knowledge of BPEL4WS, UML, WSDL and J2EE technologies.

more.. »

GoodBye IE6..please don't come back!

Since IE6 was released it has been a pain for every designer, the browser has its own world leaving behind web standards, forcing designers to add hacks, extra code and scripts just to fix its stupid bugs, bugs and more Bugs. more.. »

Dynamic Content Caching using Lighty + mod_magnet + lua

*Updated 11 Jan 2007 to include luazlib, fix lighty config file and add zlib decoding to cache.lua for older browsers
Since I read the documentations for mod_cml, I was very excited to use this module since caching using PHP running as FastCGI is not helping much during server peak load. However, mod_cml was replaced by mod_magnet which is more flexible and gives more control over request handling in Lighttpd. This Article will focus on caching your PHP scripts using Lua and mod_magnet under Lighttpd, more.. »

Compressing your HTML, CSS and Javascript using simple PHP Code

Although Compression is a very important method of making your pages lighter and easier for users to download, it’s definitely going to cost you more CPU and on high load servers it’s not recommended unless you already know how to cache your HTML pages. more.. »

Google rank is the 14th on “search" query while Live is the 1st

is it a googlebot failure? or Google is not into SEO ?
check : http://www.google.com/search?q=search more.. »

install / compile MYSQL 5 on RHEL / CentOS 4

There not much performance difference between MYSQL 4 and 5 as far as you're not using mysqli ext for your PHP scripts, but it nice to find rpms ready on Centos.org which makes the job much easier. more.. »

Using iptables to block ips that spam or attack your server

Why should you do that while APF or CSF can do it automatically?
Because APF/CSF could block an important bot testing your server to add to search index. So reviewing every ip would be a daily task!
Ok, so how?
using RHEL4, centos4 more.. »

get an array containing random integers between $min and $max integers

Trying to pick up random keys from an array but don't want any duplicates?
try this
more.. »

Using Google AJAX API to copy google results in array

This is some way you can get Google results as a JavaScript array that you can display on any page, you first need to get your Google API Key then try this code… more.. »

Sitemap Creator 0.1 : Create Sitemaps 0.9 valid for Google, Yahoo! and MSN Sitemaps

New Sitemap Creator 0.2a available

Sitemap Creator is a php script making use of the
announced new standard SiteMaps protocol supported by Google, Yahoo and MSN. more.. »


 Top