internet domain suffixes

Tuesday, November 3rd, 2009 geekboytm 3 comments

Below is a listing of all of the types of Internet domain suffixes or Top-Level Domains (TLD) and the associated locations of the domain and/or the type of domain. I keep looking them up, and figured I might as well put up a list of them all for reference.

# | A | B | C | D | E | F | G | H | I | J | K | L | M
N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Domain Type / Location
A
.ac Educational network (same as .edu). British academic site.
.ad Andorra
.ae United Arab Emirates
.aero Air Transportation Industry
.af Afghanistan
.ag Antigua and Barbuda
.ai Anguilla
.al Albania
.am Armenia
.an Netherlands Antilles
.ao Angola
.aq Antarctica
.ar Argentina
.arpa ArpaNet sites
.as American Somoa
.at Austria
.au Australia
.aw Aruba
.ax Aland Islands – part of Finland
.az Azerbaijan
B
.ba Bosnia / Herzegovinia
.bb Barbados
.bd Bangladesh
.be Belgium
.bf Burkina Faso
.bg Bulgaria
.bh Bahrain
.bi Burundi
.biz United States Business site
.bj Benin
.bm Bermuda
.bn Brunei Darussalam
.bo Bolivia
.br Brazil
.bs Bahamas
.bt Bhutan
.bv Bouvet Island
.bw Botswana
.by Belarus / Byelorussia
.bz Belize
C
.ca Canada
.cc Cocos Islands – Keelings
.cf Central African Republic
.cg Congo
.ch Switzerland
.ci Ivory Coast / Cote DIvoire
.ck Cook Islands
.cl Chile
.cm Cameroon
.cn China
.co Colombia / Commercial networks, same as .com.
.com

United States Commercial web site.

.coop Business coops,organizations
.cr Costa Rica
.cs Former Czechoslovakia
.cu Cuba
.cv Cape Verde
.cx Christmas Island
.cy Cyprus
.cz Czech Republic
D
.de Germany
.dj Djibouti
.dk Denmark
.dm Dominica
.do Dominican Republic
.dz Algeria
E
.ec Ecuador
.edu United States Education site
.ee Estonia
.eg Egypt
.eh Western Sahara
.er Eritrea
.es Spain
.et Ethiopia
.eu European
F
.fi Finland
.firm Internet site for business and/or firm
.fj Fiji
.fk Falkland Islands / Malvinas
.fm Micronesia
.fo Faroe Islands
.fr France
.fx Metropolitan France
G
.ga Gabon
.gb Great Britain
.gd Grenada
.ge Georgia
.gf French Guiana
.gh Ghana
.gi Gibraltar
.gl Greenland
.gm Gambia
.gn Guinea
.gov United States Government site
.gp Guadeloupe
.gq Equatorial Guinea
.gr Greece
.gs South Georgia / South Sandwich Islands
.gt Guatemala
.gu Guam
.gw Guinea-Bissau
.gy Guyana
H
.hk Hong Kong
.hm Heard and McDonald Islands
.hn Honduras
.hr Croatia/Hrvatska
.ht Haiti
.hu Hungary
I
.id Indonesia
.ie Ireland
.il Israel
.in India
.info United States information site
.int International institute site
.io British Indian Ocean Territory
.iq Iraq
.ir Iran
.is Iceland
.it Italy
J
.je Jersey – Channel Islands a UK dependancy
.jm Jamaica
.jo Jordan
.jobs Job related sites.
.jp Japan
K
.ke Kenya
.kg Kyrgyzstan
.kh Cambodia
.ki Kiribati
.km Comoros
.kn Saint Kitts / Nevis
.kp North Korea
.kr South Korea
.kw Kuwait
.ky Cayman Islands
.kz Kazakhstan
L
.la Laos
.lb Lebanon
.lc Saint Lucia
.li Liechtenstein
.lk Sri Lanka
.lr Liberia
.ls Lesotho
.lt Lithuania
.lu Luxembourg
.lv Latvia
.ly Libya
M
.ma Morocco
.mc Monaco
.md Moldova
.mg Madagascar
.mh Marshall Islands
.mil United States Military site
.mk Macedonia
.ml Mali
.mm Myanmar
.mn Mongolia
.mo Macau
.mp Northern Mariana Islands
.mq Martinique
.mr Mauritania
.ms Montserrat
.mt Malta
.mu Mauritius
.museum Worldwide museums
.mv Maldives
.mw Malawi
.mx Mexico
.my Malaysia
.mz Mozambique
N
.na Namibia
.name Individuals, families
.nato NATO site
.nc New Caledonia
.ne Niger
.net United States Internet administrative site.
.nf Norfolk Island
.ng Nigeria
.ni Nicaragua
.nl Netherlands
.no Norway
.nom Personal site
.np Nepal
.nr Nauru
.nt Neutral Zone
.nu Niue
.nz New Zealand
O
.om Oman
.org United States and Britain Organization sites
P
.pa Panama
.pe Peru
.pf French Polynesia
.pg Papua New Guinea
.ph Philippines
.pk Pakistan
.pl Poland
.pm St. Pierre and Miquelon
.pn Pitcairn
.pr Puerto Rico
.pro United States Professional site
.pt Portugal
.pw Palau
.py Paraguay
Q
.qa Qatar
R
.re Reunion
.ro Romania
.ru Russian Federation
.rw Rwanda
S
.sa Saudi Arabia
.sb Solomon Islands
.sc Seychelles
.sd Sudan
.se Sweden
.sg Singapore
.sh Saint Helena
.si Slovenia
.sj Svalbard / Jan Mayen Islands
.sk Slovakia
.sl Sierra Leone
.sm San Marino
.sn Senegal
.so Somalia
.sr Suriname
.st Sao Torme and Principe
.store United States domain for retail business site
.su Former USSR
.sv El Salvador
.sy Syria
.sz Swaziland
T
.tc Turks and Caicos Islands
.td Chad
.tf French Southern Territory
.tg Togo
.th Thailand
.tj Tajikistan
.tk Tokelau
.tm Turkmenistan
.tn Tunisia
.to Tonga
.tp East Timor
.tr Turkey
.travel Travel related sites.
.tt Trinidad and Tobago
.tv Tuvalu
.tw Taiwan
.tz Tanzania
U
.ua Ukraine
.ug Uganda
.uk United Kingdom
.um United States minor outlying islands
.us United States
.uy Uruguay
V
.va Vatican City State
.vc Saint Vincent and the Grenadines
.ve Venezuela
.vg British Virgin Islands
.vi United States Virgin Islands
.vn Viet Nam
.vu Vanuatu
W
.web Internet site about the World Wide Web
.wf Wallis and Futuna Islands
.ws Samoa
X
  Currently none
