Wilmott-IT Services - Central Coast based Business IT Systems Management.
AusWebHost - Australia Based Web Hosting Provider. Offering Web Hosting, Dedicated Servers and other Hosted Services including Hosted Email
myTravelBlog - Create your own travel blog for free today! Link to Facebook to automatically update your status and photos everytime you submit a story!

Thursday, December 8, 2011

Apple blocked from calling an iPad an iPad in China!

APPLE Inc has lost a trademark dispute in China, where it had accused Proview Technology (Shenzhen) of infringing on its iPad trademark.
A Chinese court has ruled in favour of Proview - a unit of Proview International Holdings Ltd - that they are the lawful owners of the "iPad" name, as far back as 2000 for use in China and other countries, MarketWatch reported.
Proview's Taiwan based unit had sold the "global trademark" to a UK-based company called IP Application Development for £35,000 ($55,104) in 2006, the Shanghai Daily reported. That company then transferred the trademark to Apple.
But Proview Technology (Shenzhen) says the trademark for China's mainland market was not included in that agreement because the company's Taiwan unit did not own it at the time.
Proview is seeking $1 billion-plus compensation from Apple for copyright infringement.The court agreed, ruling that the Shenzhen-based company holds the rights to the iPad trademark in the Chinese market, the Dailyreported.


Friday, October 21, 2011

CentOS 5.6 + Windows 2003 R1 Active Directory authentication with LDAP

I wanted to share another small recipe on how to setup CentOS 5.6 to authenticate Linux users against Windows 2003 Server (Not R2). However this time with LDAP instead of Samba.

The main reasons why you would like to use LDAP instead of Samba/Winbind:
- You do not need Microsoft Client Access Licences (CALs). At least it is not checked :)
- No need to use Samba (if you do not like for a reason or another).

Active Directory server preparation

