Monday, January 19, 2009

How to apply TinyMCE editor only to specific Textarea?

“80-90% of the end-user response time is spent downloading all the components in the page: images, stylesheets, scripts, Flash, etc. Rather than starting with the difficult task of redesigning your application architecture, it’s better to first disperse your static content. This will achieves a bigger reduction in response times.” - Steve Saunders

Performance, Scalability and Cost efficiency to end users are main key factors for any web application. CDN (content delivery network) is the solution to achieve it. A CDN can offer 100% availability, even with large power, network or hardware outages. Traditional CDNs focus on web acceleration. New CDNs have integrated media delivery services so they are optimized for live video streaming, high definition video and large asset delivery.

Why we need to use CDN?
The main point of the CDN is caching. So, it definitely helps in improving performance and scalability of a website.

When not to use a CDN?
- Whenever you’re working offline.
- When you can deliver faster than the CDN, and care about that. This might be the case when all users are close to the server.

Privacy and security concerns.
Using the CDN, you are trusting the CDN to faithfully serve contents and relying on no third-parties injecting funniness in between the CDN and your user’s browser. It’s good to use a reliable CDN like “Google’s The AJAX Libraries API“

The AJAX Libraries API is a content distribution network and loading architecture for the most popular, open source JavaScript libraries. By using the Google AJAX API Loader’s google.load() method, your application has high speed, globally available access to a growing list of the most popular, open source JavaScript libraries including: jQuery, jQuery UI, Prototype, script.aculo.us, MooTools, Dojo, SWFObject and YUI

Try it in your web application to see performance improvement in your application.

Sunday, May 25, 2008

Turn ur folder in to control panel to protect ur data

is it possible ??
yesssssssssss!!!!

Suppose you want to lock the folder lucky in d: which has the path D:\lucky. In the same
drive create a text file and type
ren lucky lucky.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Now save this text file as lock.bat

create another text file and type in it
ren lucky.{21EC2020-3AEA-1069-A2DD-08002B30309D} lucky
Now save this text file as key.bat

Now you can see 2 batch files lock and key.Press lock and the folder lucky will change to control panel and you cannot view its contents.Press key and you will get back your original folder.

Remove ads from your home page

Most of the free hosting provider put their ads on your web page if u r using there free hosting packages.
its obvious because u r getting everything in no of cost.
don't u think it's something unwanted on ur web page ??
90% of the free hosting provider follow same pattern.They use DIV tag to display their Ads.
To remove ads form your web page just add below code in every page of ur website in stylesheet section.


div{
position:absolute;
left:-400px;
right:-400px;

}

Attention:if u used any DIV tag in your home page then its remove it also,so to use this trick keep DIV tag away from your web page

its really work.To see demo visit below link


Friday, May 23, 2008

Hide your files/folders in an image file using DOS command

Most of us are unaware with it...
"Copy" command is known to everyone,what it is ??
ahhhhhhhhhh,,its for to copy data from source to destination !!
is it ??
No !
then ??
to see the magic of COPY command u required an image file,any compression software like Winrar,Winzip etc,,
ohhhhh,,i know u have !! (pirated one)
now open a command prompt...

Command > copy \b Image_File+Winrar_File Destination_File

Image_File : in which u want to hide folder/file
Winrar_File : targeted folder/file to hide ,but first required to compress it.
Destination_File : any file name but make sure extension of Destination_File same as Image_file.

confused ??
Here is an Example !!

First,you zip that file or folder which u want to hide.
Suppose,it is a folder named Top_Secret_007 ,after compressing by winrar its Top_ Secret_007.rar....
image file is Evil.jpg


Command > copy \b Evil.jpg+Top_ Secret_007.rar Top_Evil.jpg

when u double click on the newly generated image file it will show u the original image file (for our example its Evil.jpg) and if u want to recollect all ur data which u hided in this image file,just required to open a software that u used to compress (in our example its winrar) and click on 'Open archive' and just locate that newly generated file,by extracting it u can get ur original data.

isn't it funny ??do ur comments on it !!!