How to update WordPress to 5.0 (manual & automatic)

Today WordPress version 5.0 has been released as a major release update. WordPress 5.0 has a code name “Bebo”. In this tutorial, you will learn how to update your wordpress installation from any previous version to the 5.0. First of all we will see how to do this automatically, and then we will also discuss […]

How to download iOS ipsw directly

Recently I encountered the famous bug of iOS 12 beta update which all beta tester developers faced. The bug was that the iOS keeps asking you to update your software version to newer beta release (beta 12 as of writing this post) repeatedly. Issues was, I was in africa and didn’t have a stable internet […]

VirtualMin WordPress Nginx Permalinks 404 [Solved]

On default virtualmin install with LEMP, running nginx, the permalinks for WordPress don’t work properly and give a 404 error. This article explains how to fix this issue. Why WordPress permalinks show 404 in virtualmin fresh install? The reason is nginx configuration file. The configuration for wordpress needs some extra lines of code and logic […]

How to keep macbook running on lid down

Yesterday mac os 10.14, mojave, developer beta was released. And obviously I wanted to use it as soon as possible so I set it to download at night. However, I wasn’t comfortable in letting it run with lid open (due to personal reasons), so I decided to tweak my mac to run with lid down, […]

Fix ‘Access-Control-Allow-Origin’ missing

Scenario:  I was trying to setup amazon origin push cdn cache using s3 and cloudfront via w3 total cache plugin. Things went well except for a font file not being properly delivered by the cdn, instead giving the error: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://–domain– (Reason: CORS […]

SlideUp & SlideDown an Element using CSS

As time progresses, CSS is becoming more and more powerful with features which once required extensive javascript coding or jquery plugins. One such feature is the slide up or slide down of any element on your page. For a simple slideup or slidedown (while making the element visible or hidden), we can use a simple […]

How to use CommonCrypto for HMAC in Swift 4

After numerous hours trying to understand how CommonCrypto works with xCode and how to use it to generate a hmac hash, I finally made it work! In this tutorial you will see how to: What is CommonCrypto library and why to use it How to include CommonCrypto (and CommonHMAC) in your xcode project How to […]

hmac_sha512 to jsSHA

A quick conversion of hmac_sha512 of php to a javascript library based jsSHA. e.g. if we had the php code: <?php $sign = hash_hmac(‘sha512’, $post_data, $secret); echo $sign; This can be converted to the jsSHA based javascript code like this: var shaObj = new jsSHA(“SHA-512”, “TEXT”); shaObj.setHMACKey(secret, “TEXT”); shaObj.update(post_data); var hmac = shaObj.getHMAC(“HEX”); I hope […]

WhatsApp not working

Today WhatsApp is down almost all over the world. There are complains from various countries and regions that whatsapp isn’t working for them. Why is WhatsApp Down? There is no announcement on whatsapp official blog or twitter account as to why whatsapp server is down. Nor did they mention and prior notice for downtime or […]

Godaddy domain renewal discount 25%

I just renewed by 3 domains that were expirion this week on Godaddy and got 25% discount on them. Two of them were .com and one was How did I get it? Well it’s quite simple, I opened the chat now at shopping cart page and asked the support guy to add a discount […]