<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Sparc86&#039;s Blog</title>
	<atom:link href="http://sparc86.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sparc86.wordpress.com</link>
	<description>Thoughts, bits and bytes...</description>
	<lastBuildDate>Wed, 14 Dec 2011 16:12:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sparc86.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Sparc86&#039;s Blog</title>
		<link>http://sparc86.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sparc86.wordpress.com/osd.xml" title="Sparc86&#039;s Blog" />
	<atom:link rel='hub' href='http://sparc86.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Structured Data in C programming</title>
		<link>http://sparc86.wordpress.com/2011/10/27/structured-data-in-c-programming/</link>
		<comments>http://sparc86.wordpress.com/2011/10/27/structured-data-in-c-programming/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 22:22:38 +0000</pubDate>
		<dc:creator>sparc86</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://sparc86.wordpress.com/?p=230</guid>
		<description><![CDATA[I was learning about Structured Data and I have found some plenty of weird code. Here is the simplest code I have found, so everyone can understand  the concepts. Additionally, I have wrote this more elaborated code (based on the ebook Learning GNU C from Ciarán O'Riordan): If you are on Linux, just do it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=230&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre><font size="3" face="arial">I was learning about Structured Data and I have found some plenty of weird
code. Here is the simplest code I have found, so everyone can understand 
the concepts.
<pre class="brush: cpp;">
#include

struct person
{
  char *name;
  int age;
};

int main()
{
  struct person p;
  p.name = &quot;John Smith&quot;;
  p.age = 25;
  printf(&quot;%s&quot;,p.name);
  printf(&quot;%d&quot;,p.age);
  return 0;
}

</pre>
Additionally, I have wrote this more elaborated code
(based on the ebook Learning GNU C from Ciarán O'Riordan):
<pre class="brush: cpp;">
#include 

struct Person
{
  char *name;
  int age;
  int height_in_cm;
};

int
main()
{
  struct Person hero = {&quot;Robin Hood&quot;,20, 191 };
  struct Person sidekick;

  sidekick.age = 31;
  sidekick.name = &quot;John Little&quot;;
  sidekick.height_in_cm = 237;

  printf(&quot;%s is %d years old and stands %dcm tall in his socks\n&quot;,
         sidekick.name, sidekick.age, sidekick.height_in_cm);

  printf(&quot;He is often seen with %s. \n&quot;, hero.name);

  return 0;
}

</pre>

If you are on Linux, just do it to compile:
#gcc -Wall -o code code.c</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sparc86.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sparc86.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sparc86.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sparc86.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sparc86.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sparc86.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sparc86.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sparc86.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sparc86.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sparc86.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sparc86.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sparc86.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sparc86.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sparc86.wordpress.com/230/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=230&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sparc86.wordpress.com/2011/10/27/structured-data-in-c-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d1fe99d8919ca50bca7516e75576fa3?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sparc86</media:title>
		</media:content>
	</item>
		<item>
		<title>Editing date format with sed</title>
		<link>http://sparc86.wordpress.com/2011/09/20/editing-date-format-with-sed/</link>
		<comments>http://sparc86.wordpress.com/2011/09/20/editing-date-format-with-sed/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 00:56:51 +0000</pubDate>
		<dc:creator>sparc86</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[sed]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://sparc86.wordpress.com/?p=226</guid>
		<description><![CDATA[So, a few days ago at work I had this problem, I had a file containing many lines of dates in the following format: mm-dd-yyyy but I had to convert it to yyyy-mm-dd and then join the sed and it&#8217;s arguments in a shell script (but I will not cover this shell script today, it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=226&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So, a few days ago at work I had this problem, I had a file containing many lines of dates in the following format:</p>
<p>mm-dd-yyyy but I had to convert it to yyyy-mm-dd and then join the sed and it&#8217;s arguments in a shell script (but I will not cover this shell script today, it is out of focus here).</p>
<p>To solve my problem, I just did the following:</p>
<p><span class="Apple-style-span" style="color:#ff0000;">#<span style="color:#008000;">sed -e &#8220;s_\(..\)\-\(..\)\-\(&#8230;.\)_\3-\1-\2_&#8221; sample.txt</span></span></p>
<p>Once I did it, I had my date format converted to the new one and sent to the output. So if you want it to be inserted in a new file, just add &#8220;&gt;&#8221; after the file name, just like this:</p>
<p><span style="color:#008000;"><span style="color:#ff0000;">#</span>sed -e &#8220;s_\(..\)\-\(..\)\-\(&#8230;.\)_\3-\1-\2_&#8221; sample.txt &gt; sample_new.txt</span></p>
<p>Now you&#8217;ve got a new file containing ALL the lines in the new format! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>References:</p>
<pre><a href="http://www.grymoire.com/Unix/Sed.html">http://www.grymoire.com/Unix/Sed.html</a></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sparc86.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sparc86.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sparc86.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sparc86.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sparc86.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sparc86.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sparc86.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sparc86.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sparc86.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sparc86.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sparc86.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sparc86.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sparc86.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sparc86.wordpress.com/226/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=226&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sparc86.wordpress.com/2011/09/20/editing-date-format-with-sed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d1fe99d8919ca50bca7516e75576fa3?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sparc86</media:title>
		</media:content>
	</item>
		<item>
		<title>Small shell script to check webserver availability</title>
		<link>http://sparc86.wordpress.com/2011/03/14/small-shell-script-to-check-webserver-availability/</link>
		<comments>http://sparc86.wordpress.com/2011/03/14/small-shell-script-to-check-webserver-availability/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 19:42:28 +0000</pubDate>
		<dc:creator>sparc86</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[availability]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[w3m]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://sparc86.wordpress.com/?p=201</guid>
		<description><![CDATA[With the following shell script we will: 1. By every 5 minutes will be checked if the w3m is getting the &#8220;200 OK&#8221; output. 2. If yes, then the script stops. 3. If no, then the command mail sends an email message warning the administrator about this issue. 4. The &#8220;/root/mailmsg.txt&#8221; file is where your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=201&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>With the following shell script we will:</p>
<p>1. By every 5 minutes will be checked if the w3m is getting the &#8220;200 OK&#8221; output.</p>
<p>2. If yes, then the script stops.</p>
<p>3. If no, then the command mail sends an email message warning the administrator about this issue.</p>
<p>4. The &#8220;/root/mailmsg.txt&#8221; file is where your customized warning message will be. You can certainly place it anywhere else if you wish so.</p>
<p>So, where&#8217;s the beef? Here it is, add the following code to your crontab (or write a separate file and point it in your crontab):</p>
<p><span style="color:#339966;"><pre class="brush: plain;"> */5 * * * * w3m -dump_head my-hi.com | grep -q '200 OK' || echo 'Your website is down' | mail -s 'Your website is down' admin@domainxyz.com &lt; /root/mailmsg.txt </pre></p>
<p>&nbsp;</p>
<p></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sparc86.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sparc86.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sparc86.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sparc86.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sparc86.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sparc86.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sparc86.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sparc86.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sparc86.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sparc86.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sparc86.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sparc86.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sparc86.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sparc86.wordpress.com/201/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=201&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sparc86.wordpress.com/2011/03/14/small-shell-script-to-check-webserver-availability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d1fe99d8919ca50bca7516e75576fa3?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sparc86</media:title>
		</media:content>
	</item>
		<item>
		<title>FreeBSD ports &#8211; make arguments</title>
		<link>http://sparc86.wordpress.com/2011/01/26/freebsd-ports-make-arguments/</link>
		<comments>http://sparc86.wordpress.com/2011/01/26/freebsd-ports-make-arguments/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 02:15:58 +0000</pubDate>
		<dc:creator>sparc86</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[ports]]></category>

		<guid isPermaLink="false">http://sparc86.wordpress.com/?p=187</guid>
		<description><![CDATA[Here I list some arguments very useful for the FreeBSD ports. config – Opens up the package’s configuration dialog to turn options on or off. config-recursive – Same as “config,” but also shows dialogs for package’s dependencies. rmconfig – Removes user-specified configuration settings. rmconfig-recursive – Same as “rmconfig” but removes settings for dependencies as well. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=187&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here I list some arguments very useful for the FreeBSD ports.</p>
<ul>
<li><strong><span style="color:#008000;">config – Opens up the package’s configuration dialog to turn options on or off. </span></strong></li>
<li><strong><span style="color:#008000;">config-recursive – Same as “config,” but also shows dialogs for package’s dependencies. </span></strong></li>
<li><strong><span style="color:#008000;">rmconfig – Removes user-specified configuration settings. </span></strong></li>
<li><strong><span style="color:#008000;">rmconfig-recursive – Same as “rmconfig” but removes settings for dependencies as well. </span></strong></li>
<li><strong><span style="color:#008000;">clean – Removes compiled work files, but not the installed files or downloaded source code. </span></strong></li>
<li><strong><span style="color:#008000;">distclean – Removes downloaded source code and work files for the package and its dependencies. </span></strong></li>
<li><strong><span style="color:#008000;">install – Installs the package once compiled. </span></strong></li>
<li><strong><span style="color:#008000;">deinstall – Removes a package from the system, akin to “pkg_delete.” </span></strong></li>
<li><strong><span style="color:#008000;">deinstall-all – Same as “deinstall,” but removes the package’s dependencies too. </span></strong></li>
<li><strong><span style="color:#008000;">reinstall – Used to upgrade a Port that first had to be removed with “deinstall”.</span></strong></li>
</ul>
<p>Usage example:</p>
<p><strong># cd /usr/ports/net-p2p/transmission</strong></p>
<p><strong># make config-recursive</strong></p>
<p><strong># make install distclean</strong></p>
<p>&nbsp;</p>
<p>Source: <strong>http://blog.zolp.us/2010/09/its-free-free-free-freebsd-part-2.html</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sparc86.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sparc86.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sparc86.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sparc86.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sparc86.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sparc86.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sparc86.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sparc86.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sparc86.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sparc86.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sparc86.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sparc86.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sparc86.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sparc86.wordpress.com/187/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=187&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sparc86.wordpress.com/2011/01/26/freebsd-ports-make-arguments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d1fe99d8919ca50bca7516e75576fa3?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sparc86</media:title>
		</media:content>
	</item>
		<item>
		<title>Dovecot migration error</title>
		<link>http://sparc86.wordpress.com/2011/01/26/dovecot-migration-error/</link>
		<comments>http://sparc86.wordpress.com/2011/01/26/dovecot-migration-error/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 01:24:34 +0000</pubDate>
		<dc:creator>sparc86</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[imap]]></category>

		<guid isPermaLink="false">http://sparc86.wordpress.com/?p=185</guid>
		<description><![CDATA[We migrated IMAP servers at work and for some reason I was the only one that was affected by a small problem. I couldn&#8217;t get my email! The error that would show in the maillog was: dovecot: IMAP(user): FETCH for mailbox INBOX UID 176705 failed to read message input: Is a directory dovecot: IMAP(user): Disconnected: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=185&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We migrated IMAP servers at work and for some reason I was the only one  that was affected by a small problem. I couldn&#8217;t get my email! The error  that would show in the maillog was:</p>
<blockquote><p><strong><span style="color:#008000;">dovecot: IMAP(user): FETCH for mailbox INBOX UID 176705 failed to read message input: Is a directory</span></strong><br />
<strong><span style="color:#008000;">dovecot: IMAP(user): Disconnected: BUG: Unknown internal error bytes=473/4475</span></strong></p></blockquote>
<p>After  looking at several things I eventually saw that my cur directory had  some subdirecties named like emails. They were empty, so I went ahead  and deleted it and that fixed it!</p>
<p>Just thought I&#8217;d let other  people know since it&#8217;s one of those things that Googling didn&#8217;t really  give any answers. (Imagine that!)</p>
<p>&nbsp;</p>
<p>Source:<strong> http://notjustlinux.blogspot.com/2009/05/dovecot-migration-error.html</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sparc86.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sparc86.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sparc86.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sparc86.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sparc86.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sparc86.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sparc86.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sparc86.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sparc86.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sparc86.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sparc86.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sparc86.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sparc86.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sparc86.wordpress.com/185/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=185&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sparc86.wordpress.com/2011/01/26/dovecot-migration-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d1fe99d8919ca50bca7516e75576fa3?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sparc86</media:title>
		</media:content>
	</item>
		<item>
		<title>Easy way to convert flash videos to mp3</title>
		<link>http://sparc86.wordpress.com/2010/12/02/easy-way-to-convert-flash-videos-to-mp3/</link>
		<comments>http://sparc86.wordpress.com/2010/12/02/easy-way-to-convert-flash-videos-to-mp3/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 19:11:07 +0000</pubDate>
		<dc:creator>sparc86</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://sparc86.wordpress.com/?p=180</guid>
		<description><![CDATA[An easy way to extract and convert the flash video audios (like youtube) to mp3: ffmpeg -i inpuvvideofile.flv outputaudiofile.mp3<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=180&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>An easy way to extract and convert the flash video audios (like youtube) to mp3:</p>
<p><span style="color:#008000;">ffmpeg -i inpuvvideofile.flv outputaudiofile.mp3</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sparc86.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sparc86.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sparc86.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sparc86.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sparc86.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sparc86.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sparc86.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sparc86.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sparc86.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sparc86.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sparc86.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sparc86.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sparc86.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sparc86.wordpress.com/180/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=180&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sparc86.wordpress.com/2010/12/02/easy-way-to-convert-flash-videos-to-mp3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d1fe99d8919ca50bca7516e75576fa3?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sparc86</media:title>
		</media:content>
	</item>
		<item>
		<title>A knockd configuration file</title>
		<link>http://sparc86.wordpress.com/2010/07/01/a-knockd-configuration-file/</link>
		<comments>http://sparc86.wordpress.com/2010/07/01/a-knockd-configuration-file/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 18:19:22 +0000</pubDate>
		<dc:creator>sparc86</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[remote access security]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://sparc86.wordpress.com/?p=173</guid>
		<description><![CDATA[Knockd is a Port Knocking implementation and I really like this one for being quite simple and flexible to work with almost any POSIX Operating System. There are many ways to implement it, but some can be quite confusing and sometimes even useless if you write it wrong. I personally like the following kind of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=173&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Knockd is a Port Knocking implementation and I really like this one for being quite simple and flexible to work with almost any POSIX Operating System.</p>
<p>There are many ways to implement it, but some can be quite confusing and sometimes even useless if you write it wrong.</p>
<p>I personally like the following kind of configuration for it&#8217;s simplicity. I&#8217;m going to present you the code and then, after these code lines, I&#8217;m going to comment it:</p>
<p><strong>/* Start of the knockd.conf file */</strong><br />
<span style="color:#008000;">[options]<br />
logfile = /var/log/knockd.log</span></p>
<p><span style="color:#008000;">[opencloseSSH]<br />
sequence = 7000,8000,9000<br />
seq_timeout = 15<br />
command = /sbin/iptables -I INPUT -s %IP% -p tcp &#8211;dport 22 -j ACCEPT<br />
cmd_timeout = 10<br />
tcpflags = syn<br />
stop_command = /sbin/iptables -D INPUT -s %IP% -p tcp &#8211;dport 22 -j ACCEPT</span></p>
<p><strong>/* End of the knockd.conf file */</strong></p>
<p>I will not get into deeper details about EACH line, but I will explain you how it works in general for this example.</p>
<p>Basically, knockd will be waiting for the three knock attempts (7000, 8000, 9000). The user has 15 seconds between the first knock (7000) until the last knock (9000). Once the server got those 3 knocks in less than 15 seconds, the iptables will open the port 22. Then you have 10 seconds to establish the connection, after these 10 seconds, the &#8220;stop_command&#8221; will be launched, which in this case will delete the iptables rule above. Remember, the path &#8220;/sbin/iptables&#8221; may vary, depending on which Linux distro you are using.</p>
<p>In order to make use of the following configuration scheme, it&#8217;s important that you have ESTABLISHED,RELATED rules in your iptables firewalling settings. Like this:</p>
<p><strong>iptables -A INPUT -m &#8211;state ESTABLISHED,RELATED -j ACCEPT</strong></p>
<p>Otherwise, you may loose your SSH session after those 10 seconds (even if you connected already).</p>
<p>And, of course, the iptables DROP policy:</p>
<p><strong>iptables -P INPUT DROP</strong></p>
<p>If you are interested about different configuration methods, you should check for the official man page. In the shell: <strong>man knockd</strong></p>
<p>I wrote this tutorial based on Gentoo Linux, however, knockd should works in different Linux distros and also with any other *NIX.</p>
<p><strong>References:</strong></p>
<p>http://www.zeroflux.org/projects/knock</p>
<p>http://www.portknocking.org/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sparc86.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sparc86.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sparc86.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sparc86.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sparc86.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sparc86.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sparc86.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sparc86.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sparc86.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sparc86.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sparc86.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sparc86.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sparc86.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sparc86.wordpress.com/173/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=173&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sparc86.wordpress.com/2010/07/01/a-knockd-configuration-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d1fe99d8919ca50bca7516e75576fa3?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sparc86</media:title>
		</media:content>
	</item>
		<item>
		<title>DHCP for different subnetworks</title>
		<link>http://sparc86.wordpress.com/2010/05/13/dhcp-for-different-subnetworks/</link>
		<comments>http://sparc86.wordpress.com/2010/05/13/dhcp-for-different-subnetworks/#comments</comments>
		<pubDate>Thu, 13 May 2010 20:07:25 +0000</pubDate>
		<dc:creator>sparc86</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[dhcpd]]></category>
		<category><![CDATA[subnetwork]]></category>

		<guid isPermaLink="false">http://sparc86.wordpress.com/?p=159</guid>
		<description><![CDATA[It&#8217;s quite easy to implement a DHCP configuration but how about if you have different subnetworks with different needs ? I have at home a server which I use for &#8220;playing&#8221; with different technologies and also for dns-caching, proxy-caching, etc&#8230; So I have two NIC in it and therefore two different subnetworks.  I did all [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=159&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s quite easy to implement a DHCP configuration but how about if you have different subnetworks with different needs ?</p>
<p>I have at home a server which I use for &#8220;playing&#8221; with different technologies and also for dns-caching, proxy-caching, etc&#8230;</p>
<p>So I have two NIC in it and therefore two different subnetworks.  I did all the routing table but I also needed to edit my dhcpd.conf in order to have it working on different subnets.  Here it goes the conf file:</p>
<p><span style="color:#0000ff;">/*START OF DHCPD.CONF CONFIG FILE*/</span></p>
<p><span style="color:#008000;">authoritative;<br />
ddns-update-style interim;</span></p>
<p><span style="color:#008000;">default-lease-time 900;<br />
max-lease-time 9200;</span></p>
<p><span style="color:#008000;">subnet 192.168.1.0 netmask 255.255.255.240 {<br />
option subnet-mask 255.255.255.240;<br />
option domain-name-servers 192.168.1.1;<br />
option routers 192.168.1.1;<br />
range 192.168.1.3 192.168.1.14;<br />
}   <span style="color:#0000ff;">## On this network, we have the subnet 255.255.255.240, which means, only 14 usable hosts, where the 192.168.1.1 is the gateway for this network and 192.168.1.2 runs the WLAN AP ##</span></span></p>
<p><span style="color:#008000;">subnet 192.168.0.0 netmask 255.255.255.248 {<br />
option subnet-mask 255.255.255.248;<br />
option domain-name-servers 192.168.0.1;<br />
option routers 192.168.0.3;<br />
range 192.168.0.3 192.168.0.6;<br />
}</span> <span style="color:#0000ff;">##Same thing, but here the netmask is 255.255.255.248, which means only 6 usable hosts, </span><span style="color:#0000ff;">the 192.168.0.3 is the gateway and the 192.168.0.1 and 192.168.0.2 are not here because I use it as static hosts##</span><span style="color:#008000;"><span style="color:#0000ff;"> </span><br />
</span></p>
<p><span style="color:#0000ff;">/*END OF DHCPD.CONF CONFIG FILE*/</span></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><span style="color:#0000ff;"><span style="color:#000000;">References:</span></span></p>
<p><a href="http://en.wikipedia.org/wiki/Subnetwork">http://en.wikipedia.org/wiki/Subnetwork</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sparc86.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sparc86.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sparc86.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sparc86.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sparc86.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sparc86.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sparc86.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sparc86.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sparc86.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sparc86.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sparc86.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sparc86.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sparc86.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sparc86.wordpress.com/159/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=159&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sparc86.wordpress.com/2010/05/13/dhcp-for-different-subnetworks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d1fe99d8919ca50bca7516e75576fa3?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sparc86</media:title>
		</media:content>
	</item>
		<item>
		<title>How to change MAC address in Linux</title>
		<link>http://sparc86.wordpress.com/2010/03/14/how-to-change-mac-address-in-linux/</link>
		<comments>http://sparc86.wordpress.com/2010/03/14/how-to-change-mac-address-in-linux/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 23:57:32 +0000</pubDate>
		<dc:creator>sparc86</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MAC]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[NIC]]></category>

		<guid isPermaLink="false">http://sparc86.wordpress.com/?p=144</guid>
		<description><![CDATA[It&#8217;s quite simple to change the network interface MAC adress on Linux but not everybody knows it, so here it is, with two simple commands we can change our MAC (Media Access Control) address. It should works for other unix based systems as well, but I haven&#8217;t tested it yet. So, as a network-system administrator, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=144&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s quite simple to change the network interface MAC adress on Linux but not everybody knows it, so here it is, with two simple commands we can change our MAC (<em>Media Access Control)</em> address. It should works for other unix based systems as well, but I haven&#8217;t tested it yet.</p>
<p>So, as a network-system administrator, someday in your life, you may get a conflicted MAC address, so instead of throwing down your NIC interface to the trash and get a new one, you CAN change the MAC address for a valid one and it&#8217;s pretty easy.</p>
<p>So, here we go:</p>
<p><span style="color:#008000;">#ifconfig eth0 down hw ether 00:00:00:00:00:05</span></p>
<p><span style="color:#008000;">#ifconfig eth0 up</span></p>
<p>At this point, your ethernet interface should be working with the new MAC address.</p>
<p>References:</p>
<p><a href="http://en.wikipedia.org/wiki/MAC_address">http://en.wikipedia.org/wiki/MAC_address</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sparc86.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sparc86.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sparc86.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sparc86.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sparc86.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sparc86.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sparc86.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sparc86.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sparc86.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sparc86.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sparc86.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sparc86.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sparc86.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sparc86.wordpress.com/144/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=144&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sparc86.wordpress.com/2010/03/14/how-to-change-mac-address-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d1fe99d8919ca50bca7516e75576fa3?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sparc86</media:title>
		</media:content>
	</item>
		<item>
		<title>How to save flash videos on GNU/Linux</title>
		<link>http://sparc86.wordpress.com/2009/09/16/how-to-save-flash-videos-on-gnulinux/</link>
		<comments>http://sparc86.wordpress.com/2009/09/16/how-to-save-flash-videos-on-gnulinux/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 22:41:34 +0000</pubDate>
		<dc:creator>sparc86</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[save]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://sparc86.wordpress.com/?p=142</guid>
		<description><![CDATA[I have never tried it on Windows, but it should work in a similar way, I guess. You probably already heard about those tools which promise to save your youtube (or any other flash video oriented website) videos. Actually you don&#8217;t need any third party tool in order to save any flash video. This is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=142&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have never tried it on Windows, but it should work in a similar way, I guess.</p>
<p>You probably already heard about those tools which promise to save your youtube (or any other flash video oriented website) videos. Actually you don&#8217;t need any third party tool in order to save any flash video.</p>
<p>This is how it works:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><span style="color:#008000;">#cd /tmp/</span></p>
<p><span style="color:#008000;">#ls -lah</span></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>So now you have got your usual temporary files list.</p>
<p>Now go to your favorite web browser and search for an youtube video (or any other flash videp oriented website) and start to load it and wait until it gets fully loaded.</p>
<p>Now back to the tmp directory:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><span style="color:#008000;">#ls -lah</span></p>
<p><span style="color:#008000;"><strong>Flash</strong>0GCg9U</span></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>You will find out there&#8217;s a file in there called &#8220;Flash+randomcharacters&#8221;, now just copy it to any another directory and feel free to rename the file of course.</p>
<p>Done, now you got the video forever! <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sparc86.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sparc86.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sparc86.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sparc86.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sparc86.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sparc86.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sparc86.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sparc86.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sparc86.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sparc86.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sparc86.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sparc86.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sparc86.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sparc86.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sparc86.wordpress.com&amp;blog=5470506&amp;post=142&amp;subd=sparc86&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sparc86.wordpress.com/2009/09/16/how-to-save-flash-videos-on-gnulinux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d1fe99d8919ca50bca7516e75576fa3?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sparc86</media:title>
		</media:content>
	</item>
	</channel>
</rss>
