<?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>Not So Frequently Asked Questions</title>
	<atom:link href="http://notfaq.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://notfaq.wordpress.com</link>
	<description>FAQ, Tips &#38; Tricks For Unix, Emacs And Other Useful Tools</description>
	<lastBuildDate>Sun, 22 Jan 2012 15:19:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='notfaq.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Not So Frequently Asked Questions</title>
		<link>http://notfaq.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://notfaq.wordpress.com/osd.xml" title="Not So Frequently Asked Questions" />
	<atom:link rel='hub' href='http://notfaq.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Unix/Linux &#8212; Ubuntu/Debian &#8212; lock package version</title>
		<link>http://notfaq.wordpress.com/2011/10/11/unixlinux-ubuntudebian-lock-package-version/</link>
		<comments>http://notfaq.wordpress.com/2011/10/11/unixlinux-ubuntudebian-lock-package-version/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 18:12:28 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/?p=205</guid>
		<description><![CDATA[In order to lock a package to a specific version and refrain it from being upgraded do: sudo -s echo PACKAGE_NAME hold &#124; dpkg &#8211;set-selections To verify the settings for a package to: sudo -s dpkg &#8211;get-selections PACKAGE_NAME To re-enable a package to be upgraded do: sudo -s echo PACKAGE_NAME install &#124; dpkg &#8211;set-selections More [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=205&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to lock a package to a specific version and refrain it from being upgraded do:</p>
<p><strong>sudo -s</strong><br />
<strong>echo PACKAGE_NAME hold | dpkg &#8211;set-selections</strong></p>
<p>To verify the settings for a package to:</p>
<p><strong>sudo -s</strong><br />
<strong>dpkg &#8211;get-selections PACKAGE_NAME</strong></p>
<p>To re-enable a package to be upgraded do:</p>
<p><strong>sudo -s</strong><br />
<strong>echo PACKAGE_NAME install | dpkg &#8211;set-selections</strong></p>
<p>More info can be found here:<br />
<a href="https://help.ubuntu.com/community/PinningHowto">https://help.ubuntu.com/community/PinningHowto</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/205/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=205&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2011/10/11/unixlinux-ubuntudebian-lock-package-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Unix/Linux &#8212; .Xdefaults in X-Win32</title>
		<link>http://notfaq.wordpress.com/2011/02/27/unixlinux-xdefaults-in-x-win32/</link>
		<comments>http://notfaq.wordpress.com/2011/02/27/unixlinux-xdefaults-in-x-win32/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 00:22:10 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/?p=192</guid>
		<description><![CDATA[In order to be able to use your .Xdefaults file in X-Win32 you have to do the following. Copy your .Xdefaults file to C:\Users\USERNAME\AppData\ Local\StarNet\X-Win32\Xdefaults. Where USERNAME is your Windows user name. Disable the Set Xresource Defaults option in the X-Win32 X-Config&#8217;s Window tab.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=192&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to be able to use your <strong>.Xdefaults</strong> file in X-Win32 you have to do the following.</p>
<ol>
<li>Copy your <strong>.Xdefaults</strong> file to <strong>C:\Users\USERNAME\AppData\ Local\StarNet\X-Win32\Xdefaults</strong>. Where USERNAME is your Windows user name.</li>
<li>Disable the <strong>Set Xresource Defaults</strong> option in the X-Win32 X-Config&#8217;s Window tab.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/192/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=192&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2011/02/27/unixlinux-xdefaults-in-x-win32/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Unix/Linux &#8212; Insert TAB in command</title>
		<link>http://notfaq.wordpress.com/2010/11/19/unixlinux-insert-tab-in-command/</link>
		<comments>http://notfaq.wordpress.com/2010/11/19/unixlinux-insert-tab-in-command/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 21:30:44 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/?p=189</guid>
		<description><![CDATA[If you need to run a command which requires you to insert a TAB, press Ctrl-V TAB to insert it. This could be useful when you want to grep for TAB or split lines of a TAB separated file with cut.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=189&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you need to run a command which requires you to insert a TAB, press <strong>Ctrl-V TAB</strong> to insert it.</p>
<p>This could be useful when you want to <strong>grep</strong> for TAB or split lines of a TAB separated file with <strong>cut</strong>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/189/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=189&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2010/11/19/unixlinux-insert-tab-in-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Suversion &#8212; Change repository URL</title>
		<link>http://notfaq.wordpress.com/2010/08/01/suversion-change-repository-url/</link>
		<comments>http://notfaq.wordpress.com/2010/08/01/suversion-change-repository-url/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 04:13:06 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/?p=181</guid>
		<description><![CDATA[If you have checked out a repository and the repository URL has changed, you can update the URL using the svn switch command. For example: Old URL: https://www.oldrepo.com/svn/ New URL: https://www.newrepo.com/svn/ svn switch &#8211;relocate https://www.oldrepo.com/svn https://www.newrepo.com/svn See svn switch in Version Control with Subversion book for more details.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=181&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you have checked out a repository and the repository URL has changed, you can update the URL using the <strong>svn switch</strong> command. For example:</p>
<p>Old URL: https://www.oldrepo.com/svn/<br />
New URL: https://www.newrepo.com/svn/</p>
<p><strong>svn switch &#8211;relocate https://www.oldrepo.com/svn https://www.newrepo.com/svn</strong></p>
<p>See <a title="svn switch" href="http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.switch.html"><strong>svn switch</strong></a> in Version Control with Subversion book for more details.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/181/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=181&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2010/08/01/suversion-change-repository-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs &#8212; ispell &#8212; No word lists (Ubuntu)</title>
		<link>http://notfaq.wordpress.com/2008/11/16/emacs-ispell-no-word-lists-ubuntu/</link>
		<comments>http://notfaq.wordpress.com/2008/11/16/emacs-ispell-no-word-lists-ubuntu/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 04:54:59 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/?p=166</guid>
		<description><![CDATA[In Ubuntu, if you get: Error: No word lists can be found for the language &#8220;en_US&#8221;. when trying to start ispell (e.g., M-x ispell-buffer) from Emacs, then you need to install the aspell-en package: sudo apt-get install aspell-en<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=166&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In Ubuntu, if you get:</p>
<p><strong>Error: No word lists can be found for the language &#8220;en_US&#8221;.</strong></p>
<p>when trying to start ispell (e.g., <strong>M-x ispell-buffer</strong>) from Emacs, then you need to install the <strong>aspell-en</strong> package:</p>
<p><strong>sudo apt-get install aspell-en</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/166/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=166&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2008/11/16/emacs-ispell-no-word-lists-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs &#8212; Using rectangles</title>
		<link>http://notfaq.wordpress.com/2008/11/12/emacs-using-rectangles/</link>
		<comments>http://notfaq.wordpress.com/2008/11/12/emacs-using-rectangles/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 20:40:31 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/?p=145</guid>
		<description><![CDATA[In Emacs, you can not only select by lines, but also by columns. If you select by columns, the selection is called a rectangle. You can use rectangles with the following shortcuts: C-@ or C-Space &#8212; start selection (as usual) M-x delete-rectangle or C-x r d &#8212; delete the rectangle delimited by the start selection [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=145&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In Emacs, you can not only select by lines, but also by columns. If you select by columns, the selection is called a rectangle. You can use rectangles with the following shortcuts:</p>
<ul>
<li><strong>C-@ </strong>or <strong>C-Space &#8212; </strong>start selection (as usual)</li>
<li><strong>M-x delete-rectangle </strong>or <strong>C-x r d</strong> &#8212; delete the rectangle delimited by the start selection and the current cursor position</li>
<li><strong>M-x kill-rectangle </strong>or <strong>C-x r k</strong> &#8212; then you can use &#8212; <strong>M-x yank-rectangle</strong> or <strong>C-x r y</strong></li>
<li><strong>M-x clear-rectangle </strong>or <strong>C-x r c</strong> &#8212; replace the contents of the rectangle with spaces</li>
<li><strong>M-x open-rectangle </strong>or <strong>C-x r o</strong> &#8212; insert spaces in the area and push the original contents to the right</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/145/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=145&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2008/11/12/emacs-using-rectangles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C/C++ &#8212; Insert sequential values into container</title>
		<link>http://notfaq.wordpress.com/2008/11/07/cc-insert-sequential-values-in-container/</link>
		<comments>http://notfaq.wordpress.com/2008/11/07/cc-insert-sequential-values-in-container/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 03:37:57 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/?p=136</guid>
		<description><![CDATA[To insert sequential values into a container, you could use the iota function available in ext/numeric header. For example: #include &#60;ext/numeric&#62; #include &#60;vector&#62; &#8230; std::vector&#60;int&#62; v(5); __gnu_cxx::iota(v.begin(), v.end(), 0); v will contain {0, 1, 2, 3, 4}. For more information see sgi documentation<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=136&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To insert sequential values into a container, you could use the <strong>iota</strong> function available in <strong>ext/numeric</strong> header. For example:<strong></strong></p>
<p><strong>#include &lt;ext/numeric&gt;<br />
#include &lt;vector&gt;<br />
&#8230;</strong></p>
<p><strong>std::vector&lt;int&gt; v(5);<br />
__gnu_cxx::iota(v.begin(), v.end(), 0);</strong></p>
<p><strong>v</strong> will contain <strong>{0, 1, 2, 3, 4}</strong>.</p>
<p>For more information see <a href="http://www.sgi.com/tech/stl/iota.html">sgi documentation</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/136/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=136&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2008/11/07/cc-insert-sequential-values-in-container/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Python &#8212; Convert string to HTML/XML entities</title>
		<link>http://notfaq.wordpress.com/2008/10/18/python-convert-string-to-htmlxml-entities/</link>
		<comments>http://notfaq.wordpress.com/2008/10/18/python-convert-string-to-htmlxml-entities/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 21:31:57 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/?p=126</guid>
		<description><![CDATA[In order to convert a string to HTML/XML entities you can use: &#8221;.join(['&#38;#%d;' % ord(ch) for ch in text]) For example if text=&#8217;mailto&#8217; the output would be: &#8216;&#38; #109;&#38; #97;&#38; #105;&#38; #108;&#38; #116;&#38; #111;&#8217; This might be useful in hiding email addresses in web pages.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=126&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to convert a string to HTML/XML entities you can use:</p>
<p><strong>&#8221;.join(['&amp;#%d;' % ord(ch) for ch in text])</strong></p>
<p>For example if <strong>text=&#8217;mailto&#8217;</strong> the output would be:</p>
<p><strong>&#8216;&amp; #109;&amp; #97;&amp; #105;&amp; #108;&amp; #116;&amp; #111;&#8217;</strong></p>
<p>This might be useful in hiding email addresses in web pages.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/126/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=126&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2008/10/18/python-convert-string-to-htmlxml-entities/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Unix/Linux &#8212; Swap Ctrl and Caps Lock in X11</title>
		<link>http://notfaq.wordpress.com/2008/04/26/unixlinux-swap-ctrl-and-caps-lock-in-x11/</link>
		<comments>http://notfaq.wordpress.com/2008/04/26/unixlinux-swap-ctrl-and-caps-lock-in-x11/#comments</comments>
		<pubDate>Sun, 27 Apr 2008 04:30:28 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/?p=125</guid>
		<description><![CDATA[In order to swap the Ctrl and Caps Lock keys in X11, you can add the following line in Section &#8220;InputDevice&#8221; of file /etc/X11/xorg.conf: Option &#8220;XkbOptions&#8221; &#8220;ctrl:swapcaps&#8221; If you woud like to keep the Ctrl where it is and make Caps Lock act as a Ctrl also, you can add: Option &#8220;XkbOptions&#8221; &#8220;ctrl:nocaps&#8221;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=125&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to swap the Ctrl and Caps Lock keys in X11, you can add the following line in <strong>Section &#8220;InputDevice&#8221;</strong> of file <strong>/etc/X11/xorg.conf</strong>:</p>
<p><strong>Option &#8220;XkbOptions&#8221; &#8220;ctrl:swapcaps&#8221;</strong></p>
<p>If you woud like to keep the Ctrl where it is and make Caps Lock act as a Ctrl also, you can add:</p>
<p><strong>Option &#8220;XkbOptions&#8221; &#8220;ctrl:nocaps&#8221;</strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/125/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/125/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/125/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=125&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2008/04/26/unixlinux-swap-ctrl-and-caps-lock-in-x11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Unix/Linux &#8212; generate large file</title>
		<link>http://notfaq.wordpress.com/2008/04/11/linuxunix-generate-large-file/</link>
		<comments>http://notfaq.wordpress.com/2008/04/11/linuxunix-generate-large-file/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 17:37:31 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/?p=123</guid>
		<description><![CDATA[In order to generate a large file of a set size you can use: dd if=/dev/zero of=test100M.bin bs=100000000 count=1 where of is the output file and bs is its size in bytes.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=123&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to generate a large file of a set size you can use:</p>
<p><strong>dd if=/dev/zero of=test100M.bin bs=100000000 count=1</strong></p>
<p>where <strong>of </strong>is the output file and <strong>bs</strong> is its size in bytes.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/123/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/123/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/123/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=123&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2008/04/11/linuxunix-generate-large-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C/C++ &#8212; Friends and Templates</title>
		<link>http://notfaq.wordpress.com/2007/11/03/cc-friends-and-templates/</link>
		<comments>http://notfaq.wordpress.com/2007/11/03/cc-friends-and-templates/#comments</comments>
		<pubDate>Sun, 04 Nov 2007 01:06:11 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2007/11/03/cc-friends-and-templates/</guid>
		<description><![CDATA[In C++, if you declare a template class and you would like to have a friend function that has an argument of the current class type, you need to be careful when specifying the name of the template types. For example: template &#60;class T&#62; class A { &#8230; template &#60;class T&#62; friend void b(A&#60;T&#62; a); [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=122&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In <strong>C++</strong>, if you declare a template class and you would like to have a friend function that has an argument of the current class type, you need to be careful when specifying the name of the template types. For example:</p>
<p><strong>template &lt;class T&gt;<br />
class A {<br />
&#8230;<br />
template &lt;class T&gt;<br />
friend void b(A&lt;T&gt; a);<br />
} ;<br />
</strong></p>
<p>Will confuse the compiler, as you use the same template name, <strong>T</strong>, for the class template and the function template type. What you need to do, it to use a different name for the function template type:</p>
<p><strong>template &lt;class T&gt;<br />
class A {<br />
&#8230;<br />
template &lt;class V&gt;<br />
friend void b(A&lt;V&gt; a);<br />
} ;</strong></p>
<p>Notice that I used <strong>T</strong> for the class template type and <strong>V</strong> for the function template type.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/122/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/122/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/122/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=122&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2007/11/03/cc-friends-and-templates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Unix/Linux &#8212; Redirect output with sudo</title>
		<link>http://notfaq.wordpress.com/2007/09/26/unixlinux-redirect-output-as-sudo/</link>
		<comments>http://notfaq.wordpress.com/2007/09/26/unixlinux-redirect-output-as-sudo/#comments</comments>
		<pubDate>Wed, 26 Sep 2007 22:23:54 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2007/09/26/unixlinux-redirect-output-as-sudo/</guid>
		<description><![CDATA[Sometimes you might need to redirect the output with sudo privileges. For example: echo myhost.com &#62; /etc/hostname will give you the following error: -bash: /etc/hostname: Permission denied Unfortunately, using: sudo echo myhost.com &#62; /etc/hostname will give the same error. The solution is to start bash as sudo and then give the entire command to bash [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=121&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sometimes you might need to redirect the output with <strong>sudo</strong> privileges. For example:</p>
<p><strong>echo myhost.com &gt; /etc/hostname</strong></p>
<p>will give you the following error:</p>
<p><strong> -bash: /etc/hostname: Permission denied</strong></p>
<p>Unfortunately, using:</p>
<p><strong>sudo</strong><strong> echo myhost.com &gt; /etc/hostname</strong></p>
<p>will give the same error.</p>
<p>The solution is to start <strong>bash</strong> as <strong>sudo</strong> and then give the entire command to <strong>bash</strong> as input:</p>
<p><strong>sudo bash -c &#8220;echo myhost.com &gt; /etc/hostname&#8221;</strong></p>
<p>Or as one reader suggested:</p>
<p><strong>echo myhost.com | sudo tee /etc/hostname</strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/121/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/121/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/121/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=121&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2007/09/26/unixlinux-redirect-output-as-sudo/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C++ &#8212; Convert string to upper/lower case</title>
		<link>http://notfaq.wordpress.com/2007/08/04/cc-convert-string-to-upperlower-case/</link>
		<comments>http://notfaq.wordpress.com/2007/08/04/cc-convert-string-to-upperlower-case/#comments</comments>
		<pubDate>Sun, 05 Aug 2007 04:20:01 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2007/08/04/cc-convert-string-to-upperlower-case/</guid>
		<description><![CDATA[To convert an std::string to upper case you can use the following: #include &#60;algorithm&#62; #include &#60;string&#62; &#8230; std::string data = &#8220;Abc&#8221;; std::transform(data.begin(), data.end(), data.begin(), ::toupper); For converting to lower case, you need to replace ::toupper with ::tolower. Other C/C++ not so frequently asked questions.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=120&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To convert an <strong>std::string</strong> to upper case you can use the following:</p>
<p><strong>#include &lt;algorithm&gt;<br />
#include &lt;string&gt;<br />
&#8230;<br />
std::string data = &#8220;Abc&#8221;;<br />
std::transform(data.begin(), data.end(),<br />
data.begin(), ::toupper);</strong></p>
<p>For converting to lower case, you need to replace <strong>::toupper</strong> with <strong>::tolower</strong>.</p>
<p>Other <a href="http://notfaq.wordpress.com/tag/cc/">C/C++</a> not so frequently asked questions.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/120/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/120/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=120&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2007/08/04/cc-convert-string-to-upperlower-case/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>JavaScript &#8212; Trim white space</title>
		<link>http://notfaq.wordpress.com/2007/07/23/javascript-trim-white-space/</link>
		<comments>http://notfaq.wordpress.com/2007/07/23/javascript-trim-white-space/#comments</comments>
		<pubDate>Mon, 23 Jul 2007 17:05:02 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2007/07/23/javascript-trim-white-space/</guid>
		<description><![CDATA[Here is a way to trim the white space from a string in Javascript: replace(/^\s+&#124;\s+$/g, &#8221;) By removing &#124;\s+$ it will do a left trim only, and by removing ^\s+&#124; it will do a right trim only (g is no longer necessary).<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=119&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is a way to <em>trim</em> the white space from a string in <strong>Javascript</strong>:</p>
<p><strong>replace(/^\s+|\s+$/g, &#8221;)</strong></p>
<p>By removing <strong>|\s+$</strong> it will do a <em>left trim</em> only, and by removing <strong>^\s+|</strong> it will do a <em>right trim</em> only <strong>(g</strong> is no longer necessary)<strong>.</strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/119/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/119/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/119/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=119&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2007/07/23/javascript-trim-white-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Unix/Linux &#8211; ICS printer name</title>
		<link>http://notfaq.wordpress.com/2007/05/26/unixlinux-ics-printer-name/</link>
		<comments>http://notfaq.wordpress.com/2007/05/26/unixlinux-ics-printer-name/#comments</comments>
		<pubDate>Sun, 27 May 2007 05:22:47 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2007/05/26/unixlinux-ics-printer-name/</guid>
		<description><![CDATA[To get a list with all the printers in ICS, ssh to printserver and run: lpstat &#124; grep Printer<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=118&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To get a list with all the printers in ICS, <strong>ssh </strong>to <strong>printserver</strong> and run:</p>
<p><strong>lpstat | grep Printer<br />
</strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/118/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/118/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/118/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=118&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2007/05/26/unixlinux-ics-printer-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs &#8212; Search/Replace new line</title>
		<link>http://notfaq.wordpress.com/2007/03/24/emacs-new-line-in-regexp/</link>
		<comments>http://notfaq.wordpress.com/2007/03/24/emacs-new-line-in-regexp/#comments</comments>
		<pubDate>Sat, 24 Mar 2007 17:57:00 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2007/03/24/emacs-new-line-in-regexp/</guid>
		<description><![CDATA[In order to search/replace new line character (\n) in Emacs, instead of \n you need to type: C-q C-j<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=116&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to search/replace new line character (<strong>\n</strong>) in Emacs, instead of <strong>\n</strong> you need to type:</p>
<p><strong>C-q C-j</strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/116/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/116/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/116/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=116&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2007/03/24/emacs-new-line-in-regexp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C/C++ &#8211; _M_underflow_common</title>
		<link>http://notfaq.wordpress.com/2007/02/13/cc-_m_underflow_common/</link>
		<comments>http://notfaq.wordpress.com/2007/02/13/cc-_m_underflow_common/#comments</comments>
		<pubDate>Tue, 13 Feb 2007 23:07:31 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2007/02/13/cc-_m_underflow_common/</guid>
		<description><![CDATA[When you define you own character traits (e.g., ignorecase_traits &#8211; to ignore the case when comparing strings) you might run into the following link error: In function `std::basic_filebuf&#60;char, ignorecase_traits&#62;::uflow()':: undefined reference to `std::basic_filebuf&#60;char, ignorecase_traits&#62;:: _M_underflow_common(bool)' The solution is to add the following to one of your CC/CPP files: struct cGet_M_underflow_common : std::basic_filebuf&#60;char&#62; { int_type mGet_M_underflow_common(bool [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=115&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When you define you own character traits (e.g., ignorecase_traits &#8211; to ignore the case when comparing strings) you might run into the following link error:</p>
<pre>
In function `std::basic_filebuf&lt;char, ignorecase_traits&gt;::uflow()'::
undefined reference to `std::basic_filebuf&lt;char, ignorecase_traits&gt;::
_M_underflow_common(bool)'</pre>
<p>The solution is to add the following to one of your <strong>CC/CPP </strong> files:</p>
<pre>
struct cGet_M_underflow_common : std::basic_filebuf&lt;char&gt; {
  int_type mGet_M_underflow_common(bool b) {
    return _M_underflow_common(b);
  };
};

icfielbuf::int_type icfielbuf::_M_underflow_common(bool bump) {
  return reinterpret_cast&lt;cGet_M_underflow_common *&gt;(this)-&gt;
    mGet_M_underflow_common(bump);
};</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/115/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/115/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=115&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2007/02/13/cc-_m_underflow_common/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs &#8211; change case</title>
		<link>http://notfaq.wordpress.com/2007/02/06/emacs-change-case/</link>
		<comments>http://notfaq.wordpress.com/2007/02/06/emacs-change-case/#comments</comments>
		<pubDate>Wed, 07 Feb 2007 02:32:21 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2007/02/06/emacs-change-case/</guid>
		<description><![CDATA[In order to change the case in Emacs you can use: M + l to change to lowercase all the letters from the cursor to the end of the word M + u same meaning, but upercase M + c same meaning, but capitalizes<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=114&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to change the case in Emacs you can use:</p>
<p><strong>M + l</strong>    to change to lowercase all the letters from the cursor to the end of the word<br />
<strong>M + u</strong>    same meaning, but upercase<br />
<strong>M + c</strong>    same meaning, but capitalizes</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/114/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/114/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/114/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=114&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2007/02/06/emacs-change-case/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C/C++ &#8211; binary IO</title>
		<link>http://notfaq.wordpress.com/2007/02/01/cc-binary-io/</link>
		<comments>http://notfaq.wordpress.com/2007/02/01/cc-binary-io/#comments</comments>
		<pubDate>Fri, 02 Feb 2007 05:56:11 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2007/02/01/cc-binary-io/</guid>
		<description><![CDATA[Here is an example of how we can write to and read from files in binary: Write: ofstream file(&#8220;foo.txt&#8221;, ios::out &#124; ios::binary); unsigned e =101; file.write(reinterpret_cast&#60;char*&#62;(&#38;e), sizeof(unsigned)); Read: ifstream file(&#8220;foo.txt&#8221;, ios::in &#124; ios::binary); unsigned e; file.read(reinterpret_cast&#60;char*&#62;(&#38;e), sizeof(unsigned)); More info: http://courses.cs.vt.edu/~cs2604/spring06/binio.html http://www.codersource.net/cpp_file_io_binary.html<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=113&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is an example of how we can write to and read from files in binary:</p>
<p>Write:<strong><br />
ofstream file(&#8220;foo.txt&#8221;, ios::out | ios::binary);<br />
unsigned e =101;<br />
file.write(reinterpret_cast&lt;char*&gt;(&amp;e), sizeof(unsigned));</strong></p>
<p>Read:<strong><br />
ifstream file(&#8220;foo.txt&#8221;, ios::in | ios::binary);<br />
unsigned e;<br />
file.read(reinterpret_cast&lt;char*&gt;(&amp;e), sizeof(unsigned));</strong></p>
<p>More info:<br />
<a href="http://courses.cs.vt.edu/~cs2604/spring06/binio.html">http://courses.cs.vt.edu/~cs2604/spring06/binio.html<br />
</a><a href="http://www.codersource.net/cpp_file_io_binary.html"> http://www.codersource.net/cpp_file_io_binary.html</a><a href="http://courses.cs.vt.edu/~cs2604/spring06/binio.html"><br />
</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/113/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/113/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/113/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=113&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2007/02/01/cc-binary-io/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Unix/Linux &#8212; Bash &#8212; String seperator</title>
		<link>http://notfaq.wordpress.com/2006/11/06/unixlinux-bash-string-seperator/</link>
		<comments>http://notfaq.wordpress.com/2006/11/06/unixlinux-bash-string-seperator/#comments</comments>
		<pubDate>Tue, 07 Nov 2006 05:10:41 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2006/11/06/unixlinux-bash-string-seperator/</guid>
		<description><![CDATA[In Bash the default string separator is whitespace which means spaces, tabs, or blank lines. The string separator is used in various places, including when looping with for over a string. The string separator is stored in the IFS variable. If you want to set the default separator to &#8220;:&#8221; you need to do: IFS=: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=112&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In <strong>Bash</strong> the default string separator is whitespace which means spaces, tabs, or blank lines. The string separator is used in various places, including when looping with <strong>for</strong> over a string. The string separator is stored in the <strong>IFS </strong>variable.</p>
<p>If you want to set the default separator to &#8220;<strong>:</strong>&#8221; you need to do:</p>
<p><strong>IFS=:</strong></p>
<p>If you want to set is to <strong>newline</strong>, you can do it like this:</p>
<p><strong>IFS=$&#8217;\x0a&#8217;</strong></p>
<p><strong>&#8216;\x0a&#8217; </strong>is the hexadecimal notation for <strong>newline</strong> or <strong>Ctrl-J</strong>.</p>
<p>A common pattern is to save the old separator before changing and restore it when you are done:</p>
<p><strong>IFS_OLD=$IFS<br />
IFS=:<br />
&#8230;<br />
IFS=$IFS_OLD</strong></p>
<p>or more simple, just <strong>unset</strong> it when you are done:</p>
<p><strong>IFS=:<br />
&#8230;<br />
unset IFS<br />
</strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/112/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/112/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/112/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=112&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/11/06/unixlinux-bash-string-seperator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs &#8211; file coding system</title>
		<link>http://notfaq.wordpress.com/2006/10/11/emacs-file-coding-system/</link>
		<comments>http://notfaq.wordpress.com/2006/10/11/emacs-file-coding-system/#comments</comments>
		<pubDate>Wed, 11 Oct 2006 19:34:07 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2006/10/11/emacs-file-coding-system/</guid>
		<description><![CDATA[In order to change the coding system for a file (i.e., DOS to Unix), you can use: C-x RET f unix<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=110&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to change the coding system for a file (i.e., DOS to Unix), you can use:</p>
<p><span style="font-weight:bold;">C-x RET f </span><strong><span style="font-style:italic;">unix</span></strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/110/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/110/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/110/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=110&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/10/11/emacs-file-coding-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Unix/Linux &#8211; ICS quota</title>
		<link>http://notfaq.wordpress.com/2006/10/11/unixlinux-ics-quota/</link>
		<comments>http://notfaq.wordpress.com/2006/10/11/unixlinux-ics-quota/#comments</comments>
		<pubDate>Wed, 11 Oct 2006 16:45:25 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2006/10/11/unixlinux-ics-quota/</guid>
		<description><![CDATA[To view your quota, use the following command on a Sun OS system: quota -v The command will not display the correct information on the Linux systems. The get the amount of free space on a shared disk, use, for example: df -h /extra/rvernica0<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=109&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To view your quota, use the following command on a Sun OS system:</p>
<p><span style="font-weight:bold;">quota -v</span></p>
<p>The command will not display the correct information on the Linux systems.</p>
<p>The get the amount of free space on a shared disk, use, for example:</p>
<p><span style="font-weight:bold;">df -h /extra/rvernica0</span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/109/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/109/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/109/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=109&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/10/11/unixlinux-ics-quota/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>LaTeX &#8211; Customize page numbering</title>
		<link>http://notfaq.wordpress.com/2006/10/04/latex-customize-page-numbering/</link>
		<comments>http://notfaq.wordpress.com/2006/10/04/latex-customize-page-numbering/#comments</comments>
		<pubDate>Thu, 05 Oct 2006 03:25:45 +0000</pubDate>
		<dc:creator>Radu Cornea</dc:creator>
				<category><![CDATA[LaTeX]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2006/10/04/latex-customize-page-numbering/</guid>
		<description><![CDATA[For changing the default, centered page numbering, use the fancyhdr package: \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} % clear all header and footer fields \fancyfoot[R]{\footnotesize Page \thepage\ of 2} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} This will print the page number on the right side of the footer, smaller font and in the format &#8220;Page % of 2&#8243;.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=108&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For changing the default, centered page numbering, use the <span style="font-style:italic;">fancyhdr </span>package:</p>
<p><span style="font-weight:bold;">\usepackage{fancyhdr}</span><br />
<span style="font-weight:bold;"> \pagestyle{fancy}</span><br />
<span style="font-weight:bold;"> \fancyhf{} % clear all header and footer fields</span><br />
<span style="font-weight:bold;"> \fancyfoot[R]{\footnotesize Page \thepage\ of 2}</span><br />
<span style="font-weight:bold;"> \renewcommand{\headrulewidth}{0pt}</span><br />
<span style="font-weight:bold;"> \renewcommand{\footrulewidth}{0pt}</span><em><br />
</em></p>
<p>This will print the page number on the right side of the footer, smaller font and in the format &#8220;Page % of 2&#8243;.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/108/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/108/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=108&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/10/04/latex-customize-page-numbering/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/20503e6b12b1c1290f5168e655091b0a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">radu</media:title>
		</media:content>
	</item>
		<item>
		<title>Unix/Linux &#8211; output the Nth line from a file</title>
		<link>http://notfaq.wordpress.com/2006/10/02/unixlinux-output-the-nth-line-from-a-file/</link>
		<comments>http://notfaq.wordpress.com/2006/10/02/unixlinux-output-the-nth-line-from-a-file/#comments</comments>
		<pubDate>Mon, 02 Oct 2006 19:59:22 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2006/10/02/unixlinux-output-the-nth-line-from-a-file/</guid>
		<description><![CDATA[In order to output the Nth line from a file you can use: more +N file &#124; head -n 1<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=107&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to output the <strong>N</strong>th line from a file you can use:</p>
<p><strong>more +<em>N</em> <em>file</em> | head -n 1</strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/107/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/107/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/107/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=107&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/10/02/unixlinux-output-the-nth-line-from-a-file/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs &#8211; Highlight selected text</title>
		<link>http://notfaq.wordpress.com/2006/09/30/emacs-highlight-selected-text/</link>
		<comments>http://notfaq.wordpress.com/2006/09/30/emacs-highlight-selected-text/#comments</comments>
		<pubDate>Sun, 01 Oct 2006 05:09:10 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2006/09/30/emacs-highlight-selected-text/</guid>
		<description><![CDATA[In order to set emacs to highlight the block of text selected using C-SPACE, add the following to your .emacs file: (transient-mark-mode t) See also Delete selected text.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=106&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to set emacs to highlight the block of text selected using C-SPACE, add the following to your <strong>.emacs</strong> file:</p>
<p><strong>(transient-mark-mode t)</strong></p>
<p>See also <a href="http://notfaq.wordpress.com/2006/07/20/delete-selected-text/">Delete selected text</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/106/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/106/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/106/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=106&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/09/30/emacs-highlight-selected-text/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs &#8211; Simple comment syntax</title>
		<link>http://notfaq.wordpress.com/2006/09/30/emacs-simple-comment-syntax/</link>
		<comments>http://notfaq.wordpress.com/2006/09/30/emacs-simple-comment-syntax/#comments</comments>
		<pubDate>Sat, 30 Sep 2006 21:56:18 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2006/09/30/emacs-simple-comment-syntax/</guid>
		<description><![CDATA[If you are editing a type of file that has a simple comment syntax (e.g., lines that start with # are considered comments), you can let emacs know about it and get ride of the &#8220;No comment syntax is defined&#8221; error message when you try to comment a block of text. Here is what you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=105&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are editing a type of file that has a simple comment syntax (e.g., lines that start with <strong>#</strong> are considered comments), you can let emacs know about it and get ride of the <span style="font-weight:bold;">&#8220;No comment syntax is defined&#8221;</span> error message when you try to comment a block of text.</p>
<p>Here is what you have to do (we asume that lines that start with <strong>#</strong> are considered comments):</p>
<p><strong>M-x conf-unix-mode RET<br />
M-: (setq comment-start &#8220;#&#8221;) RET</strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/105/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/105/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=105&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/09/30/emacs-simple-comment-syntax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Databases/SQL &#8212; PostgreSQL &#8212; get databases</title>
		<link>http://notfaq.wordpress.com/2006/09/22/databasessql-postgresql-get-databases/</link>
		<comments>http://notfaq.wordpress.com/2006/09/22/databasessql-postgresql-get-databases/#comments</comments>
		<pubDate>Sat, 23 Sep 2006 04:19:06 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Databases/SQL]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2006/09/22/databasessql-postgresql-get-databases/</guid>
		<description><![CDATA[In order to get the list of all the available databases in PostgreSQL, connect to any database (e.g., postgres) and run: SELECT datname FROM pg_database;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=104&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to get the list of all the available databases in <strong>PostgreSQL</strong>, connect to any database (e.g., postgres) and run:</p>
<p><strong>SELECT datname FROM pg_database;</strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/104/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/104/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/104/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=104&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/09/22/databasessql-postgresql-get-databases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux &#8211; print system information</title>
		<link>http://notfaq.wordpress.com/2006/09/12/linux-print-system-information/</link>
		<comments>http://notfaq.wordpress.com/2006/09/12/linux-print-system-information/#comments</comments>
		<pubDate>Tue, 12 Sep 2006 12:59:37 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2006/09/12/linux-print-system-information/</guid>
		<description><![CDATA[To print system information in Linux, you can use: uname E.g., uname -a will print the kernel version.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=103&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To print system information in Linux, you can use:</p>
<p><span style="font-weight:bold;">uname</span></p>
<p>E.g.,</p>
<p><span style="font-weight:bold;">uname -a</span></p>
<p>will print the kernel version.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/103/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/103/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/103/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=103&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/09/12/linux-print-system-information/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C/C++ &#8211; GCC create a static library</title>
		<link>http://notfaq.wordpress.com/2006/09/01/cc-gcc-create-a-static-library/</link>
		<comments>http://notfaq.wordpress.com/2006/09/01/cc-gcc-create-a-static-library/#comments</comments>
		<pubDate>Fri, 01 Sep 2006 18:25:56 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[GCC]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/09/01/cc-gcc-create-a-static-library/</guid>
		<description><![CDATA[You can create a static library from object files using the following command: ar rcs libfunc.a func1.o func2.o func3.o To link the libary to your code you can use use: g++ -o exe_file exe_file.o -L. -lfunc<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=102&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You can create a static library from object files using the following command:</p>
<p><strong>ar rcs libfunc.a func1.o func2.o func3.o</strong></p>
<p>To link the libary to your code you can use use:</p>
<p><strong>g++ -o exe_file exe_file.o -L. -lfunc</strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/102/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/102/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=102&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/09/01/cc-gcc-create-a-static-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C++ &#8212; Convert int to string</title>
		<link>http://notfaq.wordpress.com/2006/08/30/c-convert-int-to-string/</link>
		<comments>http://notfaq.wordpress.com/2006/08/30/c-convert-int-to-string/#comments</comments>
		<pubDate>Wed, 30 Aug 2006 19:01:11 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/30/c-convert-int-to-string/</guid>
		<description><![CDATA[In order to convert an int (or any other numeric type, e.g., float, double, etc.) to string, you can use: #include &#60;sstream&#62; int i = 5; std::string s; std::stringstream out; out &#60;&#60; i; s = out.str(); Other C/C++ not so frequently asked questions.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=101&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to convert an <b>int </b>(or any other numeric type, e.g., <b>float</b>, <b>double</b>, etc.) to <b>string</b>, you can use:</p>
<p><b>#include &lt;sstream&gt;</b></p>
<p><b>int i = 5;<br />
std::string s;<br />
std::stringstream out;<br />
out &lt;&lt; i;<br />
s = out.str();</b></p>
<p>Other <a href="http://notfaq.wordpress.com/tag/cc/">C/C++</a> not so frequently asked questions.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/101/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/101/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/101/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=101&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/30/c-convert-int-to-string/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs &#8211; tabs</title>
		<link>http://notfaq.wordpress.com/2006/08/28/emacs-tabs/</link>
		<comments>http://notfaq.wordpress.com/2006/08/28/emacs-tabs/#comments</comments>
		<pubDate>Mon, 28 Aug 2006 21:30:12 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/28/emacs-tabs/</guid>
		<description><![CDATA[To make an emacs mode forget about the indentation rules and insert tabs whenever you press the TAB key, add this to your .emacs file: (define-key html-mode-map (kbd &#8220;TAB&#8221;) &#8216;self-insert-command); # only in html-mode If you don&#8217;t really want tabs, but spaces to be inserted whenever you press the TAB key, add this to your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=100&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To make an emacs mode forget about the indentation rules and insert tabs whenever you press the TAB key, add this to your <b>.emacs</b> file:</p>
<p><b>(define-key html-mode-map (kbd &#8220;TAB&#8221;) &#8216;self-insert-command); # only in html-mode</b></p>
<p>If you don&#8217;t really want tabs, but spaces to be inserted whenever you press the TAB key, add this to your <b>.emacs</b> file:</p>
<p><b>(define-key html-mode-map (kbd &#8220;TAB&#8221;) &#8216;tab-to-tab-stop); # only in html-mode</b></p>
<p>Make sure to call the above function in a mode hook.</p>
<p>You might also want to edit the size of each tab, so use:</p>
<p><b>M-x edit-tab-stops</b></p>
<p>For more info:<br />
<a href="http://www.student.northpark.edu/pemente/emacs_tabs.htm">http://www.student.northpark.edu/pemente/emacs_tabs.htm</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/100/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/100/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=100&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/28/emacs-tabs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C/C++ &#8212; printf &#8212; Number of chars to output</title>
		<link>http://notfaq.wordpress.com/2006/08/25/cc-printf-length-of-char-buffers/</link>
		<comments>http://notfaq.wordpress.com/2006/08/25/cc-printf-length-of-char-buffers/#comments</comments>
		<pubDate>Fri, 25 Aug 2006 20:26:05 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/25/cc-printf-length-of-char-buffers/</guid>
		<description><![CDATA[If you want to output a specified number of chars from a char array using a printf-like function, you can use: char buffer[] = &#8220;Hi there!&#8221;; int n = 2; printf(&#8220;%.*s&#8221;, n, buffer); // outputs &#8220;Hi&#8221; It will output only the first n number of characters form buffer.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=99&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you want to output a specified number of chars from a char array using a <strong>printf</strong>-like function, you can use:</p>
<p><strong>char buffer[] = &#8220;Hi there!&#8221;;<br />
int n = 2;<br />
printf(&#8220;%.*s&#8221;, n, buffer); // outputs &#8220;Hi&#8221;<br />
</strong></p>
<p>It will output only the first <strong>n </strong>number of characters form <strong>buffer</strong>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/99/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/99/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/99/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=99&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/25/cc-printf-length-of-char-buffers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Unix &#8211; read &#8220;man&#8221; pages from info</title>
		<link>http://notfaq.wordpress.com/2006/08/25/unix-read-man-pages-from-info/</link>
		<comments>http://notfaq.wordpress.com/2006/08/25/unix-read-man-pages-from-info/#comments</comments>
		<pubDate>Fri, 25 Aug 2006 18:53:55 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/25/unix-read-man-pages-from-info/</guid>
		<description><![CDATA[In order to read &#8220;man&#8221; pages from info, you can use: info man_page e.g., info read If you need a specific section (e.g., man 2 read), you can use: info &#8220;man_page(page_no)&#8221; e.g., info &#8220;read(2)&#8221; If you are inside info and you want to read a &#8220;man&#8221; page, you can use: M-x man RET man_page or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=98&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to read &#8220;man&#8221; pages from <b>info</b>, you can use:</p>
<p><b>info <i>man_page</i></b><br />
e.g., <b>info read</b></p>
<p>If you need a specific section (e.g., <b>man 2 read</b>), you can use:</p>
<p><b>info &#8220;<i>man_page</i>(<i>page_no</i>)&#8221;</b><br />
e.g., <b>info &#8220;read(2)&#8221;</b></p>
<p>If you are inside <span>info </span>and you want to read a &#8220;man&#8221; page, you can use:</p>
<p><b>M-x man RET <i>man_page </i></b>or<br />
<b>M-x man RET &#8220;<i>man_page</i>(<i>page_no</i>)&#8221;</b></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/98/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/98/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/98/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=98&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/25/unix-read-man-pages-from-info/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C/C++ &#8211; non blocking file descriptor</title>
		<link>http://notfaq.wordpress.com/2006/08/24/cc-non-blocking-file-descriptor/</link>
		<comments>http://notfaq.wordpress.com/2006/08/24/cc-non-blocking-file-descriptor/#comments</comments>
		<pubDate>Fri, 25 Aug 2006 01:58:07 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/24/cc-non-blocking-file-descriptor/</guid>
		<description><![CDATA[If you got an input file descriptor by using open() (&#60;unistd.h&#62;) or other function that creates a file descriptor and you want to set the descriptor to be non blocking on read, you can do: fcntl(file_desc, F_SETFL, O_NONBLOCK); // &#60;fcntl.h&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=97&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you got an input file descriptor by using <b>open()</b> (<b>&lt;unistd.h&gt;</b>) or other function that creates a file descriptor and you want to set the descriptor to be non blocking on read, you can do:</p>
<p><b>fcntl(<i>file_desc</i>, F_SETFL, O_NONBLOCK); // &lt;fcntl.h&gt;<br />
</b></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/97/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/97/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=97&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/24/cc-non-blocking-file-descriptor/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C++ &#8211; convert object to char*</title>
		<link>http://notfaq.wordpress.com/2006/08/23/c-convert-object-to-char/</link>
		<comments>http://notfaq.wordpress.com/2006/08/23/c-convert-object-to-char/#comments</comments>
		<pubDate>Wed, 23 Aug 2006 21:34:25 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/23/c-convert-object-to-char/</guid>
		<description><![CDATA[To easily convert an object to char* you can write an operator like: class String { char str[80]; operator char *() { return str; } // convert to char* } And the you can use it like this: char *buf; String s; buf =s; More here: http://www.ee.cooper.edu/courses/course_pages/past_courses/EID151/CPP.html<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=96&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To easily convert an object to <b>char*</b> you can write an operator like:</p>
<p><b>class String {<br />
char str[80];</b><br />
<b>operator char *() { return str; } // convert to char*</b><br />
<b>}</b></p>
<p>And the you can use it like this:</p>
<p><b>char *buf;<br />
String s;<br />
buf =s; </b></p>
<p>More here:<br />
<a href="http://www.ee.cooper.edu/courses/course_pages/past_courses/EID151/CPP.html">http://www.ee.cooper.edu/courses/course_pages/past_courses/EID151/CPP.html </a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/96/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/96/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/96/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=96&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/23/c-convert-object-to-char/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C/C++ &#8211; symbols in object files</title>
		<link>http://notfaq.wordpress.com/2006/08/22/cc-symbols-in-object-files/</link>
		<comments>http://notfaq.wordpress.com/2006/08/22/cc-symbols-in-object-files/#comments</comments>
		<pubDate>Tue, 22 Aug 2006 21:54:44 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/22/cc-symbols-in-object-files/</guid>
		<description><![CDATA[In order to check if a certain symbol (e.g., function) is defined in a certain object file you can use: nm object_file &#124; grep symbol_name<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=95&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to check if a certain symbol (e.g., function) is defined in a certain object file you can use:</p>
<p><b>nm <i>object_file</i> | grep <i>symbol_name</i></b></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/95/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/95/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/95/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=95&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/22/cc-symbols-in-object-files/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Databases/SQL &#8212; SQLite &#8212; Dump database</title>
		<link>http://notfaq.wordpress.com/2006/08/20/databasessql-sqlite-dump-database/</link>
		<comments>http://notfaq.wordpress.com/2006/08/20/databasessql-sqlite-dump-database/#comments</comments>
		<pubDate>Mon, 21 Aug 2006 05:20:14 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Databases/SQL]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2006/08/20/databasessql-sqlite-dump-database/</guid>
		<description><![CDATA[In order to dump a SQLite database you can use the following command: sqlite database .dump &#62; database.sql To put the data into a SQLite database from a sql file use: sqlite database &#60; database.sql<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=94&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to dump a <strong>SQLite</strong> database you can use the following command:</p>
<p><strong>sqlite <em>database</em> .dump &gt; <em>database.sql</em></strong></p>
<p>To put the data into a <strong>SQLite</strong> database from a <em>sql</em> file use:</p>
<p><strong>sqlite <em>database </em></strong><strong>&lt; <em>database.sql</em></strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/94/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/94/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/94/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=94&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/20/databasessql-sqlite-dump-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs &#8211; M-x shell color</title>
		<link>http://notfaq.wordpress.com/2006/08/18/emacs-m-x-shell-color/</link>
		<comments>http://notfaq.wordpress.com/2006/08/18/emacs-m-x-shell-color/#comments</comments>
		<pubDate>Fri, 18 Aug 2006 22:19:17 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/18/emacs-m-x-shell-color/</guid>
		<description><![CDATA[&#62; Any idea how to set the color of the shell prompt in emacs? &#62; &#62; Not sure how much of this has to do with my windowing system (Windows &#62; XP) and shell (putty) or version of emacs and host. I don&#8217;t think you&#8217;ll get ANSI color in your Emacs terminal unless you have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=93&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&gt; Any idea how to set the color of the shell prompt in emacs?<br />
&gt;<br />
&gt; Not sure how much of this has to do with my windowing system (Windows<br />
&gt; XP) and shell (putty) or version of emacs and host.</p>
<p>I don&#8217;t think you&#8217;ll get ANSI color in your Emacs terminal unless you have this:</p>
<p><b> ;; Add color to a shell running in emacs &#8216;M-x shell&#8217;<br />
(autoload &#8216;ansi-color-for-comint-mode-on &#8220;ansi-color&#8221; nil t)<br />
(add-hook &#8216;shell-mode-hook &#8216;ansi-color-for-comint-mode-on)</b></p>
<p>Then set the colors:</p>
<p><b> (custom-set-faces<br />
;; custom-set-faces was added by Custom &#8212; don&#8217;t edit or cut/paste it!<br />
;; Your init file should contain only one such instance.<br />
&#8216;(comint-highlight-prompt ((t (:foreground &#8220;white&#8221;)))))</b></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/93/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/93/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=93&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/18/emacs-m-x-shell-color/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C++ &#8211; funtion template</title>
		<link>http://notfaq.wordpress.com/2006/08/18/c-funtion-template/</link>
		<comments>http://notfaq.wordpress.com/2006/08/18/c-funtion-template/#comments</comments>
		<pubDate>Fri, 18 Aug 2006 18:13:27 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/18/c-funtion-template/</guid>
		<description><![CDATA[Here is an example of a function template: template &#60;class T&#62; T Add(T a, T b) { return a+b; }<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=92&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is an example of a function template:</p>
<p><b>template &lt;class T&gt;<br />
T Add(T a, T b)<br />
{<br />
return a+b;<br />
}</b></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/92/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/92/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=92&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/18/c-funtion-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C++ &#8211; output operator</title>
		<link>http://notfaq.wordpress.com/2006/08/17/c-output-operator/</link>
		<comments>http://notfaq.wordpress.com/2006/08/17/c-output-operator/#comments</comments>
		<pubDate>Thu, 17 Aug 2006 19:21:29 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/17/c-output-operator/</guid>
		<description><![CDATA[In order to enable the output operator &#60;&#60; in your object you need to add the following function in your class definition: friend ostream&#38; operator&#60;&#60;(ostream&#38; out, const ClassName&#38; object) { &#8230; return out; }<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=91&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to enable the output operator <b>&lt;&lt;</b> in your object you need to add the following function in your class definition:</p>
<p><b>friend ostream&amp; operator&lt;&lt;(ostream&amp; out, const <i>ClassName</i>&amp; <i>object</i>)<br />
{<br />
&#8230;<br />
return out;<br />
}</b></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/91/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/91/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=91&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/17/c-output-operator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs &#8212; Tab vs. Space</title>
		<link>http://notfaq.wordpress.com/2006/08/17/emacs-tab-vs-space/</link>
		<comments>http://notfaq.wordpress.com/2006/08/17/emacs-tab-vs-space/#comments</comments>
		<pubDate>Thu, 17 Aug 2006 18:17:00 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/17/emacs-tab-vs-space/</guid>
		<description><![CDATA[To force Emacs to insert spaces instead of tabs when you press the TAB key: M-x set-variable&#60;RET&#62; indent-tabs-mode&#60;RET&#62; nil Or in your .emacs file: (setq-default indent-tabs-mode nil) For more info: http://www.student.northpark.edu/pemente/emacs_tabs.htm<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=90&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To force Emacs to insert spaces instead of tabs when you press the TAB key:</p>
<p><strong>M-x set-variable&lt;RET&gt; indent-tabs-mode&lt;RET&gt; nil</strong></p>
<p>Or in your <em>.emacs</em> file:</p>
<p><strong>(setq-default indent-tabs-mode nil)</strong></p>
<p>For more info:<br />
<a href="http://www.student.northpark.edu/pemente/emacs_tabs.htm">http://www.student.northpark.edu/pemente/emacs_tabs.htm</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/90/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/90/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=90&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/17/emacs-tab-vs-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Variable reassignment in makefiles</title>
		<link>http://notfaq.wordpress.com/2006/08/05/variable-reassignment-in-makefiles/</link>
		<comments>http://notfaq.wordpress.com/2006/08/05/variable-reassignment-in-makefiles/#comments</comments>
		<pubDate>Sun, 06 Aug 2006 04:10:34 +0000</pubDate>
		<dc:creator>Radu Cornea</dc:creator>
				<category><![CDATA[Makefile]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/05/variable-reassignment-in-makefiles/</guid>
		<description><![CDATA[To change the value of a variable assigned in makefile, inside a rule, use this: target ... : variable-assignment on a separate line by itself. Example: CC=gcc ... prog: CC=g++ prog: prog.cpp ${CC} -o prog prog.cpp Found here: http://www.gnu.org/software/make/manual/html_node/Target_002dspecific.html<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=88&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To change the value of a variable assigned in makefile, inside a rule, use this:</p>
<blockquote>
<pre>target ... : variable-assignment</pre>
</blockquote>
<p>on a separate line by itself.</p>
<p>Example:</p>
<blockquote>
<pre>CC=gcc
...
prog: CC=g++
prog: prog.cpp
	${CC} -o prog prog.cpp</pre>
</blockquote>
<p>Found here:</p>
<p><a href="http://www.gnu.org/software/make/manual/html_node/Target_002dspecific.html">http://www.gnu.org/software/make/manual/html_node/Target_002dspecific.html</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/88/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/88/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/88/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=88&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/05/variable-reassignment-in-makefiles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/20503e6b12b1c1290f5168e655091b0a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">radu</media:title>
		</media:content>
	</item>
		<item>
		<title>GnuPlot &#8211; boxes</title>
		<link>http://notfaq.wordpress.com/2006/08/05/gnuplot-boxes/</link>
		<comments>http://notfaq.wordpress.com/2006/08/05/gnuplot-boxes/#comments</comments>
		<pubDate>Sun, 06 Aug 2006 04:05:33 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[GnuPlot]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/05/gnuplot-boxes/</guid>
		<description><![CDATA[When you use boxes, you might want to use the same line type for all the boxes. To do that use: plot &#8230; with boxes linetype 1 &#8230; If you do not specify linetype 1, then the boxes are plotted with different line types.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=87&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When you use boxes, you might want to use the same line type for all the boxes. To do that use:</p>
<p><b>plot &#8230; with boxes linetype 1 &#8230;</b></p>
<p>If you do not specify <b>linetype 1</b>, then the boxes are plotted with different line types.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/87/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/87/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/87/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=87&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/05/gnuplot-boxes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>GnuPlot &#8211; styles and patterns</title>
		<link>http://notfaq.wordpress.com/2006/08/05/gnuplot-styles-and-partterns/</link>
		<comments>http://notfaq.wordpress.com/2006/08/05/gnuplot-styles-and-partterns/#comments</comments>
		<pubDate>Sun, 06 Aug 2006 03:52:35 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[GnuPlot]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/05/gnuplot-styles-and-partterns/</guid>
		<description><![CDATA[To see all the available line styles and fill patterns for a terminal do the following: set terminal postscript set output test.eps test In the file test.eps you will have all the available line styles and fill patterns.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=86&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To see all the available line styles and fill patterns for a terminal do the following:</p>
<p><b>set terminal postscript</b><br />
<b>set output test.eps</b><br />
<b>test</b></p>
<p>In the file <b>test.eps</b> you will have all the available line styles and fill patterns.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/86/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/86/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/86/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=86&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/05/gnuplot-styles-and-partterns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Bundle files in Unix</title>
		<link>http://notfaq.wordpress.com/2006/08/05/bundle-files-in-unix-2/</link>
		<comments>http://notfaq.wordpress.com/2006/08/05/bundle-files-in-unix-2/#comments</comments>
		<pubDate>Sat, 05 Aug 2006 22:27:11 +0000</pubDate>
		<dc:creator>Radu Cornea</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2006/08/05/bundle-files-in-unix-2/</guid>
		<description><![CDATA[Use this script to bundle files that will automagically unbundle when the file is executed: #!/bin/sh ## Bundle -- put listed files into a bundle on stdout which sh will unbundle # From "The UNIX Programming Environment," by Brian Kernighan and # Rob Pike, Prentice Hall, 1984. echo "# To unbundle, sh this file" for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=85&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Use this script to bundle files that will automagically unbundle when the file is executed:</p>
<blockquote>
<pre>#!/bin/sh
## Bundle --  put listed files into a bundle on stdout which sh will unbundle
# From "The UNIX Programming Environment," by Brian Kernighan and
#   Rob Pike, Prentice Hall, 1984.
echo "# To unbundle, sh this file"
for i
do
  echo "echo $i 1&gt;&amp;2"
  echo "cat &gt;$i &lt;&lt;'End of $i'"
  cat $i
  echo "End of $i"
done</pre>
</blockquote>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/85/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/85/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/85/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=85&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/05/bundle-files-in-unix-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/20503e6b12b1c1290f5168e655091b0a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">radu</media:title>
		</media:content>
	</item>
		<item>
		<title>Unix &#8211; update .Xdefaults</title>
		<link>http://notfaq.wordpress.com/2006/08/03/unix-update-xdefaults/</link>
		<comments>http://notfaq.wordpress.com/2006/08/03/unix-update-xdefaults/#comments</comments>
		<pubDate>Fri, 04 Aug 2006 03:35:18 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/03/unix-update-xdefaults/</guid>
		<description><![CDATA[After you update the .Xdefaults file you need to: xrdb -merge ~/.Xdefaults in order for them to take effect.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=82&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After you update the .Xdefaults file you need to:</p>
<p><b>xrdb -merge ~/.Xdefaults</b></p>
<p>in order for them to take effect.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/82/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/82/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=82&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/03/unix-update-xdefaults/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows &#8211; PuTTY and XWin32</title>
		<link>http://notfaq.wordpress.com/2006/08/03/windows-putty-and-xwin32/</link>
		<comments>http://notfaq.wordpress.com/2006/08/03/windows-putty-and-xwin32/#comments</comments>
		<pubDate>Fri, 04 Aug 2006 03:33:08 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/03/windows-putty-and-xwin32/</guid>
		<description><![CDATA[To get X11 applications in Windows you need to start XWin32 and enable X11Forwarding in PyTTY. In PuTTY go to Connection -&#62; SSH -&#62; X11, check the Enable X11Forwarding option, and in X display location field specify localhost:0. Do not forget to enable X11Forwarding on sshd. To do that add X11Forwarding yes to /etc/ssh/sshd_config and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=81&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To get X11 applications in Windows you need to start XWin32 and enable X11Forwarding in PyTTY.</p>
<p>In PuTTY go to <b>Connection -&gt; SSH -&gt; X11</b>, check the <b>Enable X11Forwarding </b>option, and in <b>X display location </b>field specify <b>localhost:0</b>.</p>
<p>Do not forget to enable X11Forwarding on sshd. To do that add <b>X11Forwarding yes</b> to <b>/etc/ssh/sshd_config</b> and restart sshd.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/81/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/81/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=81&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/03/windows-putty-and-xwin32/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Unix &#8211; reread config files</title>
		<link>http://notfaq.wordpress.com/2006/08/03/unix-reread-config-files/</link>
		<comments>http://notfaq.wordpress.com/2006/08/03/unix-reread-config-files/#comments</comments>
		<pubDate>Fri, 04 Aug 2006 03:26:11 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/03/unix-reread-config-files/</guid>
		<description><![CDATA[In order to make a process reread its configuration files you can use: kill -1 PID This gives the HUP (hung up) signal to the process.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=80&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to make a process reread its configuration files you can use:</p>
<p><b>kill -1 <i>PID</i></b></p>
<p>This gives the <b>HUP </b>(hung up) signal to the process.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/80/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/80/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/80/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=80&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/03/unix-reread-config-files/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs &#8211; add flyspell to text-mode</title>
		<link>http://notfaq.wordpress.com/2006/07/31/emacs-add-flyspell-to-text-mode/</link>
		<comments>http://notfaq.wordpress.com/2006/07/31/emacs-add-flyspell-to-text-mode/#comments</comments>
		<pubDate>Mon, 31 Jul 2006 18:56:31 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/07/31/emacs-add-flyspell-to-text-mode/</guid>
		<description><![CDATA[Flyspell is an in-line spell checker. It checks the spelling as you type. To enable flyspell in text-mode add this in your .emacs file: (dolist (hook &#8216;(text-mode-hook)) (add-hook hook (lambda () (flyspell-mode 1))))<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=79&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Flyspell is an in-line spell checker. It checks the spelling as you type.</p>
<p>To enable flyspell in text-mode add this in your <b>.emacs</b> file:</p>
<p><b>(dolist (hook &#8216;(text-mode-hook))<br />
(add-hook hook (lambda () (flyspell-mode 1))))</b></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/79/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/79/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=79&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/07/31/emacs-add-flyspell-to-text-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs &#8211; major mode</title>
		<link>http://notfaq.wordpress.com/2006/07/31/emacs-change-major-mode/</link>
		<comments>http://notfaq.wordpress.com/2006/07/31/emacs-change-major-mode/#comments</comments>
		<pubDate>Mon, 31 Jul 2006 18:53:48 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/07/31/emacs-change-major-mode/</guid>
		<description><![CDATA[To change the major mode in Emacs use: M-x mode_name-mode To set the default major mode, which initially is Fundamental, add the following to your .emacs file: (setq default-major-mode &#8216;mode_name-mode)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=78&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To change the major mode in Emacs use:</p>
<blockquote><p>M-x <i>mode_name</i>-mode</p></blockquote>
<p>To set the default major mode, which initially is <b>Fundamental</b>, add the following to your <b>.emacs</b> file:</p>
<blockquote><p>(setq default-major-mode &#8216;<i>mode_name</i>-mode)</p></blockquote>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/78/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/78/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/notfaq.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/notfaq.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/notfaq.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/notfaq.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&amp;blog=314942&amp;post=78&amp;subd=notfaq&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/07/31/emacs-change-major-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
	</channel>
</rss>