Y
.ye Yemen
.yt Mayotte
.yu Yugoslavia
Z
.za South Africa
.zm Zambia
.zr Zaire
.zw Zimbabwe
Tags: , , ,

quick update: awesome football FAIL

Monday, November 2nd, 2009 geekboytm 1 comment

Just got this via the guys at dailyfailblog. Nothing else to say really:

adding Perl to WAMP server

Monday, November 2nd, 2009 geekboytm Leave a comment

As a bit of a distraction from studying (I know, I know, just do the study) I decided to play with Perl a little; hence, I needed to install it to my localhost server. I’m running WAMP, and doing everything in PHP at present, which is great but Perl required a bit of reconfiguration. Just thought I’d share the steps, as they are pretty simple if you know them but otherwise can be a bit daunting.

Step1:
First, download WampServer from www.wampserver.com and install WampServer. The default installation directory is ‘C:\wamp” and I find this to be the best too.

WampServer 2.0i [07/11/09] includes :
- Apache 2.2.11
- MySQL 5.1.36
- PHP 5.3.0

The links above will download it directly for you from the site.

Step2:
Now you have to download ActivePerl (currently 5.10.0) from www.activestate.com and install it. The default installation directory is “C:\Perl”, but I throw this in a new folder called “perl” inside “C:\wamp\bin”. So just create this folder and point to it during the installation. Now we need to configure the Apache web server to execute Perl and CGI script.

Step3:
We need to edit the Apache configuration file. You can either go to “C:\wamp\bin\apache\Apache2.2.11\conf” directory and open “httpd.conf” file; or run WampServer and left click the taskbar icon,  hover over “Apache” and then click “httpd.conf” to open it in your text editor. Edit the httpd.conf file as below.

Note: It is best to save a backup copy of your httpd.conf file before editing; that way, if you do “break” it, you have an original to go back to without major damage issues.

1. Inside httpd.conf, look for the line that says “<Directory “c:/wamp/www/”>“, just a few lines below this you’ll find the line that says “Options Indexes FollowSymLinks”. Add “Includes ExecCGI” in the line just next to FollowSymLinks, thus it look like this”

Options Indexes FollowSymLinks Includes ExecCGI

This will enable CGI script inside your www folder.

2. Now look for the line “AddHandler cgi-script .cgi“, this line is commented out. You need to enable this by un-comment this line, to do that remove the # character at the beginning of this line. This will add handler for files with .cgi extension. If you want to use .pl file extension in your server add “AddHandler cgi-script .pl” just below the above line. Now you will be able to execute CGI and Perl script with .cgi and .pl, extension.

AddHandler cgi-script .cgi
AddHandler cgi-script .pl

3. To add directory index file, look for the line “DirectoryIndex index.php index.php3 index.html index.htm“. Addindex.cgi and index.pl in this line.

