Thursday, January 31, 2008

Microsoft is just GREAT!!!!!!!

reasons are as below:

MAGIC #1

nobody can create a FOLDER anywhere on the computer which can be named as "CON". This is something pretty cool...and unbelievable...
TRY IT NOW ,IT WILL NOT CREATE " CON " FOLDER

TRY
CON, AUX, COM1, COM2, COM3, COM4, LPT1, LPT2, LPT3, PRN, NUL......etc


Patch too

Following this method (OOPs i will say PATCH the probational language:) ) U can create every bug folder Easily....

We can do this by following method
STEP1: goto command prompt
STEP2: type in prompt c:\> ((mkdir \\.\c:\con))

DON'T TRY TO DELETE FROM WINDOWS i will release its patch too shortly :)

STEP3: verify by typing ((dir \\.\c:\con))
STEP4: delete the file or folder ((rmdir \\.\c:\con))



TRY

C:\COPY CON CON
DS
DSA
DSA
DSD
AND THEN CTRL Z
THEN IT DISPLAYED THE MESSAGE THAT
1 FILE(S) COPIED

BUT IT WILL NOT VISIBLE ON THAT DRIVE....

is this fixed message "1 FILE(S) COPIED" has to displayed after pressing CTRL Z
then why i am forced to display messages only after proper events!!!
we should follow microsoft



MAGIC #2
For those of you using Windows, do the following:

1.) Open an empty notepad file
2.) Type "Bush hid the facts" (without the quotes)
3.) Save it as whatever you want.
4.) Close it, and re-open it.

is it just a really great logic only they can impliment

MAGIC #3
Microsoft crazy facts

This is something pretty cool and neat.

Try it out yourself...

Open Microsoft Word and type

=rand (200, 99)

And then press ENTER
then see the magic....... ......... ......

Oh... i think this is not another bug but just a test case :)

Labels:

Post a Comment(0 comments)

Monday, January 28, 2008

Google Adsense


Advertise business on Google

The simple methods

Create your ads
Create ads and choose keywords, which are words or phrases related to your business.

Ads appear on Google
When people search on Google using one of your keywords, your ad may appear next to the search results. Now you're advertising to an audience that's already interested in you.

Attract customers
People can simply click your ad to make a purchase or learn more about you. You don't even need a webpage to get started - Google will help you create one for free. It's that easy

No matter what size business you run, you can display your ads on Google and advertising network. Reach users searching on Google or browsing websites

Various business are using the advantages of google adsense , it is one of innovative and fastest method to have wider reach for Customers

Source ; https://adwords.google.com/select/Login

Labels: , ,

Post a Comment(0 comments)

Saturday, January 26, 2008

are you kidding me???








"Those sweet lads over at the Chocolate Agency have come up with yet another delectable concept dubbed P-Per; a concept mobile phone that would satisfy both environmentalists and tech nerds. The design consists of just 4 layers, a printed circuit board, extruded polycarbonate, recycled titanium, and a wrap around flexible haptic LED touchscreen. By minimizing materials, the design is highly sustainable.

The wrap around screen allows for endless user interface possibilities not to mention bezeless picture/movie taking and watching. If that weren’t enough to challenge the iPhone, how about a 7mm wafer thin form factor, 3 megapixel camera, and a 2 minute recharge time"

That is really cool. I can call it Mobile Phone 3.0

Labels: ,

Post a Comment(0 comments)

Monday, January 21, 2008

30 Minute tutorial to improve vista performance

Step 1. Remove vista and install XP.
Step 2. Done

Labels: ,

Post a Comment(0 comments)

Sunday, January 20, 2008

Popfly - Creating Meshups with Silverlight

I tried using popfly to create simple Mashup. I think this is fast.
http://www.popfly.com

Although I'm still trying my head around the Silverlight.

I think this could be going to be an answer to Adobe Flex for creating RIA.
Advice: To grips with new technology is to look under the hood to see how it was done.

Labels: , , ,

Post a Comment(0 comments)

Saturday, January 19, 2008

MICROSOFT SILVERLIGHT

Silverlight includes a cross platform version of the .NET Framework, and enables a rich .NET development experience within a browser support Firefox, Safari and IE browsers on both the Mac and Windows.big benefit of this technology for end users is that they will not have to download different video player technology to view online media based on what OS they are running....A built-in CLR engine that delivers a super high performance execution environment for the browser. Silverlight uses the same core CLR engine that ships with the full .NET Framework. It delivers the same type-system, garbage collector, and JIT code generation engine that your .NET code uses today. This means that you can write .NET code that can now run in Silverlight, ASP.NET, and a WinForms/WPF Windows application. It also means you can now execute code within the browser that runs faster than interpreted Javascript.The main problem with Flash is that all your classes and objects have to be written twice. You need .NET classes to handle the author time experience and Flash classes to handle the run-time.but that doesn't mean flash is dead..its just silverlight has got the support of comapny that ship operating system 90% of the world uses.

