Not something I could do for a living, but anyhow better than they where in the beginning…
rblog
Handyman and my reward
With a little help from my son, making a cover for the grill, function before form and maybe not a winner in Queer Eye, but it does the job.
And the reward. Ok, the trained eye will spot that the ones to the left is 0%. Elin bought them in case we got visitors that would not drink and drive.
Remove rust – sandblasting
My latest book: Joral Gjerstad “Den gode kraften”
Not entirely true that this is my latest book, finished it a while ago. Used to read it when at my in-laws while putting the kids to bed. A self-biography written by Joral Gjerstad, better known as Snåsamannen
Petters super fix it
X11 Forwarding and su/sudo
Ever been in the situation where you log on to a server as one user having X11 enabled, but then need to sudo to another one – and voila, your X11-sesison is long gone…
Solution provided here http://brandonhutchinson.com/wiki/X11_Forwarding_and_su/sudo
I did as root
cd ~
mv .Xauthority .Xauthority_old
ln -s ~diagnostics/.Xauthorithy .Xautorithy
and it all worked fine.
Norwegian date format for JIRA
Navigate to Administration -> General Configuration -> Advanced
jira.date.picker.java.format dd.MM.yy
jira.date.picker.javascript.format %d.%m.%y
jira.date.time.picker.java.format dd.MM.yy h:mm a
jira.date.time.picker.javascript.format %d.%m.%y %l:%M %p
My latest book: Laurence Rees – The Nazis
My latest book – Laurence Rees – The Nazis, a warning from history.
…Described as ‘one of the greatest documentary series of all times’ ‘The Nazis – A Warning from History’ won a host of awards, including a Bafta and an International Documentary Award. The accompanying book broke new ground in our understanding of the Nazi regime and was praised for ‘getting to the heart of the most troubling and elusive questions of Germany before and during World War Two’. The dramatic and incredible story that unfolds in these pages, once read, is not easily forgetten.
A book of horror, mostly since you get to realize that many of the people who did the most horrible things during WW2 where just ordinary people in the beginning, just like you and me, and when the war was over, they returned to their ordinary lives. Makes you think…could I have done the same thing? And also, even though Hitler himself was not a highly educated man, many of the leading Nazis where…and still…
Firewall verification using a script
Needed to verify a lot of ports that should be opened making it possible to connect to three hosts. Had to do some surfing, and as always by the help of Google I managed to create a bash-script solving the issue for me.
#!/bin/bash
###### Set variables ########
# IP of WAS-server 4,5,6
PREIP=10.10.31.
POSTIP="4;5;6"
# Use Notepad++ and see http://ccapeng.blogspot.no/2008/06/notepad-replace-pattern-with-line-break.html to create the below listings
CSIV2_SSL="10113;10036;10046;10056;10066;10076;10086;10096"
ORB_LISTENER="10014;10024;10034;10044;10054;10064;10074"
BOOTSTRAP="10111;10032;10042;10052;10062;10072;10082"
###### DO THE MAGIC ######
echo "Testing from `hostname`"
echo "***********************"
# Use of IFS, see http://stackoverflow.com/questions/918886/split-string-based-on-delimiter-in-bash
OIFS=$IFS
IFS=';' read -ra IPARR <<< "$POSTIP"
for ip in "${IPARR[@]}";
do
MACHINE=$PREIP$ip
echo ""
echo "¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤"
echo "Testing connectivity against ip $MACHINE"
echo "¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤"
echo ""
echo "Checking CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS"
IFS=';' read -ra CSIV2ARR <<< "$CSIV2_SSL"
for port in "${CSIV2ARR[@]}";
do
# Ignore errors, instead print below
exec 3>/dev/tcp/${MACHINE}/$port 2>/dev/null
if [ $? -eq 1 ]
then
#Only report errors, ret.value = 1 (success = 0)
echo "Telnet connections not possible on port $port"
fi
done
#...as above, for the rest of the ports needed to be checked,
#...copy the above statements and change the source variable.
#...a bit dirty, but hey, solving a one time issue...who cares :-)
done
# Set IFS back to old value
IFS=$OIFS
WebSphere: Containment paths, configuration IDs and object names
…the difference between containment paths, configuration IDs and object names in WebSphere’s scripting interface wsadmin…
All very well explained in this blog post blog.xebia.com/../websphere-scripting-with-wsadmin-containment-paths-configuration-ids-and-object-names