DirectoryIndex index.php index.php3 index.html index.htm index.cgi index.pl

Step4:
Your server is now configured and ready to run perl and cgi script. Next thing you might need to do is to configure perl to use mysql database. You need to download and install mysql driver to enable database connection through your perl script. You have to grab the driver from the ActivePerl package repository. However, mysql driver module is not available in the default ActivePerl Package Repository. So, you need to add additional repository and install from that repository. Follow the steps below:

1. Open command prompt [type cmd in run], then type “ppm repo add uwinnipeg” and press enter.

2. After the “uwinnipeg” repository is added successfully, you can install DBD-mysql by typing this command “ppm install DBD-mysql” and hit enter.

CMD window adding UWinnipeg repository

Note: The ActivePerl default package repository contains DBD-mysqlPP module. If you install that one, you will get an error in your SQL SELECT query and especially when you use the WHERE clause. Your localhost will hang if you run this kind of query with the WHERE clause, so to get it work you need to install the package that I mentioned above only.

So, there you go. Hopefully that’s simplified your day a little. I’ll be throwing up some Perl tutorials in a week or two, once exams are over and I’ve had a decent play around.

quick update: how to force vertical scrollbar with CSS

Thursday, October 29th, 2009 geekboytm Leave a comment

Still studying hard for exams over the next few weeks, but I took a quick lunch-break today and “relaxed” by doing a bit more web work. I came across the problem that some of my pages for a site were less than the height of the browser window, while others were longer. The result of this is that you get some “flickering” when navigating to different pages that don’t require a scrollbar as the layout shifts back and forth slightly if the browser doesn’t have a permanent scrollbar gutter..

The solution is to force a vertical scrollbar. This works well in all widely used browsers with only a few lines of code as the document height will always be at least one pixel longer. Just insert the following into your CSS:

html, body {
height: 100%;
margin: 0 0 1px;
padding: 0;
}

What the method above does is set your site’s height to 100 percent with a bottom margin of 1 pixel to force the vertical scrollbars to appear with at least one pixel to scroll. The advantage of this is that this works no matter what the visitor’s resolution is; and you don’t need to manually set the page height.

quick update: still studying….

Monday, October 26th, 2009 geekboytm Leave a comment

Labour Weekend here in New Zealand. No rest for the wicked though, and I guess that includes me….
Another day of studying hard for exams this week. Although I did get a little “break” from study this morning to paint part of the house (fun, fun, fun!!!). I’ve got my next underwriting delegation exam tomorrow afternoon, then uni exams throughout this week and the next two after that. All over by mid-November then into full-time work and also some fun coding and web-dev times too.

No exciting news to report, so I’ll just throw up some sexy tunes from waaaay back in the day:

Loving the smooth dude’s of the 80’s; and the ladies weren’t ashamed to flaunt it either. I really love the way music vids back then weren’t all special effects, but actually were just film of the artist singing – maybe with some track-spots or other lighting effect.

I really shouldn’t start posting eighties music videos, because I’ll never manage to share all of the great ones. The eighties was DEFINITELY the best era for music. Loving it all!!!

Anyways, best back into the study, so I’ll update again tomorrow.

end of semester

Saturday, October 24th, 2009 geekboytm Leave a comment

I suppose I’d better make the time to post something again, since lecturers have officially ended for the semester. Now it’s just study hard for exams over the next few weeks. All over by mid-November though. Looking forward to that first cold beer in the sun with no more study to do.

Here’s a major stuff-up by a reporter…she’s definitely NOT talking to Al Sharpton…..

I’ve redone my Windows 7 desktop over the last few days also. Used some funky software from a variety of sources, all free!! As a base for everything, I wanted to totally minimise the appearance of my desktop. To start with I removed all icons from my desktop (right-click on desktop -> Personalise -> Change Desktop Icons -> uncheck all boxes), and then set the taskbar to autohide (right-click taskbar -> Properties -> check “Autohide the Taskbar”). I then installed RocketDock to replace it. To this I also added the Stack Docklet plug-in. The result of these two installations is an expanding taskbar similar in performance to the Mac taskbar (RocketDock) which also serves up grouped programs in “stacks” (Stack Docklet).

RocketDock is created by an Apple fanboy and fangirl on OS X as a peace offering from the Mac community to PC users.

I have changed the default icon set to Reflections by styrizo that turns the normal icons into small text icons.  Installing this is simple.  You can either copy over the new icons files into the directory with the current ones and overwrite; or, do what I’ve done and create a new folder in the icons folder, and then point each docklet or link to an icon in this folder (it MUST be a sub-folder of the icons folder!!). The Reflection Icons come in two variants to allow for the coloring of your desktop and bar. You can either use the “light” or “dark” icons. These are slightly mis-named as the category refers to the background, not the icons; ie the dark icons are essentially white, for use on a dark background.

