Blog Joomla! - the dynamic portal engine and content management system http://www.retco.com.au/ret/blog 2014-02-04T09:59:31Z Joomla! 1.5 - Open Source Content Management OCC goes live 2012-01-22T02:43:54Z 2012-01-22T02:43:54Z http://www.retco.com.au/ret/blog/52-occ-goes-live Administrator admin@retco.com.au <p><a href="http://www.ourcarclub.com.au" target="_blank" title="OurCarClub">OurCarClub.com.au</a> is officially open for business. It is my <a href="car-club-database">web-based car club database management</a> application.</p> <p> </p> <p>The SMS feature is still under development, but the email service is now fully operational. Also, a robust back-up solution has been put in place that backs up all users' data in full twice a day, and off-sites it to a secure location.</p> <p> </p> <p>If your club would like to get involved, please get in touch.</p> <p><a href="http://www.ourcarclub.com.au" target="_blank" title="OurCarClub">OurCarClub.com.au</a> is officially open for business. It is my <a href="car-club-database">web-based car club database management</a> application.</p> <p> </p> <p>The SMS feature is still under development, but the email service is now fully operational. Also, a robust back-up solution has been put in place that backs up all users' data in full twice a day, and off-sites it to a secure location.</p> <p> </p> <p>If your club would like to get involved, please get in touch.</p> We have moved 2010-11-22T05:18:28Z 2010-11-22T05:18:28Z http://www.retco.com.au/ret/blog/50-we-have-moved Richard Thomas ret@retco.com.au <p>There's really not much blogging going on here. You'll find a lot more stuff on my <a href="http://rets.posterous.com" target="_blank">posterous site</a>.</p> <p>There's really not much blogging going on here. You'll find a lot more stuff on my <a href="http://rets.posterous.com" target="_blank">posterous site</a>.</p> Optus Wireless Broadband 2010-06-26T09:46:31Z 2010-06-26T09:46:31Z http://www.retco.com.au/ret/blog/48-optus-wireless-broadband Richard Thomas ret@retco.com.au <p>I recently upgraded from an <a href="http://imgur.com/ackr5.jpg" target="_blank" title="Huawei E220">old "fried egg" style</a> Optus Wireless Modem to one of the <a href="http://imgur.com/5qOZT.jpg" target="_blank" title="Huawei E1762">new "stick" models</a>. The old modem never officially supported MacOSX computers, so getting it going was a bit of a hassle, involving downloading a bunch of drivers from other carriers and fiddling with the settings to get it going. Given the fact that Optus used to be an all-Apple shop, their Mac support up until recently for their internet products was pretty rugged.</p> <p>The new one however, is an entirely different proposition.</p> <p>It masquerades as a storage device, mounting on the desktop with a real MacOSX installer, so that's good. <em>The first time you want to use it</em>. After that, it's a bit of a pain, because it that means that you get the warning about not correctly ejecting the device if you just pull it out. You have to remember to eject it, although it doesn't seem to matter if you do this before or after you get the internet connection up and running. The device has an application on it that you can use to open an internet connection, check your SIM card for SMS messages, check your usage and so on. All very nice, and utterly superfluous.</p> <p> </p> <p>DSW to the rescue. <a href="http://www.azarhi.com/Projects/DSW/" target="_blank">Do Something When</a> is a nice bit of kit that can run a script or other program when a particular device is mounted.</p> <p>I've set DSW up to execute the following:</p> <p> <ul> <li>30 seconds after Optus Wireless Broadband mounts, execute ConnectHUAWEI.scpt (an AppleScript, see below)</li> <li>5 minutes after Optus Wireless Broadband mounts, unmount it.</li> </ul> </p> <p> </p> <p>So now I can plug the stick in, and it automatically connects to the internet without needing to go through the dial-up process manually. The 5 minute delay before unmounting gives me sufficient time to run the usage check program if I want to. And when it's pack-up time, I can disconnect and unplug the device cleanly.</p> <p> </p> <p>Here's the AppleScript:</p> <pre style="padding-left: 30px;"><span style="font-family: Tahoma, Helvetica, Arial, sans-serif; color: #333333; font-size: small;"><span style="font-size: 12px; white-space: normal;"><span style="font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000; font-size: x-small;"><span style="font-size: 10px; white-space: pre;"><p style="margin: 0.0px 0.0px 0.0px 41.6px; text-indent: -41.7px; font: 12.0px Verdana;"><span style="color: #2900ff;"><strong>tell</strong></span><span style="font: 12.0px Helvetica;"> </span><span style="color: #0000ff;">application</span><span style="font: 12.0px Helvetica;"> </span>"System Events"</p> <p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana; color: #0000ff;"><span style="font: 12.0px Helvetica; color: #000000;"><span style="white-space: pre;"> </span></span><span style="color: #2900ff;"><strong>tell</strong></span><span style="font: 12.0px Helvetica; color: #000000;"> </span>network preferences</p> <p style="margin: 0.0px 0.0px 0.0px 124.8px; text-indent: -124.9px; font: 12.0px Verdana; color: #0000ff;"><span style="font: 12.0px Helvetica; color: #000000;"><span style="white-space: pre;"> </span></span><span style="color: #2900ff;"><strong>tell</strong></span><span style="font: 12.0px Helvetica; color: #000000;"> </span>current location</p> <p style="margin: 0.0px 0.0px 0.0px 166.5px; text-indent: -166.5px; font: 12.0px Verdana; color: #2900ff;"><span style="font: 12.0px Helvetica; color: #000000;"><span style="white-space: pre;"> </span></span><strong>set</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><span style="color: #408000;">aPPPoEService</span><span style="font: 12.0px Helvetica; color: #000000;"> </span><strong>to</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><strong>a reference</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><strong>to</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><span style="color: #000000;">(</span><strong>first</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><span style="color: #0000ff;">service</span><span style="font: 12.0px Helvetica; color: #000000;"> </span><strong>whose</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><span style="color: #0000ff;">name</span><span style="font: 12.0px Helvetica; color: #000000;"> </span><strong>contains</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><span style="color: #000000;">"HUAWEI Mobile")</span></p> <p style="margin: 0.0px 0.0px 0.0px 166.5px; text-indent: -166.5px; font: 12.0px Verdana; color: #408000;"><span style="font: 12.0px Helvetica; color: #000000;"><span style="white-space: pre;"> </span></span><span style="color: #2900ff;"><strong>if</strong></span><span style="font: 12.0px Helvetica; color: #000000;"> </span><span style="color: #0000ff;">exists</span><span style="font: 12.0px Helvetica; color: #000000;"> </span>aPPPoEService<span style="font: 12.0px Helvetica; color: #000000;"> </span><span style="color: #2900ff;"><strong>then</strong></span></p> <p style="margin: 0.0px 0.0px 0.0px 208.1px; text-indent: -208.1px; font: 12.0px Verdana; color: #408000;"><span style="font: 12.0px Helvetica; color: #000000;"><span style="white-space: pre;"> </span></span><span style="color: #0000ff;">connect</span><span style="font: 12.0px Helvetica; color: #000000;"> </span>aPPPoEService</p> <p style="margin: 0.0px 0.0px 0.0px 166.5px; text-indent: -166.5px; font: 12.0px Verdana; color: #2900ff;"><span style="font: 12.0px Helvetica; color: #000000;"><span style="white-space: pre;"> </span></span><strong>end</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><strong>if</strong></p> <p style="margin: 0.0px 0.0px 0.0px 124.8px; text-indent: -124.9px; font: 12.0px Verdana; color: #2900ff;"><span style="font: 12.0px Helvetica; color: #000000;"><span style="white-space: pre;"> </span></span><strong>end</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><strong>tell</strong></p> <p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana; color: #2900ff;"><span style="font: 12.0px Helvetica; color: #000000;"><span style="white-space: pre;"> </span></span><strong>end</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><strong>tell</strong></p> <p style="margin: 0.0px 0.0px 0.0px 41.6px; text-indent: -41.7px; font: 12.0px Verdana; color: #2900ff;"><strong>end</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><strong>tell</strong></p></span></span></span></span></pre> <p>I recently upgraded from an <a href="http://imgur.com/ackr5.jpg" target="_blank" title="Huawei E220">old "fried egg" style</a> Optus Wireless Modem to one of the <a href="http://imgur.com/5qOZT.jpg" target="_blank" title="Huawei E1762">new "stick" models</a>. The old modem never officially supported MacOSX computers, so getting it going was a bit of a hassle, involving downloading a bunch of drivers from other carriers and fiddling with the settings to get it going. Given the fact that Optus used to be an all-Apple shop, their Mac support up until recently for their internet products was pretty rugged.</p> <p>The new one however, is an entirely different proposition.</p> <p>It masquerades as a storage device, mounting on the desktop with a real MacOSX installer, so that's good. <em>The first time you want to use it</em>. After that, it's a bit of a pain, because it that means that you get the warning about not correctly ejecting the device if you just pull it out. You have to remember to eject it, although it doesn't seem to matter if you do this before or after you get the internet connection up and running. The device has an application on it that you can use to open an internet connection, check your SIM card for SMS messages, check your usage and so on. All very nice, and utterly superfluous.</p> <p> </p> <p>DSW to the rescue. <a href="http://www.azarhi.com/Projects/DSW/" target="_blank">Do Something When</a> is a nice bit of kit that can run a script or other program when a particular device is mounted.</p> <p>I've set DSW up to execute the following:</p> <p> <ul> <li>30 seconds after Optus Wireless Broadband mounts, execute ConnectHUAWEI.scpt (an AppleScript, see below)</li> <li>5 minutes after Optus Wireless Broadband mounts, unmount it.</li> </ul> </p> <p> </p> <p>So now I can plug the stick in, and it automatically connects to the internet without needing to go through the dial-up process manually. The 5 minute delay before unmounting gives me sufficient time to run the usage check program if I want to. And when it's pack-up time, I can disconnect and unplug the device cleanly.</p> <p> </p> <p>Here's the AppleScript:</p> <pre style="padding-left: 30px;"><span style="font-family: Tahoma, Helvetica, Arial, sans-serif; color: #333333; font-size: small;"><span style="font-size: 12px; white-space: normal;"><span style="font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000; font-size: x-small;"><span style="font-size: 10px; white-space: pre;"><p style="margin: 0.0px 0.0px 0.0px 41.6px; text-indent: -41.7px; font: 12.0px Verdana;"><span style="color: #2900ff;"><strong>tell</strong></span><span style="font: 12.0px Helvetica;"> </span><span style="color: #0000ff;">application</span><span style="font: 12.0px Helvetica;"> </span>"System Events"</p> <p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana; color: #0000ff;"><span style="font: 12.0px Helvetica; color: #000000;"><span style="white-space: pre;"> </span></span><span style="color: #2900ff;"><strong>tell</strong></span><span style="font: 12.0px Helvetica; color: #000000;"> </span>network preferences</p> <p style="margin: 0.0px 0.0px 0.0px 124.8px; text-indent: -124.9px; font: 12.0px Verdana; color: #0000ff;"><span style="font: 12.0px Helvetica; color: #000000;"><span style="white-space: pre;"> </span></span><span style="color: #2900ff;"><strong>tell</strong></span><span style="font: 12.0px Helvetica; color: #000000;"> </span>current location</p> <p style="margin: 0.0px 0.0px 0.0px 166.5px; text-indent: -166.5px; font: 12.0px Verdana; color: #2900ff;"><span style="font: 12.0px Helvetica; color: #000000;"><span style="white-space: pre;"> </span></span><strong>set</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><span style="color: #408000;">aPPPoEService</span><span style="font: 12.0px Helvetica; color: #000000;"> </span><strong>to</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><strong>a reference</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><strong>to</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><span style="color: #000000;">(</span><strong>first</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><span style="color: #0000ff;">service</span><span style="font: 12.0px Helvetica; color: #000000;"> </span><strong>whose</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><span style="color: #0000ff;">name</span><span style="font: 12.0px Helvetica; color: #000000;"> </span><strong>contains</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><span style="color: #000000;">"HUAWEI Mobile")</span></p> <p style="margin: 0.0px 0.0px 0.0px 166.5px; text-indent: -166.5px; font: 12.0px Verdana; color: #408000;"><span style="font: 12.0px Helvetica; color: #000000;"><span style="white-space: pre;"> </span></span><span style="color: #2900ff;"><strong>if</strong></span><span style="font: 12.0px Helvetica; color: #000000;"> </span><span style="color: #0000ff;">exists</span><span style="font: 12.0px Helvetica; color: #000000;"> </span>aPPPoEService<span style="font: 12.0px Helvetica; color: #000000;"> </span><span style="color: #2900ff;"><strong>then</strong></span></p> <p style="margin: 0.0px 0.0px 0.0px 208.1px; text-indent: -208.1px; font: 12.0px Verdana; color: #408000;"><span style="font: 12.0px Helvetica; color: #000000;"><span style="white-space: pre;"> </span></span><span style="color: #0000ff;">connect</span><span style="font: 12.0px Helvetica; color: #000000;"> </span>aPPPoEService</p> <p style="margin: 0.0px 0.0px 0.0px 166.5px; text-indent: -166.5px; font: 12.0px Verdana; color: #2900ff;"><span style="font: 12.0px Helvetica; color: #000000;"><span style="white-space: pre;"> </span></span><strong>end</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><strong>if</strong></p> <p style="margin: 0.0px 0.0px 0.0px 124.8px; text-indent: -124.9px; font: 12.0px Verdana; color: #2900ff;"><span style="font: 12.0px Helvetica; color: #000000;"><span style="white-space: pre;"> </span></span><strong>end</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><strong>tell</strong></p> <p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana; color: #2900ff;"><span style="font: 12.0px Helvetica; color: #000000;"><span style="white-space: pre;"> </span></span><strong>end</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><strong>tell</strong></p> <p style="margin: 0.0px 0.0px 0.0px 41.6px; text-indent: -41.7px; font: 12.0px Verdana; color: #2900ff;"><strong>end</strong><span style="font: 12.0px Helvetica; color: #000000;"> </span><strong>tell</strong></p></span></span></span></span></pre>