<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Patterns</title>
	
	<link>http://kb.huptas.net</link>
	<description>Technical patchwork to ease my brain</description>
	<lastBuildDate>Sat, 08 Aug 2009 23:10:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/huptas" /><feedburner:info uri="huptas" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Mapping Java Thread ID to the hex id of a stacktrace</title>
		<link>http://feedproxy.google.com/~r/huptas/~3/l9Df-8hKyo8/</link>
		<comments>http://kb.huptas.net/2009/03/29/mapping-java-thread-id-to-the-hex-id-of-a-stacktrace/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 00:07:48 +0000</pubDate>
		<dc:creator>Dustin</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://kb.huptas.net/?p=179</guid>
		<description>So you generated a stacktrace and also identified the thread which is causing you so much pain but don&amp;#8217;t know how to map one to the other? Do it like this:
Find the PID of the java process:

host:/service/activemq/log/main# ps -ef&amp;#124;grep activemq
activemq 24380 20411  0 Mar25 ?        00:02:56 /usr/bin/java -Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Dcom.sun.management.jmxremote -Dactivemq.classpath=/usr/local/activemq/conf; -Dactivemq.home=/usr/local/activemq -Dactivemq.base=/usr/local/activemq -jar /usr/local/activemq/bin/run.jar [...]&lt;img src="http://feeds.feedburner.com/~r/huptas/~4/l9Df-8hKyo8" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://kb.huptas.net/2009/03/29/mapping-java-thread-id-to-the-hex-id-of-a-stacktrace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kb.huptas.net/2009/03/29/mapping-java-thread-id-to-the-hex-id-of-a-stacktrace/</feedburner:origLink></item>
		<item>
		<title>pdfcrop</title>
		<link>http://feedproxy.google.com/~r/huptas/~3/GcTxbpnM7e0/</link>
		<comments>http://kb.huptas.net/2009/01/20/pdfcrop/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 20:11:03 +0000</pubDate>
		<dc:creator>Dustin</dc:creator>
				<category><![CDATA[desktop and multimedia]]></category>

		<guid isPermaLink="false">http://kb.huptas.net/?p=178</guid>
		<description>pdfcrop &amp;#60;inputfile&amp;#62; &amp;#60;outputfile&amp;#62;
&amp;#8220;pdfcrop is a utility to calculate and remove empty
margins from each page in the input PDF file. The
resulting output file occupies the minimal paper size
needed for the contents and is therefore suitable for
inclusion as a graphic.&amp;#8221;
Thanks, Töns.&lt;img src="http://feeds.feedburner.com/~r/huptas/~4/GcTxbpnM7e0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://kb.huptas.net/2009/01/20/pdfcrop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kb.huptas.net/2009/01/20/pdfcrop/</feedburner:origLink></item>
		<item>
		<title>Germany vs. Turkey (3:2) …again…</title>
		<link>http://feedproxy.google.com/~r/huptas/~3/IlcZvRUndFE/</link>
		<comments>http://kb.huptas.net/2008/06/25/germany-vs-turkey-32-again/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 21:52:33 +0000</pubDate>
		<dc:creator>Dustin</dc:creator>
				<category><![CDATA[soccer]]></category>

		<guid isPermaLink="false">http://kb.huptas.net/?p=173</guid>
		<description>Hm, I guess we are lucky to reach the final. Turkey was clearly the better team. Thank you Philip Lahm!&lt;img src="http://feeds.feedburner.com/~r/huptas/~4/IlcZvRUndFE" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://kb.huptas.net/2008/06/25/germany-vs-turkey-32-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kb.huptas.net/2008/06/25/germany-vs-turkey-32-again/</feedburner:origLink></item>
		<item>
		<title>Germany vs. Portugal (3:2)</title>
		<link>http://feedproxy.google.com/~r/huptas/~3/X3Rjc3biKiQ/</link>
		<comments>http://kb.huptas.net/2008/06/19/germany-vs-portugal-32/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 20:47:34 +0000</pubDate>
		<dc:creator>Dustin</dc:creator>
				<category><![CDATA[soccer]]></category>

		<guid isPermaLink="false">http://kb.huptas.net/?p=172</guid>
		<description>YAAAAAAAAAAAAAAAAAAAAAAAAYYYYYYY!
