<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7346339138534982919</id><updated>2011-04-21T16:04:20.197-07:00</updated><category term='file formats'/><category term='screen'/><category term='.bashrc'/><category term='sparse matrices'/><category term='bash'/><category term='octave'/><title type='text'>Wikipedia Processing</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://wikiprocessing.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7346339138534982919/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://wikiprocessing.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Brad</name><uri>http://www.blogger.com/profile/00886115706333717349</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7346339138534982919.post-3765564739620319898</id><published>2008-03-09T13:53:00.000-07:00</published><updated>2008-03-09T13:57:56.992-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='screen'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='.bashrc'/><title type='text'>Getting GNU screen to show the current directory or command as the tab title</title><content type='html'>Put the following in your .bashrc:&lt;blockquote&gt;&lt;pre style="overflow:scroll"&gt;#if in screen, update session stuff&lt;br /&gt;if [[ $TERM == 'screen' ]]; then&lt;br /&gt;  function rename_screen_tab () { echo -ne "\x1bk$@\x1b\\"; return 0; }&lt;br /&gt;  trap 'echo -ne "\ek${USER:0:1}@${HOSTNAME:0:1}#$BASH_COMMAND\e\\"' DEBUG&lt;br /&gt;  PROMPT_COMMAND='rename_screen_tab ${USER:0:1}@${HOSTNAME:0:1}:${PWD##*/}'&lt;br /&gt;fi&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;It shortens your user name to one letter, the host you are on to one letter, and the path to the lowest directory.&lt;br /&gt;&lt;br /&gt;Example: b@p#vim extract_link&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7346339138534982919-3765564739620319898?l=wikiprocessing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wikiprocessing.blogspot.com/feeds/3765564739620319898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7346339138534982919&amp;postID=3765564739620319898' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7346339138534982919/posts/default/3765564739620319898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7346339138534982919/posts/default/3765564739620319898'/><link rel='alternate' type='text/html' href='http://wikiprocessing.blogspot.com/2008/03/getting-gnu-screen-to-show-current.html' title='Getting GNU screen to show the current directory or command as the tab title'/><author><name>Brad</name><uri>http://www.blogger.com/profile/00886115706333717349</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7346339138534982919.post-385147372795512278</id><published>2007-11-05T09:48:00.001-08:00</published><updated>2007-11-05T10:17:47.693-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='octave'/><category scheme='http://www.blogger.com/atom/ns#' term='sparse matrices'/><category scheme='http://www.blogger.com/atom/ns#' term='file formats'/><title type='text'>Correctly creating Octave sparse matrix files</title><content type='html'>If you are generating sparse matrix files to load into &lt;a href="http://www.octave.org/"&gt;Octave&lt;/A&gt;, here is the format:&lt;br /&gt;&lt;pre&gt;# name: NAME_OF_MATRIX&lt;br /&gt;# type: sparse matrix&lt;br /&gt;# nnz: NUMBER_OF_NONZERO_ENTRIES&lt;br /&gt;# rows: NUMBER_OF_ROWS&lt;br /&gt;# columns: NUMBER_OF_COLUMNS&lt;br /&gt;1 1 1&lt;br /&gt;2 1 3&lt;br /&gt;⋮&lt;br /&gt;&lt;/pre&gt;Note: Each line is (row, column, value).  The entries should &lt;i&gt;first&lt;/i&gt; be sorted by column number, &lt;i&gt;then&lt;/i&gt; by row.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7346339138534982919-385147372795512278?l=wikiprocessing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wikiprocessing.blogspot.com/feeds/385147372795512278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7346339138534982919&amp;postID=385147372795512278' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7346339138534982919/posts/default/385147372795512278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7346339138534982919/posts/default/385147372795512278'/><link rel='alternate' type='text/html' href='http://wikiprocessing.blogspot.com/2007/11/correctly-creating-octave-sparse-matrix.html' title='Correctly creating Octave sparse matrix files'/><author><name>Brad</name><uri>http://www.blogger.com/profile/00886115706333717349</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
