Random musings from the world of an Open Source geek
I love ssh-agent, but always found that running source ~/.ssh.agent annoyed me!
That was before I wrote this code, which I absolutely love:
source ~/.ssh.agent PID=$SSH_AGENT_PID if [ -f /proc/$SSH_AGENT_PID/cmdline ]; then CMD=`cat /proc/$SSH_AGENT_PID/cmdline`; if [ "$CMD" != "ssh-agent" ] ; then PID=0 fi else PID=0 fi; if [ "$PID" -eq 0 ]; then ssh-agent > ~/.ssh.agent source ~/.ssh.agent ssh-add fi;
Put simply, when added to your .bash_profile this code will ensure that your current ssh-agent is loaded. You may now ssh freely into servers without always typing that 100 character SSH Key password 🙂
Having problems with your (older) Magento install on your (newer) PHP?
Some versions of Magento have been using the ‘current‘ function incorrectly.
If you experience the following error:
Strict Notice: Only variables should be passed by reference in ..lib/Zend/Db/Select.php on line 216
A simpler fix may just be to change two files:
File One: lib/Zend/Db/Select.php
$correlationName = current(array_keys($this->_parts[self::FROM]));
$arrayKeys = array_keys($this->_parts[self::FROM]);
$correlationName = current($arrayKeys);
File Two: Toolbar.php
$arrayKeys = array_keys($this->_availableMode);
I love RedHat Linux. I think it is a beautiful piece of engineering. Hundreds of thousands of man hours spent ensuring systems that have packages installed keep running. Continuously.
One thing however that I have found is that my favorite RHEL clone for years, CentOS has been slacking. Bad.
For example, RedHat Enterprise Linux 6 was released 10/11/2010, not bad, seeing as it’s previous version, RHEL5 was released 15/3/2007 – Three and a half years earlier. CentOS? Well, Version 6 of CentOS was released July 10. In the time that it took for CentOS to release their new fresh build of CentOS 6, RedHat had already released their first service pack/major update to RedHat, RedHat Enterprise Linux 6.1.
I must point out here, the fact that CentOS does not have 6.1 is not a security issue. Any security patches for RHEL have made their way to CentOS.
Scientific Linux on the other hand have been tracking the updates and new releases very well. They had their remix of RHEL released for public consumption on March 3 – not too much of a short wait. The fact that it is not a very faithful clone has scared me from moving to it, but with the long wait of CentOS 6.1, I am starting to think that it might just be time to change my mind and grow up!
As the cost of living increases and the dream of home ownership seems like an unachievable goal, how can we ensure we have the right tools in place to encourage GenY to build a financially sustainable future and make the most of their personal finances?
On Tuesday, August 23, a group of us will be meeting at Forresters Hotel at the Cnr. Riley & Foveaux St. in Surry Hills to brainstorm some ideas. I will be there, along with at least 11 others. Feel free to bump into me and say “Hi!”.
Brisbane, one of the few cities that I really love. It quite possibly might even be my favorite capital city in Australia. Should you look down similar streets in Sydney, everyone is too busy to have even the smallest of smiles.
Sure, Sydney has some nice beaches – as it is a capital just kilometers away from the coastline of the Pacific Ocean – such as Manly Beach and Bondi Beach (which has made many a lifegaurd state celebrities with the TV show Bondi Rescue), but Brisbane has Streets Beach, a man-made beach with just about 4,000 cubic meters of sand. It allows you to have a perfect view of the city lights while kicking back eating a Bubble O’ Bill ice cream.
It almost seems like that on every corner there is a park. Not just a tiny 50m2 block, but a decent sized area. Enough to fit a school class room worth of kids in. The parks in Brisbane show the fashion, style and flare that defines Brisbane, especially South Bank. South Bank is Queensland’s cultural precinct and includes Australia’s largest Gallery of Modern Art, the Queensland Theatre Company, Queensland Museum, Queensland Performing Arts Centre and State Library of Queensland.
Wondering where all the interesting Sydney IT meetups are? I have listed here a rough calendar for 2011. There may be some updates further on in the year as more events are announced.
- PHPConfAu – Late October. You didn’t hear that form me though because the exact date is yet to be confirmed. First national PHP meetup, this one is going to be big! Some of Australia’s most respected PHP developers are already slated to be there, so if you want to learn anything new, definitely drag yourself across!
- WordCamp – OK, technically it is in Melbourne, but this is the WordPress meetup of the year, and something everyone who has a blog should go to – tickets are $50, there is no reason not to go!
- PyCon AU – 20th – 21st August. Again, Python’s National Conference.
- Ad:Tech Sydney – 9-10 March. ad:tech is the leading event for the digital marketing and advertising community in Australia and New Zealand.
- CeBIT Australia – 31st May – 2nd June. Australia’s biggest IT get-together.
Weekly / Fortnightly Meetups
- Sydney Tech Startup Meetup – Every Thursday Morning. 8am-10am.
- Silicon Beach Sydney – Every Friday at the Grace Hotel 6pm+. Silicon Valley has a supporting ecosystem that makes Internet innovation thrive, so what can Australia do? How can that big island with the best beaches in the world, harness the passionate, intelligent individuals who care to do more?
- Coffee Mornings – Every Friday Morning @ 8am. A get together of social media personel.
- MobileMondy – “MoMo”. First Monday of Every Month. Get your tickets from EventBrite.
- SyPy – First and Last Thursday of Every Month. 6pm-9pm
- Product Mavens – Every Third Wednesday. 6:30pm+
- Sydney PCUG– Forth Tuesday of Every Month.
- Sydney Business & Technology User Group – The Last Wednesday of Every Month.
- IgniteSydney is always lots of fun, but not sure if they actually have a set schedule.
- Sydney MySQL Users Group
- Agile Sydney – at the City Hotel. 9th Feb.
Please let me know (in the comments section “below”) if there is anything that I have missed out on!
I love Android, and I love that Google is offering such a good mobile operating system, for free. Many people might just remember that Microsoft grew to prominence in the IT industry in much a similar way. They provided DOS for free (or at least at a low cost) to OEMs, which provided them with much of the market share that they have now.
It can be seen as actually quite smart that Google are offering their OS for such a low price.
Google commissioned Ascender, a digital typeface foundry and software development company located in the Chicago suburb of Elk Grove Village, Illinois in the United States to create the fonts that are used by the Android user interface.
Ascender engineered the new set of system User Interface (UI) fonts named “Droid” for the Android platform built by the Open Handset Alliance. The fonts provided by Ascender allow highly legible text resulting in easy to use interfaces.
The fonts are open source, licensed under the Apache Software License.
Finding a download link to the fonts can be a bit tricky, but one of the easiest ways to get the fonts is to download them from Google’s Web Fonts project.
Failing that there is this link here to a Mercurial repository, but I didn’t tell you that, now did I?