AD server needs some preparation before it can be used in this setup. You need to have Windows 2008 R2 CD/DVD around for some steps.
  1. Run adprep /forestprep from the Windows 2008 R2 disc.
  2. Run adprep /domainprep from the Windows 2008 R2 disc.
  3. Install Remote Server Administration Tools for Windows 7 with Service Pack 1 aka RSAT. You need to install ADUC (Active Directory Users And Computers) ie. AD DS + AD LDS Tools and GPMC (Group Policy Management Console) parts of it. RSAT can be found here.
  4. Edit with the tools you just installed each AD user that you need available in unix and make sure they have following parameters set:
    • uidNumber (some id number which is free in unix, e.g. 1000)
    • uid (userid: e.g. hkroger)
    • gidNumber (the id of the user's main group, e.g. 1000)
    • loginShell (e.g. /bin/bash)
    • unixHomeDirectory (e.g. /home/hkroger)
    • sAMAccountName (userid: e.g. hkroger)
  5. Every group should have:
    • gidNumber (the numeric id of the group, e.g. 1000)
  6. Create a new user called unixauth with some password. This will be used for LDAP connection itself.

Setup LDAP

Let's install necessary packages and setup basic auth config setup:
# yum install nss_ldap openldap-clients pam_ccreds -y
# authconfig --enableldap --enableldapauth --ldapserver=
--ldapbasedn="DC=mycompany,DC=local" --disablesmbauth --disablewinbind --disablewinbindauth
--disablewins --enablepreferdns --enablecache --enablemkhomedir --kickstart --update

Then let's create a new /etc/ldap.conf file
cat <<EOF > /etc/ldap.conf
uri ldap://
ldap_version 3
binddn unixauth@MYCOMPANY.LOCAL
bindpw myunixauthuserpassword
ssl off
scope sub

nss_base_passwd DC=MYCOMPANY,DC=LOCAL?sub?&(objectClass=user)(uidNumber=*)
nss_base_shadow DC=MYCOMPANY,DC=LOCAL?sub?&(objectClass=user)(uidNumber=*)
nss_base_group DC=MYCOMPANY,DC=LOCAL?sub?&(objectClass=group)(gidnumber=*)

nss_map_objectclass posixAccount user
nss_map_objectclass shadowAccount user
nss_map_objectclass posixGroup group

nss_map_attribute gecos sAMAccountName
nss_map_attribute homeDirectory unixHomeDirectory
nss_map_attribute shadowExpire accountExpires
nss_map_attribute shadowLastChange pwdLastSet
nss_map_attribute uniqueMember member

timelimit 5
bind_timelimit 5
idle_timelimit 5
bind_policy hard
nss_reconnect_tries 1
nss_reconnect_sleeptime 1
nss_reconnect_maxsleeptime 8
nss_reconnect_maxconntries 2

nss_initgroups_ignoreusers root,ldap,named,avahi,haldaemon,dbus,radvd,tomcat,radiusd,news,mailman,nscd,gdm
tls_cacertdir /etc/openldap/cacerts
pam_password ad
debug 0

If you want to make a special group of users also sudoes you can enable a group in sudoers file like this. In our example the group is called unix_admin:
grep -q unix_admin /etc/sudoers || echo %unix_admin ALL=\(ALL\) ALL >> /etc/sudoers

Next we need to tweak system authentication files so that LDAP is actually used:
cat <<EOF > /etc/pam.d/system-auth
auth required pam_env.so
auth sufficient pam_unix.so nullok try_first_pass
auth requisite pam_succeed_if.so uid >= 500 quiet
auth [authinfo_unavail=ignore success=1 default=2] pam_ldap.so use_first_pass
auth [default=done default=die] pam_ccreds.so action=validate use_first_pass
auth [default=done] pam_ccreds.so action=store
auth [default=bad] pam_ccreds.so action=update
auth required pam_deny.so

account required pam_unix.so broken_shadow
account sufficient pam_localuser.so
account sufficient pam_succeed_if.so uid < 500 quiet
#account [default=bad success=ok user_unknown=ignore] pam_ldap.so
account [authinfo_unavail=ignore default=bad success=ok user_unknown=ignore] pam_ldap.so
account required pam_permit.so

password requisite pam_cracklib.so try_first_pass retry=3
password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok
password sufficient pam_ldap.so use_authtok
password required pam_deny.so

session optional pam_keyinit.so revoke
session required pam_limits.so
session optional pam_mkhomedir.so
session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
session required pam_unix.so
session optional pam_ldap.so

sed -i -e 's/^passwd:.*/passwd: files ldap [NOTFOUND=return]/g' /etc/nsswitch.conf
sed -i -e 's/^shadow:.*/shadow: files ldap/g' /etc/nsswitch.conf
sed -i -e 's/^group:.*/group: files ldap [NOTFOUND=return]/g' /etc/nsswitch.conf

And finally we configure the caching daemon to keep data for 7 days and then restart it. The great idea here is that if there is no connection between your server and the AD server, you can still login onto your server:
sed -i /etc/nscd.conf -e 's/^.*positive-time-to-live.*passwd.*/ positive-time-to-live passwd 604800/g'
sed -i /etc/nscd.conf -e 's/^.*positive-time-to-live.*group.*/ positive-time-to-live group 604800/g'
sed -i /etc/nscd.conf -e 's/.*reload-count.*/ reload-count unlimited/g'

/etc/init.d/nscd restart

And that's it! You should be now able to login onto your CentOS server with your Windows AD account.

Check for more info:

Wednesday, June 15, 2011

Distribute.IT Domain Reseller Hacked and Taken Down!

The company - best known as a domain name registrar - said in a post to its Twitter account that it had been the victim of a "very deliberate, coordinated & malicious attack".

It reported on Monday morning (13 June) that engineers had "started running malicious file system tools across known exploited servers while rebuilding header information where corruption to headers has been found."


Wednesday, April 20, 2011

Apple Sues Samsung, Saying Galaxy Phones and Tablets Too Close To iPad and iPhone Design | Ina Fried | Mobilized | AllThingsD

In the latest intellectual property suit to hit the smartphone industry, Apple is suing Samsung, alleging the Galaxy line of phones and tablets infringe on a number of the company’s patents and trademarks.

The suit, filed on Friday in U.S. District Court in Northern California, alleges patent and trademark infringement, as well as unfair competition. Apple is seeking injunctions, actual damages and punitive damages, as well as a finding that the alleged infringement was willful.

Samsung Galaxy S Android 2.3 Gingerbread Update

Samsung have released the latest Android 2.3 Gingerbread Kernel update to their Galaxy S mobile phone series. Since Saturday the 16th April 2011 the update has been rolling out via Samsungs' Kies software suite to those in the Nordic countries. The update will be available in other regions over the course of the next few weeks. source

Friday, April 15, 2011

Installing VirtualBox (Guest Additions) on Ubuntu Server 10.10

To install Guest Additions on Ubuntu Server 10.10+, you need to do the following:
sudo apt-get install dkms
sudo apt-get install build-essential
Go to the Virtualbox Devices entry on the menu bar of the guest OS and select Install Guest Additions… , this will load the Guest Additions ISO CD image.

Change directory to media
cd /media
You will likely find a sub directory called cdrom in this directory. You can list the sub directories using the `ls` command. If not create it
sudo mkdir cdrom
this will become our mount point

Mount the Guest Additions ISO to the mount point
sudo mount /dev/cdrom /media/cdrom
Now change to the cdrom directory
cd /media/cdrom
Display the directory contents i.e. the ISO image
Depending on whether you are running a 32bit or 64bit OS, run the relevant installer. In this case 32bit so enter

sudo ./VBoxLinuxAdditions-x86.run


You will get an error saying “Could not find X.org or Xfree.86 on the guest system”. This is because we are running the server edition and have not got an window manager e.g. KDE or GNOME installed!

If the process complains that DKMS could not be used to build the new kernel then you may need to run the following command to install the linux-headers manually
sudo apt-get install build-essential linux-headers-$(uname -r)

Wednesday, April 6, 2011

How to monitor hard drive health in linux

Used this article I found recently to test my hard drive health. Turns out the hard drive is fine but the USB cable it was connected with was dodgy. I was experiencing "usb 2-1.1: reset high speed USB device using ehci_hcd and address 5" messages all the time. After replacing the cable the messages disappeared!

more info

Monday, April 4, 2011

WaveMaker has been acquired by VMware!

VMware has bought WaveMaker, which provides a rapid development platform that aims to make it easier for non-technical people to build and maintain Java applications.

The acquisition, announced on Tuesday 8th March 2011, should ensure that the application development environment, which is also called WaveMaker, is integrated and developed in line with the virtualisation company's Spring Java framework.

"WaveMaker makes Java Point and Click — you can build a web application without using a single acronym!" Peter Wayner, InfoWorld Product Review

more info 

Monday, February 14, 2011

How to add a program / directory to your PATH, Ubuntu /Debian

Every once and a while you need to add a program or directory to your path variable. Adding something to your PATH makes life easier because you dont have to type out the full path to the executable rather you can reference the executable directly ie instead of /usr/bin/ls you can simply run ls (note /usr/bin should already be in your PATH).

Anyway, the means of adding the variable differs but generally the consensus is you should add the directive to your .bashrc file as it applies to both the cli and the gui environment.

You will find your .bashrc file in your home directory. To edit it type
gedit ~/.bashrc
This will open the file in gedit ready for you to edit

Scroll to the bottom of the file and add

PATH=$PATH:/some/path/you/would/like/to/add;export PATH
Save this file. You may need to reopen your terminals or relogin for it to take affect. This will add the "/some/path/you/would/like/to/add" path to your PATH environment variable. Now any binary you have residing in this path will be available directly.

Thursday, February 10, 2011

Convore Released!

A new social web tool, Convore, was released yesterday, 9th Feb 2011.

According to their site: "Convore is the best way to communicate with groups in real-time. You can join an existing group or create your own. Then post topics and have conversations with friends about those topics.

Convore is lovingly made in San Francisco by the three Erics: Eric Florenzano (ericflo), Eric Maguire (etmaguire), and Leah Culver (leah)."

Convore is interested in groups and group-based apps, including the communication aspects of this medium. The site is designed with each topic having its own chat room, in a smaller group, for those folks who are interested in specific topics.

How to build an Amazon S3 Client with Oracle Application Express 4.0 White Paper Available

Jason Straub has released a whitepaper detailing how to build an Amazon S3 Client with Oracle Application Express 4.0. Interesting reading and a great resource

Application Express Nuggets: Building an Amazon S3 Client with Application Express 4.0 White Paper Available

louisgray.com: Most Bloggers Don't Deserve Any Ad Revenue

Just reading up on the blogging community as of today and found this interesting article posted in 2008. Seems not much has really changed even in the last 3 years!
louisgray.com: Most Bloggers Don't Deserve Any Ad Revenue: "There are millions of bloggers out there today, screaming for their 'fair' share of the advertising pie. And while Google rakes in cash from vendors by the billions, some smaller bloggers are crying foul at the perceived inequalities. But it's more likely they are getting exactly what they deserve when it comes to ads - pennies. They would be better served to pull the ads off their site altogether and find different ways to make money, because for most, blogging will never get them what they want."

How to create an Alias in Windows Command Shell

Windows cli supports command aliases similar to *nix. Microsoft refers to these aliases as macros.

To alias the string "ls" to the dir command, helpful for most unix admins, use:

doskey ls=dir
The variable $* can be used in an alias to pass all of the arguments entered after the alias.

Chrome OS revisited: 2 months later - Computerworld Blogs

ComputerWorld takes a look at Chrome OS, Google's new Cloud Operating System, two months after release.

Chrome OS revisited: 2 months later - Computerworld Blogs

Wednesday, February 9, 2011

Zimbra 7 Released

The latest installment of Zimbra has hit the Web! Zimbra, is a full-featured collaboration suite that supports email, group calendars and document sharing using an Ajax web interface that enables tool tips, drag-and-drop items, and right-click menus in the UI.  Zimbra also provides native two-way sync to many mobile devices.

This latest release, Zimbra 7, is the first major release since 2009 when the company was still owned by Yahoo Inc. According to this ServerWatch.com article

"The VMware Zimbra team worked closely with both Zimbra and VMware customers over the last year to prioritize the Zimbra 7 release," John Robb, senior director of Zimbra products and marketing, VMware (NYSE: VMW) told InternetNews.com "VMware is very supportive of open source, community based development, and Zimbra 7 demonstrates our commitment."

The Zimbra 7 release is the first release since Zimbra 6 came out in September 2009. Zimbra 6 was the last major release of Zimbra under Yahoo (NASDAQ: YHOO) ownership. Yahoo acquired Zimbra for $350 million in September 2007.

The Zimbra 7 release includes improved file sharing capabilities that enable users to store and share files in the cloud using the Zimbra briefcase. From an administration perspective, the release includes enhanced delegation capabilities to control permissions and access. As well, there are new policies for load balancing and automatic recovery of Zimbra servers.
 Check out the Zimbra Homepage for more info

Tuesday, February 8, 2011

Salesforce Acquires DimDim Open Source Web Conferencing

DimDim, a software company that provides a web-based platform for real-time, rich-media collaboration and meetings, was acquired recently by Salesforce.com. Dimdim provides free web conferencing service where users can share desktops, show slides, collaborate, chat, talk and broadcast via webcam.

According to the Salesforce.com announcement, DimDim was acquired for $31 million US on Jan 6th 2011. Marc Benioff, chairman and CEO, salesforce.com proclaimed:
“The acquisition of Dimdim will help salesforce.com deliver to the enterprise the same integrated collaboration and communication experience that made Facebook the world’s most popular Internet site.”
 Read more -  Salesforce.com press release

Two open source forks of the DimDim software base has been started at miDmiD (google code homepage) and DimSim (gitHub)

Friday, February 4, 2011

Last IP4 Address Pool assigned

ZDNet reports:
The online overseers bid adieu to the last 83.9 million addresses needed to bring devices online, marking the occasion as "one [of the] most important days in the history of the internet".

"This is one [of the] most important days in the history of the internet. A pool of more than 4 billion internet addresses has just been emptied this morning," said Rod Beckstrom, chief executive of the Internet Corporation For Assigned Names and Numbers (ICANN).The internet is wired with a technology called Internet Protocol version 4 (IPv4), which comes with 4.3 billion addresses to send data from one computer to another. That's a lot, but it's not enough, so now the move to the vastly more accommodating IPv6 is beginning in earnest.

More info - ZDNet

Dell introduces new Dell Venue, 4.1 Inch Android 2.2 touchscreen smartphone

Dell Venue Dell Venue Shipping February 18 for $499 Unlocked

Hot on the heels of their new 7 inch Streak Tablet, the Dell Venue is now on sale direct from Dell's US Store, unlocked for US$499.99 and shipping on February 18. There are no indications of an Australian release date yet.

The Venue cuts the QWERTY keyboard of its Windows phone cousin, the Venue Pro, but runs Android 2.2, has a 4.1-inch WVGA touchscreen protected with Gorilla Glass, an 8 megapixel camera, 1 GHz processor, 512 MB of RAM, Wi-Fi, GPS, 3G, and Bluetooth 2.1.

It will be running its own skinned version of Android, known as Stage. Dell is touting this as perfect for entertainment, with streaming radio stations and downloading books and music. It will also come with access to the Android Market, so you can add more options. With Android 2.3 already under development and Dell's history of running older versions of the Android OS, we can only hope they keep this model updated.

More Info at Engadget, ThinkGeek and IntoMobile

Android Developers Blog: New Merchandising and Billing Features on Android Market

Google has added the ability for Android App developers to provide billing options in their applications. This means developers can now offer finer grain payment options such as per use, upgrades and trial-to-full version options.

from Android Developer Blog:
After months of hard work by the Android Market team, I am extremely pleased to announce the arrival of In-app Billing on Android Market. This new service gives developers more ways to monetize their applications through new billing models including try-and-buy, virtual goods, upgrades, and more.
The In-app Billing service manages billing transactions between apps and users, providing a consistent purchasing experience with familiar forms of payment across all apps. At the same time, it gives you full control over how your digital goods are purchased and tracked. You can let Android Market manage and track the purchases for you or you can integrate with your own back-end service to verify and track purchases in the way that's best for your app.

Google adds ability to search and download Android apps from the Desktop

Google announced today the general availability of the Android market for the Web. This means for the first time Android users are not restricted to searching the market from their device. Users are now able to search from an Web enabled machine capable of running a browser and gives the user the ability to tag the application for download to their Android powered device over the air. Note however this does not mean you can use the Android Web market to download Android apps to your desktop nor can they be used on your desktop.

This is a great step forward in market penetration from Google's perspective. Apple have run a similar site that links directly to iTunes for further details. Google's offering on the other hand provides details directly in the browser without the need for extra software.

Android Market on the Web

Starting today, we have extended Android Market client from mobile devices to every desktop. Anyone can now easily find and share applications from their favorite browser. Once users select an application they want, it will automatically be downloaded to their Android-powered devices over-the-air.
Android Market on the Web dramatically expands the discoverability of applications through a rich browsing experience, suggestion-guided searching, deep linking, social sharing, and other merchandising features.
We are releasing the initial version of Android Market on the Web in English and will be extending it to other languages in the weeks ahead.
If you have applications published on Android Market, we encourage you to visit the site and review how they are presented. If you need additional information about what assets you should provide, please visit Android Market Help Center.
You can access Android Market on the Web at:

Wednesday, February 2, 2011

Which development board to use? A quick review of development boards today

I have been getting into hardware development pretty heavily the last few months. I have been working in partnership with a Satellite systems company developing a SCADA type system for industrial applications like mining and transport. I found this little review of the available development boards from the guys at HackADay.com. Check it out if your keen to learn a little more about hardware development. They cover all the usual suspects including the popular Arduino and BeagleBoards

Tuesday, February 1, 2011

Intel announces flaw in recently released Sandy-Bridge Chipsets

In some cases, the Serial-ATA (SATA) ports within the chipsets may degrade over time, potentially impacting the performance or functionality of SATA-linked devices such as hard disk drives and DVD-drives. The chipset is utilized in PCs with Intel's latest Second Generation Intel Core processors, code-named Sandy Bridge. Intel has stopped shipment of the affected support chip from its factories. Intel has corrected the design issue, and has begun manufacturing a new version of the support chip which will resolve the issue. ...

For computer makers and other Intel customers that have bought potentially affected chipsets or systems, Intel will work with its OEM partners to accept the return of the affected chipsets, and plans to support modifications or replacements needed on motherboards or systems. The systems with the affected support chips have only been shipping since January 9th and the company believes that relatively few consumers are impacted by this issue. The only systems sold to an end customer potentially impacted are Second Generation Core i5 and Core i7 quad core based systems. ...

For the first quarter of 2011, Intel expects this issue to reduce revenue by approximately $300 million as the company discontinues production of the current version of the chipset and begins manufacturing the new version. Full-year revenue is not expected to be materially affected by the issue. Total cost to repair and replace affected materials and systems in the market is estimated to be $700 million.

Coverage on Anandtech, Tech Report and PC Perspective. 

Panasonic FT3 | PhotographyBLOG

I want check this out when it comes out...

Looks like a half decent camera.
The Panasonic DMC-FT3 is a new rugged digital compact camera. The 12.1 megapixel FT3 (also known as the Panasonic TS3) is waterproof to 12m, shockproof to 2m, freezeproof to -10 degrees C and dustproof. The FT3 also has a 4.6, 28mm wide-angle zoom lens, 1920 x 1080 full-HD movie recording, 3D photo Mode, GPS functionality, a compass, altimeter and even a barometer. The price and availability of the Panasonic DMC-FT3 are still to be announced. Panasonic FT3 | PhotographyBLOG

Monday, January 31, 2011

NAB online banking goes down - Business - News

NAB online banking goes down - Business - News

The National Australian Bank is down again today after a multiple day outage only months recently. source

Reducing Memory Footprint of Apache Services « Unwinding the Stack

Interesting article outlining how to reduce Apache's Web Server, httpd's memory/cpu footprint. Very handy when running Apache in Hosting company
Reducing Memory Footprint of Apache Services « Unwinding the Stack

And also this serverfault.com thread

Thanks everyone for your answers! Following your suggestions I've been able to reduce my memory usage to 195M SWAP and 108M RSS, without touching my code (I'll definitely optimize it soon, but this was supposed to be a solution to get me out of trouble fast).
Here's the list of things I did:
Got rid of the wildcard used in VirtualHost entries. Instead of *:80 and *:443, I used the real IP of my server.
Changed Apache's prefork MPM. These are the values I ended up using:
StartServers           1 MinSpareServers        1  MaxSpareServers        5  ServerLimit           16 MaxClients            16 MaxRequestsPerChild    0 ListenBacklog        100 