We actually made it into the half finals of EURO 2008. I really have to repent for not believing in us winning against Portugal. What a game, probably worth a final! Unbelievable&amp;#8230;&lt;img src="http://feeds.feedburner.com/~r/huptas/~4/X3Rjc3biKiQ" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://kb.huptas.net/2008/06/19/germany-vs-portugal-32/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kb.huptas.net/2008/06/19/germany-vs-portugal-32/</feedburner:origLink></item>
		<item>
		<title>A Day At The Park</title>
		<link>http://feedproxy.google.com/~r/huptas/~3/TY_tRkqbbZ0/</link>
		<comments>http://kb.huptas.net/2008/06/17/a-day-at-the-park/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 21:00:50 +0000</pubDate>
		<dc:creator>Dustin</dc:creator>
				<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://kb.huptas.net/?p=171</guid>
		<description>Friday night we decided to drive over to Amsterdam and enjoy the A Day At The Park open air on saturday with Sven Väth and Dubfire. A few colleagues of my beautiful girl had asked us to join them and it sounded like a great idea &amp;#8211; except for the weather forecast which promised rain [...]&lt;img src="http://feeds.feedburner.com/~r/huptas/~4/TY_tRkqbbZ0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://kb.huptas.net/2008/06/17/a-day-at-the-park/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kb.huptas.net/2008/06/17/a-day-at-the-park/</feedburner:origLink></item>
		<item>
		<title>OpenSSL: Retrieve remote SSL certificate</title>
		<link>http://feedproxy.google.com/~r/huptas/~3/B0VPjUhSBB4/</link>
		<comments>http://kb.huptas.net/2008/06/11/openssl-retrieve-remote-ssl-certificate/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 13:12:58 +0000</pubDate>
		<dc:creator>Dustin</dc:creator>
				<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://kb.huptas.net/?p=168</guid>
		<description>The following small script has been copied over from madboa.com:
#!/bin/sh
#
# usage: retrieve-cert.sh remote.host.name [port]
#
REMHOST=$1
REMPORT=${2:-443}

