<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>Julian Kessel&#039;s Blog</title>
	<atom:link href="http://juliankessel.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://juliankessel.de</link>
	<description>A blog about coding, hardware and security</description>
	<lastBuildDate>Mon, 20 Feb 2012 21:20:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="//pubsubhubbub.appspot.com"/><atom:link rel="hub" href="//superfeedr.com/hubbub"/>		<item>
		<title>Fully enabling HTTPS on WordPress</title>
		<link>http://juliankessel.de/2011/11/16/fully-enabling-https-on-wordpress/</link>
		<comments>http://juliankessel.de/2011/11/16/fully-enabling-https-on-wordpress/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 21:02:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.juliankessel.de/?p=246</guid>
		<description><![CDATA[If you want to get WordPress to support HTTPS without any unencrypted content being transferred to the client and included from the browser, you have to force WordPress to change the siteUrl depening on the request schema which comes from the client. The basis for my small addition below is this post: https://prosauce.org/blog/2010/08/enable-complete-support-for-ssl-on-wordpress/ It explains [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to get WordPress to support HTTPS without any unencrypted content being transferred to the client and included from the browser, you have to force WordPress to change the siteUrl depening on the request schema which comes from the client.<br />
The basis for my small addition below is this post:<a href="https://prosauce.org/blog/2010/08/enable-complete-support-for-ssl-on-wordpress/" title="Enable Complete support for SSL on WordPress" target="_blank"> https://prosauce.org/blog/2010/08/enable-complete-support-for-ssl-on-wordpress/</a><br />
It explains how to do the changes described briefly above.</p>
<p>What&#8217;s still left is that for whatever reason, WP doesn&#8217;t make the pingback URL relative to the site_url we did set with the trick in the post, so we have to change that little line to in wp-includes/general-template.php  to the following.<br />
<code><br />
case 'pingback_url':<br />
                        $output = /*get_option('siteurl') */ site_url().'/xmlrpc.php';<br />
                        break;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://juliankessel.de/2011/11/16/fully-enabling-https-on-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gnuplottex &#8211; rotate y-axis label with LaTeX</title>
		<link>http://juliankessel.de/2011/08/31/gnuplottex-rotate-y-axis-label-with-latex/</link>
		<comments>http://juliankessel.de/2011/08/31/gnuplottex-rotate-y-axis-label-with-latex/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 17:26:40 +0000</pubDate>
		<dc:creator>Julian Kessel</dc:creator>
				<category><![CDATA[LaTeX]]></category>

		<guid isPermaLink="false">http://juliankessel.de/?p=237</guid>
		<description><![CDATA[A known caveat of the latex gnuplot terminal is the missing functionality to rotate text, which especially hurts for the ylabel. Here&#39;s one dirty way to workaround this: set ylabel "\\begin{sideways}YAXIS [$ms$]\\end{sideways}"]]></description>
			<content:encoded><![CDATA[<p>A known caveat of the latex gnuplot terminal is the missing functionality to rotate text, which especially hurts for the ylabel.</p>
<p>Here&#39;s one dirty way to workaround this:</p>
<pre lang=gnuplot>set ylabel "\\begin{sideways}YAXIS [$ms$]\\end{sideways}"</pre>
]]></content:encoded>
			<wfw:commentRss>http://juliankessel.de/2011/08/31/gnuplottex-rotate-y-axis-label-with-latex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting LaTeX commands to work in Gnuplot(tex)</title>
		<link>http://juliankessel.de/2011/08/31/getting-latex-commands-to-work-in-gnuplottex/</link>
		<comments>http://juliankessel.de/2011/08/31/getting-latex-commands-to-work-in-gnuplottex/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 16:35:04 +0000</pubDate>
		<dc:creator>Julian Kessel</dc:creator>
				<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[Gnuplot]]></category>

		<guid isPermaLink="false">http://juliankessel.de/?p=235</guid>
		<description><![CDATA[This time I was writing a gnuplot script for embedding the graphic in a latex document, with the help of gnuplottex package, no problem I thought. But unfortunately my script names an axis like&#160; set xlabel &#34;Temperatur an $R_1$ [$^{\degree}C$]&#34; You&#39;ll notice that degree is displayed as a string and not executed to produce &#34;&#176;&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>This time I was writing a gnuplot script for embedding the graphic in a latex document, with the help of gnuplottex package, no problem I thought.</p>
<p>But unfortunately my script names an axis like&nbsp;<br />
<style type="text/css">
p, li { white-space: pre-wrap; </style>
</p>

<div class="wp_syntax"><div class="code"><pre class="gnuplot" style="font-family:monospace;"><span style="color: #b1b100;">set</span> <span style="color: #990000;">xlabel</span> <span style="color: #0000ff;">&quot;Temperatur an $R_1$ [$^{<span style="color: #000099; font-weight:bold;">\d</span>egree}C$]&quot;</span></pre></div></div>

<p style="margin: 0px; text-indent: 0px;">You&#39;ll notice that degree is displayed as a string and not executed to produce<strong> &quot;&deg;</strong>&quot; as intended.</p>
<p style="margin: 0px; text-indent: 0px;">You have to escape the backslash so it will not be processed by gnuplot but rather by latex, success :)</p>

<div class="wp_syntax"><div class="code"><pre class="gnuplot" style="font-family:monospace;"><span style="color: #b1b100;">set</span> <span style="color: #990000;">xlabel</span> <span style="color: #0000ff;">&quot;Temperatur an $R_1$ [$^{<span style="color: #000099; font-weight:bold;">\\</span>degree}C$]&quot;</span>;</pre></div></div>

<p>A second failure I made writing log(1/3), while gnuplot, like C does, implicitly uses integer operations for an expression without a fp value, this leads to a silent error. (<a href="http://stackoverflow.com/questions/7257179/gnuplot-skips-data-file-with-no-valid-points/7258448#7258448">gnuplot skips dat file with no valid points</a>)</p>
<p>For the protocol:</p>

<div class="wp_syntax"><div class="code"><pre class="gnuplot" style="font-family:monospace;">f<span style="color: #000099; font-weight:bold;">&#40;</span>r<span style="color: #000099; font-weight:bold;">&#41;</span> <span style="color: #000; font-weight: bold;">=</span> <span style="color: #000099; font-weight:bold;">&#40;</span><span style="color: #000099; font-weight:bold;">&#40;</span><span style="color: #000099; font-weight:bold;">&#40;</span><span style="color: #990000;">log</span><span style="color: #000099; font-weight:bold;">&#40;</span><span style="color: #cc66cc;">1.0</span><span style="color: #000; font-weight: bold;">/</span><span style="color: #cc66cc;">3.0</span><span style="color: #000099; font-weight:bold;">&#41;</span><span style="color: #000; font-weight: bold;">*</span>r<span style="color: #000; font-weight: bold;">*</span><span style="color: #000099; font-weight:bold;">&#40;</span><span style="color: #cc66cc;">47e-6</span><span style="color: #000099; font-weight:bold;">&#41;</span><span style="color: #000099; font-weight:bold;">&#41;</span><span style="color: #000; font-weight: bold;">*-</span><span style="color: #cc66cc;">1</span><span style="color: #000099; font-weight:bold;">&#41;</span><span style="color: #000; font-weight: bold;">*</span><span style="color: #cc66cc;">1000</span><span style="color: #000099; font-weight:bold;">&#41;</span></pre></div></div>

<p>is the right way to do it</p>
<p>
<style type="text/css">
p, li { white-space: pre-wrap; }
</style></p>
]]></content:encoded>
			<wfw:commentRss>http://juliankessel.de/2011/08/31/getting-latex-commands-to-work-in-gnuplottex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QnD: fixing evolution-exported addressbook data to include &#8220;display name&#8221;</title>
		<link>http://juliankessel.de/2011/08/23/qnd-fixing-evolution-exported-addressbook-data-to-include-display-name/</link>
		<comments>http://juliankessel.de/2011/08/23/qnd-fixing-evolution-exported-addressbook-data-to-include-display-name/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 18:25:38 +0000</pubDate>
		<dc:creator>Julian Kessel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://juliankessel.de/?p=224</guid>
		<description><![CDATA[I&#39;ll keep it short: Export your AB via evolution, import it into TB, export it as csv, run the following script: awk -F&#34;,&#34; '{printf(&#34;%s,%s,%s %s,&#34;, $1,$2,$1,$2); for(i=4;i&#60;36;i++) printf(&#34;%s,&#34;,$i); printf(&#34;\n&#34;)}' in.csv &#62; out.csv import the new csv into TB. You can also shorten this way via modding my one-liner and directly transforming evolution&#39;s output (it just [...]]]></description>
			<content:encoded><![CDATA[<p>I&#39;ll keep it short: Export your AB via evolution, import it into TB, export it as csv, run the following script:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #660033;">-F</span><span style="color: #ff0000;">&quot;,&quot;</span> <span style="color: #ff0000;">'{printf(&quot;%s,%s,%s %s,&quot;, $1,$2,$1,$2); for(i=4;i&lt;36;i++) printf(&quot;%s,&quot;,$i); printf(&quot;\n&quot;)}'</span> in.csv <span style="color: #000000; font-weight: bold;">&gt;</span> out.csv</pre></div></div>

<p>import the new csv into TB. You can also shorten this way via modding my one-liner and directly transforming evolution&#39;s output (it just makes double qoutes around the values) and import it then.</p>
]]></content:encoded>
			<wfw:commentRss>http://juliankessel.de/2011/08/23/qnd-fixing-evolution-exported-addressbook-data-to-include-display-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Productively using KmPlot for School Analysis</title>
		<link>http://juliankessel.de/2011/08/23/productively-using-kmplot-for-school-analysis/</link>
		<comments>http://juliankessel.de/2011/08/23/productively-using-kmplot-for-school-analysis/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 17:13:25 +0000</pubDate>
		<dc:creator>Julian Kessel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://juliankessel.de/?p=225</guid>
		<description><![CDATA[I has been a rather long time searching for a decent plotter application for linux. Though as a gnome user I usually defer kde apps because of their deps, but this time I found no alternative available which provided all stuff kmplot features. Besides all cool features which can be discovered by clicking around in [...]]]></description>
			<content:encoded><![CDATA[<p>I has been a rather long time searching for a decent plotter application for linux. Though as a gnome user I usually defer kde apps because of their deps, but this time I found no alternative available which provided all stuff kmplot features.</p>
<p>Besides all cool features which can be discovered by clicking around in the UI, kmplot learnt me to split a parameterized function like <strong>x&sup3;-2tx&sup2;</strong> in two functions which describe the x-axis and y-axis seperately and controlling the values of <strong>t</strong> with a slider.</p>
<p>First, you have to get used to the fact that we call out functions<strong> f_x</strong> and<strong> f_y</strong> now, and not f as usual actually meaning<strong> f_y</strong>. That&#39;s because you just require <strong>f_x</strong> (the function generating x-values) to be e.g.<strong> f_x(x) = x</strong> (linear slope @1).</p>
<p>The function<strong> f(x)= x&sup3;-2tx&sup2; </strong>splits up in<strong> f_x(x) = x </strong>and <strong>f_y(t,k)=t&sup3;-2kt&sup2;</strong> while k is the parameter controlled by the slider (check &quot;slider&quot; and choose one from the list).</p>
<p>While this makes sense for being able to modify f_x later It&#39;s also possible to choose a regular cartesian plot.</p>
]]></content:encoded>
			<wfw:commentRss>http://juliankessel.de/2011/08/23/productively-using-kmplot-for-school-analysis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restoring an iPod Classic (GPT) from VirtualBox VM on linux</title>
		<link>http://juliankessel.de/2011/08/12/restoring-an-ipod-classic-gpt-from-virtualbox-vm-on-linux/</link>
		<comments>http://juliankessel.de/2011/08/12/restoring-an-ipod-classic-gpt-from-virtualbox-vm-on-linux/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 20:03:42 +0000</pubDate>
		<dc:creator>Julian Kessel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://juliankessel.de/?p=215</guid>
		<description><![CDATA[While testing several states (gpt,mbr,formatted,unformatted) I ran over a couple of weird errors including 1429 and a message that complained about that other programs would hold a write lock on the fs. The final solution was the option in Vbox to turn on the USB 2.0 EHCI controller which needs the extension pack installed. On [...]]]></description>
			<content:encoded><![CDATA[<p>While testing several states (gpt,mbr,formatted,unformatted) I ran over a couple of weird errors including 1429 and a message that complained about that other programs would hold a write lock on the fs.</p>
<p>The final solution was the option in Vbox to turn on the USB 2.0 EHCI controller which needs the extension pack installed. On Archlinux you get it in the AUR, but you have to register it in the vbox prefs since the install script doesn&#8217;t handle this.<br />
Instead, you can dl the extension a second time from the site, open in w/ vbox. It will register the previously installed one and give you an error because of conflicting files which is ok. After this, you can enable the EHCI controller and restoring/syncing will work fine :)</p>
]]></content:encoded>
			<wfw:commentRss>http://juliankessel.de/2011/08/12/restoring-an-ipod-classic-gpt-from-virtualbox-vm-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working with terminal controlcodes</title>
		<link>http://juliankessel.de/2011/08/03/working-with-terminal-controlcodes/</link>
		<comments>http://juliankessel.de/2011/08/03/working-with-terminal-controlcodes/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 14:46:33 +0000</pubDate>
		<dc:creator>Julian Kessel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://juliankessel.de/?p=219</guid>
		<description><![CDATA[I wondered about how to clear a line in a shellscript which uses \r to do a carriage return and reuse the same line to output some text: While the CR does not clear the contents of the line, you have to do that yourself: echo -ne &#34;\033[2K\r&#34;`echo $i &#124; awk &#39;{$1=&#34;&#34;; print $0}&#39;` I [...]]]></description>
			<content:encoded><![CDATA[<p>I wondered about how to clear a line in a shellscript which uses \r to do a carriage return and reuse the same line to output some text:</p>
<p>While the CR does not clear the contents of the line, you have to do that yourself:</p>
<pre>  echo -ne &quot;\033[2K\r&quot;`echo $i | awk &#39;{$1=&quot;&quot;; print $0}&#39;`
</pre>
<p>I use that line to display a string in a loop as described above. The \033 is nothing else than the escaped octal notation of \e which is ESC.</p>
<p>You can find a lot more related info to at <a href="http://www.termsys.demon.co.uk/vtansi.htm">http://www.termsys.demon.co.uk/vtansi.htm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://juliankessel.de/2011/08/03/working-with-terminal-controlcodes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using pithos with ssh and without socks</title>
		<link>http://juliankessel.de/2011/08/01/using-pithos-with-ssh-and-without-socks/</link>
		<comments>http://juliankessel.de/2011/08/01/using-pithos-with-ssh-and-without-socks/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 12:44:46 +0000</pubDate>
		<dc:creator>Julian Kessel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://juliankessel.de/?p=208</guid>
		<description><![CDATA[Pithos is a native pandora client for linux which uses the pianobar library. Users with their endpoint outside of the US have the common problems using pandora with tunnels and so on. If you have a ssh connection to somewhere in a allowed country and being allowed to create port forwardings, this is for you: [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://kevinmehall.net/p/pithos/">Pithos</a> is a native pandora client for linux which uses the pianobar library.</p>
<p>Users with their endpoint outside of the US have the common problems using pandora with tunnels and so on.</p>
<p>If you have a ssh connection to somewhere in a allowed country and being allowed to create port forwardings, this is for you:</p>
<p>Since pithos doesn&#39;t allow socks proxys yet you can do an admittedly bad, but working workaround:</p>
<p>
	get the pandora hosts:</p>
<pre>host pandora.com

pandora.com has address 208.85.40.20
pandora.com has address 208.85.40.50
pandora.com has address 208.85.40.80
</pre>
<p>setup your ssh connection:</p>
<pre>ssh user@server -L 8000:208.85.40.50:80</pre>
<p>This will tunnel all traffic from localhost:8000 via your server to one pandora server on port 80, you can use another ipaddr if you want.</p>
<p>Now you have to enter http://localhost:8000 in the proxy field of pithos.</p>
<p>That&#39;s it :)</p>
]]></content:encoded>
			<wfw:commentRss>http://juliankessel.de/2011/08/01/using-pithos-with-ssh-and-without-socks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>reboot-safe cfg of thinkpad HIDs</title>
		<link>http://juliankessel.de/2011/06/02/reboot-safe-cfg-of-thinkpad-hids/</link>
		<comments>http://juliankessel.de/2011/06/02/reboot-safe-cfg-of-thinkpad-hids/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 20:02:55 +0000</pubDate>
		<dc:creator>Julian Kessel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://juliankessel.de/?p=199</guid>
		<description><![CDATA[I used to configure my trackpoint and touchpad w/ gpointing-device-settings, this way cfgs are non-persistent. I achieved persistency through the following method: prepend the following to the launch of the wm in ~/.xsession xinput set-prop &#39;TPPS/2 IBM TrackPoint&#39; &#34;Evdev Wheel Emulation&#34; 1 xinput set-prop &#39;TPPS/2 IBM TrackPoint&#39; &#34;Evdev Wheel Emulation Button&#34; 2 xinput set-prop &#39;TPPS/2 [...]]]></description>
			<content:encoded><![CDATA[<p>I used to configure my trackpoint and touchpad w/ gpointing-device-settings, this way cfgs are non-persistent. I achieved persistency through the following method:</p>
<p>prepend the following to the launch of the wm in ~/.xsession</p>
<blockquote>
<p>xinput set-prop &#39;TPPS/2 IBM TrackPoint&#39; &quot;Evdev Wheel Emulation&quot; 1<br />
		xinput set-prop &#39;TPPS/2 IBM TrackPoint&#39; &quot;Evdev Wheel Emulation Button&quot; 2<br />
		xinput set-prop &#39;TPPS/2 IBM TrackPoint&#39; &quot;Evdev Wheel Emulation Timeout&quot; 200<br />
		xinput set-prop &#39;SynPS/2 Synaptics TouchPad&#39; &quot;Synaptics Palm Detection&quot; 1<br />
		xinput set-prop &#39;SynPS/2 Synaptics TouchPad&#39; &quot;Synaptics Off&quot; 2<br />
		xinput set-prop &#39;TPPS/2 IBM TrackPoint&#39; &quot;Evdev Wheel Emulation Axes&quot; 6 7 4 5</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://juliankessel.de/2011/06/02/reboot-safe-cfg-of-thinkpad-hids/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show dd &#8216;s progress on OSX</title>
		<link>http://juliankessel.de/2011/02/06/show-dd-s-progress-on-osx/</link>
		<comments>http://juliankessel.de/2011/02/06/show-dd-s-progress-on-osx/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 22:59:52 +0000</pubDate>
		<dc:creator>Julian Kessel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://juliankessel.de/?p=187</guid>
		<description><![CDATA[Simply using kill -USR1 or -USR2 on dd&#39;s process id while copying bytes around doesn&#39;t work on OSX. You have to use -SIGINFO or -s SIGINFO to achieve that result. Unfortunately trying the first two signals kills the process completely so you have to start from the beginning.]]></description>
			<content:encoded><![CDATA[<p>Simply using kill -USR1 or -USR2 on dd&#39;s process id while copying bytes around doesn&#39;t work on OSX. You have to use -SIGINFO or -s SIGINFO to achieve that result. Unfortunately trying the first two signals kills the process completely so you have to start from the beginning.</p>
]]></content:encoded>
			<wfw:commentRss>http://juliankessel.de/2011/02/06/show-dd-s-progress-on-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic
Database Caching using disk: basic
Object Caching 430/554 objects using disk: basic

Served from: juliankessel.de @ 2012-02-22 20:12:36 -->