Labels: , , ,

Post a Comment(0 comments)

Wednesday, January 16, 2008

India to see $700-bn investment in 4 yrs: Kamath

"Just to put in context, about ten years back near 1995-96, if the national investment reached 15-20 billion dollars a year, we thought that was a tremendous improvement... We have raised the bar higher for ourselves.

It is across all sectors, all areas where we see bottlenecks. There is nothing left out. If we see bottlenecks, this would mean that it needs to be funded," he said.

http://economictimes.indiatimes.com/News/Economy/Finance/India_to_see_700-bn_investment_in_4_yrs_Kamath/rssarticleshow/2696605.cms

Labels:

Post a Comment(0 comments)

Download Any appliction quick and very fast

You can download any application, movies etc by following these simple steps

  • Download the azureus tool from this site http://azureus.sourceforge.net/download.php.
  • Search the application or anything which you want to download by using this site http://torrentz.com/.
  • Download the .iso file of searched application by using azureus tool that will give fast downloading speed by downloading app from various source.
  • Now you need a virtual Drive for reading .iso file.So Download the Daemon tool from this site http://www.daemon-tools.cc/dtcc/archive/registry-access-error-t1497.html
  • Create a New virtual drive by using daemon tool and mount it with downloaded .iso file.
  • Now you can installed it by click on virtual directory.
Post a Comment(0 comments)

Another killer product from Apple

"MacBook Air is ultrathin, ultraportable, and ultra unlike anything else. But you don’t lose inches and pounds overnight. It’s the result of rethinking conventions. Of multiple wireless innovations. And of breakthrough design. With MacBook Air, mobile computing suddenly has a new standard."


Thinnovation

Intel Core 2 Duo processor with 4MB on-chip shared L2 cache running at full processor speed

* 800MHz frontside bus
* 2GB of 667MHz DDR2 SDRAM onboard
* Built-in AirPort Extreme Wi-Fi wireless networking (based on IEEE 802.11n draft specification)
Bluetooth: Built-in Bluetooth 2.1 + EDR (Enhanced Data Rate)
* Intel GMA X3100 graphics processor with 144MB of DDR2 SDRAM shared with main memory

Labels: ,

Post a Comment(0 comments)

setAttribute doesn't always work in IE

now don't ask me please what does i mean by always........ :(

means some times it works and some time it don't

When calling the DOM method .setAttribute( attName, attValue ); in IE, there are several circumstances where it will not work.
Setting the "name" attribute does not work, the "colspan" & "rowspan" attributes for th and td tags does not work, the "frameborder" attribute on iframes does not work, nor the "cellpadding" or "cellspacing" attributes on table tags.

Setting any of the inline event attributes does not work either! therefore ALL of the following will not work:

obj.setAttribute( 'onblur', doSomething );
obj.setAttribute( 'onclick', doSomething );
obj.setAttribute( 'onchange', doSomething );
obj.setAttribute( 'ondblclick', doSomething );
obj.setAttribute( 'onerror', doSomething );
obj.setAttribute( 'onfocus', doSomething );
obj.setAttribute( 'onmousedown', doSomething );
obj.setAttribute( 'onmouseover', doSomething );
obj.setAttribute( 'onmouseout', doSomething );
obj.setAttribute( 'onmouseup', doSomething );
obj.setAttribute( 'onkeydown', doSomething );
obj.setAttribute( 'onkeyup', doSomething );
obj.setAttribute( 'onkeypress', doSomething );
obj.setAttribute( 'onload', doSomething );
obj.setAttribute( 'onsubmit', doSomething );
obj.setAttribute( 'onreset', doSomething );
obj.setAttribute( 'onunload', doSomething );
obj.setAttribute( 'on*', doSomething );


You also can not set the "class" attribute, nor the "for" attribute, or even the "style" attribute.

Example: ...


Known Workarounds: Well there are several, and each depends on which attribute you are trying to set. The following table indicates what you can use to workaround these bugs.



Attribute: Workaround

* class: Use "className"

* name: None

* type: "type" is readonly in IE

* cellpadding: Use "cellPadding"

* cellspacing: Use "cellSpacing"

* acceptcharset: Use "acceptCharset"

* frameborder: Use "frameBorder"

