rblog

How to compare files? Notepad++ to the rescue

Have been using Notepad++ for quite a while now, but have not dived into the various plugins to much yet. But today I needed to compare two files and had no available comparators, or…could have used Rational Application Developer – but that is overkill for comparing two Jython scripts. But then Notepadd++ plugins to the rescue. Found this blogpost http://www.cottonrohrscheib.com/blog/notepad-compare-plugin/, downloaded the plugin and followed this simple how-to installing it. Up and running in less than five minutes!

Magnetic resonance scan

Today I tried Magnetic resonance scan for the first time (and hopefully my last). It was not that bad experience, I guess because I do not suffer from claustrophobia and also because I could wear ear protections. I was there to get a picture of my shoulder, and in a few days I will hopefully just get confirmed that my muscles are ok and I can start lifting without any fear of creating more damage to my arm.

Worst thing was that I had to remove my nipple piercing, but after having watched this video http://www.metacafe.com/watch/2194395/mri_scan_accident/ I realized that it was a good thing to remove it…and I know that both Elin and my mother appreciate that it is gone…

How to undelete files in subversion

I accidentally deleted a bunch of directories using “svn delete” about a month ago, and now we realized that we needed them. So, question was – how to do undelete in Subversion since svn does not have a undelete-command. Then ‘svn copy -r REVISON’ to the rescue. First attempt solution found at jappler.com

svn copy -r NUMBER NAMEOFDIRECTORY NAMEOFDIRECTORY

The above command resulted in “NAMEOFDIRECTORY not a working copy”…damn!!! But then I found a slightly different way of doing it at www.canfield.com and I did

svn copy -r NUMBER https://{URL}/NAMEOFDIRECTORY NAMEOFDIRECTORY

Success…and if you are unsure of your svn url, just type ‘svn info’

Then to commit a list of folders in one operation I found the solution at Stackoverlow.com

cat mblade_list.txt | xargs svn commit -m “Restored”

Anders Frankson og Niklas Zetterling “Slaget om Kursk”

The story about the battle of Kursk. Quite interesting book, off course a lot of name of various places and a lot of numbers making it a bit hard to hang in there, but also much focus on how the life of a solider was from day to day. Enjoyed the focus on the differences in leadership between the allied, here represented by the Russians, and the axis. Where the Russians focused on leadership from above, the Germans let soldiers on all levels decide during the battle, making the German army way more effective. They did not have to wait on orders from above when deciding what to do on the battlefield. Such things make the book worth reading, but still, you have to be interested in WW2 to really enjoy the book.

Planning to buy a new bike?

Then you have several options, you could choose to go for the safe, conservative and very common alternative – bikes that has bike chains.

But if you want to be more innovative, maybe want to prove that you are an early adopter in the urban market (ha-ha), you could go for the Trek District Bike. It uses a belt instead of a chain, in fact it might be a good alternative for my single speed. I have already had to replace two chains this year, and I give the one mounted on it right now just another month before that one must be replaced as well.

But you can be even more innovative, take a look at the Stringbike. That is for sure innovation! But it looks a bit complicated I must admit.

[video:youtube:z4PAzalfpww]

Contrails at Vestreng

Originally I planned to use the word “cemtrails“, but realizing that it might cause some misunderstanding, I use the correct word instead, which is contrails. But even still, I find it a bit interesting how much time and effort people can spend when it comes to conspiracy theory’s. But then again, for them it is the truth…nice pictures anyhow

Hjem