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

Daily Shell Backup Script

Rumi, April 19, 2013

#!/bin/sh DAY=`/bin/date +%Y%m%d` TFILE="/var/log/pdns-cache/$(basename $0).$DAY.csv" rec_control dump-cache $TFILE echo "cache dump completed, dump script by rumi (hasan.emdad@mango.com.bd)"

Continue Reading

PHP-RRDTool installation on CentOS 5

Rumi, January 13, 2013January 13, 2013

Step-1 Adding Yum Repository Add the Reporforge repository. Then- Yum install php-rrdtool Alternatively, you can download the rpm from http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/php-rrdtool-1.4.4-1.el5.rf.i386.rpm

Continue Reading

Nagios- Memory Check Plugin

Rumi, January 6, 2013January 6, 2013

Dave the below code as check_mem.sh using nano and chmod it to +x. (file to be saved inside nagios libexec- such as /usr/local/nagios/libexec/check_mem.sh

Continue Reading

Contact Form Maker or Creator for aspx

Rumi, December 2, 2011

An interesting link and a pretty useful one if you're using Microsoft Expression base- http://www.ctrfx.com/form/default.aspx

Continue Reading

Tweaking Afterlogic Webmail Pro 6

Rumi, November 6, 2011

Removed the default footer texts and added up usermin module like this 😉 in inc.footer.php file- <!– Powered by <a href="http://www.afterlogic.com/products/webmail-pro" target="_blank"> AfterLogic WebMail Pro</a><br /> Copyright &copy; 2002-2010 <a href="http://www.afterlogic.com" target="_blank">AfterLogic Corporation</a> –> <?php $domain= $_SERVER['SERVER_NAME']; echo ":: CLICK BELOW LINK TO :: <BR /> <a href= https://$domain:20000>Change Password…

Continue Reading

Redirect site using a .htaccess file

Rumi, November 6, 2011

Instructions Create an empty text file using a text editor such as notepad, and save it as htaccess.txt. Edit the contents of the file. Check the following examples:  Point an entire site to a different URL, such as domain.net redirected to domain.com: # This allows you to redirect your entire…

Continue Reading

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
  • Previous
  • 1
  • …
  • 4
  • 5
  • 6
  • 7
  • Next

Myself…

Hi, I am Hasan T. Emdad Rumi, an IT Project Manager & Consultant, Virtualization & Cloud Savvyfrom Dhaka, Bangladesh. I have prior experience in managing numerous local and international projects in the area of Telco VAS & NMC, National Data Center & PKI Naitonal Root and 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)

Currently working at Oracle Corporation as Principal Technology Solution and Cloud Architect.

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

  • KVM Cloud Capacity Planning Script (Enhanced) February 20, 2026
  • Youtube MP3 Downloader Script using AI February 14, 2026
  • Install Softether VPN and create a Destination NAT (D-NAT) Rule to access the private Client VPN Node on a Debian 12 OS February 14, 2026
  • Deploying Pulse Monitoring for Proxmox Cluster Ecosystem February 13, 2026
  • Technitium DNS Web UI Configuration for Primary-Secondary Name Servers February 12, 2026
  • Technitium DNS with Primary-Slave Installation on Debian February 12, 2026
  • Install Docker and Docker Compose in Debian 12 February 5, 2026
  • Install GUI on Debian 12 using CLI February 4, 2026
  • Configuring Multiple PHP Versions on Virtualmin January 30, 2026
  • Deploy a Container TIG (Telegraf, InfluxDB and Grafana) Stack January 24, 2026

Archives

Top Posts & Pages

  • KVM Cloud Capacity Planning Script (Enhanced)
©2026 Bots! | WordPress Theme by SuperbThemes