Bought a Logitech Harmony 700, dumped all other remotes, now just one. Working as a charm, some minor issues, but does not bother me at all since we now just have one remote.
[video:youtube:KPrhoxvWZP8]
rblog
Car wash not only for cars
Bare Egil Band live in concert
Yesterday Espen and I went to see Bare Egil Band performing live at Sentrum Scene. Fun and entertaining with a lot of his songs from last year such as all the three listed at his blogpost “Forrige helgs sanger”
- Nå swinger det i Tjølling
- Morten Ab-l Ab-l
- Hei Lyngdøl
Should I start food blogging?
So many food blogs – http://blogg.matprat.no/ and Best Food Blogs, maybe I should add a category “Food” as well, looks nice or what?
Error handling in bash scripts done right
Ever wondered how to do proper error handling in bash scripts? Check out http://fvue.nl/wiki/Bash:_Error_handling – it made my day!
My code is open source
Ages ago I created my own project in Java that enables me to export my entire blog (or parts of it) to PDF. Not very useful for my personal blog off course, but for the two blogs I have created for my kids it is my master plan to sometime have a book created. Who knows, in 50 years if they are able to view the content of the B2Evolution blog, but paper will for sure last that long.
My project is hosted by Google Code, http://code.google.com/p/b2evolution-to-pdf/ – free for everyone to use with the limitations that the third party libraries have.
Main purpose of publishing it to Google Code is to have a backup of the code, not just store it on my Lenovo T60 laptop which is…7 years old now? Second, it might be that someone out there might have the same need as me, and maybe my effort could save them time.
What ports are open on my system?
Had an issue today trying to figure out which port to use in order to access a test installation of Atlassian JIRA installed by someone else ages ago. The command was simple:
nmap -sS -O 127.0.0.1
Thanks to http://www.linux-noob.com and the frequent member xDamox who created the post back in 2005.
bad interpreter: No such file or directory
Categorized by me as “WTF???”. I did have sh installed in the bin-folder, but as usual, Google is my friend, found this perl snippet
perl -i -pe's/\r$//;' <file name here>
Solution provided by vbrummet
British pair arrested in U.S. on terror charges over Twitter jokes
If you in the nearby future, or I would guess I could cut the word “nearby”, have plans to travel to the U.S, you must not under any circumstances offend the country in any way, what so ever. If you do you might end up as a suspected terrorist and be refused to enter the country…forever. It happened to a British pair since the guy had written some funny Twitter tweets…read all about it in DailyMail
Snow Leopard – Trash can won’t empty
For some reason that the “Secure empty trash”-function refuses to tell me, it would not totally empty my trash on our Macbook Pro running Snow Leopard 10.6.8. I stumbled across this Youtube-clip that got me started http://www.youtube.com/watch?v=lPTY8kHd0Hw [video:youtube:lPTY8kHd0Hw]
Point is that you need to go to the terminal and do a
cd ./.Trash
sudo rm -rf *.*
to get the files deleted. If you watch the video don’t worry about all the warnings of how dangerous the command is and also the thing he says that the command can have change – it won’t change, this is a basic Linux/Unix command. Anyhow, this helped me out and I got to empty the trash totally. I guess it is a feature, but I hate the fact that it cannot empty my trash without me using command line sudo rm…


