<?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>Alessio Sclocco &#187; ascii</title>
	<atom:link href="http://alessio.sclocco.eu/tag/ascii/feed/" rel="self" type="application/rss+xml" />
	<link>http://alessio.sclocco.eu</link>
	<description>who I am and what I&#039;m doing</description>
	<lastBuildDate>Sun, 11 Dec 2011 17:59:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>ascii2hex</title>
		<link>http://alessio.sclocco.eu/ascii2hex/</link>
		<comments>http://alessio.sclocco.eu/ascii2hex/#comments</comments>
		<pubDate>Mon, 09 Apr 2007 18:18:07 +0000</pubDate>
		<dc:creator>Alessio Sclocco</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[ascii]]></category>
		<category><![CDATA[C]]></category>

		<guid isPermaLink="false">http://alessio.sclocco.eu/?p=40</guid>
		<description><![CDATA[Last Friday i was at Metro Olografix&#8217;s &#8220;Weekend of magic II&#8221; and we were talking; during the configuration of a wireless card of a guest there&#8217;s the need to convert a string from ascii to its hexadecimal value , obviously it&#8217;s possible to do that with mind, or with pencil and paper, or with the [...]]]></description>
			<content:encoded><![CDATA[<p>Last Friday i was at Metro Olografix&#8217;s &#8220;<a title="A weekend of magic II" href="http://www.olografix.org/2007/03/28/un-weekend-di-magia-ii/" target="_blank">Weekend of magic II</a>&#8221; and we were talking; during the configuration of a wireless card of a guest there&#8217;s the need to convert a string from ascii to its hexadecimal value , obviously it&#8217;s possible to do that with mind, or with pencil and paper, or with the bash printf or whatsoever but, hey, when magic is required, magic is provided!<br />
So I&#8217;ve made this little piece of code, and of course i&#8217;ve decided to share it with the whole world (oh, what a good boy i am).</p>
<p>I&#8217;ve chose to use <a title="CMake" href="http://www.cmake.org" target="_blank">CMake</a> also this time, so the way is, like you can imagine:</p>
<pre>isazi@data:~$ tar xzvf ascii2hex-0.1.tar.gz
ascii2hex/main.c
isazi@data:~$ cd ascii2hex
isazi@data:~/ascii2hex$ cmake .</pre>
<p>After some output you obtain a &#8220;ready to use&#8221; Makefile, just type <code>make</code> and there&#8217;ll be a nice executable named ascii2hex all for you; as you can see the tool it&#8217;s really easy to use:</p>
<pre>isazi@data:~/ascii2hex$ ./ascii2hex -a einsturzende!
65696E737475727A656E646521
isazi@data:~/ascii2hex$ ./ascii2hex -h 65696E737475727A656E646521
einsturzende!</pre>
<p><a href="http://alessio.sclocco.eu/wp-content/uploads/2009/02/ascii2hex-01tar.gz">Download ascii2hex 0.1</a>.</p>
<p>Hope you enjoy that.</p>
]]></content:encoded>
			<wfw:commentRss>http://alessio.sclocco.eu/ascii2hex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

