Friday, November 12, 2010

HACKING FIREFOX

What good is a browser unless you can tweak it, hack it and bend it to your will? No good at all. The more you can hack it, the better it is. And that means that Firefox must be a great browser as when ever you feel that you know everything about it you come across a bunch of hidden (and some not-so-secret) tips and tricks available that will crank Firefox up and pimp your browser. Make it faster, cooler, more efficient. So today I have come up with 3 amazing firefox tricks you might not be aware of.

1. Save Session For All Tabs Opened In Multiple Firefox Windows

If you are an ardent user of Firefox then you may be aware that when more than one firefox windows are opened up, in that case when you close a firefox window, it does ask me the option to save the session and exit, rather it ask to close all the tabs in that firefox window, but it wont save the tabs in other windows. So this way you could not save the session for multiple tabs opened in multiple firefox windows.

In such a case, there is only one option left to save the session for all the tabs opened in separate firefox windows by terminating firefox through task manager, here is how you do it.

Press Ctrl+Shift+Esc to quickly launch task manager, click the process tab and locate firefox.exe and right click selecting the exe and click End Process Tree.

Next time when you will open firefox it will open all the tabs in all the windows that were previously open.

2. Open & Log In to Multiple Accounts Gmail, Facebook, or Twitter Accounts In FireFox

Firefox extension CookiePie manages Firefox’s cookies—small bits of text stored on your computer that tell a site you’re logged in, for example—in such a way that you can log into the same site multiple times.

How to use it?

Just follow the steps given below:

  • Install cookie pie
  • Create a new tab or use an existing one.
  • Open the context menu of the tab (i.e: Press the right mouse button over the tab) and select “Toggle On/Off CookiePie”.
  • A cookiepie icon will appear over the tab.
  • Go to a site (e.g.: http://www.gmail.com) and login into your account.
  • Create another tab.
  • Enable CookiePie on that tab too.
  • Log in with another account on the same site.

3. Bypass Download Waiting Time On Rapidshare, Megaupload, zShare, Mediafire etc

SkipScreen is a really useful firefox addon for lot of users who download various types of files from the popular file and media sharing sites like Rapidshare, Megaupload, zShare, Mediafire, and more.

Most of these file sharing web sites have a annoying waiting time limit before a free user can start downloading the requested file. So, SkipScreen can be really useful in saving your time wasted seeing the download waiting time as it removes the screen of download waiting time from these media sharing sites.

SkipScreen monitors the pages where you see the download time and will get the content you want before the download waiting time completes.

Saturday, October 16, 2010

RAPIDSHARE HACK

There are two hacks to beat Rapidshare download limits and waiting time.

1) Rapidshare Hack (For Firefox Users) :-
The hot new Firefox plug-in takes browser customization to a whole new level by letting users filter site content or change page behaviors.
The glory of open-source software is that it allows anyone with the inclination and the scripting knowledge to get under the hood and hot-rod their computing environment.
But most of the time, that advantage is available only to people with the programming skills to make the changes they want.

That's where Greasemonkey, a free plug-in for Firefox, comes in -- it simplifies hacking the browser.

Released at the end 2004, Greasemonkey is the latest in a growing arsenal of Firefox customization tools.
It changes how Web pages look and act by altering the rendering process.

http://greasemonkey.mozdev.org/

1) Install the Greasemonkey extension>>
http://downloads.mozdev.org/greasemonkey/greasemonkey_0.2.6.xpi
2) Restart Firefox
3) Go to http://rapidshare.de/files/1034529/rapidshare.user.js.html
4) Right click on rapidshare.user.js and choose "Install User Script".
5) Run FireFox.
6) From 'File' Menu click on Open File then browse to whereever you saved the 'greasemonkey.xpi' plug-in.
Open it, wait a couple seconds for the install button becomes active.
7) Click on it to install this plug-in then CLOSE FIREFOX.
8) Run FireFox again.
From the File Menu click on Open File then browse to whereever you saved the 'rapidshare.user.js'.
9) Open it.
10) Click the Tools Menu then click on Install User Script then click OK.
11) Close FireFox.

The script will let you enjoy "no wait" and multiple file downloads......!


2) Rapidshare Hack (NIC Tricks and MAC Cloning) :-
Rapidshare traces the users IP address to limit each user to a certain amount of downloading per day.
To get around this, you need to show the rapidshare server a different IP address.
Here are some methods for doing this-

A] Short-Out the JavaScript:
1) Goto the page you want to download
2) Select FREE button
3) In the address bar put this- javascript:alert(c=0)
4) Click OK
5) Click OK to the pop-up box
6) Enter the captcha
7) Download Your File

