Automation with Git Hooks

Automation with Git Hooks – http://pulse.me/s/aKuvR

Advertisements

African Tech News Tidbits – Week of June 28th 2012

EthiopiaTecno-T3 Ethiopia's first local cellphone
Tecno-T3 Ethiopia’s first local smartphone

As some of you may already know, last week’s edition of the Coders4Africa Radio show was cancelled due to a quite ironic power outage at the studio in Maryland but everything is back on track so make sure to tune in this Sunday July 1st at 1:00PM Eastern, 17:00 GMT for the show, hosted by myself. We will be talking to the founders of Coders4Africa, as well as some members from around the continent. And don’t worry we will be done in time to watch the Euro 2012 final . Now for what’s interesting in African Tech this week:

See you all next week for more tidbits, oh and don’t forget to tune in for the show! Sunday July 1st 2012 at 1:00PM Eastern 17:00GMT.

CakePHP: Permission denied error when trying to execute cake console command

I run both CakePHP 1.3 and 2.0 for my side projects and wanted to be able to use both console executables in my Ubuntu 11.10 dev box; I set up my aliases in my .bashrc file to point for:

Cake 1.3: alias cake=”<CAKE_FOLDER>/cake/console/cake”

Cake 2.1: alias cake2=”<CAKE_2_1_FOLDER>/app/Console/cake2″

and added the paths to the console folders where the scripts actually reside to my global PATH variable:

PATH=”<CAKE_FOLDER>/cake/console:$PATH”

PATH=”<CAKE_2_1_FOLDER>/app/Console:$PATH”

Since both Cake 1.3 and 2.1 console commands are called cake, i renamed the Cake 2 version to cake2 and gave it executable permissions:

mv cake cake2

chmod 755 cake2

So i tried running both command but kept getting a: “Permission Denied” error. I googled around and everybody else got their problem solved by either chmoding the cake script to either 755 or 777, or any of the containing folders in the script path. If you are running into this issue, first ensure that any folder in the path to the cake script has 755 permissions and that the cake script itself is 755. Mine was all halal but it was still no dice! I couldn’t execute and was still getting this permission denied issue. So i went back to Google and expanded my search outside the CakePHP fold and into permissions error in general when executing scripts and bang! I encountered a question on SO related to a similar issue that put me on the right track. My code resides on an extended partition that i mounted using the “users,user” option, and apparently doing it that way sets the “noexec” option as well which prevents the execution of binaries on the mounted partition. That was the source of my error, I edited my /etc/fstab file and added the “exec” option to the mount options. unmounted and remounted and bingo! I was in business. If you have exhausted all other possibilities, I bet this is what your issue is related to so give it a shot and make sure to comment for others if you come up with another solutions.

African Tech News Tidbits: Week of June 20th 2012

Smart vs Feature Phone
Smart vs Feature Phone

This week’s African tech news are again full of interesting tidbits. Don’t forget to join me on Sunday June 24th for the first edition of Technofrique on Coders4Africa Radio. I will be presenting the Coders4Africa founding team as well as some of the members from around the continent.

We end this week’s list with this quote from Mr Mobile: “The company who can build a first world Smartphone for a third world mobile network will get the next billion users.”

African Tech News Tidbits – Week of June 13th 2012

Austin Okere
Austin Okere

Here are your African Tech News Tidbits for this week. You can follow them on Twitter using #atntidbits and you will soon find them in Audio version on the Coders4AfricaRadio show starting June 24th 2012.

That is all for this week. See you next Wednesday and don’t forget about the upcoming Coders4Africa Radio show coming June 24th 2012.