I have seen a few useful minimalist widgets out there, such as a vertical calendar application. It is run using AveDesk 1.4.  Basically this allows you to use sidebar like widgets all over your desktop.  I only use the SysStats plugin (which is a separate download) and the vertical calendar download from the Avedesk website. The SysStats plugin I’m only using because the vertical calendar requires it to run. I don’t actually display the stats at all.

AveDesk is not FreeWare, it is instead DonationWare; what this means is that if you use the product regularly you are required to donate towards it.

So, what I’ve ended up with is an almost totally empty desktop. with only a slim minimalist calendar down one side, and  a Mac-like taskbar curled up along the bottom. I’ll post some screenshots later today, or tomorrow.

Just thought I’d end with this gun-safety fail that’s been featured on the news. The first video is just the short funny part, the second is the “extended” version with more context.

Tags:

quick update: Kramer’s entrance

Monday, October 19th, 2009 geekboytm Leave a comment

Just a quicky from YouTube, this clip is billed as being every single one of Kramer’s entrances on Seinfeld….in chronological order!!

procrastination, that’s what I do

Monday, October 19th, 2009 geekboytm Leave a comment

So, I am currently “doing an assignment”. It’s actually frustrating how banal they can make an otherwise interesting subject….it’s meant to be a database paper, however we spend more time being forced to use a tool/software than we do actually dong database work. The current assignment could be done in about 10 lines of SQL, but it’s, so far, taking days to get part way through it. It is even starting to make me dislike DBs (joking!!).

It’s now the final week of lectures at uni, and then it’ll be exam time. My final set of exams for this degree too!! I’ve already started contemplating returning in a year or so to do a Masters in International Business, but first I need to get back into the real world and earn some $$. Also get sqwi.sh fully running, and then the other few sites too. That should hopefully be pretty much done by Christmas….

I’ll just insert a lovely couple of mixes by d-t3ch here, they’ve even got sampling from Entourage in one!!

Men at Work, Land Down-Under. We’re gonna get drunk with Russell Crowe, we’re gonna head-butt some kangaroos!

Anyways, I’m just polishing the API for sqwi.sh then that can go public. I’ve got a couple of sites by other people already waiting to use the API which is very cool. I found an excellent discussion of implementing an API for your web service here. And I’ll be doing a bit of my own one as well, because I have tricked up a few things that aren’t mentioned in that tutorial.

Once assignments are over at the end of this week, I’ve got the IEEE Extreme Coding competition this weekend. 24 hours of code!!! We just get in there and code, sleep in lab if we need to, and code some more. I’m gonna be giving a big shout-out to Mountain Dew and Red Bull for my team, and if either of those lovely companies want to send me some freebies, I’ll ignore the other from now on…..

I suppose I should get back into the assignment now, but at least I got a little bit of procrastination out of the way. I’ll be getting a bit more regular with my posts again over the next week or so.

I’ve got a couple of sites by other people already waiting to use the API which is very cool. I found an excellent discussion of implementing an API for your web service here. And I’ll be doing a bit of my own one as well, because I have tricked up a few things that aren’t mentioned in that tutorial.
Once assignments are over at the end of this week, I’ve got the IEEE Extreme Coding competition this weekend. 24 hours of code!!! We just get in there and code, sleep in lab if we need to, and code some more. I’m gonna be giving a big shout-out to Mountain Dew and Red Bull for my team, and if either of those lovely companies want to send me some freebies, I’ll ignore the other from now on…..
I suppose I should get back into the assignment now, but at least I got a little bit of procrastination out of the way. I’ll be getting a bit more regular with my posts again over the next week or so.

just a quick YouTube vid

Wednesday, October 14th, 2009 geekboytm Leave a comment

Title says it all. This is just plain embarassing for the rest of us. Was she drinking vodka in her water glass, she certainly seems “happy” enough.

here I am again

Wednesday, October 14th, 2009 geekboytm Leave a comment

Very silly story, but I installed Windows 7 over the past week, and when I finally got time to come back online and blog I had forgotten my password (yep, dumba$$!!). Then I realised I had set my email address for this blog to one I haven’t used for a while….finally got into there, and here I am.

So, I launched sqwi.sh finally yesterday. It’s my URL shortening service, with a whole lot of statistical reporting to come. It’s a fully running, however the reporting and graphing features need a bit of tweaking as my host has different settings than I was expecting. They will change them, but for $130/hour I figured I could just re-code a bit of stuff. That’s all getting done as I get the chance when assignments and exams allow. The API is coming soon too.

I had my ANZIIF exam last week, and that went really well I think. Just waiting for marks now. IEEE Extreme Coding is next weekend (24th and 25th), so that’ll be a bit of fun too.

YouTube vids later today.