Dec 24, 2009

Useful GRE Links

Preparing for GRE is an arduous task. For a non native English speaker it's even harder to prepare. There as thousands of people like me and we all want some useful resources. any of the resources needs to be paid which is not a ideal thing for us.
I have collected some of the links for my own reference as I go on. If anyone goes through this post please add your links .
After all exams are conducted by ETS so it comes first in my list.I has got many of the useful resources for GRE.http://www.ets.org/gre/.
Others that follows are
http://www.majortests.com/gre/
http://grematerialworld.blogspot.com/
http://www.microedu.com/gretest/
http://www.happyschoolsblog.com/

I will be adding more links as I practice for GRE myself.
Have a nice time.

Running the background task with cronjob

Background processes are a regular need for any website. Specially when there are emails to be sent to the administrator every evening 1t 7.
Many developers have contributed to develop the plugins for running background processes, but because of some reasons none could be executed in my computer. So I went to the traditional way and used cronjob to run my background process in my Ubunto 9.10 server.

Here are the steps I followed
1> First I coded a bash script so that later I could just run a single command to run all my tasks
( to run ruby on rails code you need to use script/runner or script/console)
2> then I set proper time to run my background process(crontab -e)

Some also suggested to use thread.As I had my job done with cronjob I didn't bother to research further.

Photo Upload with Paperclip

Here are the steps to install an use paperclip with Ruby on Rails:
1> Get the paperclip plugin along with imagemagick plugin
2> Get imagemagick and imagick installed through apt-get
3> Just use the example code from imagemagick
4> sudo apt-get install imagemagick