<?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>OktoPot.net</title>
	<atom:link href="http://oktopot.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://oktopot.net/blog</link>
	<description>When you want to scream, to say fuck off or to admire the art...</description>
	<lastBuildDate>Wed, 28 Mar 2012 05:03:59 +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>Some bash code</title>
		<link>http://oktopot.net/blog/2012/03/some-bash-code/</link>
		<comments>http://oktopot.net/blog/2012/03/some-bash-code/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 04:04:50 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Code examples and poetry]]></category>
		<category><![CDATA[Linux and Internet]]></category>

		<guid isPermaLink="false">http://oktopot.net/blog/?p=1599</guid>
		<description><![CDATA[I was playing with some bash code in order to find how to check the load and execute commands only if the load is below pre-defined value. Here is the result: #!/bin/bash t=1 # The defined load limit s=`cat /proc/loadavg &#124; awk -F &#8221; &#8221; &#8216;{ print $1}&#8217;` result=$( echo &#8220;&#8221;$s&#8221; < 1&#8243; &#124; bc) [...]]]></description>
			<content:encoded><![CDATA[<p>I was playing with some bash code in order to find how to check the load and execute commands only if the load is below pre-defined value. Here is the result:<br />
#!/bin/bash<br />
t=1 # The defined load limit<br />
s=`cat /proc/loadavg | awk -F &#8221; &#8221; &#8216;{ print $1}&#8217;`<br />
result=$( echo &#8220;&#8221;$s&#8221; < 1&#8243; | bc)<br />
#echo $result<br />
while [ "$result" = "$t" ] ; do<br />
## Here you can place the command which you want to execute and at the end of the line set &#038;<br />
 echo &#8220;the load is below 1&#8243;<br />
s=`cat /proc/loadavg | awk -F &#8221; &#8221; &#8216;{ print $1}&#8217;`<br />
result=$( echo &#8220;&#8221;$s&#8221; < 1&#8243; | bc)<br />
#exit 0<br />
done<br />
#Here you can kill the command which already has been set to be executed.<br />
echo &#8220;END&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://oktopot.net/blog/2012/03/some-bash-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Анонимност в интернет</title>
		<link>http://oktopot.net/blog/2012/03/%d0%b0%d0%bd%d0%be%d0%bd%d0%b8%d0%bc%d0%bd%d0%be%d1%81%d1%82-%d0%b2-%d0%b8%d0%bd%d1%82%d0%b5%d1%80%d0%bd%d0%b5%d1%82/</link>
		<comments>http://oktopot.net/blog/2012/03/%d0%b0%d0%bd%d0%be%d0%bd%d0%b8%d0%bc%d0%bd%d0%be%d1%81%d1%82-%d0%b2-%d0%b8%d0%bd%d1%82%d0%b5%d1%80%d0%bd%d0%b5%d1%82/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 03:57:42 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Хора и пари]]></category>
		<category><![CDATA[politics incorrect decisions]]></category>
		<category><![CDATA[челен опит]]></category>

		<guid isPermaLink="false">http://oktopot.net/blog/?p=1595</guid>
		<description><![CDATA[Може да пробвате да прочетете: https://www.torproject.org/ има пакети за всички операционни системи. Малко по-бавно, ама върви. За онези които искат скорост-http://www.dreamvpn.us/ плащаш и не си от България идеята е да запазим част от себе си и да не се даваме на държавата. Както често се оказва, свободата на словото се преследва.]]></description>
			<content:encoded><![CDATA[<p>Може да пробвате да прочетете:</p>
<p><a href="https://www.torproject.org/" title="TOR">https://www.torproject.org/</a> има пакети за всички операционни системи. Малко по-бавно, ама върви.</p>
<p>За онези които искат скорост-<a href="http://www.dreamvpn.us/ " title="VPN">http://www.dreamvpn.us/ </a> плащаш и не си от България <img src='http://oktopot.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>идеята е да запазим част от себе си и да не се даваме на държавата. Както често се оказва, свободата на словото се преследва. </p>
]]></content:encoded>
			<wfw:commentRss>http://oktopot.net/blog/2012/03/%d0%b0%d0%bd%d0%be%d0%bd%d0%b8%d0%bc%d0%bd%d0%be%d1%81%d1%82-%d0%b2-%d0%b8%d0%bd%d1%82%d0%b5%d1%80%d0%bd%d0%b5%d1%82/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>СИДЕРОВ Е МАЙМУНА. ПРИ ТОВА ОПАСНА</title>
		<link>http://oktopot.net/blog/2012/03/%d1%81%d0%b8%d0%b4%d0%b5%d1%80%d0%be%d0%b2-%d0%b5-%d0%bc%d0%b0%d0%b9%d0%bc%d1%83%d0%bd%d0%b0-%d0%bf%d1%80%d0%b8-%d1%82%d0%be%d0%b2%d0%b0-%d0%be%d0%bf%d0%b0%d1%81%d0%bd%d0%b0/</link>
		<comments>http://oktopot.net/blog/2012/03/%d1%81%d0%b8%d0%b4%d0%b5%d1%80%d0%be%d0%b2-%d0%b5-%d0%bc%d0%b0%d0%b9%d0%bc%d1%83%d0%bd%d0%b0-%d0%bf%d1%80%d0%b8-%d1%82%d0%be%d0%b2%d0%b0-%d0%be%d0%bf%d0%b0%d1%81%d0%bd%d0%b0/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 03:53:35 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Първите]]></category>
		<category><![CDATA[Хора и пари]]></category>

		<guid isPermaLink="false">http://oktopot.net/blog/?p=1574</guid>
		<description><![CDATA[Господин Волен Сидеров е абсолютен тъпанар и неговата партия е вредна за страната.]]></description>
			<content:encoded><![CDATA[<p>Господин Волен Сидеров е абсолютен тъпанар и неговата партия е вредна за страната.</p>
]]></content:encoded>
			<wfw:commentRss>http://oktopot.net/blog/2012/03/%d1%81%d0%b8%d0%b4%d0%b5%d1%80%d0%be%d0%b2-%d0%b5-%d0%bc%d0%b0%d0%b9%d0%bc%d1%83%d0%bd%d0%b0-%d0%bf%d1%80%d0%b8-%d1%82%d0%be%d0%b2%d0%b0-%d0%be%d0%bf%d0%b0%d1%81%d0%bd%d0%b0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recent books (наскоро четени)</title>
		<link>http://oktopot.net/blog/2011/09/recent-books-%d0%bd%d0%b0%d1%81%d0%ba%d0%be%d1%80%d0%be-%d1%87%d0%b5%d1%82%d0%b5%d0%bd%d0%b8/</link>
		<comments>http://oktopot.net/blog/2011/09/recent-books-%d0%bd%d0%b0%d1%81%d0%ba%d0%be%d1%80%d0%be-%d1%87%d0%b5%d1%82%d0%b5%d0%bd%d0%b8/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 18:25:31 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Книги и философия]]></category>

		<guid isPermaLink="false">http://oktopot.net/blog/?p=1587</guid>
		<description><![CDATA[Препоръчвам Ви да прочетете &#8220;Министерство на болката&#8221; Угрешич. Има две страници женски клетви от Балканите(Албания, България, Босна, Сърбия, Македония&#8230;.) &#160; Read and remember &#8220;Ministry of pain&#8221; Book by Ugreshich]]></description>
			<content:encoded><![CDATA[<p>Препоръчвам Ви да прочетете &#8220;Министерство на болката&#8221; Угрешич. Има две страници женски клетви от Балканите(Албания, България, Босна, Сърбия, Македония&#8230;.)</p>
<p>&nbsp;</p>
<p>Read and remember &#8220;Ministry of pain&#8221; Book by Ugreshich</p>
]]></content:encoded>
			<wfw:commentRss>http://oktopot.net/blog/2011/09/recent-books-%d0%bd%d0%b0%d1%81%d0%ba%d0%be%d1%80%d0%be-%d1%87%d0%b5%d1%82%d0%b5%d0%bd%d0%b8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to find how many jpg files are there? Linux (Pictures directory)</title>
		<link>http://oktopot.net/blog/2011/09/how-to-find-how-many-jpg-files-are-there-linux-pictures-directory/</link>
		<comments>http://oktopot.net/blog/2011/09/how-to-find-how-many-jpg-files-are-there-linux-pictures-directory/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 18:22:33 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Linux and Internet]]></category>
		<category><![CDATA[Първите]]></category>

		<guid isPermaLink="false">http://oktopot.net/blog/?p=1585</guid>
		<description><![CDATA[The answer: ~/Pictures$ find -type f -exec file '{}' \; &#124; grep JPEG &#124; wc -l hint: the file command will help you to determine the exact file type. Imagine jpg without the extension.]]></description>
			<content:encoded><![CDATA[<pre>The answer:</pre>
<pre></pre>
<pre>~/Pictures$ find -type f -exec file '{}' \; | grep JPEG | wc -l</pre>
<pre></pre>
<pre>hint: the file command will help you to determine the exact file type. Imagine jpg without the extension.</pre>
]]></content:encoded>
			<wfw:commentRss>http://oktopot.net/blog/2011/09/how-to-find-how-many-jpg-files-are-there-linux-pictures-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

