Har du nogensinde set på børn på en karrusel?

Har du nogensinde set på børn på en karrusel?

Eller lyttet til regnen, der slår mod jorden?

Nogensinde fulgt en sommerfugls elegante leg?

Eller kigget på solen, mens den gik mod nat?

Tag en stille dans. Ikke så hurtigt. 
Livet er kort.
Musikken varer ikke ved.

Farer du gennem dine dage meget hurtigt?
Når du spørger ”hvordan går den”?
Hører du så svaret?
Når dagen er forbi, ligger du så i din seng med de 
næste hundrede opgaver kørende i hovedet?

Tag en stille dans. Ikke så hurtigt.
Livet er kort.
Musikken varer ikke ved.

Har du nogensinde sagt til dit barn, vi gør det i morgen?
Og nåede du ikke at se, hvor det sårede ham/hende?
Har du nogensinde mistet overblikket, mistet gode venner, 
fordi du ikke havde tid til at ringe og sige ”Hej”?

Tag en stille dans. Ikke så hurtigt.
Livet er kort.
Musikken varer ikke ved.

Når du farer sådan af sted,
mister du halvdelen af 
glæden ved at nå det.
Når du bekymrer og skynder dig hele dagen,
er det som en uåbnet gave.
Bare smidt væk.

Livet er ikke et væddeløb.
Tag den med ro. 
Hør musikken inden sangen er forbi 😉

Corrupted file permissions on Microsoft Windows

From time to time you might find yourself having troubles with file permissions in a Windows environment. This issue will show itself in you not being able to edit, change, move or delete one or multiple files on your computer. This can happen if the ownership settings of the file(s) are corrupted which happen once in a while. To recover the file permissions we are going to use two tools native to Windows; takeown and cacls.

The way to recover the file permissions are to do the following:

  1. Right-click the Start button and press Windows Powershell (Administrator)
  2. Execute the command takeown /f <full path to file> e.g., takeown /f C:\Windows\WindowsUpdate.log
  3. This will transfer ownership from whichever user- or system account to the account executing the command. However, ownership does not necessarily grant access to deleting the file.
  4. To reset this permission set, execute the command cacls <full path to file> /G <Username>:F e.g., cacls C:\Windows\WindowsUpdate.log /G Morten:F
  5. You have now effectively transferred ownership permissions to your account.

To read the full list of operators and parameters for the commands, please refer to the official Microsoft documentation for cacls and takeown.

Den mexicanske fisker

En amerikansk bankmand står ved havnen i en lille mexicansk landsby ved kysten, da en lille fiskerbåd med kun en mand om bord kom ind fra havet.

I båden var der flere store gule tunfisk. Amerikaneren roste fiskeren for kvaliteten af hans fisk og spurgte om, hvor lang tid det tog ham at fange dem.

Mexicaneren svarede: “Jamen, ikke så længe”.

Amerikaneren kiggede skævt til fiskeren: “Hvorfor blev du så ikke længere ude for at fange endnu flere fisk?”

Mexicaneren smilede: “Med disse har jeg rigeligt til, at min familie kan spise.”

Så spurgte Amerikaneren: “Men hvad laver du så med resten af din tid?”

“Nå,” sagde fiskeren, “Jeg sover længe, fisker lidt, leger med mine børn, tager en siesta med min kone, Maria, går en tur ind i byen, hvor jeg hver aften nyder et glas vin og spiller på guitar sammen med mine venner. Jeg har et travlt og fuldt liv.”

“Jamen, prøv at høre min fine ven,” grinede Amerikaneren, “jeg er en Harvard MBA og kan hjælpe dig! Du skulle bruge mere tid på at fiske og så kan du sælge det, du ikke kan spise. Med de ekstra penge du tjener, kan du købe en større båd og med profitten fra den større båd, kan du købe flere og flere både. Istedet for at sælge fisk til en mellemmand, så sælger du direkte til firmaet og til sidst kan du abne dit eget mad firma. Du ville have kontrol over produktet, udviklingen og distributionen! Du bliver dog nødt til at flytte fra denne lille landsby og flytte til Mexico City, og derfra til Los Angeles og så New York til sidst, for at køre din ekspanderende forretning.”

“Wow!” siger fiskeren, “Hvor lang tid mener du, det vil tage for at gøre det?”

“Jamen, ikke mere end 15-20 år,” svarede Amerikaneren.

“Men hvad så bagefter?” spurgte fiskeren.

Amerikaneren lo højt, “Ha! Nu kommer den bedste del. Når tiden er inde, så sælger du aktier i firmaet og du skaber en formue for dig selv – millioner måske!”

Mexicaneren kiggede helt paf på bankmanden, “Millioner? … Og hvad så?”

“Så kan du gå på pension.” svarede Amerikaneren, “Flytte til en lille landsby ved kysten, hvor du kunne sove længe, fiske lidt, lege med dine børn, tag siesta med din kone. Om aftenen kan du gå ud og spille guitar og drikke med dine venner.”

How to change keymap on RaspBMC to fit MCE remote