B] Request a new IP address from your ISP server:
Here’s how to do it in windows:
1) Click Start
2) Click run
3) In the run box type cmd.exe and click OK
4) When the command prompt opens type the following. ENTER after each new line.
ipconfig /flushdns
ipconfig /release
ipconfig /renew
exit
5) Erase your cookies in whatever browser you are using.
6) Try the rapidshare download again.
Frequently you will be assigned a new IP address when this happens.
Sometime you will, sometimes you will not. If you are on a fixed IP address, this method will not work.
If this works for you, you may want to save the above commands into a batch file, and just run it when you need it.

C] Use a proxy with SwitchProxy and Firefox:
1) Download and install Firefox
2) Download and install SwitchProxy
3) Google for free proxies
4) When you hit your download limit, clean your cookies and change your proxy

D] You can use a bookmarklet to stop your wait times:
1) Open IE
2) Right Click On This Link
3) Select Add to Favorites
4) Select Yes to the warning that the bookmark may be unsafe.
5) Name it “RapidShare No Wait”
6) Click on the Links folder (if you want to display it in your IE toolbar)
7) Click OK
8) You may need to close and reopen IE to see it
9) Goto rapidshare and click the bookmarklet when you are forced to wait

Thursday, March 25, 2010

THE HUNGRY REPUBLIC

I want you to consider some well-known, oft-repeated facts: About half of India's children are malnourished, a record poorer than the world's poorest area, sub-Saharan Africa. · India is home to a quarter of the world's hungry -- about 230 million people -- according to the World Food Programme.

India is the world's second-largest grower of rice and wheat, and more than 50 million tonnes of food- grains lie in government warehouses.

What's your reaction?

Most of us will probably shrug, sigh a bit and say, yes, it's terrible, but we are like this only.

My reaction isn't that different. I feel deeply, I feel ashamed, but I am not sure what I can do, except make you aware that all is far from well in emerging India.

Jean Dreze, a respected Indian economist, once said the government can't get away with large-scale famine -- not in 21st century India with its 24/7 television -but it can get away with chronic hunger.

Hunger in modern India isn't about protruding bel- lies and sunken faces, though you will find that as well sometimes. It's about not getting enough to eat and not getting food nutritious enough to live, learn and flour- ish, so people, especially women, are locked into an unending cycle of poverty.

Despite India's great economic leap, under-nutrition has assumed epidemic, shameful proportions.
Nutritional deficiencies now plague nearly three-fourths of all women and children.

Indian children suffer exceptionally high rates of mal- nutrition because their mothers are made to eat last and least through their lives, even when pregnant, when they need nutrition most.

Malnourished women give birth to malnourished children: every fourth newborn Indian baby is under- weight, or 40 per cent of all babies (the figure for China is 7 per cent). It's a cycle perpetuated through the centuries.

The issue, as Harsh Mander told me, is not starva- tion deaths. “People in this country are living with star- vation, not dying,“ said Mander, known to many peo- ple as the bureaucrat who resigned from service after the 2002 Gujarat riots. A gentle, smiling man of great sensitivity and intellect, Mander works without pay as a Commissioner for the Supreme Court of India.

For the last nine years, in the course of public-inter- est litigation first filed by the People's Union of Civil Liberties in 2001, the Supreme Court has essentially set India's hunger policies. Assisted by a dedicated band of court-appointed officials, lawyers and activists, the court has overseen some successes, not least the spread of the world's largest programme to feed children in school and keep them there, the mid-day meal scheme.
But state governments violate or simply ignore orders.

A nation's highest court and a small band of those who care cannot alone tackle a problem as monumen- tal as hunger. The biggest problem is that hunger is rarely an issue in public debates and electoral politics. This, then, is the time to push the hunger debate to the nation's centrestage.

First, even if most of her colleagues could not real- ly care less, the country's biggest party has a leader who really cares about the dispossessed. Without Sonia Gandhi's intervention, the Right to Information Act (RTI) and the National Rural Employment Guarantee Scheme (NREGS) would not be the open, inclusive leg- islations they now are.

Second, not wholly, but in some small measure, young, urban India is getting a conscience. That will help in galvanising not just debate but action. A host of India's brightest are already using their formidable intellects and energy to drive change in areas that would have shunned a generation ago.

Third, India will never live out its promise and hype if it does not deliver what Chilean poet and Nobel prize winner Pablo Neruda called the “justice of eating“.

