Latest Posts
-
Bitmex PHP API Example
Read more: Bitmex PHP API ExampleIf you are looking for bitmex API example using PHP, you can use this code ๐ https://github.com/xrvel/xrvel-bitmex-api-php
-
Fix WordPress Cloudflare HTTPS Redirect Loop
Read more: Fix WordPress Cloudflare HTTPS Redirect LoopIf you use Cloudflare flexible SSL certificate to use HTTPS, in some case you may get redirect loop. I believe it is caused because WordPress does not recognize the “fake” SSL certificate. Fixing it is simple. Open your wp-config.php file, and find this first line <?php
-
Find String in Files in Linux
To find some string within files in Linux, you can use this command grep -rnw ‘/your/path/’ -e “find this string” -r means recursive -n means line number -w means match the whole word ๐
Categories :ServerRead more: Find String in Files in Linux -
How to Install PhantomJS in cPanel / WHM Server
Read more: How to Install PhantomJS in cPanel / WHM ServerHere 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 […]
Categories :ServerRead more: Use DKIM Key With WHM, cPanel, Cloudflare -
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
Categories :ServerRead more: How to Append Date and Time to Log File in Linux -
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/*
Categories :ServerRead more: How to Delete Files in Directory in Linux -
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 ๐
Categories :ServerRead more: Empty a File Using Linux Command -
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, […]
Categories :ServerRead more: How to Remove Directory and Subdirectories Recursively in Linux -
PremiumPress – Coupon Theme Review
Read more: PremiumPress – Coupon Theme ReviewI 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 […]