$10k per month SaaS Membership Challenge

Time for a new challenge...

The goal is simple: $10k per month in NEW monthly recurring revenue via SaaS Membership sites in 6 months or less.

Why am I doing this: After 20 years of building online apps for others, it's time I make a few of my own!

And you get a front row seat to every "Ah Yeah" and "WTF just happened?!?!" moment...


Here's how it's going down...

1.) Revenue cannot be one time, it must be monthly recurring revenue from a new online service I create.

2.) I will post updates of my progress and what third party services/software I use, with follow ups, that way you know which to use and which to avoid!

3.) Bootstrappin it all the way homey! I will be doing all the code and design work. If I do hire someone to help, I will mention what they did and the cost.

4.) Comments for this challenge are in AMA (Ask Me Anything) style, so go ahead and ask me anything (challenge related of course)! The point of this challenge is to document my journey, AND also help out those who are stuck or building their SaaS / Membership sites too.

Here is a list of what I think I will be using...
(will update as it changes...)

Server / Code
Amazon EC2

Task Management
Trello (keeps me organized)

Webmaster Tools


PayPal (maybe, thinking I might stick to Stripe...)

Ready, set, go!

If you are up for the challenge, tell me about your project or feel free to ask me anything in the comments below and signup on the special $10k challenge email list, I will only send email updates when I post something new.

If you just want to follow along, that's cool too, go ahead and signup on the list using the form below!

You can also hit me up on twitter @cesarserna

That's it... nothing more to it but to get to it...

How to stop / start / restart Gearman Server

How to stop, start and restart Gearman server via command line took me a bit to find, so I figured I would post it for future reference...

First, know the path to gearmand and gearadmin, on my server it is:

How to STOP Gearman Server

How to START Gearman Server

Note: If you are not using a database to queue Gearman worker jobs, that means all pending jobs are in memory, all pending jobs will be lost when you shutdown! If you do use a database, your pending jobs will be available upon restart and will not be lost.

Hope this helps!


How to integrate Kiip ads into Cocos2d

Here is a quick example of how to integrate Kiip rewards into your Cocos2d game.

If you have questions or updates, please post them in the comments below, thanks! ;)


Kiip Account: http://www.kiip.com/
Cocos2d: http://www.cocos2d-iphone.org/
Kiip SDK: http://docs.kiip.com/en/downloads/

1. Add #import <KiipSDK/KiipSDK.h>
2. Add KiipDelegate to the AppController interface

1. Add Kiip init code at the end of the didFinishLaunchingWithOptions method just above the return YES;

Note: You will need to get your "KEY" and "SECRET" from your Kiip dashboard.


1. Add #import <KiipSDK/KiipSDK.h>
2. Add <KiipDelegate> to interface


1. Added Kiip rewards call inside a CCMenuItem block call ( you would make your own method and triggers to call Kiip rewards )

That's it, if you have questions or comments, write them below!

How to Integrate AppLovin rewarded video ads into Cocos2d

Here is a quick basic example of how to start showing rewarded video ads from AppLovin using Cocos2d 2.x.

NOTE: This is just a base template, there are several bits to be improved like:
+ Handling auto load for next video
+ Handling prompting player after the video box is closed
+ Whatever you guys can think of...

Hope this helps gets you guys started with making some money using AppLovin in your apps.

If you do update the code, post it in the comments and I will update the code here, thanks!

+ AppLovin Account: https://www.applovin.com/developers
+ Cocos2d 2.x
+ AppLovin SDK 2.4.0





MySQL Cheat Sheet

While coding I tend to write or find great SQL scripts from around the web. Below will be a growing collection of SQL that I have found to be useful, time saving or hard to find. Mostly to save me from having to remember, search again for hours or dig through old bookmarks. If any of the scripts below help you out, leave me a comment or do the social sharing thing ;) thanks!

Delete Duplicates

Got a bunch of duplicates in a table that you want to clear out? Here is an easy way to do it...

Copy Table Data

Easy way to update a table from another another table.

Option #1 - If both tables have identical columns.

Option #2 - If tables do not have identical columns or you just some of the data.

Update Column With MD5 Hash

Easy way to update a column with a unique has based on existing row data.
NOTE: MD5 has been well documented as not being the most secure for encryption. Since this was used harmless unique hash and not to protect sensitive data, I used MD5. This ran in 1.5 seconds for 200k rows, much faster than looping via PHP.