A simple script to scan user cron jobs

Are you experiencing issues with unauthorized usage of your cron jobs and struggling to identify the responsible user? Don’t worry, I have a straightforward solution for you. I’ve developed a script that scans through your users’ cron jobs and sends you a detailed report via email. However, please note that this method requires root access. Let’s get started with the…

Read More »

How to change WHM VPS Optimized logo to WHM logo

This is a simple guide on how to change WHM VPS Optimized logo to WHM logo or other logo. This guide is using root access, please be careful with anything you do. Steps: [list] [*] Login via SSH to your VPS as root. [*] Goto “x” themes [code] cd /usr/local/cpanel/whostmgr/docroot/themes/x [/code] [*] Backup current logo [code] cp logo_vps.jpg logo_vps.jpg.backup [/code]…

Read More »

Windows Vista Ultimate 64 bit fresh install

This is a follow up to my previous post, Windows Vista Ultimate 64 bit crashed on fresh install. Now, I can install Windows Vista Ultimate 64 bit perfectly 🙂 This post can also serve as a guide on “How to slipstream SP1 to Windows Vista Ultimate 64 bit”. This is what I do: Download Windows Vista SP1 for 64 bit…

Read More »

WordPress Super Cache Issue

WP Super Cache is installed properly and you have followed the instruction in readme.txt file carefully, but it won’t cache 🙁 First of all, make sure you have followed the instruction carefully. Starting from “Installation” section to “Troubleshooting” provided by the readme.txt If the plugin still won’t cache, check your template specifically the footer section/file. Make sure there is a…

Read More »

Regular expression for validating email address

A simple regular expression (regex) for validating email address using PHP which I used mostly on my web apps. I love being a Web developer and it’s been a lot of fun — this is one of them [php]<?php function validateEmail($email) { if (ereg("^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@+([_a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]{2,200}\.[a-zA-Z]{2,6}$", $email)) { return true; } else { return false; } } ?>[/php] Usage: [php]<?php if (validateEmail($email))…

Read More »