* readonly: Use "readOnly"

* maxlength: Use "maxLength"

* marginwidth: Use "marginWidth"

* marginheight: Use "marginHeight"

* noresize: Use "noResize"

* noshade: Use "noShade"

* defaultselected: Use "defaultSelected"

* defaultvalue: Use "defaultValue"

* accesskey: Use "accessKey"

* hspace: Use "hSpace"

* vspace: Use "vSpace"

* bgcolor: Use "bgColor"

* longdesc: Use "longDesc"

* colspan: Use "colSpan"

* rowspan: Use "rowSpan"

* valign: Use "vAlign"

* tabindex: Use "tabIndex"

* on*: Inline events can not be set in IE, attach event handlers instead




Example Workaround Code:


//set variable IE=true when User Agent known to be IE.
if(!IE){
obj.setAttribute( 'class', 'special' );
} else {
obj.setAttribute( 'className', 'special' );
}
Post a Comment(0 comments)

IE caches your AJAX

So, you're doing all kinds of funky stuff with AJAX now, and you've come to notice in your testing that sometimes Internet Explorer is not really hitting your server, but instead caching your AJAX calls?! Even if you set the no-cache header!

Known Workarounds: Two. If you are calling a particular request repetitively, but are expecting different results, add a unique parameter to the request.


Example Workaround Code:


<script>
var url = 'http://www.example.com/dir/foo?param1=a¶m2=b';
//add a unique param to the request (adjust to suit)
url += '&guid=' + new Date().getTime();
</script>





Known Workaround: Second Option.
Set the full cache header information, not just the no-cache.


Example Workaround Code:


<!-- This example is using PHP -->
<?php
header("Pragma: no-cache");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Cache-Control: no-store, no-cache, must-revalidate");
?>
Post a Comment(0 comments)

1208929639 is google?

browsers parse 10 digit numbers as IP addresses

Affects: IE6, IE7, Firefox

At first this appears to be a "feature", but when the consequences of this bug are thought through, it is just one more vector of attack for unwitting surfers to fall prey to.

If you click on the following link (the href is the same as the text you see), it
type 1208929639 in address bar

will take you to a web site! GOOGLE

http://1208929639/

Looks familiar?

First off, what are these urls? Well, if you take the IPv4 address of any domain, and convert each octet to hex, concatenate the hex value, then convert back to decimal, you'll get a 10 digit number.

As it turns out, IE & Firefox will handle this 10 digit number, resolve the IP Address, and navigate to it.

e.g. This blog post can be accessed by this URL (only in IE!)
browsers parses 10 digit decimal numbers as IP addresses


What this means, is that phishing scams, and any site that wants to lure you into downloading malicious software, now has yet another way to do so. It also means that any spam filtering software, or blacklisting software needs to handle roughly double the ammount of URLs in order to protect users!

(currently running tests on various browsers to determine the number affected)

Example:


//tracert www.google.com
// => 72.14.205.103
// => Hex
// 48.0E.CD.67
// 480ECD67=> Decimal
// => 1208929639
//Fake Label
Post a Comment(1 comments)

I really don't think that this could be a threat to anyone. It is just similar to typing www.google.com. I really don't think that it is a security concern.

Moving by thought

http://www.nytimes.com/2008/01/15/science/15robo.html


Monkey’s Thoughts Propel Robot, a Step That May Help Humans




Post a Comment(0 comments)

CSS Power

changing colors, width....... bla bla
are very common.

capitalizing converting to lower case is bit amazing

but what will you say about this


http://komodomedia.com/blog/index.php/2007/01/20/css-star-rating-redux/
Post a Comment(1 comments)

Don't forget CSS is Search engine friendly too.

Another blogger joins in

It's my pleasure to welcome my friend Abhishek Thakur as a blogger to Leeway Hertz blog. Abhishek and me had done our Bachelors and Masters in computers together. We had spent many days and night together in researching technologies in our early college days.

I feel that this will be encouraging more blogs on technology and management.
You guys there can expect a lot more articles coming from Abhishek and Ajay.

Stay tuned for more articles.

Please welcome Abhishek Thakur to our blog.

Labels:

Post a Comment(1 comments)

Hi, Abhishek i am wondering what will be your first POST. hope all of us will increase our knowledge base with this.

Tuesday, January 15, 2008

Expanding the LeewayHertz team……

This has been in the works for a while. I feel the need to have others writing for it as well. This will ensure greater regularity in publishing, wider coverage in terms of addressed issues and possibly some new perspectives as well.

Ajay Sharma is joining me in writing for LeewayHertz blog. Ajay Sharma is based in New Delhi.

