Startup Watch – ItStarts.In

ItStarts.In

Overview:

ItStarts is a twitter tool that allows you to schedule tweets to count down the number of days until the next big thing (vacation, promotions, deals, ball games, weddings, etc) or send a tweet every few days about random subjects. We want to make it easier for you to get your message across on a regular basis.

This tool can be used in a variety of ways to get your message across. Businesses can use it to countdown the days until a promotion starts and/or expires. You can use it to countdown the days to Christmas. It can even be used to send out a scheduled tweet promoting your favorite charity every few days. The options are endless.

For example, leading up to the NCAA Tournament, I used the service to send the following every few days.

“Time for the NCAA Tourney to return to the @BILOCenter in Greenville, SC.”

On a more playful note, I am tweeting the number of days until a specific event, say “Clemson/Carolina”.

“262 days until Clemson seeks revenge against South Carolina during rivalry week!”

I have also used it to promote a few conferences that I have attended or interested in. The great thing is that I don’t have to remember daily to send a tweet about a certain topic. ItStarts will do it for me.

Website:

http://itstarts.in

Cost:

The service is currently free.

Startup Watch

Being in the world of Startups, you are constantly looking for ways to market your websites with out being to spammy and to grow your brand and reach. So I decided to start a new series here called Startup Watch. I figure this would be a good way to introduce our latest startup and hopefully help others do the same.

We’ll discuss the new startup, primarily the service being provided, and hopefully generate some traffic to help your startup grow. Who knows, you might get great ideas in the comments!

If you want to get notified the next time we publish Startup Watch, make sure you sign up using the form on the right. And if you want to be featured on Startup Watch, give me a shout.

More Coda SVN and OS X 10.7.3 Issues

Apparently when I updated my laptop back at the end of 2011, I didn’t take the time to record how to or update my desktop to get past a few issues with Coda, SVN, and OS X 10.7.3.

Today, while working on my desktop, I started having issues with file to file comparisons using FileMerge and Coda. When trying to perform the comparison, nothing happened.

I immediately remembered from my earlier instance that I needed to manually download the OS X Lion Combo Update for 10.7.3 and update  developer tools. This is where I ran into my new problems. My problem wasn’t fixed. I later discovered my laptop is running Xcode 4.2 where as my desktop is running 4.3.1.

Xcode 4.3.1 was modified to be updated from the App Store, removing the package installer and treating it as a full app in your Applications folder. This change inheritantly changed the file location and broke all references to Xcode.

After a little bit of research through the Google Groups, I looked to see what my Xcode path was, running the following command:

xcode-select -print-path
~ xcode-select: Error: No Xcode folder is set. Run xcode-select -switch <xcode_folder_path> to set the path to the Xcode folder.

To set the path, I ran the following :

sudo xcode-select -switch /Applications/Xcode.app

After running this command, I restarted Coda and tried to perform my comparison. It worked successfully. Hopefully this helps you.

Limiting CakePHP Pagination Results

While working on a MediaLeaf project, I ran into an issue with pagination and associations.

Apparently, when you add a fourth association, the default pagination changes to the associated recursive functions. To get just one association that is needed, I had to to return all associations. Needleess to say, this is very cumbersome.

After tinkering for a bit, trying unbindModel, bindModel, and various recursive functions, I discovered the containable behavior. Contain is beautiful. You can modify your associations on the fly and return just the associated data you want.

Here’s how:

// use this to modify your model to be containable on the fly.
$this->Post->Behaviors->attach('Containable');

// only return the post data
$this->Post->contain();

// return tags data with your post
$this->Post->contain("Tag");

This stuff is great. Unfortunately, you have to take it a step further to use it with pagination. Contain has to be added to the pagination array (Hat Tip: Richard @ Home).

// use this to modify your model to be containable on the fly.
$this->Post->Behaviors->attach('Containable');

// now contain your pagination results
$this->paginate = array('order' => array('article_date desc'),
                        'limit' => 3,
                        'contain' => array("Tag"));

Give it a try and hopefully this helps you out.

CODA: SVN Invalid Server Certificate

I was doing some general maintenance on my laptop over the last day, primarily updating the operating system to OS X 10.7, Lion.

Upon the install, I opened up Coda to do some development work and I kept on getting “invalid server certificate” errors when trying to connect to my svn repositories. After a quick search, I found a quick method to fix this problem. I guess we will see how long that lasts.

The resolution is a quick terminal command that provides a method to accept the certificate and continue development.

svn list https://www.example.com/svn/

Replace the url above the with url to your repository and you will be ready to go. Restart Coda before trying to reestablish your connections.

Hat Tip: Dave Blencowe