These are by no means magical numbers. I've spent some time trying different values and combination, and then testing them against the real usage of my server and everyone should do the same in their enviroment. For the record, my server receives close to 2M pvs/month, serving both dynamic pages and assets at a regular rate - no digg effect. The intention, again, was to reduce the memory footprint, not to improve performance or HA.
Tunned down Apache's KeepAlive. By setting KeepAliveTimeout to a lower value (2 in my case) I can expect less server processes just waiting on connections with idle clients that may not request any more content.
Removed MySQL's unused module. I added skip-innodb to MySQL's my.cnf. Massive memory consumption reduction.

There are also some remarkable good suggestions that I couldn't personally do:
  • Remove PHP modules you do not need. The PHP on my server has most mods already compiled, I'll probably try my own minimal PHP on other VPS.
  • Switch to nginx with php-fastcgi. That's another good advice that I'll be trying soon, but right now I can't risk the downtime.

After following these instructions I was able to reduce my own hosting requirements significantly and encourage everyone to give these tips a go.

Sydney Daily Photo

Just found this great photo blog site depicting scenes from Sydney. Some decent shots there too
Sydney Daily Photo

Stephen Wolfram Blog : Jeopardy, IBM, and Wolfram|Alpha

destinyland writes"Stephen Wolfram, the physicist behind the Wolfram Alpha 'answer engine,' believes that Google would beat Bing in any contest based on questions from Jeopardy. 'Wolfram took a sample of Jeopardy clues and fed them into search engines,' explains one technology blog. 'When it came to the first page, Google got 69 percent correct, just beating Ask with 68 percent and Bing on 63 percent. ... To put that into context, the average human contestant gets 60 percent of answers correct, while champion Ken Jennings has a record of 79 percent.' Interestingly, Wikipedia came in last, scoring 23%, though they may have more to do with how Wikipedia handles searches. In two weeks, IBM's Watson computer will compete on Jeopardy against two of the show's all-time human champions."