Though agricultural growth per capita is declining, hunger in India does not exist because there isn't enough food. The problem is getting it to those who need it, and that is where the government's myriad programmes and vast, corrupt infrastructure is failing.

This is the injustice that must be removed, and that is why the case in the Supreme Court is commonly called the right-to-food case, deriving its legal strength from the constitutional right to life.

To be sure, there are some successes, and you will read about them on the pages of this newspaper in the days to come.

The battle against hunger has to shift gears soon.

The rise in global food prices and domestic food infla- tion is pushing India's poor to the brink. While gener- al inflation declined from a 13-year high of more than 12 per cent in July 2008 to 9.89 per cent in February 2010, inflation for food articles tripled, from 5 per cent to more than 17.79 per cent during the same period.

As those who have jousted with India's central and state governments over the years will tell you, there are formidable obstacles ahead.

Already, there are strong indications the Food Security Act falls far short of what India's poor need, offering, for instance, 25 kg of grain to poor families (defining who is poor is another contentious issue, but I won't get into that here) instead of the 35 kg mandated by the Supreme Court during right-to-food hearings.

Sonia Gandhi will probably intervene, as she did with the Right To Information Act and the National Rural Employment Guarantee scheme. Even so, one woman, however powerful, cannot feed a hungry country. How India collectively reacts will determine if it can become a truly great nation, or remain a famished, Third World pretender.




Saturday, February 20, 2010

GOOGLE CODING STYLE

Google never seems to just be satisfied with the status quo, and when they run out of fields to compete in they create their own! Google’s new “Go” programming language is one of their newest ventures, a language which is an amalgamation of Python and C++.

The Go language, in development since September 2007, has been unveiled by Google along with the release of a free and open source compiler. In fact, Google has released both a stand-along compiler implementation with cryptic names such as 6g (amd64 compiler), 8g (x86 compiler), and 5g (ARM compiler) and one which is a front-end for GCC (gccgo).

Born out of frustration with existing system languages, Go attempts to bring something new to the table, and mix the ease of dynamically typed and interpreted languages with the efficiency of compiled languages.
So why make a new programming language?

Google believes that the current languages have run their course. The prominent languages in use today (C/C++, Java, C#) are all based around a similar syntax, and updating and adding new features in these language consists of piling on libraries, with little or no upgrade to the core of the language itself. What Google intends to do requires more than just the addition of a new library.

The landscape of computing has changed a lot since C, and as Google notes “Computers are enormously quicker but software development is not faster.” Languages have had to morph quite a bit to take on support concepts such as parallel processing, and garbage collection.
Quick Overview

Go, on the other hand has been designed by Google from the ground up as “a concurrent, garbage-collected language with fast compilation”.

In order to not alienate the majority of developers though, its syntax is quite similar to C, and would not take much time for a developer to catch on to.

Go has accomplished some impressive feats. The language is designed to compile fast and Go can compile a “large” program in a few seconds on a single computer. It is designed to simplify the creation of application which can better utilize today’s multi-core processors. The language supports concurrent execution andcommunication between concurrent processes natively, and is fully-garbage collected.

Goroutines are Google’s answer to threading in Go, and any function call which is preceded by the go statement runs in a different goroutine concurrently. A feature called channels allows for easy communication and synchronization between such routines.

Unlike other object oriented languages, Go has a much “simplified” type structure, which disallows sub-classing! Go offers a different flavour of object oriented programming using interfaces, which Google believes will simplify use.

By using interfaces, explicit type hierarchies need not be defined, instead, a type will satisfy all interfaces which are subsets of its methods. The relationships between types and interfaces need not be defined explicity! This can have some interesting implications as people can add interfaces to connect unrelated types even later in the development of an application.

Go seems inspired by Python as well. Python has been one of Google’s favoured languages and was the sole language supported on Google’s AppEngine when it launched. Like Python, Go supports “slices”, which allow you to refer to parts of arrays using a simple syntax. Thus for an array “a” with 100 elements, a[23,42] will result in an array with elements 23 through 42 of a. Go also tracks the length of arrays internally, further simplifying array usage. Additionally, Maps in Go allow you to create “arrays” with custom index types, and are a native feature of the language.
Conclusion

One consistent point in the features of Go is that it is better to have one excellent implementation of commonly used features such as garbage collection, strings, maps etc. rather than have them rethought and re-implemented in each program.

As nearly all Google products, Go is “beta” and not yet suitable for production use. By releasing it early Google hopes to garner a community around it and hopes that enough people will be interested in it to justify continued development.