Skip to content
Bots!
Bots!
  • About
    • Myself
    • আমার দোয়া
  • Bookmarks
    • Bookmarks
    • My OCI Bookmarks
    • Useful Proxmox Commands & Links
    • Learning Nano
    • Useful Sites
    • Useful Virtualbox Command
    • Useful MySQL Command
    • Useful Linux Command
    • BTT-CAS
  • Resources
    • Webinar on Cloud Adoption for Project Managers
  • Photos
  • Videos
  • Downloads
Bots!

Category: Scripts

Auto-centering Popup Window

Rumi, July 8, 2011July 8, 2011

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 =…

Continue Reading

Table alternate row background color using javascript

Rumi, July 4, 2011January 12, 2016

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>…

Continue Reading

Create logout link in WordPress

Rumi, January 11, 2011

To create your own proper WordPress logout (or sign out) link, you need PHP.   PHP Default usage <a href="<?php echo wp_logout_url(); ?>" title="Logout">Logout</a>  Logout and Redirect to Current Page <a href="<?php echo wp_logout_url( get_permalink() ); ?>" title="Logout">Logout</a>  Logout and Redirect to Homepage <a href="<?php echo wp_logout_url( get_bloginfo('url') ); ?>"…

Continue Reading

frontaccounting- how to recover admin password

Rumi, October 18, 2010

If you manage to forget the admin password for a company in the system, how do you retrieve or reset it? You can reset the admin password for a company by using phpMyAdmin. Enter the company database and find the correct table prefix f.i. 0_users. Edit the user Admin. Paste…

Continue Reading

Show all images in a folder with PHP

Rumi, September 11, 2010

<?php //Your folder $files = glob(“icons/*.*”); $colCnt=0; echo ‘<table border=”0″ style=”width:590px;”>’; for ($i=1; $i<count($files); $i++) { $colCnt++; if ($colCnt==1) echo ‘<tr>’; echo ‘<td width=”25%” style=”font-size:8.5px; font-family:arial”>’; $num = $files[$i]; echo ‘<img src=”‘.$num.'” align=”absmiddle” /> ‘; print substr(substr($num,6,100),0,-4); echo ‘</td>’; if ($colCnt==4) { echo ‘</tr>’; $colCnt=0; } } echo ‘</table>’; ?>

Continue Reading

EOT তৈরির কৌশল

Rumi, April 16, 2010April 6, 2013

আমি অনেকদিন থেকেই এটি অনুভব করছিলাম যে, EOT তৈরির ধাপগুলি সঠিকভাবে বর্ণনা করে একটি লেখা তৈরি করবো। আমি দেখেছি অনেকেই সমস্যায় পড়েন। বুঝতে পারেন না কিভাবে এগোবেন। EOT তৈরি করতে পারলেও দেখা যায় তার পারফরমেন্স ভালো না। বুঝতে পারেন না কোথায় সমস্যা হয়েছিলো। আর এই চিন্তা থেকেই এই লেখাটি শুরু…

Continue Reading

Vertical CSS menu

Rumi, August 16, 2009

In this tutorial you will learn the basics of creating simple vertical menus for your website using only HTML /and CSS. Our menus are actually HTML unordered list elements <ul> styled using CSS, giving them background color, margin, padding and other CSS attributives.

Continue Reading

Horizontal CSS menu

Rumi, August 16, 2009

1. Let’s begin! Create a new HTML document and save it as cssmenu.html. Although is better to put the CSS code in a external style sheet, in this tutorial we will put the whole CSS code in the HTML file to be easier to follow by readers.

Continue Reading

Javascript POP Up Window

Rumi, August 2, 2009

To open a new window by clicking on the link, you will need to use window.open method of javascript. Simple popup window <a href=”javascript: void(0)” onclick=”window.open(‘popup.html’, ‘windowname1’, ‘width=200, height=77’); return false;”>Click here for simple popup window</a> Now you can open a simple window, also this function can have different features…

Continue Reading

Test php mail function on your server

Rumi, October 18, 2008

A handy code to test PHP mail functions on your server!

Continue Reading
  • Previous
  • 1
  • …
  • 5
  • 6
  • 7
  • Next

Myself…

Hi, I am Hasan T. Emdad Rumi, an IT Project Manager & Consultant, Virtualization & Cloud Computing and Public Key Infrastructure Savvy from Dhaka, Bangladesh. I have prior experience in managing numerous local and international projects in the area of Telco VAS & NMC, National Data Center & Naitonal PKI Root and Enterprise CA Infrastructure. Also engaged with several Offshore Software Development Team.

Worked with Orascom Telecom-Banglalink, Network Elites as VAS partner, BTRC, BTT (Turkey) , Mango Teleservices Limited and Access to Informaiton (A2I-UNDP) and at Oracle Corporation as Principal Technology Solution (Cloud) Architect.

And currently being employed at Huawei Technologies (Bangladesh) Ltd. as Advanced Business Development Lead (Cloud) in the south asia region.

You can reach me [h.t.emdad at gmail.com] and I will be delighted to exchange my views.

Tags

Apache Bind Cacti CentOS CentOS 6 CentOS 7 Debain Debian Debian 10 Debian 11 Debian 12 DKIM Docker icinga iptables Jitsi LAMP Letsencrypt Linux Munin MySQL Nagios Nextcloud NFS nginx Openfiler pfsense php Postfix Proxmox RDP Softether SSH SSL Ubuntu Ubuntu 16 Ubuntu 18 Ubuntu 20 Varnish virtualbox vpn Webmin Windows 10 XCP-NG zimbra

Topics

Recent Posts

  • Fix: https://download.docker.com/linux/debian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. November 6, 2026
  • minio/minio:RELEASE.2024-06-26T01-06-18Z dockerized edition (download) November 6, 2026
  • Bash script to upload files to minio object storage using curl November 6, 2026
  • Change Windows Time on Windows 2019 October 31, 2026
  • Bridge an existing vmbr2 to your VNet (The Layer-2 Patch) on Proxmox October 21, 2026
  • Creating ceph pool and create RBD storage in Proxmox 8 October 10, 2026
  • Backfired! September 6, 2026
  • ioncube installation on cloudpanel September 6, 2026
  • Randomize Source IP Addresses With Postfix August 19, 2026
  • Conversation of Trevor Noah and Ian Bremmer August 7, 2026

Archives

Top Posts & Pages

  • Fix: https://download.docker.com/linux/debian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
©2026 Bots! | WordPress Theme by SuperbThemes