Sunday, January 10, 2010

JavaScript

Sunday, January 10, 2010
JavaScript; people usually mistake it as same as Java programming language. Actually, both of Java and JavaScript are completely different. JavaScript is in fact another programming or computer language which is used to make the web pages interactive to users.

There is no special program required for you to be able to create usable code. Any plain text editor such as Notepad is quite satisfactory for being able to write JavaScript. For a beginning, let us try writing some code to look at. :)

1) Open the Notepad or any other text editor.
2) Write the code as below (Remember that JavaScript must always have the 'script' tags):



3) Save it as test.html.
4) Try to run the file in any browser. Would you get it appear like this?



See, the pop-up box appears as the result of the JavaScript code.

So, that is an example of how interactive a web page can be. :)

Thursday, January 7, 2010

Using Huawei E1762 in Karmic Koala

Thursday, January 7, 2010
I'm now happily using Huawei E1762 of broadband modem in my newly Jaunty-upgraded-to-Karmic. :D

After having problems configuring it in Jaunty (and that i surrendered from trying it there), my senior colleague asked me to try doing the configuration in Karmic, instead. Actually it has been one or almost two weeks after the instructive command made, but only this evening i pulled the will to give it some more try. I NEED to use my Ubuntu anyway, and of course with the Internet connection available.

I googled about Huawei E1762 in Karmic Koala and, yes, i got some helpful manuals for installing it. Perhaps the problem of using this new model of Huawei modem has just been fixed, because i remember during the past weeks when i was still having Jaunty Jackalope on my laptop, there were not much information on installing it on neither Jaunty nor Karmic.

So now, what i did previously today was that;

1. I downloaded a new usb_modeswitch.conf, and put it in /etc
2. I opened the terminal, and typed;
sudo usb_modeswitch idProduct=1446 idVendor=12d1
(this was when the modem seemed not to give any response, so after i typed the command, i unplugged the modem and then replugged it again and yeay, 'Mobile broadband connection 'Maxis E1762' active'!)

Thanks to Br. Umarzuki Mochlis! :)

Special for Technical Writings (?)

Assalamu'alaykum.
Welcome to my new blog, specially created for other than personal thingies to be written here. Hopefully there will be lots of beneficial posts uploaded in the future, insyaAllah. (^_^)
 
@Chiq & Stuff © 2008. Design by Pocket