Archive for » November, 2008 «

Saturday, November 29th, 2008 | Author: number.0

You might need to do this sometimes, tt’s as simple as this:

On Linux:

rm -rf `find . -name .svn`

On Windows

Create a .bat file (some name like: delete_svn.bat) at the root of the directory from where u want to delete all .svn subfolders

for /f “tokens=* delims=” %%i in (’dir /s /b /a:d *svn’) do (
rd /s /q “%%i”
)

Share/Save/Bookmark

Category: linux  | Tags: , ,  | Leave a Comment
Tuesday, November 04th, 2008 | Author: number.0

I decided to try Google App Engine for a personal project, that pulls yahoo weather at a regular time interval, but as I dived into Google App Engine then this simple thing can not be done in cron jobs, so I started to think about the solution, here is what I came up with, just the idea:

- Create a Cronjob class to handle the cronjob: this class will do the all the tasks that need to be done regularly
- Use javascript at client side to refresh the Cronjob page at a regular time interval.

I think the idea is simple, it does solve the problem but require you to have the page opened all the time. Some of you may have better idea?

Share/Save/Bookmark

Saturday, November 01st, 2008 | Author: number.0

I’m quite new to Django, Pinax and mod_wsgi, so today i decided to try on Pinax with a Slackware 12.1 development box. Everytime I forget after doing something, so better to note it down here, easier for me to remind it later, official Pinax 0.5 has been out for few days, and it’s a good time to try it to see how it can replace my current home-made PHP CMS. I’m not very used to Django, so another chance to play with it, my experience with Python framework only stop at Skunkweb & Quixote.

more…

Share/Save/Bookmark