<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>666hellrid3rs coding adventures</title>
	<atom:link href="http://666hellrid3r.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://666hellrid3r.wordpress.com</link>
	<description>a collection</description>
	<lastBuildDate>Tue, 13 Jan 2009 19:04:26 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='666hellrid3r.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/87ba9babe3c2a6e81ab705b9cb3d4824?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>666hellrid3rs coding adventures</title>
		<link>http://666hellrid3r.wordpress.com</link>
	</image>
			<item>
		<title>diagrams</title>
		<link>http://666hellrid3r.wordpress.com/2009/01/13/diagrams/</link>
		<comments>http://666hellrid3r.wordpress.com/2009/01/13/diagrams/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 19:00:00 +0000</pubDate>
		<dc:creator>666hellrid3r</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[diagrams]]></category>
		<category><![CDATA[documentation]]></category>

		<guid isPermaLink="false">http://666hellrid3r.wordpress.com/?p=16</guid>
		<description><![CDATA[found a nice tool to draw diagrams, called
Dia Diagram Editor
http://www.gnome.org/projects/dia/
does support UML.
nice for design diagrams, overviews and so on.
havent checked all of its functions, but its intuitive and works fine.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=666hellrid3r.wordpress.com&blog=4274025&post=16&subd=666hellrid3r&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>found a nice tool to draw diagrams, called</p>
<p>Dia Diagram Editor<br />
<a href="http://www.gnome.org/projects/dia/">http://www.gnome.org/projects/dia/</a><br />
does support UML.</p>
<p>nice for design diagrams, overviews and so on.</p>
<p>havent checked all of its functions, but its intuitive and works fine.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/666hellrid3r.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/666hellrid3r.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/666hellrid3r.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/666hellrid3r.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/666hellrid3r.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/666hellrid3r.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/666hellrid3r.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/666hellrid3r.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/666hellrid3r.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/666hellrid3r.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=666hellrid3r.wordpress.com&blog=4274025&post=16&subd=666hellrid3r&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://666hellrid3r.wordpress.com/2009/01/13/diagrams/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c2a96e42217d2be6bcd4fcf5f28a1779?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">666hellrid3r</media:title>
		</media:content>
	</item>
		<item>
		<title>timestamp</title>
		<link>http://666hellrid3r.wordpress.com/2008/07/29/timestamp/</link>
		<comments>http://666hellrid3r.wordpress.com/2008/07/29/timestamp/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 09:34:17 +0000</pubDate>
		<dc:creator>666hellrid3r</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[timestamp]]></category>

		<guid isPermaLink="false">http://666hellrid3r.wordpress.com/?p=13</guid>
		<description><![CDATA[to get an actual time stamp, also insertable in sql database as date type

import datetime, time
stamp=datetime.datetime.fromtimestamp(time.time()).strftime("%Y-%m-%d %H:%M:%S")

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=666hellrid3r.wordpress.com&blog=4274025&post=13&subd=666hellrid3r&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>to get an actual time stamp, also insertable in sql database as date type</p>
<p><code><br />
import datetime, time</p>
<p>stamp=datetime.datetime.fromtimestamp(time.time()).strftime("%Y-%m-%d %H:%M:%S")<br />
</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/666hellrid3r.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/666hellrid3r.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/666hellrid3r.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/666hellrid3r.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/666hellrid3r.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/666hellrid3r.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/666hellrid3r.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/666hellrid3r.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/666hellrid3r.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/666hellrid3r.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/666hellrid3r.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/666hellrid3r.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=666hellrid3r.wordpress.com&blog=4274025&post=13&subd=666hellrid3r&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://666hellrid3r.wordpress.com/2008/07/29/timestamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c2a96e42217d2be6bcd4fcf5f28a1779?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">666hellrid3r</media:title>
		</media:content>
	</item>
		<item>
		<title>compute checksum</title>
		<link>http://666hellrid3r.wordpress.com/2008/07/23/compute-checksum/</link>
		<comments>http://666hellrid3r.wordpress.com/2008/07/23/compute-checksum/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 15:36:19 +0000</pubDate>
		<dc:creator>666hellrid3r</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[checksum]]></category>
		<category><![CDATA[hash]]></category>
		<category><![CDATA[hashcode]]></category>
		<category><![CDATA[md5]]></category>

		<guid isPermaLink="false">http://666hellrid3r.wordpress.com/?p=11</guid>
		<description><![CDATA[To identify content..

import md5
#file = open("someFile")
#contentstr = file.read()
checksum = md5.new(contentstr).hexdigest()

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=666hellrid3r.wordpress.com&blog=4274025&post=11&subd=666hellrid3r&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To identify content..</p>
<p><code><br />
import md5<br />
#file = open("someFile")<br />
#contentstr = file.read()<br />
checksum = md5.new(contentstr).hexdigest()<br />
</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/666hellrid3r.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/666hellrid3r.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/666hellrid3r.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/666hellrid3r.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/666hellrid3r.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/666hellrid3r.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/666hellrid3r.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/666hellrid3r.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/666hellrid3r.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/666hellrid3r.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/666hellrid3r.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/666hellrid3r.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=666hellrid3r.wordpress.com&blog=4274025&post=11&subd=666hellrid3r&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://666hellrid3r.wordpress.com/2008/07/23/compute-checksum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c2a96e42217d2be6bcd4fcf5f28a1779?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">666hellrid3r</media:title>
		</media:content>
	</item>
		<item>
		<title>get absolute path of a script</title>
		<link>http://666hellrid3r.wordpress.com/2008/07/21/get-absolute-path-of-a-script/</link>
		<comments>http://666hellrid3r.wordpress.com/2008/07/21/get-absolute-path-of-a-script/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 12:51:41 +0000</pubDate>
		<dc:creator>666hellrid3r</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[absolute]]></category>
		<category><![CDATA[lib]]></category>
		<category><![CDATA[libary]]></category>
		<category><![CDATA[path]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://666hellrid3r.wordpress.com/?p=9</guid>
		<description><![CDATA[if you need the absolute path of the script you are running at the moment:

absPath=`echo -n \`pwd\` ;( [ \`dirname \$0\` == '.' ] &#38;&#38; echo ) &#124;&#124; echo "/\`dirname \$0\`"`

for example useful to build up libary paths in project folders.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=666hellrid3r.wordpress.com&blog=4274025&post=9&subd=666hellrid3r&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>if you need the absolute path of the script you are running at the moment:<br />
<code><br />
absPath=`echo -n \`pwd\` ;( [ \`dirname \$0\` == '.' ] &amp;&amp; echo ) || echo "/\`dirname \$0\`"`<br />
</code><br />
for example useful to build up libary paths in project folders.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/666hellrid3r.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/666hellrid3r.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/666hellrid3r.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/666hellrid3r.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/666hellrid3r.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/666hellrid3r.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/666hellrid3r.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/666hellrid3r.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/666hellrid3r.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/666hellrid3r.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/666hellrid3r.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/666hellrid3r.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=666hellrid3r.wordpress.com&blog=4274025&post=9&subd=666hellrid3r&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://666hellrid3r.wordpress.com/2008/07/21/get-absolute-path-of-a-script/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c2a96e42217d2be6bcd4fcf5f28a1779?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">666hellrid3r</media:title>
		</media:content>
	</item>
		<item>
		<title>actual time</title>
		<link>http://666hellrid3r.wordpress.com/2008/07/20/actual-time/</link>
		<comments>http://666hellrid3r.wordpress.com/2008/07/20/actual-time/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 20:11:45 +0000</pubDate>
		<dc:creator>666hellrid3r</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[python time]]></category>

		<guid isPermaLink="false">http://666hellrid3r.wordpress.com/?p=5</guid>
		<description><![CDATA[to get actual time:

from datetime import datetime
now = datetime.datetime.now()

this will give you a datetime object which is often used by other methods. For string formatting use:

now.strftime(format_string)

    * %a &#8211; Wochentagsname kurz
    * %A &#8211; Wochentagsname
    * %b &#8211; Monatsname kurz
    * %B &#8211; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=666hellrid3r.wordpress.com&blog=4274025&post=5&subd=666hellrid3r&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>to get actual time:<br />
<code><br />
from datetime import datetime<br />
now = datetime.datetime.now()<br />
</code><br />
this will give you a datetime object which is often used by other methods. For string formatting use:<br />
<code><br />
now.strftime(format_string)<br />
</code><br />
    * %a &#8211; Wochentagsname kurz<br />
    * %A &#8211; Wochentagsname<br />
    * %b &#8211; Monatsname kurz<br />
    * %B &#8211; Monatsname<br />
    * %c &#8211; Zeit und Datum<br />
    * %d &#8211; Monatstag 1-31<br />
    * %H &#8211; Stundenzahl 0-23<br />
    * %I &#8211; Stundenzahl 1-12<br />
    * %j &#8211; Kalendertag 1-366<br />
    * %m &#8211; Monatszahl 1-12<br />
    * %M &#8211; Minutenzahl 0-59<br />
    * %p &#8211; AM oder PM<br />
    * %S &#8211; Sekundenzahl 0-61<br />
    * %U &#8211; Wochenzahl 0-53 (Sonntag 0)<br />
    * %w &#8211; Wochentag 0-6<br />
    * %W &#8211; Wochenzahl 0-53 (Montag 0)<br />
    * %x &#8211; Datumsangabe<br />
    * %X &#8211; Zeitangabe<br />
    * %y &#8211; Jahr 0-99<br />
    * %Y &#8211; Jahr<br />
    * %Z &#8211; Zeitzone</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/666hellrid3r.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/666hellrid3r.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/666hellrid3r.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/666hellrid3r.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/666hellrid3r.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/666hellrid3r.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/666hellrid3r.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/666hellrid3r.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/666hellrid3r.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/666hellrid3r.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/666hellrid3r.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/666hellrid3r.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=666hellrid3r.wordpress.com&blog=4274025&post=5&subd=666hellrid3r&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://666hellrid3r.wordpress.com/2008/07/20/actual-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c2a96e42217d2be6bcd4fcf5f28a1779?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">666hellrid3r</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello!</title>
		<link>http://666hellrid3r.wordpress.com/2008/07/20/hello-world/</link>
		<comments>http://666hellrid3r.wordpress.com/2008/07/20/hello-world/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 11:00:36 +0000</pubDate>
		<dc:creator>666hellrid3r</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[This is my first blog.
It shall serve as code repository and help blog for coding problems i often have to face up.
Hope it works and helps me a lot..
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=666hellrid3r.wordpress.com&blog=4274025&post=1&subd=666hellrid3r&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This is my first blog.</p>
<p>It shall serve as code repository and help blog for coding problems i often have to face up.</p>
<p>Hope it works and helps me a lot..</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/666hellrid3r.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/666hellrid3r.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/666hellrid3r.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/666hellrid3r.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/666hellrid3r.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/666hellrid3r.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/666hellrid3r.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/666hellrid3r.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/666hellrid3r.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/666hellrid3r.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/666hellrid3r.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/666hellrid3r.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=666hellrid3r.wordpress.com&blog=4274025&post=1&subd=666hellrid3r&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://666hellrid3r.wordpress.com/2008/07/20/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c2a96e42217d2be6bcd4fcf5f28a1779?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">666hellrid3r</media:title>
		</media:content>
	</item>
	</channel>
</rss>