Archive for the ‘JavaScript’ Category

Tizen Linux for mobile tablet smartphone will takeover the world. Backed by Intel, Samsung, Linux foundation. Good luck.

February 26, 2012 1 comment

Tizen Linux for mobile tablet smartphone will takeover the world. Backed by Intel, Samsung, Linux foundation. Good luck.

– Android is less important in such case

– IPhone also


Advertisements – new search engine, like google, looks very nice and advanced

December 20, 2011 Leave a comment

I was searching for nice results. And came to new search engine and started to use it now always, check it out

Categories: Ajax, cakePHP, Flash, HTML, IE, JavaScript, PHP, Zend

Top 10 tips for web experts

August 5, 2011 Leave a comment


Please ask, i will post how to’s

Categories: Ajax, CSS, Flash, HTML, JavaScript, PHP, Zend

How do i make my website to do live chat?

August 5, 2011 Leave a comment


Ask plz i will write it.

Categories: Ajax, CSS, HTML, JavaScript, PHP, Zend

Regex cheat sheet

May 11, 2010 Leave a comment

Javascript: var rxxx = /^.$/;  // start end anything allow  if( reg.test(‘abc123’) == true) { // do this…}


remail = /^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$/;


var rname = /^\d+|\d+[a-zA-Z]+$/; // disallow digit or alphabet + digit


var rstreet = /.+/; // greater then 1 input


var rphone = /^[0-9]+$/; // allow number inputs


rwebsite = /^((http|https|ftp):\/\/)?([\w-]+\.)+([\w-.\/?%&=]*)?$/;

Categories: JavaScript

Apache rewrite rule robots sitemap

April 17, 2010 Leave a comment

I want to  stop using framework, and do some HANDjob:

1. .htaccess

<IfModule mod_rewrite.c>
 RewriteEngine on
 # Google will hit those
 RewriteRule ^wenduine-haan-brugge-oostende-blankenberge/?$ / [H]
 RewriteRule ^haan-blankenberge-oostende-brugge/?$ / [H]
 RewriteRule ^de-haan/?$ / [H]

... 40,000 alias rules

2. robots.txt

User-agent: *
Disallow: /

3. sitemap.txt ( comment: if i get good job, and get good paid, i would have wrote a java/c++ data entry software )


Categories: Ajax, Apache, HTML, IE, JavaScript

PHP seo sitemap spider robots.txt robots allow disallow search engine nice looking url

April 17, 2010 2 comments


First of all robots.txt file must, to allow a bot (spiders like google, yahoo, msn etc) to reach your webiste and crawl your:  “Damn looking url” or “Ugly looking url!!” or “Nice looking url”, what ever you name, just name it for standard understanding we name it SEO.


User-agent: *
Disallow: /css/
Disallow: test.php/
Allow: /file/myfile.html
Sitemap: /sitemap/xml.xml
Sitemap: /sitemap/txtmode.txt

Other methods, way of doing:

1. Text based (KISS, keep it simple STUPID!!!)  && 10mb && 50,000 lines

a. http://mysite/searchlist1.txt:

b. http://mysite/searchlist2.txt

c. http://mystei/robots.txt

Sitemap: http://mysite/searchlist1.txt
Sitemap: http://mysite/searchlist2.txt

2. Xml based (Not KISS)

3. Meta tag/title tag (KISS)

You are upset/World is so crud:
Nice looking url all of a certain, became the bible for web technologies, and you don’t have any solution. Wait! try this atleast:

vi /etc/httpd/conf/httpd.conf
Alias /my-nice-urls http://mysite/index.php?a=old=b=nasty=c=ugly

your bad url  was: http://mysite/index.php?a=old=b=nasty=c=ugly
your working url is: http://mysite/my-nice-urls

More reading:

Categories: Apache, cakePHP, CSS, HTML, IE, JavaScript, PHP, Zend