2012-08-17

Got your keys?

Did you ever feel unsure whether all your property-files were in sync?

Well, I am more often than not. So here's a small utility script I wrote to make sure:




Give it some name (propertiesDiff.sh for instance) and make it executable. Then run it like so:
$ propertiesDiff.sh messages.proerties messages_sv.properties

2012-08-14

Did GGTS fail to convert your Gradle project?

Groovy/Grails Tool Suite

I just installed the brand new Groovy/Grails Tool Suite from springsource.org/sts/.
Looks brilliant and just what I needed (I did't use any Spring stuff in STS 2.x).

However, since this version of STS (GGTS) is built on Eclipse 4, when opening the workspace you used previously the project settings needs to be migrated.

GGTS does this migration for you upon first launch, and my Grails projects were migrated just fine.
But I also has a couple of Gradle projects in there that didn't get migrated since the GGTS doesn't come with the Gradle extension.

These are the steps I took to fix this:

  1. Installed the Gradle extension (from under the Extensions tab in the SpringSource Dashboard)
  2. Restarted GGTS
  3. Right-click in the Project Explorer and select "Configure" > "Migrate legacy STS projects…"
  4. Select the Gradle projects to upgrade
And that's it! I could then right-click the project and do a "Gradle" > "Refresh Dependencies".

2012-07-02

Är det så här alla former av dokumentärer måste utformas nuförtiden?:

||:
Person A knackar på och går in i Person Bs hem.
Person A och Person B gör någonting tillsammans.
Person A lämnar Person Bs hem.

Person A pratar LIKSOM I FÖRTROENDE om vad som hände hemma hos Person B.
Person B pratar LIKSOM I FÖRTROENDE om vad som hände när Person A var hemma hos Person B.
:||


||:
Person B säger NÅGONTING KONTROVERSIELLT.
Person A och Person B gör någonting tillsammans.
Person A svarar NÅGONTING KONTROVERSIELLT.

Person A pratar LIKSOM I FÖRTROENDE om vad hen kände när Person B sade NÅGONTING KONTROVERSIELLT, gärna NÅGONTING KONTROVERSIELLT.
Person B pratar LIKSOM I FÖRTROENDE om vad hen kände när Person A svarade NÅGONTING KONTROVERSIELLT, ganska säkert NÅGONTING KONTROVERSIELLT.
:||



Shame on you alla fucking "dokumentärfilmare". (Ni vet vilka ni är!)