Wednesday, October 28, 2009

Molar Mass Calculator

0 comments

Monday, October 26, 2009

Shake Your Bootie

0 comments
Prepare for some seriously big hair and outrageous platforms in this romping musical tribute to the 1970s. Some of the greatest hits of the decade, such as Gloria Gaynor's 'I Will Survive' and Queen's 'We Will Rock You', will be belted out by the combined singing talents of Timothy Moloi, Helen Debois and Sivan Raphaely. As well as the glorious music and nostalgic costumes, expect some tricky Travoltaesque disco dance steps.

Monday, October 19, 2009

Booking group flights

0 comments
(are you looking for the Molar Mass Calculator? It has been moved Here)

It isn't easy to book group flights. For a start, most airlines require you to contact them directly if the number in your group is greater than 10. If it is less than 10, then you can book online at one of the many flights comparison sites and you'll be fine.

But if you have a large group, say for your local sports team or social club, then more work is required.

A travel agent might be the best bet. They have more time than airline staff to help you plan and book your cheap international flight and they will contact the airline on your behalf and set it up for you. Of course it will cost a little extra, but at least you won't have the rest of your rugby team staring at you angrily at the airport when you aren't allowed on the plane 'cause you stuffed up the booking.

Have fun overseas!

Sunday, October 18, 2009

Stopping Timeout errors during long-running PHP scripts

0 comments

(I saw an interesting post over at acquia.com dealing with long-running cron jobs which inspired this post).

How do I stop PHP timing out when a script takes too long?

A. PHP places resource limits with these 3 commands:

=> max_execution_time : Maximum execution time of each script, in seconds (default 30 sec)

=> max_input_time : Maximum amount of time each script may spend parsing request data (60 )

=> memory_limit : Maximum amount of memory a script may consume (default 8MB)

You can increase the resource limits so that your scripts have more time to run:

Open /etc/php.ini (or /etc/php5/php.ini) file:
# vi /etc/php.ini


Setup new resource limits:
max_execution_time = 600
max_input_time = 120
memory_limit = 64M

Restart Apache or lighttpd web server:
# /etc/init.d/httpd restart
OR
# /etc/init.d/lighttpd restart

Note: If you are running in a shared hosting environment then PHP may be set to SAFE mode, which will mean that you cannot alter your php.ini file. In this case you will have to ask your host to make the changes for you. If they won't change it, then perhaps it is time to change hosts...


Friday, October 9, 2009

Finding cheap international flights

0 comments
If you are anything like me, you love to travel :)

I hate having to search through several sites to find the cheapest overseas flights. Webjet & Flight Centre say that they have the cheapest deals, but I find that I Want That Flight! is the best for Cheap International Flights and specifically Flights to London.

The site makes it easy to compare all the major airlines and travel agents at once, and doesn't try to hide fees till the very end (in fact, the Cheap domestic Flights section doesn't add commission at all!).

Try it out and let me know what you think!

Saffron

0 comments
Boston has plenty of serviceable Indian restaurants, but none that give Indian cuisine the nouvelle treatment. Saffron has changed all that with a menu that takes the usual curry and tandoori mainstays of Indian food to new heights of culinary perfection. Dishes on offer include a whole red snapper wrapped in grape leaves and a two-tier duck and potato soup, as well as the usual mulligatawny. The room filled with dark wood and shiny steel, and there's a patio for outdoor dining.