Wanted to add a search field to my homepage site. Got a great start referencing this article https://wedevs.com/133739/add-search-bar-in-wordpress/ Scroll down to the manual section to see what i referenced Oops!!! When I perform a search, The search bar shows up twice. Good thing wordpress api has a “is_search” method to[…]
Centos: Init.d, turn mysqld off and stop it from initializing at startup
I have a docker container running on this machine that requires alot of resources. I wanted to see if there were any unnecessary processes that were running that didn’t need to be on. Mysql was one of them. To turn off all levels: We good Just in case you turn[…]
Breakpoints vs Tracing when debugging
In the instance of debugging a for-loop, Imagine a situation where you specifically wanted to debug the fourth time it gets hit. To accomplish this, one would have to write a condition that states that if the loop is on its fourth iteration, die($info). In the example above, a simple[…]