Thursday, December 8, 2011

More JavaScript Tips(How to make images rotate in web pages)

This is an amazing JavaScript tip which makes images rotate in 3D mode.

How To

Go to Google image search Google Image Search .
Type any keyword for pictures.I use "The X Files".
Now in url bar type paste below javascript and press enter.

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);

You will see the images come into alive and rotate in 3D mode :D


RoboForm - Must have product

Are you forgetting your passwords for sites often?Or ever wanted to log in to a site from just one click of your mouse? Then this is must have tool for you.

You can manage all your passwords for many web sites in a single windows using this tool.Also it allows you to log in to any web site without typing the passwords manually.You just need to go to the site and click on your log in details in the RoboForm add-on bar in the browser.Most importantly you can fill many signup forms automatically using this tool within minutes.So you will save lots of time for your other work.

For more info - Visit RoboForm.

Download the tool at - Download RoboForm.

How to check you computer is a male or a female?

This is an amazing trick in which you can make you computer talks with you. Sometimes it will give you a female voice and sometimes a male voice.

How To


Open notepad and type in -   CreateObject("SAPI.SpVoice").Speak"I love you"
Save the notepad file as voice.vbs . (Make sure to choose "all files" to Save as type option)
Close the notepad and double click the newly created file to run it.


You will hear a voice calling you "I Love You".



How to log in to expired windows xp machine

If you unable to activate windows before it evaluation period exceed,you wont be able to login to windows again.When something like this happens, you will loose your all valuable files and everything in your xp machine.

To overcome this and regain access to your  files there is a simple trick.Although you will have only limited access you will be able gain access to internet and to your files again

How To-

When your windows expired you will have an error massage saying to login you must activate windows first.
When this comes click on activate windows now and press the keys "windows+u".
This will give you the access to Microsoft Narrator.In the top left corner of this windows there is a small computer icon.Click on that and choose "About Narrator" option.


Now another window will come up and you will see an option called "Microsoft Web Site".




Click it and you will gain the access to internet.Now using the url bar of the browser you will be able to access your files.Just type "c://" and you will be able to see files in your c drive.In this way you will be able to access any file in your machine if you know the path for it.Even you will be able to find some way to activate your windows again. :D


Wednesday, December 7, 2011

Online photoshop

http://pixlr.com is a site in which you can make/edit Photoshop files online. You can make your banner easily there. :D

How to get a virtual mobile number and bypass gmail mobile verification

How to get virtual mobile phone number to send and receive sms online -


All you need for this is an account from a website called pinger. Sign up with the pinger account and get a virtual US mobile phone number in which you can send and receive sms online completely free of charge.


After sign up you can use your virtual mobile number for receive g mail confirmation code online and complete your g mail registration without a real phone number.

How to activate windows xp sp3 without a key

This is a simple dll file which does the trick for you

Download link


HowTo

Copy the dll file to windows system32 (c://windows/system32).
Open the windows command prompt typing "cmd" in Windows->Run.
Register the dll file via typing the below command in command prompt.

regsvr32 ANTIWPA.DLL

And that's it .Your windows is now activated.

Cool JavaScript tricks

This is a cool JavaScript to shoot everything in a web page.paste the following code in url and press enter.(Tested on Chrome)

javascript:var%20s%20=%20document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='http://erkie.github.com/asteroids.min.js';void(0);


A small triangular will appear in left corner of the web page and then you can use
spacebar=to shoot
arrow keys=to move
Esc = exit

Enjoy shooting the web elements :D.

Port Forwarding with SimplePortForwarding(SPF)

Simple Port Forwarding pro - 

Download- SPF

password - ubers


How to use -

Get the above software,and install it.When it asks for updating software click No and continue.


After installing go to help tab it the top and choose enter serial number.Then put the number below
0999-2377-4846-8819-8553



Now open the spf and click on search then select ur router from the router list.Also put ur router username and password.leave the ip as it is.




Then click on add button in the bottom




Popup will appear and click on add custom




Put any name and add the port to forward in start port.put the same port to end port, leave other things as it is and click on add button




Now pop will disappear.So then click on update router at the bottom.



Now wait sometime until it says Done executing all commands 





So thats it and ur port is ready to be listen

If any problem occurs feel free to put here.Happy port forwarding :D

Tuesday, November 29, 2011

How to compile and run c# codes in Linux

Here is how to write,compile and run C# programs in Linux OS.

First you need to get and install mono for linux.For this open the terminal and type

" sudo apt-get install mono-xsp  mono-mcs "


After installing mono you are ready to run or compile any cs file.
For simplicity here is how to write a simple c# hello world program.

open gedit and create a file called helloworld.cs.You can simply do this via terminal.

"gedit helloworld.cs"


After that write the program below to the file and save it.It is a simple c# code which prints "hello world" in the command line


-------------------------------------------------------------------------
Using System;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World");
        }
    }
}

------------------------------------------------------------------------

Now compile the code using mono c sharp compiler and make the executable output using the command below.

"mcs -out:hw.exe helloworld.cs"


Now you will be having the executable output file called hw.exe.So as the final step use mono command to run the exe.

"mono hw.exe"






And thats it.This is a simplest kind of program you can write and mono is capable of making and run very complex cs code even.Also you can use mono to run asp.net web pages in Linux  just like in iis :)