Public DNS Servers List

=> Service provider: Google
Google public dns server IP address:

  • 8.8.8.8
  • 8.8.4.4

=> Service provider:Dnsadvantage
Dnsadvantage free dns server list:

  • 156.154.70.1
  • 156.154.71.1

=> Service provider:OpenDNS
OpenDNS free dns server list / IP address:

  • 208.67.222.222
  • 208.67.220.220

=> Service provider:Norton
Norton free dns server list / IP address:

  • 198.153.192.1
  • 198.153.194.1

=> Service provider: GTEI DNS (now Verizon)
Public Name server IP address:

  • 4.2.2.1
  • 4.2.2.2
  • 4.2.2.3
  • 4.2.2.4
  • 4.2.2.5
  • 4.2.2.6

=> Service provider: ScrubIt
Public dns server address:

  • 67.138.54.100
  • 207.225.209.66
Share

Auto-centering Popup Window

Step 1: Insert the below inside the <head> section of your page:

 

<script language="javascript">

 

/*

Auto center window script- Eric King (http://redrival.com/eak/index.shtml)

Permission granted to Dynamic Drive to feature script in archive

For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com

*/

 

var win = null;

function NewWindow(mypage,myname,w,h,scroll){

LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;

TopPosition = (screen.height) ? (screen.height-h)/2 : 0;

settings =

'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'

win = window.open(mypage,myname,settings)

}

 

</script>

Step 2: Now, for each involved link, add the part in red to its <a> tag, as follows:

<a href="http://wsabstract.com" onclick="NewWindow(this.href,'name','400','400','yes');return false">Website Abstraction</a>

Src: http://www.dynamicdrive.com/dynamicindex8/autocenter.htm

Share

Table alternate row background color using javascript

The code itself speaks....!!!
<html>
 <head>
     <title>Alternative table row color using javascript.</title>
     <script language="javascript">
         function setcolor() {
             var tbl = document.getElementById("tblCountry");
             tbl.style.color = "white";
             tbl.rows[0].style.backgroundColor = "green";
             for (var i = 1; i < tbl.rows.length; i++) {
                 if (i % 2 == 0)
                     tbl.rows[i].style.backgroundColor = "gray";
                 else
                     tbl.rows[i].style.backgroundColor = "brown";
             }
         }
     </script>
 </head>
 <body onload="setcolor();">
     <table align="center" width="300px" id="tblCountry">
         <tr>
             <th>
                 Country
             </th>
         </tr>
         <tr>
             <td>
                 Australia
             </td>
         </tr>
         <tr>
             <td>
                 China
             </td>
         </tr>
         <tr>
             <td>
                 Denmark
             </td>
         </tr>
         <tr>
             <td>
                 India
             </td>
         </tr>
         <tr>
             <td>
                 USA
             </td>
         </tr>
     </table>
 </body>
 </html>
Share

রিকশা চালিয়ে হাসপাতা

প্রসঙ্গ কথা ফেসবুকের লিংক থেকে পাওয়া এ নিউজটি একটি ছোট্ট কাজ করেছে- রিকশাচালকদের প্রতি অসম্ভব খেদ এবং বলা যয় 'ঘৃণা' বোধটা বোধকরি চকছুটা কমবে… 

ঢাকায় রিকশা চালান তিনি। রোদে পোড়েন। বৃষ্টিতে ভেজেন। কাঁপেন কনকনে শীতে। তবু থামে না রিকশার চাকা। এ যে তাঁর স্বপ্নেরও চাকা।

তিনি মো. জয়নাল আবেদিন। বয়স কত হবে? ৬০ কিংবা ৬১। চামড়ায় ভাঁজ পড়ে গেছে। কালো হয়ে গেছে দাঁত। দাড়ি শ্বেতশুভ্র। শরীর দুর্বল। রিকশার প্যাডেল চাপতে এখন পা ধরে আসে। পেশি টনটন করে। মাথা ঝিমঝিম করে। কিন্তু স্বপ্ন তাঁকে টেনে নিয়ে যায়।

ঢাকায় জয়নাল যখন কষ্টে কাতর, ময়মনসিংহে তখন তাঁর গড়া হাসপাতালে গরিব রোগীরা স্বস্তির নিঃশ্বাস ফেলে। ঢাকার বালি-ধূলি-ভেঁপুর শোরগোল চাপা পড়ে যায় জয়নালের অন্তরে বাজা তাঁর গড়া বিদ্যালয়ের শিশুদের হিল্লোলের নিচে।

একজন জয়নাল শুধু রিকশা চালিয়ে নিজ গ্রামে একটি হাসপাতাল করেছেন। গড়েছেন একটি বিদ্যালয়। চালাচ্ছেন মক্তব। ছোট তাঁর সেই হাসপাতালে ছয়টি শয্যা আছে। আছেন একজন পল্লি চিকিৎসক, সার্বক্ষণিক। সপ্তাহে এক দিন সরকারি হাসপাতালের একজন চিকিৎসক এসে রোগী দেখেন।

