Number 5 of the 12 PCI compliance steps in the SAQ D is to “Use and regularly update anti-virus software or programs.” We all know that this *really* isn’t needed – but it’s in the PCI compliance requirements – so here’s an easy way to do it. Install ClamAV: sudo apt-get install clamav And then [...]
I was recently debugging an issue with Codeigniter Payments and HMVC. The issue was that config files were not being loaded if they were deeply nested – for example: config/payments/my_gateway.php The MX_Config path explodes the filepath provided on forward slashes, so if you do anything other than this->load->config(‘whatever’), the file you want won’t get loaded, [...]
I lived in a little village on the black sea for about 3 months in 2010, staying with a wonderful couple whom I had the great fortune of befriending. The village was at one time an old Soviet military base that while still somewhat active (though controlled by the Ukranian government now), is now pretty [...]
I spent about a year in Hawaii when I was 18/19. Lots of fun times, with a couple life changing experiences mixed in with some time that otherwise went by way too quickly. One of those I felt like recounting today. The Chicken Story In Hawaii, there are chickens everywhere. The locals told me that [...]
I’m headed to Brooklyn Beta tomorrow in New York City. For those of you who haven’t heard of Brooklyn Beta, it’s advertised as the hippest conference for creators – the people responsible for building all the cool web toys that many of us take for granted. This year, it sold out within 4 minutes of [...]
I’ve been compiling PHP from source lately. Some common baseline options I’m using: sudo ./configure –with-mysql –with-apxs2=/usr/sbin/apxs –with-mcrypt=/usr/local/src/php-5.3.8/ext/mcrypt –with-config-file-path=/etc –with-openssl In my local dev environment, I place all my language source files in /usr/local/src (ie php 5.3.8) and then symlink any needed command line features. For example /bin/php would symlink to /usr/local/src/sapi/cli. That way, If [...]
Posted in PHP, Programming |
I recently posted my goals not only for the rest of the year, but for a long time in advance. A big part of reaching your goals is tracing the steps you need to take to get there. Goals for the rest of the year (mid-range goals) are supposed to support your goals for the [...]
I hooked my new Acer S232HL widescreen monitor up to my Macbook pro using mini-dvi to HDMI and was getting some pretty crazy screen flicker. I fixed this by changing the display settings from 1080i to 1080p. The display looks great now = ) Hope this helps someone!
Continuing my “Do it Yourself” exploratory programming trend, I took one look at the CampaignMonitor SDK today and decided I’d write my own. Their API is RESTful, well documented, and easy to work with, so why not? Here is the final product: https://github.com/calvinfroedge/FuelPHP—CampaignMonitor-API-Package What I like about this API wrapper is the simplicity, and specifying [...]
The thought of making a wordpress theme and requiring users to install plugins needed to make it work sounds pretty sucky. The thought of taking plugins and hardcoding them into my theme sounds even suckier. …And I hate things that suck. So here is how you can automatically install wordpress plugins when your theme loads: [...]
Posted in PHP, Wordpress |