You are on page 1of 5

1.

Get maximum download speed among all the people connected to the same wifi connection :So, often
it happens that we are connected to a wifi connection that has abysmally low speed or speed which is
not up to the mark because many people are connected to the same wifi network we are connected to
and they are consuming the bandwidth . To avoid such excruciatingly painful situation here is the trick to
get maximum download and upload speed. However this trick reduces the speed of other people
connected to the wifi while your speed will remarkedly increase.

Step 1: Press WIN+R and type cmd and hit enter

Step 2: Type ipconfig

Step 3: Goto Wireless Lan adapter Wireless Network connection and note down the ip address

In my case it is 192.168.1.102

step 4: Now type ping your ip address -t

For example in my case I will be typing ping 192.168.1.102 -t as shown in the pic below

Now we are consuming the bandwidth. Do not close the command prompt. Allow it to run to get
maximum upload and download speed among all the peers connected to the same wifi network.

Another process: In this process instead of pinging the wifi ip address we will be pinging DNS Server by
typing ping 8.8.8.8 -t
Use any one of the above process to see which gives better results. Press CTRL+C to interrupt the ping
operation.

2.Block websites on your computer or someone elses computer :

Type WIN+R

and type this %windir%\system32\drivers\etc

or navigate to C:\Windows\System32\drivers\etc

and now you will see the hosts file

Now open notepad from start menu by typing notepad and running it as an administrator.

Open the hosts file by navigating to C:\Windows\System32\drivers\etc.

Now if you want to block site say facebook and google then type these lines(Marked in red rectangle)

The next time you open google or facebook it will not open.(Note:This trick will work if your browser is
not open.If your browser is open close the browser and restart it.)
Using this property you can do website rediredting . For example if someone wants to open facebook but
you want them to be redirected to google. Type this in hosts file

To unblock websites open in notepad and delete those lines

3.Boost your broadband speed: While the broadband speed depends on several factors including the
external factors like speed provided by the ISP , hardware used etc. We can certainly improve the
internal factor through a technique known as TCP optimisation. Windows 7 and above has the ability to
automatically change its own TCP Window auto-tuning behavior to a more conservative state regardless
of any user settings. Now we can change the tcp parameters to increase throughput .

Open cmd in administrator mode and type this

netsh int tcp show global and press enter

Now we are going to change some TCP global parameters . Open notepad and type these commands

cd\

netsh int tcp show global

netsh int tcp set global chimney=enabled

netsh int tcp set heuristics disabled


netsh int tcp set global autotuninglevel=normal

netsh int tcp set global congestionprovider=ctcp

Now save the file as say Speedbooster.bat

Run the Speedbooster.bat in administrator mode

You will notice substantial increase of speed of about 3035%.

Now to reset tcp global parameters to default values Type these in notepad

cd\

netsh int tcp show global

netsh int tcp set global chimney=default

netsh int tcp set heuristics enabled

netsh int tcp set global congestionprovider=none


and save it as say Reset.bat to reset the TCP global parameters to their respective default values. Run it
as an administrator.

To know more on TCP tweaking click on the link Windows 8, 10, 2012 Server TCP/IP Tweaks

4.C program to print the map of India: This obfuscated piece of code prints the map of India.

#include <stdio.h>

main(){ int a,b,c;int count = 1; for (b = c = 10; a = "- FIGURE?, UMKC,XYZHello Folks,\

TFy!QJu ROo TNn(ROo)SLq SLq ULo+\

UHs UJq TNn*RPn/QPbEWS_JSWQAIJO^\

NBELPeHBFHT}TnALVlBLOFAkHFOuFETp\

HCStHAUFAgcEAelclcn^r^r\\tZvYxXy\

T|S~Pn SPm SOn TNn ULo0ULo#ULo-W\

Hq!WFs XDt!"[b+++21]; )

for(; a-- >64 ; ) putchar ( ++c=='Z' ? c = c/ 9:33^b&1); return 0; }

Copy and save the file as say p1.c . On running it in console by typing

gcc p1.c

./a.exe

in powershell and in linux instead of ./a.exe replacing it with ./a.out we get the following output

You might also like