Stephen Wolfram Blog : Jeopardy, IBM, and Wolfram|Alpha

Blog Bisnis Online | Blog Bisnis Internet Indonesia

Just noticed we are being blogged about in indonesia! Awesome

Check out Masroy's technical blog below
Blog Bisnis Online | Blog Bisnis Internet Indonesia

Saturday, January 29, 2011

Redirect one domain to another using Apache http htaccess file

Basically I was looking for the code needed to redirect one domain to another.

I used this and thought I would put it up here in case someone else has the same requirement

RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain1.com$
RewriteRule ^(.*)$ http://www.domain2.com.au/$1  [R=301,L]

Play Framework

As some of you may know, I spent some time doing some significant development with the Play Framework. I have to say that I think the Play Framework has surpassed my experiences with Spring and Spring Roo. That’s not to say that Spring and similar aren't decent frameworks, but I have been particularly impressed with the feedback loop provided by Play. It has, without a doubt, the most direct code-test-cycle I have seen in any platform for Java (it approaches the instant feedback of Rails), and also has the distinct advantage of being stateless out-of-the-box (something Spring and Wicket are definitely lacking). Beyond this I fnd the distinct lack of XML declarations a refreshing change. If you have ever had to configure Hibernate and the like in a Spring application you will know what I mean.
Play manages this feedback loop problem in a rather novel way – embedded in the framework is the Eclipse compiler for Java (ECJ). This means that when you’re coding for the play framework, you’re not sending it your class files, but rather your source files. This allows Play to recompile code in a running instance on the fly – I literally only restarted my application a handful of times while I was coding over the course of several days. It also integrates seamlessly with IDEs, and ships with an embedded HTTP runtime (no deployment is necessary during development).
There are a number of other benefits Play can provide by working with source files instead of class files. Much like Rails ability to add functionality to your application at runtime, Play can (and does) pre-process certain Java classes to add functionality.
Play is now fully supports Scala, which would allow for other modern language features to be used with this highly interactive framework.
It’s hard to describe all of the neat features Play provides in a few hundred words, but I would highly recommend you check it out – they have a 10 minute screencast they sells it better than I can. While I’m still convinced Java (as a language) will be surpassed for an overwhelming majority of the web-development as the language continues to stagnate, this is a compelling framework for the Java platform as a whole, even if Java isn’t your language of choice.

