My code is open source
February 4th, 2012Ages 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?
February 1st, 2012Had 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
January 31st, 2012Categorized 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
January 31st, 2012If 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
January 30th, 2012For 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
Point is that you need to go to the terminal and do a 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...
cd ./Trash
sudo rm -rf *.*
Dance the pain away
January 24th, 2012Breaker vs. Nazis
Need to refresh my German language skills, that's for sure
A great moment in History
January 20th, 2012Created a playlist with all Youtube clips of Hellacopters live at Hove 2008, a great moment in history!
SOPA and PIPA, learn why Wikipedia is down
January 18th, 2012Find out more at wikipedia.org/wiki/Wikipedia:SOPA_initiative why Wikipedia is down today.
Motorcycle vs Car Drift Battle
January 15th, 2012Pretty cool, fast car, bikes, RC cars and helicopters

