<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.12-alpha" -->
<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/"
	>

<channel>
	<title>Body of Knowledge</title>
	<link>http://bok.cronicando.com</link>
	<description>knowledge sharing - wiki brain</description>
	<pubDate>Sun, 27 Dec 2009 22:23:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.12-alpha</generator>
	<language>en</language>
			<item>
		<title>some sed examples</title>
		<link>http://bok.cronicando.com/some-sed-examples/</link>
		<comments>http://bok.cronicando.com/some-sed-examples/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 22:16:03 +0000</pubDate>
		<dc:creator>#</dc:creator>
		
		<category>Tips &amp; Tricks</category>

		<guid isPermaLink="false">http://bok.cronicando.com/some-sed-examples/</guid>
		<description><![CDATA[Sed stands for &#8220;stream editor&#8221; and parses text file to apply textual transformations. It evolved as the natural successor of grep.
Below some examples of commands:
http://sed.sourceforge.net/sed1line.txt

]]></description>
			<content:encoded><![CDATA[<p>Sed stands for &#8220;stream editor&#8221; and parses text file to apply textual transformations. It evolved as the natural successor of grep.</p>
<p>Below some examples of commands:<br />
<a href="http://sed.sourceforge.net/sed1line.txt">http://sed.sourceforge.net/sed1line.txt</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://bok.cronicando.com/some-sed-examples/feed/</wfw:commentRss>
		</item>
		<item>
		<title>migration from Windows to Linux (Ubuntu)</title>
		<link>http://bok.cronicando.com/migration-from-windows-to-linux-ubuntu/</link>
		<comments>http://bok.cronicando.com/migration-from-windows-to-linux-ubuntu/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 17:21:00 +0000</pubDate>
		<dc:creator>#</dc:creator>
		
		<category>Tips &amp; Tricks</category>

		<guid isPermaLink="false">http://bok.cronicando.com/migration-from-windows-to-linux-ubuntu/</guid>
		<description><![CDATA[If you want to give Linux a try here goes a list of replacements for the usual stuff in windows:
http://www.linuxrsp.ru/win-lin-soft/table-eng.html
If you dislike the replacements you can always use the windows version with wine - windows emulator:
http://appdb.winehq.org

]]></description>
			<content:encoded><![CDATA[<p>If you want to give Linux a try here goes a list of replacements for the usual stuff in windows:</p>
<p><a title="http://www.linuxrsp.ru/win-lin-soft/table-eng.html" href="http://www.linuxrsp.ru/win-lin-soft/table-eng.html">http://www.linuxrsp.ru/win-lin-soft/table-eng.html</a></p>
<p>If you dislike the replacements you can always use the windows version with wine - windows emulator:<br />
<a title="http://appdb.winehq.org" href="http://appdb.winehq.org">http://appdb.winehq.org</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://bok.cronicando.com/migration-from-windows-to-linux-ubuntu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Big-IP v4 redirect</title>
		<link>http://bok.cronicando.com/big-ip-v4-redirect/</link>
		<comments>http://bok.cronicando.com/big-ip-v4-redirect/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 23:42:24 +0000</pubDate>
		<dc:creator>#</dc:creator>
		
		<category>Tips &amp; Tricks</category>

		<guid isPermaLink="false">http://bok.cronicando.com/big-ip-v4-redirect/</guid>
		<description><![CDATA[If you want to generate an unconditional redirect from siteA to siteB, just write this:   
if (http_host starts_with &#8220;www.siteA.com&#8221;) {
                                                redirect to http://www.siteB.com:%p/%u&#8220;
}

Where:
- %p stands for the port.
- %u stands for [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to generate an unconditional redirect from siteA to siteB, just write this:  <font size="2" face="sans-serif"> </font></p>
<p><font size="2" face="sans-serif">if (http_host starts_with &#8220;www.siteA.com&#8221;) {</font><br />
<font size="2" face="sans-serif">                                                redirect to http://www.siteB.com:%p/%u</font><font size="2" face="sans-serif">&#8220;</font></p>
<p>}<br />
<font size="2" face="sans-serif" /></p>
<p><font size="2" face="sans-serif"><font size="2" face="sans-serif"><font size="2" face="sans-serif">Where:<br />
<font size="2" face="sans-serif">- %p stands for the port.</font><br />
<font size="2" face="sans-serif">- %u stands for the url path.</font> </font> </font> </font>
</p>
]]></content:encoded>
			<wfw:commentRss>http://bok.cronicando.com/big-ip-v4-redirect/feed/</wfw:commentRss>
		</item>
		<item>
		<title>fc bash command</title>
		<link>http://bok.cronicando.com/fc-bash-command/</link>
		<comments>http://bok.cronicando.com/fc-bash-command/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 23:52:35 +0000</pubDate>
		<dc:creator>#</dc:creator>
		
		<category>Tips &amp; Tricks</category>

		<guid isPermaLink="false">http://bok.cronicando.com/fc-bash-command/</guid>
		<description><![CDATA[&#8220;fc&#8221; will bring the last command typed into an editor, &#8220;vi&#8221; if that&#8217;s the default editor. Of course you can specify a different editor by using the -e switch as follows:
$ fc -e emacs
To list last few commands, type:
$ fc -l
For the last 10 commands it will be:
$ fc -l -10

]]></description>
			<content:encoded><![CDATA[<p>&#8220;fc&#8221; will bring the last command typed into an editor, &#8220;vi&#8221; if that&#8217;s the default editor. Of course you can specify a different editor by using the -e switch as follows:<br />
<code>$ fc -e emacs</code><br />
To list last few commands, type:<br />
<code>$ fc -l</code><br />
For the last 10 commands it will be:<br />
<code>$ fc -l -10</code>
</p>
]]></content:encoded>
			<wfw:commentRss>http://bok.cronicando.com/fc-bash-command/feed/</wfw:commentRss>
		</item>
		<item>
		<title>acl on ext2/ext3</title>
		<link>http://bok.cronicando.com/acl-on-ext2ext3/</link>
		<comments>http://bok.cronicando.com/acl-on-ext2ext3/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 23:39:39 +0000</pubDate>
		<dc:creator>#</dc:creator>
		
		<category>Tips &amp; Tricks</category>

		<guid isPermaLink="false">http://bok.cronicando.com/acl-on-ext2ext3/</guid>
		<description><![CDATA[Ever wandered how to have a full file ACL on your Linux filesystem instead of the usual user:password:others?
apt-get install libattr1 libacl1 acl
setfacl 
getfacl
Interesting links:
http://www.adelux.fr/libre/howto/en/samba_ext3_acl

]]></description>
			<content:encoded><![CDATA[<p>Ever wandered how to have a full file ACL on your Linux filesystem instead of the usual user:password:others?</p>
<p><code>apt-get install libattr1 libacl1 acl</code></p>
<p><code>setfacl </code><br />
<code>getfacl</code><br />
Interesting links:</p>
<p><a title="http://www.adelux.fr/libre/howto/en/samba_ext3_acl" href="http://www.adelux.fr/libre/howto/en/samba_ext3_acl">http://www.adelux.fr/libre/howto/en/samba_ext3_acl</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://bok.cronicando.com/acl-on-ext2ext3/feed/</wfw:commentRss>
		</item>
		<item>
		<title>mirror/download a website</title>
		<link>http://bok.cronicando.com/mirrordownload-a-website/</link>
		<comments>http://bok.cronicando.com/mirrordownload-a-website/#comments</comments>
		<pubDate>Sun, 20 Jan 2008 23:36:50 +0000</pubDate>
		<dc:creator>#</dc:creator>
		
		<category>Tips &amp; Tricks</category>

		<guid isPermaLink="false">http://bok.cronicando.com/mirrordownload-a-website/</guid>
		<description><![CDATA[If you need for some reason to download a full website, wget is a nice tool to accomplish this.
With &#8220;man wget&#8221; you can get a pretty good idea of all available features. I heard there is also a wget version for windows.
Let us examine an example:

-m stands for mirroring
-k and -K convert the page with [...]]]></description>
			<content:encoded><![CDATA[<p>If you need for some reason to download a full website, wget is a nice tool to accomplish this.<br />
With &#8220;man wget&#8221; you can get a pretty good idea of all available features. I heard there is also a wget version for windows.</p>
<p>Let us examine an example:</p>
<ul>
<li>-m stands for mirroring</li>
<li>-k and -K convert the page with local links</li>
<li>-E to convert to an html suffix</li>
<li>&#8211;random-wait to add a random waiting period between requests</li>
</ul>
<pre>$ wget -m -E -k -K -w 1 --random-wait -o logfile http://website_uri/path</pre>
]]></content:encoded>
			<wfw:commentRss>http://bok.cronicando.com/mirrordownload-a-website/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Disable directory browsing in apache</title>
		<link>http://bok.cronicando.com/disable-directory-browsing-in-apache/</link>
		<comments>http://bok.cronicando.com/disable-directory-browsing-in-apache/#comments</comments>
		<pubDate>Sun, 20 Jan 2008 23:35:12 +0000</pubDate>
		<dc:creator>#</dc:creator>
		
		<category>Tips &amp; Tricks</category>

		<guid isPermaLink="false">http://bok.cronicando.com/disable-directory-browsing-in-apache/</guid>
		<description><![CDATA[You can disable directory browsing at several levels like everything else.
In order to do that:

Edit either the http.conf or a specific .conf file or the .htaccess file.
If exists, look for &#8220;Option Indexes&#8221;
Replace it or create a new line with &#8220;Options -Indexes&#8221;

]]></description>
			<content:encoded><![CDATA[<p>You can disable directory browsing at several levels like everything else.</p>
<p>In order to do that:</p>
<ol>
<li>Edit either the http.conf or a specific .conf file or the .htaccess file.</li>
<li>If exists, look for &#8220;Option Indexes&#8221;</li>
<li>Replace it or create a new line with &#8220;Options -Indexes&#8221;</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://bok.cronicando.com/disable-directory-browsing-in-apache/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WPA 1 on Ubuntu 7.10 Gutsy</title>
		<link>http://bok.cronicando.com/wpa-1-on-ubuntu-710-gutsy/</link>
		<comments>http://bok.cronicando.com/wpa-1-on-ubuntu-710-gutsy/#comments</comments>
		<pubDate>Thu, 08 Nov 2007 02:00:05 +0000</pubDate>
		<dc:creator>#</dc:creator>
		
		<category>issues</category>

		<guid isPermaLink="false">http://bok.cronicando.com/wpa-1-on-ubuntu-710-gutsy/</guid>
		<description><![CDATA[After trying the gnome network configuration tool with little success, I tried the hardcore version, changing by hand the /etc/network/interfaces file again with little success.
First search for your AP:
$ iwlist eth1 scanning
If you have a working wireless network adapter (eth1) and your AP in range, your configuration file should look something like this:
auto eth1
iface eth1 [...]]]></description>
			<content:encoded><![CDATA[<p>After trying the gnome network configuration tool with little success, I tried the hardcore version, changing by hand the /etc/network/interfaces file again with little success.</p>
<p>First search for your AP:</p>
<pre>$ iwlist eth1 scanning</pre>
<p>If you have a working wireless network adapter (eth1) and your AP in range, your configuration file should look something like this:</p>
<pre>auto eth1
iface eth1 inet dhcp
wpa-driver wext
wpa-ssid SSID
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk XXXXXXXXXXXXXXXXXXXXf4b3cff05d8ebf483435050268bxxxxxxxxxx</pre>
<p>Your key for wpa-psk can be generated using:</p>
<pre> sudo wpa_passphrase SSID "passphrase"</pre>
<p>So what can actually make you nuts is that if you used an hidden SSID, it will not work until you make the SSID visible once&#8230; and then you can go back into being hidden again.</p>
<p>Another way is to use the command iwconfig:</p>
<pre>sudo iwconfig eth1 essid "hidden_ssid"</pre>
]]></content:encoded>
			<wfw:commentRss>http://bok.cronicando.com/wpa-1-on-ubuntu-710-gutsy/feed/</wfw:commentRss>
		</item>
		<item>
		<title>redhat rpms for very old versions</title>
		<link>http://bok.cronicando.com/redhat-rpms-for-very-old-versions/</link>
		<comments>http://bok.cronicando.com/redhat-rpms-for-very-old-versions/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 16:14:36 +0000</pubDate>
		<dc:creator>#</dc:creator>
		
		<category>Tips &amp; Tricks</category>

		<guid isPermaLink="false">http://bok.cronicando.com/redhat-rpms-for-very-old-versions/</guid>
		<description><![CDATA[You can find it here:
http://rpmfind.net/linux/rpm2html/search.php?query=&#38;submit=Search+&#8230;&#38;system=&#38;arch=

]]></description>
			<content:encoded><![CDATA[<p>You can find it here:</p>
<p><a href="http://rpmfind.net/linux/rpm2html/search.php?query=&amp;submit=Search+...&amp;system=&amp;arch=" title="http://rpmfind.net/linux/rpm2html/search.php?query=&amp;submit=Search+...&amp;system=&amp;arch=">http://rpmfind.net/linux/rpm2html/search.php?query=&amp;submit=Search+&#8230;&amp;system=&amp;arch=</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://bok.cronicando.com/redhat-rpms-for-very-old-versions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>check the latest kernel version available</title>
		<link>http://bok.cronicando.com/check-latest-kernel-version/</link>
		<comments>http://bok.cronicando.com/check-latest-kernel-version/#comments</comments>
		<pubDate>Tue, 21 Aug 2007 23:14:41 +0000</pubDate>
		<dc:creator>#</dc:creator>
		
		<category>Tips &amp; Tricks</category>

		<guid isPermaLink="false">http://bok.cronicando.com/check-latest-kernel-version/</guid>
		<description><![CDATA[In order to check the latest kernel version available just do this:
$ finger @kernel.org
And get an output similar to:
[kernel.org]
The latest stable version of the Linux kernel is:           2.6.22.4
The latest prepatch for the stable Linux kernel tree is:    2.6.23-rc3
The latest snapshot for the [...]]]></description>
			<content:encoded><![CDATA[<p>In order to check the latest kernel version available just do this:</p>
<pre>$ finger @kernel.org</pre>
<p>And get an output similar to:</p>
<pre>[kernel.org]
The latest stable version of the Linux kernel is:           2.6.22.4
The latest prepatch for the stable Linux kernel tree is:    2.6.23-rc3
The latest snapshot for the stable Linux kernel tree is:    2.6.23-rc3-git4
The latest 2.4 version of the Linux kernel is:              2.4.35.1
The latest 2.2 version of the Linux kernel is:              2.2.26
The latest prepatch for the 2.2 Linux kernel tree is:       2.2.27-rc2
The latest -mm patch to the stable Linux kernels is:        2.6.23-rc2-mm2</pre>
]]></content:encoded>
			<wfw:commentRss>http://bok.cronicando.com/check-latest-kernel-version/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