4 Exciting New Tools For WordPress and Google Chrome | WordPress, Multisite and BuddyPress plugins, themes, news and help – WPMU.org

Some handy Chrome extensions for the new WordPress site. Awesome :)

How to Switch from Blogger to WordPress Without Losing Google PageRank or Search Traffic

How to Switch from Blogger to WordPress Without Losing Google PageRank or Search Traffic

I think its time I migrate my blog to ausWebHost's Wordpress offering.

Stay tuned!

Tuesday, January 25, 2011

Download Bash shell Scripting Guide for Beginners (PDF) | Ubuntu Geek

UbuntGeek are offering a free PDF download of Bash Sheel Scripting Guide for Beginners if anyone is interested. Everybody working on a UNIX or UNIX-like system who wants to make life easier on themselves, power users and sysadmins alike, can benefit from reading this book.

Download Bash shell Scripting Guide for Beginners (PDF) | Ubuntu Geek

SLB: Sony TV LED & Blinking Codes - What Does It Mean When Standby/Timer Light Flashes

SLB: Sony TV LED & Blinking Codes - What Does It Mean When Standby/Timer Light Flashes: Lately my Sony Bravia TV has been blinking. By that I mean the front Red led blinks seven times in a cycle and the TV shuts itself off if turned on. Found this link that accurately details the error code. Looks like I need to send it in for repair to replace the D Board. Whatever the is...

