What’s my ip address–from Windows command line (cmd.exe)

If you’re behind a router (and most people are) then ipconfig.com will give your LAN address–local to your building, but not your WAN address–the IP address that websites see you as.

The most common way to find your WAN IP address is http://whatsmyip.net.

But that doesn’t (easily) work from the Windows command line, eg cmd.exe

But, your salvation is here: Here is something that does. Quite simple:

C:\users\YOURNAME> nslookup myip.opendns.com. resolver1.opendns.com

Notice the dot (“.”) after myip.opendns.com. That prevents it getting appended.



pastebin is a generic term for posting text (usually programming code) online so that others can see it.

For example, to collaborate with people on the internet to improve or debug code.

Or to post a long segment of code in an online forum; rather than include the code directly in the post, just post the link to the pastebin.

The original and namesake is pastebin.com;

Two others are hastebin and GitHub Gist

A related site/concept is jsfiddle which allows pasting of all 3 of these: HTML, Javascript, CSS, and will actually run them for you. So it’s a sharing and testing platform in one.


HTML5 is a set of new web development technologies that bring the mobile (ie iPhone or smartphone) experience to websites.

In doing so, they also achieve the ability to write one application and have it run the same way on the web and on an iPhone, or other smartphone.

In other words, they bring features common to smartphone apps to web development, namely

  • Touch events
  • Swipe events
  • Pinch zoom in/out
  • Location access (eg GPS)
  • Camera access
  • Offline storage, eg each app can store data, info, files
  • Offline app usage.
    • Web apps require you to be online to run them. They have always been websites up til now.
    • Most smartphone apps run whether or not you’re online
    • HTML5 allows web apps to run while offline, like smartphone apps

Here’s a quote of the text of html5.org, captures 8/25/2013, a good overview of HTML5 resources:


HTML5 is the latest version of HTML and XHTML. The HTML standard defines a single language that can be written in HTML and XML. It attempts to solve issues found in previous iterations of HTML and addresses the needs of Web Applications, an area previously not adequately covered by HTML.

Here are several resources worth exploring:

javascript fontSize – the best description i’ve seen

This is the best description i’ve seen of javascript fontSize and for that matter, css font-size


javascript STYLE fontSize

@June 18, 2009, 10:39 a.m.
fontSize Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 2 Read/Write
Indicates the font size of the element. The font size can be set in several ways. A collection of constants (xx-small, x-small, small, medium, large, x-large, xx-large) defines what are known as absolute sizes. In truth, these are absolute only in a single browser in a single operating system, since the reference point for these sizes varies with browser and operating system (analogous to the old HTML font sizes of 1 through 7). But they do let the author have confidence that one element set to large is rendered larger than medium.
Another collection of constants (larger, smaller) is known as relative sizes. Because the font-size style attribute is inherited from the parent element, these relative sizes are applied to the parent element to determine the font size of the current element. It is up to the browser to determine exactly how much larger or smaller the font size is, and a lot depends on how the parent element’s font size is set. If it is set with one of the absolute sizes (large, for example), a child’s font size of larger means the font is rendered in the browser’s x-large size. The increments are not as clear-cut when the parent font size is set with a length or percentage.
If you elect to use a length value for the fontSize property, you will achieve greater consistency across operating systems if units such as pixels (px) or ems (em), instead of points (pt). Em units are calculated with respect to the size of the parent element’s font size. Finally, you can set fontSize to a percentage, which is calculated based on the size of the parent element’s font size.
document.getElementById("teeny").style.fontSize = "x-small";
Case-insensitive string values from any of the following categories. For an absolute size, one of the following constants: xx-small | x-small | small | medium | large | x-large | xx-large. For a relative size, one of the following constants: larger | smaller. For a percentage, the percentage value and the % symbol.
Parent element’s font size.