tag:blogger.com,1999:blog-27377216758585309892024-02-08T09:45:28.301-05:00Go Go Gadget... Donovan...Donovan Jimenezhttp://www.blogger.com/profile/09433780335570254091noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-2737721675858530989.post-89895890886615526142013-02-13T01:14:00.000-05:002013-02-13T01:14:05.474-05:00APC QuirksI recently experienced some head scratching behavior from PHP's APC extension that I thought it'd be good to document. Mostly, because it isn't actually buggy behavior, just unexpected, until you've dived into the settings involved.<br>
<a href="http://blog.donovan-jimenez.com/2013/02/apc-quirks.html#more">Read more »</a>Donovan Jimenezhttp://www.blogger.com/profile/09433780335570254091noreply@blogger.com0tag:blogger.com,1999:blog-2737721675858530989.post-11713135865877140012012-09-20T00:11:00.004-04:002012-09-20T21:14:17.989-04:00XKCD 1110 as a Google MapA lot of people stitched together the source images from <a href="http://xkcd.com/1110/" target="_blank">today's XKCD cartoon</a>, but I really wanted to see it as a custom tile map so that I could zoom around to see all the interesting pieces. The end result can be seen here:<br>
<div>
<br>
<div style="text-align: center;">
<a href="http://s3.donovan-jimenez.com/xkcd-1110.html#7/1041.3359375/1035.19140625" target="_blank"><span style="font-size: x-large;">XKCD 1110 Map</span></a></div>
<br></div>
<div>
</div>
<div>
<br>
<div>
<br>
</div></div><a href="http://blog.donovan-jimenez.com/2012/09/xkcd-1110-as-custom-google-map.html#more">Read more »</a>Donovan Jimenezhttp://www.blogger.com/profile/09433780335570254091noreply@blogger.com0tag:blogger.com,1999:blog-2737721675858530989.post-30028259727054535612012-07-09T01:20:00.000-04:002012-10-01T13:47:50.210-04:00CloudFlare Page Rules Being BypassedRecently, I noticed from my origin server logs that some of the rewrite rules I had setup for my domain in CloudFlare were being bypassed. My origin server has the exact same rewrite rules configured, so traffic was directed fine, but the fact that it was happening troubled me. So I set out to investigate why...<br>
<br>
<a href="http://blog.donovan-jimenez.com/2012/07/cloudflare-page-rules-being-bypassed.html#more">Read more »</a>Donovan Jimenezhttp://www.blogger.com/profile/09433780335570254091noreply@blogger.com0tag:blogger.com,1999:blog-2737721675858530989.post-79398500807876626222012-04-04T01:33:00.000-04:002012-12-14T15:18:01.000-05:00CloudFlare's direct-connect CNAME FuIf you're using CloudFlare's CDN service, you may be surprised that certain types of common DNS configurations will create a well-known DNS record - direct-connect.[your domain]. This can make it easy for attackers to find your origin server's IP address and bypass the protection offered by CloudFlare. Fortunately, its not hard to correct as long as you understand what triggers its creation.<br>
<a href="http://blog.donovan-jimenez.com/2012/04/cloudflares-direct-connect-cname-fu.html#more">Read more »</a>Donovan Jimenezhttp://www.blogger.com/profile/09433780335570254091noreply@blogger.com4tag:blogger.com,1999:blog-2737721675858530989.post-16281278718025838742011-02-01T19:38:00.112-05:002012-09-29T20:53:20.445-04:00Wrapping iconv in Go with cgoCurrently, the standard library of Go doesn't have much support for character encoding conversions. Ideally, support should be built out in pure Go which I'm sure will eventually happen. However, iconv functionality is available on most systems and Go has nice support for calling into C code. So I decided to create an iconv wrapper myself - both to fulfill a personal need I had as well as to get familiar with cgo usage. I made my work available on GitHub:<br>
<br>
<a href="https://github.com/djimenez/iconv-go" target="_blank">https://github.com/djimenez/iconv-go</a><br>
<br>
<div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
First, I'd like to acknowledge that this wrapper was not the first to exist. In fact, right on GitHub you can find <a href="https://github.com/oibore/go-iconv">https://github.com/oibore/go-iconv</a>. This probably worked fine, though I did not try it myself since I wanted to use my own project as an exercise for understanding cgo. So let's look at some points I learned.</div>
<a href="http://blog.donovan-jimenez.com/2011/02/wrapping-iconv-in-go-with-cgo.html#more">Read more »</a>Donovan Jimenezhttp://www.blogger.com/profile/09433780335570254091noreply@blogger.com0tag:blogger.com,1999:blog-2737721675858530989.post-39876044359758419432010-11-08T19:09:00.003-05:002012-04-04T01:39:15.986-04:00Adding a New Trusted Certificate on UbuntuHow to add a new trusted certificate to a Ubuntu system.<br>
<a href="http://blog.donovan-jimenez.com/2011/03/adding-new-trusted-certificate-on.html#more">Read more »</a>Donovan Jimenezhttp://www.blogger.com/profile/09433780335570254091noreply@blogger.com0