An Epic Super-Sizing for the SuperNAP « Data Center Knowledge

An Epic Super-Sizing for the SuperNAP « Data Center Knowledge

Switch Establishes New Standard for Ultra-Scale Data Center Campus Ecosystems with SuperNAP-West Expansion to 2,000,000+ Squa...
Switch today announced the expansion of its Western United States data center campus, SuperNAP-West, to 2 million+ square feet of data center space. At 407,000 square feet, SuperNAP-7 (NV), located in Las Vegas, is the world's highest density, ultra-scale data center...

Cant wait to see what they come up with next! Thats a lot of cloud space!

Friday, January 21, 2011

20 Gorgeous Web Application Interfaces | Design Shack

20 Gorgeous Web Application Interfaces | Design Shack

Joshua Johnson from Design Shack has compiled a nice list of elegant web application designs. These are the kinds of sites all web developers dream of achieving but rarely come close. An interesting read so check it out!

Thursday, January 20, 2011

Private VCS Hosting Comparison

Just found this site which gives adecent overview of VCS hosting plans. Check it out here -> Journal of Eivind Uggedal

Cloud Wrappers, A Unified Interface to the Cloud | Crunch Tools

Cloud Wrappers, A Unified Interface to the Cloud | Crunch Tools

Was researching the net today for EC2 managment utilities and stumbled on this blog post on Crunch Tools. Mentioned Overmind, a very promising web application to manage all my cloud instances from a centralised point. According to their GitHub page, Overmind aims to provider a complete server provisioning and configuration management application.

The first version is a unified front-end to public and private clouds, custom server providers and dedicated hardware. Its based on Python, Django Web Framework and libcloud.

Eucalyptus 2.0 Is Now Available! | Eucalyptus Community

Eucalyptus 2.0 Is Now Available! | Eucalyptus Community

Eucalyptus 2.0 has been released. This latest version of the Eucalyptus open source cloud introduces several new features, including iSCSI support for EBS volumes, S3 versioning, virtio support for KVM hypervisors, and new administrator tools.

Google Wave Developer Blog: Introducing Apache Wave

Google Wave Developer Blog: Introducing Apache Wave

When the Google Wave project was killed by Google, and subsequently proposed in the Apache Software Foundation incubator, there was an “overwhelmingly positive” seal of approval from the ASF members. It’s great to see so many of the original devs assigned to the project volunteering to continue their work through the open sourced version. I look forward to seeing how the ASF community molds and shapes this project into something awesome.


Hack a Day


IntoMobile » Android


Koen's blog

Interesting Blogs