Unix command find directories without specific files

September 28th, 2013 by admin No comments »

In development box already set up Maven local repository. New projects are base on Grails and build with Gradle. Gradle set up to re-use Maven local repository, but Maven repository is NOT as reliable as you expect.

Then come across a problem that Gradle fails to download dependencies if not present in MavenLocal(), i.e., directories have Maven pom.xml but without artifact jar files. This makes Gradle build failed.

http://forums.gradle.org/gradle/topics/gradle_fails_to_download_dependencies_if_not_present_in_mavenlocal

So need to find out these directories:

$ find . -type d -not -empty -links 2 -exec sh -c 'set -- "$0"/*.jar; ! [ -e "$1" ]' {} \; -print

This is how do you feel when you make something to be compatible with legacy app…

September 28th, 2013 by Terrence Miao No comments »

This is how do you feel when you make something to be compatible with legacy applications

Backwards Compatible Migrations

Google+: View post on Google+

Bill Gates admits Control-Alt-Delete was a mistake

September 28th, 2013 by Terrence Miao 2 comments »

He blames IBM for the so-called "three-fingered salute", claiming that he had favoured a single button.

David Bradley, an engineer who worked on the original IBM PC, invented the combination which was originally designed to reboot a PC. "I may have invented it, but Bill made it famous."

Embedded Link

Bill Gates admits Control-Alt-Delete was a mistake, blames IBM
Microsoft co-founder Bill Gates has finally admitted that forcing users to press the Control-Alt-Delete key combination to log into a PC was a mistake. In an interview at a Harvard fundraising…

Google+: View post on Google+

+Dean Budd any experience with Rally?

September 26th, 2013 by Terrence Miao 11 comments »

+Dean Budd any experience with Rally?

Embedded Link

Rally Software | Enterprise-Proven Agile
Our award winning agile project management tools help large enterprises perfect the art of agile development & bring products to market faster. Free trial. Rally is the recognized leader in Agile application lifecycle management (ALM).

Google+: View post on Google+

Maybe the most innovative creation since the start of 

September 26th, 2013 by Terrence Miao No comments »

Agile movement …

Pair On chair

Google+: View post on Google+

iOS 7 like theme on my Samsung Galaxy Note 2

September 26th, 2013 by Terrence Miao 4 comments »

iOS 7 like theme on my Samsung Galaxy Note 2

Android iOS 7 theme

Google+: View post on Google+

Mark Gee from Australia won the top prize Astronomy Photographer of the Year 2013…

September 23rd, 2013 by Terrence Miao No comments »

Mark Gee from Australia won the top prize Astronomy Photographer of the Year 2013 for his photograph of the Milky Way over the Cape Palliser, New Zealand

What the photographer says:

I recently spent a night out at Cape Palliser on the North Island of New Zealand, photographing the night sky. I woke after a few hours’ sleep at 5 a.m. to see the Milky Way low in the sky above the Cape. The only problem was that my camera gear was at the top of the lighthouse, seen to the right of this image, so I had to climb the 250-plus steps to retrieve it before I could take this photo…

‘By the time I got back the sky was beginning to get lighter with sunrise only two hours away. It looked surreal but amazing as the twilight started to creep into the night sky. I took a wide panorama made up of 20 individual images to get this shot. Stitching the images together was a challenge but the result was worth it!’

Canon 5D Mark III camera; 24mm f/2.8 lens; ISO 3200; 30-second exposure

What it shows:

This is a spectacular view of the Milky Way arching over the coast of the North Island of New Zealand. The brightest light in the image is from the Cape Palliser Lighthouse. The central patch of light in the sky marks the bulge of stars at the heart of our Galaxy, 26,000 light years away. To the left, the two Magellanic Clouds, small satellite galaxies much further away, appear as faint smudges in the sky.

What the judges say:

Pete Lawrence says: ‘This is a great composition. I love the way that the Milky Way appears to emanate from the lighthouse – really cementing the connection between the stars and the landscape. I also love the way the Milky Way drags your view out to sea, inviting you to go out and explore the unknown.’

» Read more: Mark Gee from Australia won the top prize Astronomy Photographer of the Year 2013…

If you are struggling with Git, just stick with it and eventually you will see the…

September 23rd, 2013 by Terrence Miao 3 comments »

If you are struggling with Git, just stick with it and eventually you will see the light at the end of the tunnel …

Embedded Link

Git – Book
About · Documentation · Reference · Book · Blog · Videos · External Links · Blog · Downloads · GUI Clients · Logos · Community. Download this book in PDF, mobi, or ePub form for free. This book is translated into German, 中文, French, Japanese, Dutch, Russian, Korean, Brazilian Portuguese and …

Google+: View post on Google+