Installing SVN Server with XAMPP(Apache) on Windows

October 28, 2009 uzzal Leave a comment

SVN is the most crucial tool for collaborative development. Many of us like to use for opensource project http://kenai.com or http://code.google.com for SVN but there is a problem if your project is not open source and you might want to setup your own svn server. I am here just showing how simply you can setup a SVN server with XAMPP. Well i am saying about XAMPP just because this is the most popular package(Filezilla, MySql, Apache, Mercury) for php development. If you have a xampp installed (if not go here, download and install) in you machine then follow the steps below:

step1: get a SVN server from here.  This SVN server bundled with an Apache server. Skip that as you already have a Apache server installed in your pc with xampp. Before starting installation it will ask for a repository path, give it a path. (like c:\svn_repository). Read more…

Categories: apache, svn, web design Tags: , ,

Forbidden (deprecated) HTML tags and attributes

October 8, 2009 uzzal 6 comments

There are some older html tags and attributes which has declared deprecated or forbidden by W3C consortium, though all modern browsers still support them but in future they may not. So it is best to know about those deprecated tags and attributes, and best practice is avoid them in your code.

Here is the list of deprecated tags:

<applet>, <basefont>, <center>, <dir>, <embed>, <font>, <isindex>, <menu>,
<noembed>, <s>, <strike>, <u>

Here is the list of deprecated attributes: Read more…

Categories: SEO, optimization, web design Tags:

Do you aware of Y2K38?

September 5, 2009 uzzal 6 comments

Okay let me first tell what is the term Y2K38 or Unix Millennium bug or year 2038 problem: Well it is a some kind of computer programming problem with date (something similar like Y2K), says that all programs and software are going to crash on near or after 2038. You will find a Wikipedia definition here. Okay look at some php code and its output:

$timestamp=mktime(0, 0, 0, 01 , 01, 2009);
echo date("F j, Y, g:i a",$timestamp);   // January 1, 2009, 12:00 am

Well output shows expected result. But notice this code now:

$timestamp=mktime(0, 0, 0, 01 , 01, 2039);
echo date("F j, Y, g:i a",$timestamp);  //January 1, 1970, 7:00 am

Yes output is little shocking. This is what they are calling Y2K38. I think we don’t need to worry about it too much. We still have enough time to solve this.  The code above is tested in php(5.2.9) language. I also tested the same thing in java and there is no such problem i found yet (yes java is great!!! :D ). Read more…

Google’s History Timeline

August 19, 2009 uzzal 4 comments

1955 — Eric Emerson Schmidt was born on April 27 in Washington, D.C.

1973 — Lawrence Edward Page was born on March 26 in Ann Arbor, Michigan. Sergey Mikhailovich Brin was born on August 21 in Moscow, Russia.

1979 — The Brin family, which included young Sergey, his parents and grandmother, arrived in the United States on October 25.

1995 — Larry Page and Sergey Brin met when Brin guided a tour of San Francisco for prospective new Stanford graduate students.

1996 — Page and Brin collaborated on Page’s Back Rub search engine. The first version of Google is released in August on the Stanford Web. The address: google.stanford.edu. A little over a year later, the search engine left Stanford servers because it took up too much bandwidth.

1997 — Google.com was registered as a domain name. The young inventors tried to sell Google through the venture capital firm of Kleiner Perkins Caufield & Byers (KPCB). After unsuccessfully pitching the search engine to all likely buyers, they gave up the idea of selling.

1998 — Google was getting more than 10,000 queries a day. Andy Bechtolsheim, a founder of Sun Microsystems, watched the demo for Google and immediately wrote a $ 100,000 check to get the company started. Google became an official corporation on September 7. A few weeks after incorporation, Craig Silverstein became Google’s first employee. PC magazine recognized Google as the search engine of choice and one of the Top 100 Web Sites for 1998.

1999 — After several months of operating out of a rented bedroom and garage, Google opened its first Palo Alto office. Later in the year, the company moved to Bayshore Drive in nearby Mountain View.Kleiner Perkins Caufield & Byers, in partnership with Sequoia Capital, provided Google with additional venture capital of $ 25 million. Brin and Page finally dropped out of the Stanford graduate studies program. Omid Kordestani, the company ’ s twelfth employee and its first nonengineer, joined Google as head of global sales. Kordestani is credited with creating the advertising model that led to Google’s early and continuing financial glory. Charlie Ayers, who once cooked for the Grateful Dead, joined Google as its chef. Read more…

Categories: google Tags: , , ,

JavaFx or Flash which to choose?

July 24, 2009 uzzal 9 comments

I started learning JavaFx just after it released, as JavaFx is based on java it has the power and maturity of java by born.  I  wanted to use JavaFx as an alternative to Flash. Though i was learning Flex framework and actionscript3 before starting JavaFx, and i was not so serious about that RIA thing then, and i can’t afford much time for Flex then. But after JavaFx released i was so excited and i started learning and doing javafx seriously. I was very excited about its power and possibilities.  From a developer view Javafx runs on a JVM which is more then 25 times faster then Tamarin VM (used in flashplayer), you can deploy javafx project virtually on any platform, and any device (though flash now have support for desktop and mobile devices). Read more…

