Saturday, July 30, 2011

Proxy inside Mozilla Firefox

This is a tutorial on using the free proxies on the internet.
Intro:
    A proxy server is a server (a computer system or an application) that acts as an intermediary for requests from clients (you) seeking resources from other servers (websites you are seeking) . A client connects to the proxy server, requesting some service, such as a file, connection, web page, or other resource, available from a different server. This request is sent from the proxy server and reaches to the client by some prearranged means.

Ok, enough of this background thing. Here's how to use the proxy.
  1. Go to http://www.freeproxylists.com/us.html or any free proxy site Google?.
  2. Check out their listings. For the above site click on the detailed list link.
  3. Select any server and note down the I.P. Address and the port mentioned.
  4. Open up the preferences of your Mozilla Firefox.
  5. Go to the last tab saying "Advanced".
  6. Click on the sub-tab "Network"->"Settings".
  7. Click on the radio button "Manual Proxy configuration". And check the box "Use this proxy for all protocols." if unchecked.
  8. Enter the (the one noted in the step 3) IP of the server in the edit-box of HTTP Proxy and select the port.
  9. Click OK. And you are finished.
ENJOY!

For the most awesome list comment with your e-mail. ;-)

Disclaimer: This page is intended for information purpose only. You may not hold me responsible for use of this information and/or the potential effects. Follow at your own risk.

Tuesday, July 19, 2011

Quine in C

A quine is a computer program which takes no input and produces a copy of its own source code as its only output.
The idea of self-reproducing programs first appeared in Paul Bratley and Jean Millo's article "Computer Recreations: Self-Reproducing Automata" in 1972. Bratley first became interested in self-reproducing programs after seeing the first known such program written in Atlas Autocode at Edinburgh in the 1960s by the University of Edinburgh lecturer and researcher Hamish Dewar. 
Source:en.wikipedia.org 
Here's a cute quine by me: 
#include<stdio.h>
void main() { char p[]="#include <stdio.h> void main() { char p[]=%c%s%c; printf(p,34,p,34);}";
printf(p,34,p,34);} //The 34 in decimal is for the double quotes.;-)

Output:
Same as the code. But in one line.Enjoy!!!