CakePHP: Update model after changing database


After changes are made in the Database, to see the changes updated or reflect to the cakephp models, do the following
  1. Delete all the temporary model files from app/tmp/cache/models/*.
  2. In app/Config/core.php, change the debug value from 0 to 3, load your app in browser and again change it from 3 to 0 

Python contextlib for Timing Python code

If you've ever found yourself needing to measure the execution time of specific portions of your Python code, the `contextlib` module o...