Fighting against an issue with the sendmail queue getting filled with junk I needed a way to delete a folder full of messages, and there…
Fighting against an issue with the sendmail queue getting filled with junk I needed a way to delete a folder full of messages, and there…
Found this one on Stack Overflow needing a quick and easy way to create somewhat random strings. If you visit the entire thread where this…
As a follow up to an earlier post on double braces in Java, came up with a short, but ugly way of filling an ArrayList…
This is one of those that I never remember, but use a lot whenever I want to pull an entire file into a String quickly.…
Not sure why, but it looks like sorting on last name and first name is not built into the WordPress get_users method. Seems like it…
For a project I’ve been working on I needed to use preg_match quite a bit. But I got really tired of having to punch in…
Came across this the other day on Stack Overflow. Turns out there is a way to one line create an ArrayList and fill it all…
If you’ve got a robots.txt file and an XML sitemap, add the following line to robots.txt so that search engine spiders will pick up your…
Quick little snippet to redirect your visitors to another page after they leave a comment. Normally after leaving a comment in WordPress you’re sent back…