Author Archives: Calvin Froedge

PCI Compliance Step 5 – Adding Automated Virus Scanning to Your Ubuntu Server

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 [...]

Posted in PCI Compliance, Programming | 2 Comments

Getting HMVC to play nicely with deeply nested config files in Sparks

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, [...]

Posted in CodeIgniter, PHP, Programming | 2 Comments

Дом Водка – My Last Night on the Black Sea

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 [...]

Posted in Adventure, Travel | 1 Comment

Good Charity, Bad Charity – The Chicken Story and How it Changed My Life

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 [...]

Posted in Abstract, Philosophy | Leave a comment

What I’m Hoping to Get From Brooklyn Beta

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 [...]

Posted in Conferences, Goals | Leave a comment

Common PHP Compile Configuration Options

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 | Leave a comment

Goals for the Coming Week

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 [...]

Posted in Career, Goals, Health, Self Improvement | Leave a comment

How I fixed screen flicker on Acer S232HL widescreen – Macbook Pro

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!

Posted in Hardware | 2 Comments

FuelPHP Package for Working with Campaign Monitor API

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 [...]

Posted in FuelPHP, PHP, Programming | 3 Comments

Automatically Install WordPress Plugins when Your Theme is Installed

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 | 2 Comments