echo &amp;#124;\
openssl s_client -connect ${REMHOST}:${REMPORT} 2&amp;#62;&amp;#38;1 &amp;#124;\
sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p'&lt;img src="http://feeds.feedburner.com/~r/huptas/~4/B0VPjUhSBB4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://kb.huptas.net/2008/06/11/openssl-retrieve-remote-ssl-certificate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kb.huptas.net/2008/06/11/openssl-retrieve-remote-ssl-certificate/</feedburner:origLink></item>
		<item>
		<title>Virtualization: Virtualbox rules them all (was: KVM+Qemu=Dump VMware Server)</title>
		<link>http://feedproxy.google.com/~r/huptas/~3/DfQg1OjJtDQ/</link>
		<comments>http://kb.huptas.net/2008/04/28/virtualization-virtualbox-rules-them-all-was-kvmqemudump-vmware-server/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 12:11:50 +0000</pubDate>
		<dc:creator>Dustin</dc:creator>
				<category><![CDATA[virtual]]></category>
		<category><![CDATA[kvm]]></category>
		<category><![CDATA[qemu]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://kb.huptas.net/?p=149</guid>
		<description>Initially I wanted to write about my positive experience with kvm+qemu but after several weeks of testing the following downsides became apparent:

currently no support for AltGr
no copy-and-paste support to/from host

As those issues actually prevented me from productively using guest images with kvm a colleague had the right hint at hand: Virtualbox.
I went ahead and installed [...]&lt;img src="http://feeds.feedburner.com/~r/huptas/~4/DfQg1OjJtDQ" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://kb.huptas.net/2008/04/28/virtualization-virtualbox-rules-them-all-was-kvmqemudump-vmware-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kb.huptas.net/2008/04/28/virtualization-virtualbox-rules-them-all-was-kvmqemudump-vmware-server/</feedburner:origLink></item>
		<item>
		<title>ASV Winterlaufserie: 3. Lauf (Half-Marathon)</title>
		<link>http://feedproxy.google.com/~r/huptas/~3/WDOUCiqI6ZE/</link>
		<comments>http://kb.huptas.net/2008/03/30/asv-winterlaufserie-3-lauf-half-marathon/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 10:04:38 +0000</pubDate>
		<dc:creator>Dustin</dc:creator>
				<category><![CDATA[running]]></category>

		<guid isPermaLink="false">http://kb.huptas.net/2008/03/30/asv-winterlaufserie-3-lauf-half-marathon/</guid>
		<description>Yesterday I finished my first half-marathon in a beautiful net time of 01:58:45 (I would say that&amp;#8217;s OK for someone that did not do that much training upfront). Of course this was only possible because I had the excellent pace-makers André and Stefan (www.gute-beine.de) helping me keeping the pace and faith (after 13km my mind [...]&lt;img src="http://feeds.feedburner.com/~r/huptas/~4/WDOUCiqI6ZE" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://kb.huptas.net/2008/03/30/asv-winterlaufserie-3-lauf-half-marathon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://kb.huptas.net/2008/03/30/asv-winterlaufserie-3-lauf-half-marathon/</feedburner:origLink></item>
		<item>
		<title>MySQL: Purge binary logs</title>
		<link>http://feedproxy.google.com/~r/huptas/~3/VdoZXY06o60/</link>
		<comments>http://kb.huptas.net/2008/03/17/mysq-purge-binary-logs/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 09:44:06 +0000</pubDate>
		<dc:creator>Dustin</dc:creator>
				<category><![CDATA[databases]]></category>

		<guid isPermaLink="false">http://kb.huptas.net/2008/03/17/mysq-purge-binary-logs/</guid>
		<description>So your binary logs have grown to an ugly size eating up most of your servers disk size? The easiest way to truncate the logs in a proper way is to run the following command:
reset master;
Please note: This command works for MySQL &amp;#62;=5, for older versions use flush master;.
Update: There exists a system variable that [...]&lt;img src="http://feeds.feedburner.com/~r/huptas/~4/VdoZXY06o60" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://kb.huptas.net/2008/03/17/mysq-purge-binary-logs/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://kb.huptas.net/2008/03/17/mysq-purge-binary-logs/</feedburner:origLink></item>
		<item>
		<title>Ubuntu: Disable PC Speaker beeping (*beep* *beep* *beep*)</title>
		<link>http://feedproxy.google.com/~r/huptas/~3/_haDOJUltNg/</link>
		<comments>http://kb.huptas.net/2008/02/21/ubuntu-disable-pc-speaker-beeping-beep-beep-beep/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 08:15:33 +0000</pubDate>
		<dc:creator>Dustin</dc:creator>
				<category><![CDATA[desktop and multimedia]]></category>
		<category><![CDATA[Ubuntu Desktop audio]]></category>

		<guid isPermaLink="false">http://kb.huptas.net/2008/02/21/ubuntu-disable-pc-speaker-beeping-beep-beep-beep/</guid>
		<description>Ever tried to get rid of the annoying PC Speaker  sound (e.g. when using auto-completion in a shell)? Under Ubuntu (and probably other distributions as well) do the following to bring silence to the masses:
For the running system:
rmmod pcspkr
Forever (aka after a reboot) edit /etc/modprobe.d/blacklist and add the following line to the bottom
blacklist pcspkr&lt;img src="http://feeds.feedburner.com/~r/huptas/~4/_haDOJUltNg" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://kb.huptas.net/2008/02/21/ubuntu-disable-pc-speaker-beeping-beep-beep-beep/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://kb.huptas.net/2008/02/21/ubuntu-disable-pc-speaker-beeping-beep-beep-beep/</feedburner:origLink></item>
	</channel>
</rss>
