Archive for the ‘Blog’ Category
-
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.
-
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 -
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 [...] -
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 [...]
-
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. -
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.
-
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 [...] -
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.
-
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 -
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.
-
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 -
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 -
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…
-
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. -
Yummy!
-
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 -
Get average server load
This function should work on Unix as on windows
-
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 -
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

