Author: utkarsh

  • Decrease repository clone time in CI / CD

    When using CI / CD to sync to repository from dev to build repository, sometime the build repo size is huge. First step is to reduce build repo size, If it doesn’t contain useful history you can clean up commits in it. GitLab has an article about how to do so. But if you just…

  • Adding attachment meta fields in WordPress

    WordPress adding attachment meta.

  • Fix Raspberry Pi 4 boot from SSD

    Fix Raspberry Pi 4 boot from SSD

    Hardware: RPI 4 – 4GB. SSD Case: – Orico 2.5″ USB 3.0 HDD Enclosure Case Micro HDMI to HDMI – BlueRigger High Speed Micro HDMI to HDMI (To debug issues) I followed guide provided in Somehow when I used Raspberry Pi image disk copier utility it did not work for me, I had to…

  • Setting Up Reliable WordPress Cron

    We all know wp-cron can be unreliable if left on default WordPress setting, WordPress’s behaviour on maybe I will run maybe not for wp-cron in a case of sites with less traffic. There are following solutions to solve this problem. All require to disable default WP cron. This will work for both single and multisite WordPress installation. Linux Crontab…

  • Backup WordPress site using Dropbox and wp-cli ?

    Backup WordPress site using Dropbox and wp-cli ?

    Here is how you can backup small site using wp-cli and dropbox. Go to: Create new app call it anything it’s gonna be your private app. Generated access token and save it somewhere in your locker 🙂 Download file and change directories path and DROPBOX_TOKEN sudo chmod +x Setup crontab with crontab -e…

  • WordPress Late Escaping but why!

    A post I wrote on late escaping.

  • Hello world!

    My name is Utkarsh Patel (same as domain name no cheating) and I am WordPress Engineer. I also like to play with servers (DevOps maybe?). This is my first blog. I’ve not decided to write a blog every x day or something which most people do. Mostly, Blog will be on WordPress, JavaScript and Stuff which I find…