Posts

Speed Up Browsing in FireFox

I was experiencing very low internet speed on my pc so i searched for it and found a useful method to increase the browsing speed by sending more than one request at a time to the website server. I am Going to tell here that how to do it in Firefox.

1. Type "about:config" into the address bar and hit return. Scroll down and look for the following entries:
network.http.pipelining network.http.proxy.pipelining network.http.pipelining.maxrequests
Normally the browser will make one request to a web page at a time.When you enable pipelining it will make several at once, which really speeds up page loading.

2. Alter the entries as follows:
Set "network.http.pipelining" to "true" Set "network.http.proxy.pipelining" to "true" Set "network.http.pipelining.maxrequests" to some number like 30. This means it will make 30 requests at once.

3. Lastly right-click anywhere and select 
New-> Integer.
Name it "nglayout.initialpaint.delay" an…

Inside Facebook Messages' Application Server

Image
Facebook Messages represents one of the most technically challenging products that we've ever created. As we mentioned when we launched Facebook Messages, we needed to build a dedicated application server to manage its infrastructure.

We recently discussed the Messages back end and how we scaled the service to handle all the communication coming from email, SMS, Facebook Chat, and the Inbox. Today we'll explore the internals of the application server.

The Application Server Business Logic

The application server integrates with many Facebook services and shields this complexity from these various clients. It provides a simple interface for its clients to perform standard message operations, including creating, reading, deleting, and updating messages and the Inbox.

The flow for each of them is as follows.

When creating new messages or replying to existing ones, the application server delivers the message to the recipients on behalf of the sending user. If a recipient is specifie…

Important books for Aspirants of IIT JEE

Image
Here is the complete list of books that can help you for the preparation of JEE Main & JEE Advanced. These books are available for both Class 11 and Class 12.


Best maths books for the preparation of JEE Main And JEE advanced

Coordinate GeometryTextbook of 
Integral Calculus 
for JEE Main & Advanced 
Author : Amit M AgarwalTextbook of 
Algebra Vol.1 
for JEE Main & Advanced
Author : Dr. SK GoyalTA Textbook of 
Vectors & 3D Geometry 
for JEE Main & Advanced
Author : Amit M AgarwalA Textbook of 
Algebra 
for JEE Main & Advanced,
Author : Dr. S K GoyalPlay with Graphs
A Magical book to teach 
Problem Solving through Graphs
Author : Amit MA Textbook 
of Trigonometry 
for JEE Main & Advanced
Author : Amit M AgarwalSelected Topics in Mathematics 
Statics & Dynamics, Statics & 
Numerical Methods & Volume & Surfaces
Author : Dr. S K GoyalA Textbook of 
Differential Calculus 
for JEE Main & Advanced
Author : A Das GuptaIIT JEE Mathematics
Author : M L KhannaA Textbook of 
Al…

Detect an AJAX Request in PHP

I like using the same PHP script for both AJAX and non-AJAX content requests. Using one script just makes everything easier because it's only one file to update/edit and it's one more cache-able request. One way to try detect an AJAX request (as opposed to a regular page load) is by using the following PHP code: /* decide what the content should be up here .... */$content=get_content(); //generic function; /* AJAX check */if(!empty($_SERVER['HTTP_X_REQUESTED_WITH'])&&strtolower($_SERVER['HTTP_X_REQUESTED_WITH'])=='xmlhttprequest'){/* special ajax here */die($content)

CSS Click Event : Using CSS for Click Events

CSS doesn’t provide any official way to handle a click event in CSS. But there are some very interesting tricks that we can use to “detect” a click using CSS only, without a single line of JavaScript, and this is what we are going to talk about today. How ot Works ? The HTML 1 2 <inputtype="checkbox"> <