Custom RegEx Search For Huge C Projects

Have you ever worked on a C project so huge that searching for something can yield multiple results, some of which aren’t relevant at all? The Kernel source code is one such example, but many others exist when not all files get compiled… Today’s sample aims to simplify these RE searches and save you time! Keep on Reading!

How To Modify A WordPress Theme Widget

Modifying to your WordPress theme is important to get your website just the way you want it to be. To do this, it’s ever so important to create a child theme to preserve your adjustments, but this safeguard only goes so far… As widgets are not covered, I’m here show how to safely modify them! Keep on Reading!

Dealing With Shared Memory In C

Dealing With Shared Memory In C

With race conditions involved, safely sharing memory between processes or threads requires some attention to detail. In order to address memory mapping, semaphores, mutexes, and processes/threads creation, this sample is in fact two go-to source codes that highlight the right way to deal with these concepts! Keep on Reading!

Simple Perl File Parsing Example

Simple Perl File Parsing Example

Logs with too much information, poorly structured code… Every developer has, at some point, wanted to automate data extraction or even adjust code formatting. Here, I provide a simple Perl file parsing example: you’ll just have to worry about the analysis itself. As a bonus, the parser is multiline and configurable! Keep on Reading!