ss_blog_claim=a37b70f67cd872812717e1fce7e83301
Latest Posts »
Latest Comments »
Popular Posts »

How To Flush DNS

Written by techieDan on February 29, 2008 – 1:23 am

PC hanged, can’t seem to load your MSN Messenger even after countless times of fixing it via the MSN help.

One way of checking for errors is by flushing your DNS. How can it be achieved. Simply by using DOS commands .. (yes.. DOS commands again) one can do that.

Why Flush Your DNS?
The bad DNS will have an incorrect IP & therefore one will fail to hit the right IP. By flushing your DNS, sometimes, DNS entry that are bad will be cached and you will need to either flush the DNS cache or restart your modem. So of course why would I need to restart it when one can flush it out.

How is this possible?
In command line prompt.

c:\> ipconfig /flushdns

Done!!! That’s all that is needed


Tags: , , ,
Posted in DOS | 2 Comments »

Dump Data mySQL Command

Written by techieDan on February 25, 2008 – 9:09 pm

You’re stuck in a new place, with no Internet connection and you have no extra additional softwares to install for GUI for mySQL updates and stuffs. Now then suddenly the client asked you to backup his database using the UNIX server. You, as a fresh database administrator suddenly felt lost and don’t know what to do.

If only everyone have learnt the basics of command line prompt, one will not have panic like the above scenario. How to backup your mysql database using command line prompt.

Windows Environment for simplicity

C:\> [MYSQL HOME]\bin\ mysqldump -u[user] -p [databasename] > something.ddl

Yes, a single line and it’s all done.

What does this line meant?

Legend
-u user option
root default username
-p password option

The rest is pretty understandable
Example if I have a username ‘root’ for the database and password ‘abc’ with the database name called db and I wanted to save all the data onto a file name data.ddl, this is what I would write below.

mysql backup

If you have any questions pertaining this issue, do drop a line.


Tags: ,
Posted in SQL | No Comments »

Wooden Chair

Written by techieDan on February 23, 2008 – 12:48 pm

Even when I am doing work and writing the post for this blog, I will be sitting on this wooden chair. Well, this kind of chair is kinda antique, most probably older than me.

Wooden Chair

This is what I sat on when I am blogging with the big monitor. Dang..

Click to find out about !


Tags:
Posted in Photohunt | 6 Comments »

Wise Programmer

Written by techieDan on February 19, 2008 – 12:33 am

Programmers, they code for their life, their interest, some just do it for the sake of money. But what makes a programmer a real programmer?

In my working life as a programmer, I have this thing for looking into new technologies and I envy those who can code by themselves. But… one thing I learnt about working in a company is that, if you can code with the new technologies, but not documenting and writing your code well, it’ll make other people (your colleagues) mindfully cursing you for not following the standard. Writing perfect codes are great, but writing understandable codes are what makes a programmer a decent and wise programmer.

Some might be hasty in writing codes that they themselves understand. Well, then that is not a very wise person if he/she’s in a company working in a team. Besides, conformity to a certain standard has made a programmer what a programmer should be.

I quote from what I heard,
If you have the talent, use it wisely.

Also this quote.
A talented programmer writes super high-end codes, but a wise programmer writes understandable codes!

Sad but true, in the country I live in, people have this jurisdiction that they should never reveal their secret. That’s why open source is not famous here. Not until Microsoft comes in having household owners to license their MS Windows, then people will start looking toward open source.

So conclusion, do you think a programmer is just a programmer who cares about how well he codes or rather how readable his codes are??


Tags: ,
Posted in Topic | No Comments »

Free of Wires

Written by techieDan on February 16, 2008 – 2:04 am

How I wished that I could be FREE of wires… now that’s the reason I bought this, and now I am back to wired world again cause the power cable is faulty, back to the old wired system.

Free of Wires Wifi

In case you aren’t sure what’s the above picture, it’s a wireless(wifi) router.

Click to find out about !


Tags: , ,
Posted in Photohunt | 10 Comments »