<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.el-badawy.com"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>eb.com - gnuplot, suse, rsync, cygwin, vim, linux, octave</title>
 <link>http://www.el-badawy.com/?q=taxonomy/term/1%2B2%2B3%2B4%2B5%2B6%2B14/0</link>
 <description></description>
 <language>en</language>
<item>
 <title>The vimrc file</title>
 <link>http://www.el-badawy.com/?q=node/355</link>
 <description>&lt;p&gt;On Windows, Vim looks for its startup configuration (the vimrc file) in following order:&lt;br /&gt;
1. $VIM/vimrc&lt;br /&gt;
2. $HOME/_vimrc&lt;br /&gt;
3. $VIM/_vimrc&lt;/p&gt;
&lt;p&gt;Cygwin&#039;s Vim looks for its startup configuration in following order:&lt;br /&gt;
1. $VIM/vimrc&lt;br /&gt;
2. $HOME/.vimrc&lt;/p&gt;
&lt;p&gt;For Windows, $VIM is typically c:\program files\vim.&lt;br /&gt;
For Cygwin, $VIM is typically /usr/share/vim&lt;/p&gt;
&lt;p&gt;In order to use a single location for my custom vim settings, I put them in  c:\cygwin\home\username\.vimrc , and I add &quot;source c:\cygwin\home\username\.vimrc &quot; to the bottom of c:\program files\vim\vimrc (the sole addition to that file).&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.el-badawy.com/?q=node/355&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <category domain="http://www.el-badawy.com/?q=taxonomy/term/5">vim</category>
 <pubDate>Tue, 09 Mar 2010 19:31:27 +0000</pubDate>
 <dc:creator>o</dc:creator>
 <guid isPermaLink="false">355 at http://www.el-badawy.com</guid>
</item>
<item>
 <title>Octave hints</title>
 <link>http://www.el-badawy.com/?q=node/19</link>
 <description>&lt;ul&gt;
&lt;li&gt; If you have a script called myscript.m, and you run it in Octave by typing &quot;myscript.m&quot; at the command prompt, you will get the following error: &quot;error: can&#039;t perform indexing operations for  type&quot;. The solution is to call the script at the command prompt without the file extension (that is, just type &quot;myscript&quot; a the octave prompt&lt;br /&gt;
&lt;/li&gt;&lt;/ul&gt;</description>
 <category domain="http://www.el-badawy.com/?q=taxonomy/term/14">octave</category>
 <pubDate>Mon, 22 Jun 2009 16:19:57 +0000</pubDate>
 <dc:creator>o</dc:creator>
 <guid isPermaLink="false">19 at http://www.el-badawy.com</guid>
</item>
<item>
 <title>GNU make</title>
 <link>http://www.el-badawy.com/?q=node/11</link>
 <description>&lt;p&gt;&lt;strong&gt; Useful command-line options for GNU make &lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;-n : Print the commands, but do not execute them&lt;br /&gt;
-e : variables from the environment take precedence&lt;br /&gt;
-d : print debugging info&lt;/p&gt;
</description>
 <comments>http://www.el-badawy.com/?q=node/11#comments</comments>
 <category domain="http://www.el-badawy.com/?q=taxonomy/term/4">cygwin</category>
 <category domain="http://www.el-badawy.com/?q=taxonomy/term/6">linux</category>
 <pubDate>Fri, 03 Apr 2009 19:51:29 +0000</pubDate>
 <dc:creator>o</dc:creator>
 <guid isPermaLink="false">11 at http://www.el-badawy.com</guid>
</item>
<item>
 <title>How to use find</title>
 <link>http://www.el-badawy.com/?q=computing/find</link>
 <description>&lt;ul&gt;
&lt;li&gt; Finding all files containing string &quot;get_map&quot;&lt;br /&gt;
$  find . -name *.c | xargs grep -l get_map
&lt;/li&gt;&lt;li&gt; A more sophisticated use:&lt;br /&gt;
$  find . -name &#039;*.[ch]&#039; -print0 | xargs -r -0 grep -l get_map
&lt;p&gt;find: -print0&lt;br /&gt;
xargs: -0  -r&lt;/p&gt;
&lt;/li&gt;&lt;li&gt; on Cygwin, Windows file are usually case insensitive, one might need/want to make the search case-insensitive using the -iname option&lt;br /&gt;
$  find  /cygdrive/c/WINDOWS/Microsoft.NET -iname &quot;msbuild.*&quot;
&lt;/li&gt;&lt;/ul&gt;
</description>
 <comments>http://www.el-badawy.com/?q=computing/find#comments</comments>
 <category domain="http://www.el-badawy.com/?q=taxonomy/term/4">cygwin</category>
 <category domain="http://www.el-badawy.com/?q=taxonomy/term/6">linux</category>
 <pubDate>Tue, 31 Mar 2009 19:57:37 +0000</pubDate>
 <dc:creator>o</dc:creator>
 <guid isPermaLink="false">9 at http://www.el-badawy.com</guid>
</item>
<item>
 <title>Getting started with gnuplot</title>
 <link>http://www.el-badawy.com/?q=computing/gnuplot</link>
 <description>&lt;p&gt;cd &quot;/opt/gnuplot/demo&quot;&lt;br /&gt;
load &quot;filename&quot;&lt;/p&gt;
&lt;p&gt;plot sin(x)&lt;br /&gt;
replot cos(x)&lt;/p&gt;
&lt;p&gt;Links:&lt;br /&gt;
&lt;a href=&quot;http://www.ibm.com/developerworks/library/l-gnuplot/&quot; title=&quot;http://www.ibm.com/developerworks/library/l-gnuplot/&quot;&gt;http://www.ibm.com/developerworks/library/l-gnuplot/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Printing to a PDF file:&lt;br /&gt;
set terminal pdf&lt;br /&gt;
set output &quot;graph.pdf&quot;&lt;br /&gt;
plot [0:100] &quot;file.txt&quot; with lines;&lt;br /&gt;
set terminal x11&lt;/p&gt;
</description>
 <comments>http://www.el-badawy.com/?q=computing/gnuplot#comments</comments>
 <category domain="http://www.el-badawy.com/?q=taxonomy/term/1">gnuplot</category>
 <pubDate>Thu, 05 Mar 2009 19:20:18 +0000</pubDate>
 <dc:creator>o</dc:creator>
 <guid isPermaLink="false">2 at http://www.el-badawy.com</guid>
</item>
</channel>
</rss>
