Do they belong to you? Claim these comments.
Bill
Is this you? Claim Profile »
1 year ago
in 10 Awesome Things About Dungeons & Dragons on Laughing Squid
this is a funny collection of points - one of my fondest memories of D&D is when our DM let us mix and match any race for our characters and someone had a Yuan-ti/Drow mix. It had the ability to transmorgify things using a latent psionic ability. However, because he was a half-breed Yuan-ti it was very random and he could only really master changing things into one form - Bologna.
So, once we were getting our butts kicked by a troll and he tried to change it into Bologna - he hit a 1 on a d100 for success and bam we had trollic bologna.
We never went hungry again - my kender kept the bologna in his bag and would slice it up all the time for bait and dinner. It was troublesome a few years later though when he mixed it up with some manticore bologna.
So, once we were getting our butts kicked by a troll and he tried to change it into Bologna - he hit a 1 on a d100 for success and bam we had trollic bologna.
We never went hungry again - my kender kept the bologna in his bag and would slice it up all the time for bait and dinner. It was troublesome a few years later though when he mixed it up with some manticore bologna.
3 years ago
in Your SQL tool on Eddie Awad’s Blog
I use PL/SQL Developer. It is fantastic for development use.
4 years ago
in AutoLinker (by request) for WordPress on Huddled Masses
Joel,
I was having a small problem with the autolinker when the target word ended up somewhere as a link parameter (specifically when linking to a firefox plugin).
So I updated the "default" regex to this:
$text = preg_replace("'(?!]*?>)'si" , "$1$match$2" , $text);
and it seems to be working perfectly now no matter where the word pops up inside any html tag.
Here is an example of a url that was breaking:
https://addons.update.mozilla.org/extensions/mo...
it broke while doing an autolink on the word "firefox"
thanks for the handy plugin.
I was having a small problem with the autolinker when the target word ended up somewhere as a link parameter (specifically when linking to a firefox plugin).
So I updated the "default" regex to this:
$text = preg_replace("'(?!]*?>)'si" , "$1$match$2" , $text);
and it seems to be working perfectly now no matter where the word pops up inside any html tag.
Here is an example of a url that was breaking:
https://addons.update.mozilla.org/extensions/mo...
it broke while doing an autolink on the word "firefox"
thanks for the handy plugin.
4 years ago
in HuddledParser 2.0 on Huddled Masses
Joel, one more thing - to guarantee uniqueness on your saved cache file name you can try this:
$cacheName = $this->cacheFolder . '/xmlcache_' . md5($url);
using the md5 hash on the url will pretty much guarantee that you get a unique file name for each cached feed.
$cacheName = $this->cacheFolder . '/xmlcache_' . md5($url);
using the md5 hash on the url will pretty much guarantee that you get a unique file name for each cached feed.
4 years ago
in HuddledParser 2.0 on Huddled Masses
Joel, I would suggest you use fsocket instead of fopen - just because fsocket supports a connection timeout to the remote url. This way if a feed is unavailable you can handle it.
Other than that it sounds like a nice little package. I will have to download it and see if it will suit my needs better than the current parser I use, lastRSS (which also uses fopen but is easilly modified to use fsocket).
Other than that it sounds like a nice little package. I will have to download it and see if it will suit my needs better than the current parser I use, lastRSS (which also uses fopen but is easilly modified to use fsocket).