শুধু রিকশা চালিয়ে একজন অক্ষরজ্ঞানহীন জয়নাল একটি বিদ্যালয় গড়েছেন। হোক সেখানে তৃতীয় শ্রেণী পর্যন্ত পড়াশোনা। তাতে শিক্ষার্থীর সংখ্যা এখন ১২০। বিদ্যালয়ের একটি কক্ষে সকালে মক্তব বসে। গ্রামের শিশুরা সকালে সেখানে আরবি পড়ে। সাধ্য নয়, স্বপ্ন একজন রিকশাচালককে দিয়ে কী না গড়িয়ে নেয়! 

আঘাত থেকে অঙ্গীকার: ময়মনসিংহ সদর উপজেলার পরানগঞ্জ ইউনিয়নের টানহাসাদিয়া গ্রামে জয়নাল আবেদিনের বাড়ি। বাবা মো. আবদুল গনি ছিলেন ভূমিহীন কৃষক। আবদুল গনির চার ছেলে ও ছয় মেয়ের মধ্যে জয়নাল সবার বড়। অভাব-অনটনের সংসারে পড়াশোনা করার সুযোগ হয়নি কারও। 

প্রায় ৩০ বছর আগের কথা। দিনক্ষণ ঠিক মনে নেই জয়নালের। অঝোরে বৃষ্টি পড়ছিল। সন্ধ্যার দিকে বাবা আবদুল বুক চেপে ধরে কাতরাতে লাগলেন। বাবার কষ্টকাতর মুখ দেখে দিশেহারা হয়ে পড়লেন সন্তানেরা। জয়নাল ও তাঁর ভাইয়েরা বের হলেন চিকিৎসকের খোঁজে। সে যুগে কাছেপিঠে কোনো চিকিৎসাকেন্দ্র বা ভালো চিকিৎসকও ছিল না। গুটিকয়েক নাম ভাঙানো চিকিৎসক ও ওষুধের দোকান ছিল ভরসা। 

জয়নাল বললেন, ‘একপর্যায়ে রাত আটটার দিকে বাবাকে নিয়ে দুই কিলোমিটার দূরে মীরকান্দাপাড়ায় যাই। সেখানে মেহছেন বেপারীর ওষুধের দোকান ছিল। মেহছেনের বাবা জসিমউদ্দিন ছিলেন এলাকার কুখ্যাত রাজাকার। অসুস্থ বাবাকে নিয়ে দোকানে পৌঁছালে মেহছেন তাচ্ছিল্য করে বলে, রাজাকারের দোকানে ওষুধ নিতে আইছো ক্যান? তোমরার কাছে ওষুধ বেচুম না।’

Read more

Share

Linux Rescue Mode, recovering from boot

When things go wrong, there are ways to fix problems. However, these methods require that you understand the system well. This chapter will describe the ways that you can boot into rescue mode and single user mode, where you can use your own knowledge to repair the system.

What is Rescue Mode?

Rescue mode provides the ability to boot a small Linux environment entirely from a diskette, CD-ROM, or using some other method.

As the name implies, rescue mode is provided to rescue you from something. During normal operation, your Red Hat Linux system uses files located on your system's hard drive to do everything — run programs, store your files, and more.

However, there may be times when you are unable to get Linux running completely enough to access its files on your system's hard drive. Using rescue mode, you can access the files stored on your system's hard drive, even if you cannot actually run Linux from that hard drive.

Normally, you will need to get into rescue mode for one of two reasons:

  • You are unable to boot Linux.

  • You are having hardware or software problems, and you want to get a few important files off your system's hard drive.

Next, we will take a closer look at each of these scenarios.

Read more

Share

Linux ISO and DR Solution- Mondo Rescue

Mondo Rescue is a GPL disaster recovery solution. It supports Linux (i386, x86_64, ia64) and FreeBSD (i386). It's packaged for multiple distributions (RedHat, RHEL, SuSE, SLES, Mandriva, Debian, Gentoo).
It supports tapes, disks, network and CD/DVD as backup media, multiple filesystems, LVM, software and hardware Raid. You need it to be safe.
 
Visit: http://www.mondorescue.org/ 
Share

Migrate existing Windows installations to VirtualBox

Windows installations, unlike Linux, cannot easily be moved from one hardware to another. This is not just due to Microsoft's activation mechanism but the fact that the installed kernel and drivers depend on the actual hardware. 

This document explains the common pitfalls and how to workaround these. We assume that either a physical Windows installation or a VMware image is the source of migration. It is also assumed that a suitable virtual disk image (either VDI or VMDK for VirtualBox >= 1.4) is already present. 

There's a step by step description below. 

Read more

Share

MySQL Tidbits

Allow Slave to connect master:

C:\mysql>create user 'replica'@'192.168.0.110' identified by '<YOUR PASSWORD>';

NOTE: 192.168.0.110 which is the SLAVE machine‟s address.

i. mysql>grant create,insert,select,update,delete on ejbca.* to 'replica'@'192.168.0.110';

Checking if Slave can connect to Master:

C:\>mysql –u replica –h 192.168.0.100 –p

C:\>Enter password: <YOUR VALUES>

NOTE: If the mysql prompt opens then the Master machine can be accessed from the Slave machine.

 

 

Share