Mindblown: a blog about philosophy.

  • How to Install PhantomJS in cPanel / WHM Server

    Here is what i did to install PhantomJS in cPanel / WHM ๐Ÿ™‚

  • Use DKIM Key With WHM, cPanel, Cloudflare

    DKIM is one of useful thing to make email which is sent by your domain to be avoided marked as spam. When you use cloudflare for that domain, there is some change that you need to do on the DKIM key. For example on your WHM (Edit DNS Zone) or cPanel (Email > Authentication), you […]

  • How to Append Date and Time to Log File in Linux

    If we want to get detailed log report, we can store multiple log files with date and time information on the file name ๐Ÿ™‚ We can do this command in Linux : your_command_here > /path_1/path_2/your_log_$(date +”%Y-%m-%d_%H-%M-%S”).txt

  • How to Delete Files in Directory in Linux

    If you want to delete files within a directory in Linux, you can use this simple command rm -f /your/directory/* If you want to delete files and directories recursively within a directory in Linux, you can use this command instead ๐Ÿ™‚ rm -rf /your/directory/*

  • Empty a File Using Linux Command

    Today i received an e-mail notification from cpanel that a partition in my server is almost full. First i checked largest directories / files using this command : du -h –max-depth=1 /some/path Then i noticed that they were some log files which took space in my partition ๐Ÿ™‚

  • How to Remove Directory and Subdirectories Recursively in Linux

    Sometimes there is occasion where deleting files from Cpanel takes a very long time to finish. For example because there are too many files under a directory. In this situation we can use SSH to delete a directory and all files and subdirectories under that directory. We can use the command below. But be careful, […]

  • PremiumPress – Coupon Theme Review

    I purchased the VIP Club membership in PremiumPress, so i have access to all of their themes. Initially i was interested with their Auction Theme, which i need for my project. But i saw that their other themes looked good too, so i bought the bundle package. Now i will review their coupon theme. As […]

  • How to Redirect a Directory Using Htaccess

    There is occassion where you want to do a silent redirect (not a 301 redirect) from a directory to another directory. Doing silent redirect will make browser to assume that this redirection is a brand new URL, not like 301 redirect which tells browser to open (redirected to) another URL. We can use htaccess to […]

  • Redirect Single URL with Htaccess

    Sometimes you want to change some of your URL. For example you renamed your old html file. Or you have removed some of your old files and you want to redirect them to a new URL. But maybe other websites have linked to your old URL. You can’t contact them to change the URL, or […]

  • Integrate reCAPTCHA v2 Into Pligg

    Pligg supports some CAPTCHA, including Solve Media, and old reCAPTCHA. Now i will write how to use reCAPTCHA v2 (click captcha) into Pligg. First, you must get Google reCAPTCHA keys. Second, open your Pligg admin, set the site & secret key under “CAPTCHA” sub menu and click “configure” next to reCAPTCHA.

Got any book recommendations?