Menu Sidebar
Menu

dancameron

I'm on twitter @dancameron and this is my site so you'll want to read my about page too.

Code

Developers: Stop Blaming Your Users

If you’re a developer and release code to the public: own your mistakes don’t blame your users for them. — Dan Cameron (@dancameron) September 10, 2014 Someone on the Advanced WordPress Facebook group posted this about how he was frustrated how plugin updates were being handled by a certain developer. That arena is definitely not the […]

EDD Recurring Payments & Discounts: Solution

As a follow to my EDD Recurring Payments & Discounts: Proposal I’d like to share my solution. Let me set this up for you first. Here’s the pricing options for Sprout Invoices. Note: the customer pays the “Signup Fee” and the “Price” initially, I’ve written about a proposal to change this already. The discount is for 25% off […]

Add a NinjaDemo Form on External Domain

At Sprout Apps we’re going to be using the awesome NinjaDemo plugin but we wanted to allow for a demo to be created without directing them to the bland demo site running Twenty Twelve :). Here’s the solution I came up with: Add some AJAX handlers on the WPMU demo site running NinjaDemo. I wish […]

Javascript new Date() Formats and Offsets

Noticing that new Date( ‘July 17, 2014′ ).getTime() and new Date( ’07/17/2014′ ).getTime() will return two different values. The former will have the GMT offset attached while the later will not. I need to test if this has anything to do with the values of the first are from a string and the second is from a date […]

Contributing

My experience with contributing to WordPress core has been awful and after years of convincing myself it’s gotten better the results might be the same. Hopefully my feeling of discouragement changes because I really want to be involved.

Git Submodules with Detached HEAD

This week we at Sprout Venture migrated our largest project to git. Without going into detail about our process we ran into a problem with our superproject’s submodules initialized with detached HEADs; regardless if they’re added with the branch set. The .gitmodules file would properly show the branch, e.g. [submodule "wordpress"] path = wordpress url […]

gem install mysql – MySQL gem Not Installing

I was getting some strange error tonight when installing ruby for my redmine install. At first phusion was reporting this error no such file to load — mysql (MissingSourceFile) So i figured I needed the mysql gem, well that returned an error too: # gem install mysql Building native extensions. This could take a while… […]

Ubuntu + Webmin + Apache2 Errors

Setting up a new server on MediaTemple (ve) tonight and I was getting some errors with webmin and Ubuntu 8. Apache2 was running fine but I couldn’t get webmin to start/stop the service. The error I was getting was: “Failed to start apache” “etc/lsb-base-logging.sh: line 22: /dev/console: Permission denied” … The solution was simple: When […]

Older Posts

Dan Cameron

I build stuff with WordPress

I'm currently building Sprout Apps to help small businesses and freelancers running WordPress.