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-39" class="more-link"> 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-38" class="more-link"> 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-36" class="more-link"> 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-35" class="more-link"> 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-34" class="more-link"> more.. »

Yummy!

[fa:p:id=359464872,j=l,s=m,l=p]
#more-33" class="more-link"> more.. »

Elvis Presley – The Original Elvis Presley Collection 50CD

Elvis Presley - The Original Elvis Presley Collection 50CD

Oh I love you Elvis!
Oh I love you usenet..usenext
#elvis 1 of 50
—-#Belangrijk
————Belangrijk.nfo.txt
————CoolKidWeb Index http–www.coolkidweb.com-.url.txt
————
—-#Elvis Presley (1st out of 50 CD-box)
————01-Blue Suede Shoes.mp3
————02-I’m Counting on You.mp3
————03-I Got a Woman.mp3 #more-37" class="more-link"> more.. »

10 Ways to be a more Curious Photographer

313825369 99C1D8A81A
Photo by -bwr-

1. Don’t be held Captive ‘the Rules’

2. Ask Questions

3. Ask ‘What if…’

4. ‘Turn Questions into Quests’

5. Learn from Others

6. Put disconnected ideas together

7. Play

8. Go with the Flow
#more-30" class="more-link"> more.. »

Get average server load

This function should work on Unix as on windows
#more-28" class="more-link"> more.. »

Tamer game

Don’t try a video game unless you know what it does!

Allow bots / spiders / crawlers into your private vbulletin forums

There are some very complicated hacks to add but this one line script to do it.
This should be applied to VB 3.5.4
add these lines to the end of your init.php file located in forumroot\includes\init.php
#more-26" class="more-link"> more.. »

XUL : open URL with a referrer

This is a small function to use in Firefox extension development which makes use of the referrer parameter sent to loadURI() and addTab() functions
#more-25" class="more-link"> more.. »

Start multiple programs with one click on windows

It is annoying how most installed programs set them selves in windows startup which you can then manually remove through
Startmenu -> run -> msconfig -> uncheck uneeded programs or services (services could be set to start manually better than disabling it and has the same effect)
but then we need to start some favorite programs that we use often, that could be done as following
#more-24" class="more-link"> more.. »

Get Keyword from referrer

This Function should extract the keyword from the referrer URL to get what your visitor was searching for on google, msn, live, altavista, alltheweb, scirus, aol, vivisimo, lycos, aliweb, yahoo and baidu.
#more-23" class="more-link"> more.. »

Integrate Theme Switcher

What if you want Theme Switcher into all your WordPress Themes?
Try this

  • Open file “wp-includes\template-functions-general.php” and search for “function wp_meta() {“
  • add this code just after "do_action(‘wp_meta’);"
  1.  
  2. echo "<h2>Themes:</h2><div>";
  3. wp_theme_switcher(‘dropdown’);
  4. echo "</div>";
  5.  
  • save the file, and you’ll get the Theme Switcher on everypage after the meta

#more-22" class="more-link"> more.. »

Change WordPress page order

I am not sure why Page order is not working in WordPress, but this is a simple workaround to fix it

  • go to wordpress admin -> write -> write page -> change ALL pages “Page Order” from the right down box.
  • open file “wp-includes\template-functions-post.php” in any text editor.
  • go to line 334 or search for “function wp_list_pages($args = ”) {“
  • insert this line after the searched line ” $args .= ‘&sort_column=menu_order’;”
  • save it and now your page should order fine.

#more-21" class="more-link"> more.. »

10 Windows Explorer alternatives compared and reviewed

Windows Explorer, the default file manager for Microsoft Windows, hasn’t really changed all that much over the years. Below you’ll find reviews, screenshots and links to download 10 11 12 different alternatives.

If I haven’t included your favorite file manager (for Windows..) in this list, by all means please leave a comment below or feel free to contact me. I’d be more than happy to include it. more here

[Pagination] Navigate Entries per page UPDATED

A Simple way to display entries per page with limits to group numbers so they do not get too big and styles for the navigation bar #more-4" class="more-link"> more.. »

Arab Renamer V2

Arab Renamer V2 screenshot

Arab Renamer is a small tool to convert your Arabic letters to the corresponding English letters without any translation, but using well known method of writing Arabic. #more-31" class="more-link"> more.. »


 Top