Categories: ActionScript3, javafx

Official PHP Coding Standards

April 6, 2009 uzzal Leave a comment

Download the php official coding standard documentation in pdf format from here

This file lists several standards that any programmer, adding or changing code in PHP, should follow. Since this file was added at a very late stage of the development of PHP v3.0, the code base does not (yet) fully follow it, but it’s going in that general direction. Since we are now well into the version 4 releases, many sections have been recoded to use these rules.

OWASP* TOP 10

March 27, 2009 uzzal Leave a comment

THE TEN MOST CRITICAL WEB APPLICATION SECURITY VULNERABILITIES

  1. Cross Site Scripting (XSS): XSS flaws occur whenever an application takes user supplied data and sends it to a web browser without first validating or encoding that content. XSS allows attackers to execute script in the victim’s browser which can hijack user sessions, deface web sites, possibly introduce worms, etc.
  2. Injection Flaws: Injection flaws, particularly SQL injection, are common in web applications. Injection occurs when user-supplied data is sent to an interpreter as part of a command or query. The attacker’s hostile data tricks the interpreter into executing unintended commands or changing data.
  3. Malicious File Execution: Code vulnerable to remote file inclusion (RFI) allows attackers to include hostile code and data, resulting in devastating attacks, such as total server compromise. Malicious file execution attacks affect PHP, XML and any framework which accepts filenames or files from users. Read more…
Categories: Security Tags: , ,

too much Funny

March 22, 2009 uzzal 1 comment

Categories: funny Tags:

Top Search Engine Ranking Factors

March 21, 2009 uzzal 1 comment

PageRank is not the only factor that Google uses to rank search results. Google uses more than 200 “signals”to calculate the rank of a page. According to a survey of SEO experts, the top 10 most important factors include the following:

  • Keyword use in title tag
  • Anchor text of inbound link
  • Global link popularity of site
  • Age of site
  • Link popularity within the site’s internal link structure
  • Topical relevance of inbound links to site
  • Link popularity of site in topical community
  • Keyword use in body text
  • Global link popularity of linking site
  • Topical relationship of linking page

The top factors that negatively affect a search engine spider’s ability to crawl a page or harm its rankings are as follows: Read more…

Categories: SEO, google Tags: ,

enabling shadow effect in ubuntu (inside virtualbox)

March 6, 2009 uzzal 1 comment

Ubuntu has impressive graphical effects. But while running inside virutalbox i was little upset that ubuntu can’t detect any graphics hardware inside virtualbox. I was just thinking how can i enable those nice effects in ubuntu while running inside virtualbox. I was searching in google and i endup with a solution, here i am sharing it.

step1: after logging in ubuntu press alt+f2 (it will open a run application popup)

step2: type gconf-editor in there (it will open configuration editor).

step3: in configuration editor find app->metacity->general->compositing_manager (mark compositing manager checked and it will enable the shadow effect)

enjoy ;-)

Categories: Ubuntu Tags: , ,

Microsoft’s future!

March 3, 2009 uzzal Leave a comment

just take a look, what microsoft is planning for the near future…

Categories: Microsoft Tags:

A Real bad day!!!

February 23, 2009 uzzal Leave a comment

Yesterday was a really bad day for me, i faced a great personal disaster. When i came back from office yesterday and started my home pc then i found my pc can’t start windows (only showing the loading logo, and just loading and loading).  I tried to use the safe mode, but  not worked. Then i decided to repair the windows with the windows setup CD. I inserted the cd in drive and everything goes well but it couldn”t detect my old windows and just went directly to format screen. i didn’t have anyother choice except format the pertition (I never saw anything like this before). After formatting i was thinking why not try ubuntu except windows. I inserted the ubuntu 8.10 cd in drive everything went well, then i clicked on ubuntu installer icon in ubuntu live desktop. all seemed well at 3rd step of installation ubuntu started partitioner. when partitioner reached at 50% then it just stopped responding. i waited for almost 2hour no respond. Then i restarted the pc and repeat everything, nothing new (i also tried by manually partitionning ext3 with dpart). then at last i googled “ubuntu partitioner stops at 50%” and i found thousands of replies but not a single working solution. I just get disappointed and had setup windows again. What a day! anyway ubuntu also sucks (at-least for now)

Installing VirtualBox Guest Additions in Ubuntu

February 20, 2009 uzzal Leave a comment

Step 1: After starting the ubuntu in VirtualBox Select Device->Install Guest Additions… from VirtualBox menu.

Step 2: Now in ubuntu open terminal and type the following bash command to install the VirtualBox guest addition

cd /media/cdrom
sudo bash ./VBoxLinuxAdditions-x86.run

Then it will ask for the password, type your password and just after that you will have VirtualBox guest addition installed in your ubuntu. If you have older version of Ubuntu then it might require to upgrade your Linux kernel.

Here VBoxLinuxAdditions-x86.run is the file name of my VirtualBox guest addition.

Categories: Ubuntu Tags: ,