My journey to productivity Jan 14, 2013 Today marks two weeks of my journey trying new method to boost my productivity. For several years, I am an avid fan of procrastination which I am still now. This has bring me a lot of troubles such as projects are off-schedule, self development postponed, and working on assignments at the last minute. I have tried several productivity techniques and sadly say, none of them show significant effect. One of the popular technique that I used is Pomodoro technique. ...
No prefix support for mapResources in CakePHP 2.x Nov 28, 2012 REST API is relatively easy to implement if you are using web framework to build your application. In Rails, you just need to add single ‘resources’ entry in your routing file. In CakePHP, it has similar solution as you can read in the Cookbook. However, currently there is no prefix support in CakePHP 2.x and this is confirmed in these links : http://cakephp.lighthouseapp.com/projects/42648/tickets/968-rest-routes-with-prefix https://github.com/cakephp/cakephp/pull/763 This is a drawback because you are most likely will use prefix to build REST API. ...
Precise Pangolin Jul 31, 2012 After spending whole day moving all my data from Ubuntu partition, I am officially running Ubuntu 12.04 64 bit. Prior to this, I was using Ubuntu 12.04 32 bit which I continuously upgrade from Ubuntu 10.04 ( it’s been 2 years since I decided to use Ubuntu as my main operating system, time flew so fast ). It was running really slow as I have a lot of applications installed ( Rails, Django, Android SDK, Eclipse, Netbeans, etc ). ...
Curry Noodle Jul 08, 2012 Last week I found video tutorial to cook curry noodle in YouTube and decided to give it a try. Before, I cooked different type of curry (red and green curry ) and always made my own curry paste. The taste wasn’t bad but obviously something missing and I don’t know what it is. This weekend I am gonna do something different by using pre-made curry paste. After researching a little bit, I found people recommend to use Mae Ploy Curry Paste which they say is used in some of Thai restaurants in Australia. ...
Assembla Apr 10, 2012 Recently, I just canceled my Github micro plan and moved all my private projects to Assembla. Similar to Github, Assembla also offers Git hosting and you can host private projects for free. There are several paid plans that you can choose which basically add more features such as ticketing system, wiki, FTP build, supports, etc. So if you are like me ( only need Git/SVN private hosting for your projects ), I suggest you to try Assembla. ...
Cake Bunny website now using twitter bootstrap! Mar 20, 2012 Today, I spent couple hours to update my Cake Bunny 1.0 and Cake Bunny 2.0 websites. Cake Bunny is CakePHP website that I built to provide live demo for CakePHP tutorials in mt blog. At the moment, it has only two sample demos ( jQuery UI AutoComplete and jQuery UI AutoComplete Redirect). I decided to make over the design using Twitter Bootstrap instead of CakePHP default template. For you guys that haven’t try twitter bootstrap yet, I suggest you give it a try. ...
Rails set up namespace and redirect from namespace Feb 12, 2012 In order to differentiate between admin actions and users actions, you can set up what called “namespace” in your rails apps. The basic idea of this feature is you will have different controller and view files for each role in your application. This concept is similar with prefixes in CakePHP. However, CakePHP allows you to put different action in one controller file, while in rails you have to create different controller and view file for the new namespace. ...
Execute JWPlayer shortcode in Wordpress custom template Jan 08, 2012 JWPlayer has become my favorite video player for clients website especially after they release their official Wordpress plugin. The plugin almost done all the basic things ( shortcode, custom player, etc ). It’s also integrated seamlessly with the Wordpress Media library which makes your life so much easier because you can easily add the player to a post straightly from media library. However, aside from all that simple integration and setup, it lacks of documentation could cause a headache especially if you are trying to do something out of the lane. ...
'Auto redirect in CakePHP jQuery AutoComplete ' Dec 12, 2011 Demo : http://cbunny.rudylee.com/autocomplete_redirect Demo source code :https://github.com/rudylee/cbunny In my previous post ( http://blog.rudylee.com/2011/07/25/jquery-ui-autocomplete-in-cakephp/ ) we have successfully integrated the jQuery AutoComplete with CakePHP with a little bit hacky way. Now we gonna add another feature that can redirect user to our desired place when they click the result value in the AutoComplete ( try the demo for more details ). So let’s start the coding ( I assume you have integrated the jQuery UI AutoComplete in your apps, if you haven’t, just read my previous post ), so basically what we need to do are divided into 4 steps: ...
Holiday has arrived Nov 23, 2011 Today is the last day of my exams and I will have holiday for 3 months. It’s quite long considering that you spent the same amount of time for study as well. That means in one semester you will have 3 months study and another 3 months for holiday. From my perspective, it’s not efficient, wasting time and of course wasting money :D. But who am I to judge the system, the system is there for a reason which I don’t care much. ...