i\know\me
Posts
Projects
Regex Search in value
Use MongoDB to find a regex term inside field values.
<?php
MyClass
::
find
([
'thanks.for'
=>
[
'$regex'
=>
"/*understanding*"
] ]);
mongodb
regex
Hard reboot of Server
You never want to do it, you should never need to, but sweet mary when you have to, beware of hangs.
Killing Linux programmes by name
You're forking about with PHP - way to go! Then it spawns itself because of a bad dev script and you need to kill it in a jiffy.