How to change keymap on RaspBMC to fit the Microsoft MCE remote

  1. Connect to RPi using Putty or other SSH-client
  2. Copy the default XBMC keymap file to your home directory.
    cp /opt/xbmc-bcm/xbmc-bin/share/xbmc/system/keymaps/remote.xml /home/pi/.xbmc/userdata/keymaps/remote.xml
  3. I use nano to edit the remote.xml file. Use whatever editor you want.
    sudo nano /home/pi/.xbmc/userdata/keymaps/remote.xml
  4. In the global-section I edited the command of the yellow button to show the context menu.
  5. Default is:
    <yellow>XBMC.ActivateWindow(MyMusic)</yellow>
    New value is:
    <yellow>ContextMenu</yellow>
  6. Hit CTRL+X, Press Y to confirm and Enter to execute. Now changes are saved to the file.
  7. Restart your RaspBMC for the changes to take effect. In my case I needed to change the command of the yellow button but you can change whatever parameter that you need. You can find the full list of commands here.
“”;s:7:””summary””;s:0:””””;s:6:””format””;s:13:””filtered_html””;s:10:””safe_value””;s:1248:””

How to change keymap on RaspBMC to fit the Microsoft MCE remote

  1. Connect to RPi using Putty or other SSH-client
  2. Copy the default XBMC keymap file to your home directory.

    cp /opt/xbmc-bcm/xbmc-bin/share/xbmc/system/keymaps/remote.xml /home/pi/.xbmc/userdata/keymaps/remote.xml

  3. I use nano to edit the remote.xml file. Use whatever editor you want.

    sudo nano /home/pi/.xbmc/userdata/keymaps/remote.xml

  4. In the global-section I edited the command of the yellow button to show the context menu.
  5. Default is:

    <yellow>XBMC.ActivateWindow(MyMusic)</yellow>

    New value is:

    <yellow>ContextMenu</yellow>

  6. Hit CTRL+X, Press Y to confirm and Enter to execute. Now changes are saved to the file.
  7. Restart your RaspBMC for the changes to take effect. In my case I needed to change the command of the yellow button but you can change whatever parameter that you need. You can find the full list of commands here.

A boys last wish

The 26-year-old mother stared down at her son who was dying of terminal leukemia. Although her heart was filled with sadness, she also had a strong feeling of determination. Like any parent she wanted her son to grow up and fulfill all his dreams. Now that was no longer possible. The leukemia would see to that.

But she still wanted her son’s dreams to come true. She took her son’s hand and asked, “Bopsy, did you ever think about what you wanted to be once you grew up? Did you ever dream and wish what you would do with your life?”

“Mommy, I always wanted to be a fireman when I grew up.” Mom smiled back and said, “Let’s see if we can make your wish come true.”

Later that day she went to her local fire department in Phoenix, Arizona, where she met Fireman Bob, who had a heart as big as Phoenix. She explained her son’s final wish and asked if it might be possible to give her six-year-old son a ride around the block on a fire engine.

Fireman Bob said, “Look, we can do better than that. If you’ll have your son ready at seven o’clock Wednesday morning, we’ll make him an honorary fireman for the whole day. He can come down to the fire station, eat with us, go out on all the fire calls, the whole nine yards! “And if you’ll give us his sizes, we’ll get a real fire uniform for him, with a real fire hat — not a toy one — with the emblem of the Phoenix Fire Department on it, a yellow slicker like we wear and rubber boots. They’re all manufactured right here in Phoenix, so we can get them fast.”

Three days later Fireman Bob picked up Bopsy, dressed him in his fire uniform and escorted him from his hospital bed to the waiting hook and ladder truck. Bopsy got to sit on the back of the truck and help steer it back to the fire station. He was in heaven.

There were three fire calls in Phoenix that day and Bopsy got to go out on all three calls. He rode in the different fire engines, the paramedic’s van, and even the fire chief’s car. He was also videotaped for the local news program.

Having his dream come true, with all the love and attention that was lavished upon him, so deeply touched Bopsy that he lived three months longer than any doctor thought possible.

One night all of his vital signs began to drop dramatically and the head nurse, who believed in the hospice concept that no one should die alone, began to call the family members to the hospital. Then she remembered the day Bopsy had spent as a fireman, so she called the Fire Chief and asked if it would be possible to send a fireman in uniform to the hospital to be with Bopsy as he made his transition.

The chief replied, “We can do better than that. We’ll be there in five minutes. Will you please do me a favor? When you hear the sirens screaming and see the lights flashing, will you announce over the PA system that there is not a fire? It’s just the fire department coming to see one of its finest members one more time. And will you open the window to his room?”

About five minutes later a hook and ladder truck arrived at the hospital, extended its ladder up to Bopsy’s third floor open window and five firefighters climbed up the ladder into Bopsy’s room. With his mother’s permission, they hugged him and held him and told him how much they loved him. With his dying breath, Bopsy looked up at the fire chief and said, “Chief, am I really a fireman now?” “Yes, Bopsy, you are a fireman now,” the chief said. With those words, Bopsy smiled and closed his eyes one last time. He passed away later that evening.