Please join me in welcoming him.

Labels: ,

Post a Comment(2 comments)

Hay, Welcome to Leewayhertz.....
Hope this will be very beneficial for us.
thanks hardeep....i am lukng fwd to it

Monday, January 14, 2008

JavaScript - Image Gallery

Post a Comment(0 comments)

JavaScript Validation Tool

"LiveValidation is a small open source javascript library built for giving users real-time validation information as they fill out forms. Not only that, but it serves as a sophisticated validation library for any validations you need to make elsewhere in your javascript, it is not just limited to form fields."

http://www.livevalidation.com/

Labels:

Post a Comment(0 comments)

Nice phot gallery script - JavaScript

http://www.e2interactive.com/e2_photo_gallery/demo.php

Labels: ,

Post a Comment(0 comments)

Friday, January 11, 2008

Getting Query String Values In JavaScript

There are many ways to get the query string values (name-value pairs) out of the URL (location) of the current page. Many examples use the String::split() method to split the location on the "?", the "&", and the "=". This keeps breaking the URL up into smaller arrays that can eventually be used to grab the query string name-value pairs.


Here I am showing different method for Getting Query String Values In JavaScript.


var objURL = new Object();
window.location.search.replace(new RegExp( "([^?=&]+)(=([^&]*))?", "g" ),function( $0, $1, $2, $3 ){objURL[ $1 ] = $3;});



For Accessing above variable write this function which is written below :-

for (var strKey in objURL)
{
var myVariable = objURL[ strKey ];
}


This function is very nice for Getting Query String Values In JavaScript.

Thanks
Manoj Azad.

Labels: ,

Post a Comment(0 comments)

Thursday, January 10, 2008

India 2.0



http://www.contests2win.com/crosswords/6276/India-2-0

"I can't do more then this."

Labels:

Post a Comment(0 comments)

Saturday, January 5, 2008

JsHttpRequest 5: cross-browser AJAX + file uploading

http://en.dklab.ru/lib/JsHttpRequest/



This article describes the JsHttpRequest (15kb) library (LGPL license) which elaborates data loading with AJAX (Remote Scripting) method. Here is a short list of its most interest features and differences from analogs.

* Cross-browser compatibility. Library works with IE5.0+, Mozilla 1.7+, Firefox 1.0+, Opera 7.20+, Safari ("+" means "in specified and newer versions"). By this token, code could work without ActiveX and XMLHttpRequest support (but if these capabilities are avalilable, they are used automatically). Cross-browser compatibility is guaranteed by the library's automatic testing framework.
* Support and "transparent" work with any character encoding (including any national). You may write your scripts in a usual way, library will take care about everything else.
* File uploads from user browser to the server without page reloading.
* Compatibility with prototype. Prototype is a very popular tool to help JavaScript programmer. It includes AJAX support and other features. Library JsHttpRequest could be used as its server part in PHP (after inclusion of a small compatibility module JsHttpRequest-prototype.js). Even so, all additional features of JsHttpRequest (cross-browser compatibility, file uploading support, work with national charsets etc.) are still available.
* Full support of PHP debug features. If server-side script fails on an error (including fatal error, e.g., call of undefined function), client-side script can handle it correctly and show diagnostics. Besides response data, it is passed the output flow of server-side script which contains PHP error messages.
* Multi-dimensional data structures exchange (JSON analog) in client request and server responce. At that, are used the standard PHP instruments — multi-dimensional associative arrays (request data avaliable at $_REQUEST, response data may be saved to $_RESULT), as well as JavaScript standard capabilities — nested objects and properties. No XML in the level of API: you work with "native" language variables.
* PHP session support using usual way.
* Optimal data loading method choosing (XMLHttpRequest, Microsoft.XMLHTTP, <SCRIPT>, <IFRAME>) depending on current browser. In particular, ability to load data from foreign hosts.
* Component-based code allows to manually cut off unneeded methods of data loading to shrink JsvsCript code size. E.g. ifyou do not plan to support AJAX file uploading, you may choose the version with XML and SCRIPT loaders only.
* Interface is compatible with XMLHttpRequest.
Post a Comment(0 comments)

Google with AJAX!!!!

Open the link and try searching you see nice auto complete!!!!!!!

http://www.google.com/webhp?complete=1&hl=en
Post a Comment(0 comments)

Very nice CSS Techniques

Post a Comment(0 comments)

Thursday, January 3, 2008

Sharad Joins in!!!

Please welcome sharad sagar, who will be contributing to our blog.

Labels: ,

Post a Comment(0 comments)