Update on where I’m at
Friday, November 27th, 2009 Leave a comment
while(true) { blog.post(profound.musings, random.discoveries) ; }
Friday, November 27th, 2009 Leave a comment
Sunday, November 15th, 2009 Leave a comment
Friday, November 13th, 2009 Leave a comment
Just to say: “AWESOME!!!” Exams are finally over now, so I can relax a little. As I said the other day, this is the end of it all for this degree, now I just have the waiting for the grades….
I’m rolling into fulltime at IAG now while I job hunt and get my “real” job using my degrees and doing what I actually love. Also, I’m heading into my first summer without a “summer job” for the first time in a while. Going to be heading to the beach and having some downtime over Christmas and New Years with friends.
Yippee!!!!
Wednesday, November 11th, 2009 Leave a comment
I’m taking my sweet time between posts these days, I know. Exams are upon me, and they are just as much fun as they are cracked up to be. I’ve started getting quite stressed about them in the last week or so; I suddenly realised that my entire semester comes down to my performance in each of these exams. If I drop any one exam, then I drop the whole paper, which means I have to return to uni in semester 1 2010. Definitely not in my plans I can tell you.
Have to quickly share this little sucker:
I giggled, I can tell you!!!
Tuesday, November 3rd, 2009 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 |
Monday, November 2nd, 2009 1 Comment
Just got this via the guys at dailyfailblog. Nothing else to say really:
Monday, November 2nd, 2009 6 Comments
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.
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.
recent comments