rblog

Finished trimming the spruce hedge

Finished trimming the spruce hedge this year. Had not done it last year so it was a pretty hard job this time, takes a couple of hours. It is starting to get as high as it can be allowed to, so I need to cut the top of it pretty hard each year now.

Iver said that he could see the whole world from the top of the ladder.

Panorama view using my iPhone.

Headlight bulb replacement

Had to replace the headlight bulb on my Mondeo, which is quite easy and one of the things that the engineers at Ford actually has planned very well. The most difficult part is actually to remove the grill, not because that itself is difficult, but I’m always afraid that I will damage it. But, it is just to be firm when pulling it off, and then it is removed within two seconds. The whole operation is done in less than 3-4 minutes.

LED-lights mounted

Bought a pair of led lamps about a month ago, hoping for an easy job mounting them, but no. Turned out that there was a lot of rust on the roof, so that needed to be repaired. Now that is done, and I have mounted the rear lights.

They turn night into day

How to get uptime for a Windows service

Needed to know the uptime of a service on a Windows 2012 server to verify that the suggested solution for restarting all Splunk Universial Forwarders did work, see answers.splunk.com/../how-can-i-restart-all-my-forwarders.

Solution found here /blogs.technet.com/…/how-can-i-get-the-uptime-of-a-service, did make some minor adjustments to the vbscript as shown below.

strComputer = "."

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

Set colServices = objWMIService.ExecQuery _
    ("Select * From Win32_Service WHERE displayname = 'SplunkForwarder'")
 
For Each objService in colServices

    intProcessID = objService.ProcessID

    Set colProcesses = objWMIService.ExecQuery _
        ("Select * From Win32_Process Where ProcessID = " & intProcessID)

    For Each objProcess in colProcesses
        Wscript.Echo objService.Name + "/" + objProcess.Name + " " + objProcess.CreationDate
    Next
Next

Running it from the Powershell prompt like this PS D:\Temp> cscript.exe .\uptime.vbs

Bruce Springsteen live in concert

Yesterday me and Elin together with Anette and Dag Anders went to see Bruce Springsteen & The E Street Band live in concert at Telenor Arena. Picture from before it all started.

And the show is on, and what a show. They are pretty amazing live.

Happy couple on our way home.

Spinning to Johnossi

Today, finally, after a to long break, I did my “Spinning to” again. Today spinning to Johnossi and their latest album Transitions. Enjoyed it, especially Gone Forever. At the end, the album had a bit to much ballads, I would prefer that they mixed the songs a bit more while spinning to it, but hey…not a big issue. I recommend listening to it.

TortoiseSVN: Access is denied

Running on Windows7 I had problems with TortoiseSVN, I was unable to rename, move and such. Solution for this is to run Windows Explorer as administrator.

Initially I could also have checked out my working folder in the home directory of my own user, that should also solve the problem without the need to “Run As Administrator”

Hjem