Skip to content

Derrick.Blarg

  • Derrick.Blarg
  • Contact
Blog

https://derrick.blog/

Profile

https://derrick.blog/author/emrikol/

  • How To Restrict User to Self Posts in WordPress

    To secure our private site while using a third-party WordPress REST API integration, I restricted the plugin user to its own posts with user_has_cap and allowed access to its revisions. I also used posts_results to mark non-qualifying posts as private. Here’s a sample implementation for similar needs.

  • Setting up Pibooth in 2024

    Let’s go on an Open Source adventure to build a photo booth!

  • Silly Ideas: Cache WordPress Excerpts

    Let’s explore dumb ideas around caching parts of WordPress we shouldn’t.

  • Garbage Sysadmin: Easily Make CIFS Mounts

    Automating your CIFS mounts: the perfect mix of efficiency and potential chaos.

  • WordPress Performance: Caching Navigation Menus

    Accelerate your WordPress site by caching wp_nav_menu().

  • BUTTS

    echo $(echo 66 85 84 84 83 | awk ‘{for(i=1;i<=NF;i++) printf “%c”, $i}’)

  • Bash Script: Calculate before/after 2: Calculate Harder

    I’ve updated my script to test URL performance during changes, measuring the Time to First Byte (TTFB). The script now records initial and subsequent TTFB to determine update impact, displaying percentage change—a helpful tool for reporting.

  • Code Sweep: A Simple Approach to a Neater WordPress User List

    Learn how to efficiently manage WordPress users by using a PHP snippet to add a ‘Comments’ count column, helping you easily identify and remove spam accounts.

  • Matrix Reimagined: Crafting Digital Rain with Bash and ChatGPT

    Exploring the creation of a Matrix Digital Rain effect in the terminal using ChatGPT-4, this post delves into coding a unique bash-based version, complete with Japanese Katakana and extended ASCII characters.

Previous Page
1 2 3 4 5 … 13
Next Page
Derrick.Blarg

Derrick.Blarg

Just another WordPress blarg

  • Derrick.Blarg
  • Contact

Twenty Twenty-Twenty Twenty?

Designed with WordPress

Close

Ad-Blocker Not Detected 🛑

Consider installing a browser extension that blocks ads and other malicious scripts in your browser to protect your privacy and security, conserve your expensive data plan, and cut your online carbon footprint. Learn more.