<?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-7117672454420590545</id><updated>2011-11-25T04:41:48.172+03:30</updated><title type='text'>Scientific Experiences</title><subtitle type='html'>My experiences in Computer Engineering field.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>22</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-1831862490797610736</id><published>2011-07-13T02:48:00.005+04:30</published><updated>2011-08-27T10:47:09.866+04:30</updated><title type='text'>Two noteworthy commands in Linux to "reverse" the lines</title><content type='html'>I always appreciate the small and powerful command-line tools which are designed for Linux. Today, I was looking for a command to reverse the order of lines in a line. First, I came a cross &lt;b&gt;&lt;i style="color: red;"&gt;rev&lt;/i&gt;&lt;/b&gt;. This command only reverses the order of characters in each line of the given stream.&lt;br /&gt;&lt;br /&gt;After that, I found &lt;b&gt;&lt;i style="color: red;"&gt;tac&lt;/i&gt;&lt;/b&gt; command. This command did the job very well as I expected. It is also able to concatenate several files and accepts regex sperators.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-1831862490797610736?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/1831862490797610736/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=1831862490797610736&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/1831862490797610736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/1831862490797610736'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2011/07/tow-noteworthy-commands-in-linux-to.html' title='Two noteworthy commands in Linux to &quot;reverse&quot; the lines'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-1500291517441819124</id><published>2011-06-15T02:02:00.005+04:30</published><updated>2011-07-13T02:35:52.854+04:30</updated><title type='text'>Two Empathy IM Tricks</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-Pq6ExGPbAZw/ThX-2GIdXSI/AAAAAAAAAak/wDlXusMfvIQ/s1600/images.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-Pq6ExGPbAZw/ThX-2GIdXSI/AAAAAAAAAak/wDlXusMfvIQ/s1600/images.jpg" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;Debian Squeeze has two problems with default configuration of Empathy IM.&lt;br /&gt;&lt;br /&gt;1- It doesn't allow autoconnect on start of application. Each time, you need to disable and enable your account to be able to connect to the chat server. By using &lt;a href="http://osdir.com/ml/ubuntu-telepathy/2010-04/msg00166.html"&gt;the following technique&lt;/a&gt;, you can resolve this issue:&lt;br /&gt;&lt;br /&gt;Open &lt;i&gt;gconf-editior&lt;/i&gt;. In &lt;i&gt;apps/empathy&lt;/i&gt;, untick '&lt;i&gt;use_conn&lt;/i&gt;'. That's it!&lt;br /&gt;&lt;br /&gt;2- It doesn't support several chat protocols by default. To add more, just install telepathy-butterfly and telepathy-haze &lt;a href="http://forums.debian.net/viewtopic.php?f=6&amp;amp;t=46457"&gt;using the following command&lt;/a&gt;:&lt;br /&gt;&lt;blockquote&gt;&lt;i&gt;sudo aptitude install telepathy-butterfly telepathy-haze&lt;/i&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-1500291517441819124?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/1500291517441819124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=1500291517441819124&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/1500291517441819124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/1500291517441819124'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2011/06/two-empathy-tricks.html' title='Two Empathy IM Tricks'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-Pq6ExGPbAZw/ThX-2GIdXSI/AAAAAAAAAak/wDlXusMfvIQ/s72-c/images.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-8174021595498691146</id><published>2011-06-12T11:35:00.001+04:30</published><updated>2011-06-12T11:36:23.175+04:30</updated><title type='text'>Dark background for ViM in xterminal</title><content type='html'>vim has a white background in x-terminals. By adding the following line to ~/.vimrc, you can change it to black:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;highlight Normal ctermbg=Black ctermfg=White&lt;/span&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-8174021595498691146?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/8174021595498691146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=8174021595498691146&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/8174021595498691146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/8174021595498691146'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2011/06/dark-background-for-vim-in-xterminal.html' title='Dark background for ViM in xterminal'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-8246693369892491371</id><published>2011-05-20T18:53:00.000+04:30</published><updated>2011-05-20T18:53:01.838+04:30</updated><title type='text'>Getting Current Directory In Java</title><content type='html'>To get the current directory address, these two methods are useful:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;new File(".").getAbsolutePath();&lt;/li&gt;&lt;li&gt;System.getProperty("user.dir");&lt;/li&gt;&lt;/ul&gt;&amp;nbsp;Thanks to &lt;a href="http://www.java-forums.org/new-java/434-how-can-i-get-current-directory.html"&gt;Java-Forums&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-8246693369892491371?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/8246693369892491371/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=8246693369892491371&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/8246693369892491371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/8246693369892491371'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2011/05/getting-current-directory-in-java.html' title='Getting Current Directory In Java'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-5318008988179967925</id><published>2011-01-02T19:08:00.004+03:30</published><updated>2011-04-06T21:06:05.748+04:30</updated><title type='text'>How to make SunOS interface behave simillar to the Linux interface?</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_qQIsmZ-f1b8/TSCZJmge9LI/AAAAAAAAAYI/qwMN9b8Y_A0/s1600/sun-microsystems-inc.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_qQIsmZ-f1b8/TSCZJmge9LI/AAAAAAAAAYI/qwMN9b8Y_A0/s1600/sun-microsystems-inc.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;As anyone who has worked with Unix machines like Solaris or SunOS may know, these machines are intractable at the first time. With the following tricks, you can change their interfaces to behave just like Linux machines.&lt;br /&gt;Add the following lines in&lt;i&gt; .inputrc&lt;/i&gt; file in your account:&lt;br /&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# allow the use of the Home/End keys&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;"&lt;span style="color: magenta;"&gt;\e&lt;/span&gt;[1~"&lt;/span&gt;&lt;span style="color: yellow;"&gt;:&lt;/span&gt; &lt;span style="color: lime;"&gt;beginning-of-line&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;"&lt;span style="color: magenta;"&gt;\e&lt;/span&gt;[4~"&lt;/span&gt;&lt;span style="color: yellow;"&gt;:&lt;/span&gt; &lt;span style="color: lime;"&gt;end-of-line&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;# allow the use of the Delete/Insert keys&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;"&lt;span style="color: magenta;"&gt;\e&lt;/span&gt;[3~"&lt;/span&gt;&lt;span style="color: yellow;"&gt;:&lt;/span&gt; &lt;span style="color: lime;"&gt;delete-char&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: red;"&gt;"&lt;span style="color: magenta;"&gt;\e&lt;/span&gt;[2~"&lt;/span&gt;&lt;span style="color: yellow;"&gt;:&lt;/span&gt; &lt;span style="color: lime;"&gt;quoted-insert&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As the comments reveal, these lines let you to use delete/insert/home/end keys as usual.&lt;br /&gt;&lt;br /&gt;SunOS doesn't have any ls with output color support. It seems that only GNU ls support colors. You can download the binary/source of a program called colorls from &lt;a href="http://people.freebsd.org/%7Erhh/colorls/"&gt;here&lt;/a&gt; and use it in your system. At that page you can find the instruction of installing that program under TCSH. If you are using Bash shell, add the following lines to your .bashrc (I copied the colorls in the root of my home directory):&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: yellow;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: yellow;"&gt;export&lt;/span&gt; &lt;span style="color: cyan;"&gt;LSCOLORS&lt;/span&gt;=6x5x2x3x2x464301060203&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: yellow;"&gt;alias&lt;/span&gt; &lt;span style="color: cyan;"&gt;ll&lt;/span&gt;=&lt;span style="color: yellow;"&gt;"&lt;/span&gt;&lt;span style="color: red;"&gt;~/colorls -GCFkAl&lt;/span&gt;"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;stty tab0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To have a colorful command prompt, add the following line to your .profile file:&lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: yellow;"&gt;if [ "&lt;span style="color: magenta;"&gt;$PS1&lt;/span&gt;" ]; then&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: cyan;"&gt;PS1&lt;/span&gt;=&lt;span style="color: yellow;"&gt;'&lt;/span&gt;&lt;span style="color: red;"&gt;\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$&lt;/span&gt; &lt;span style="color: yellow;"&gt;'&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="color: yellow;"&gt;fi&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;P.S.: I used these configurations on SunOS 4.1.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-5318008988179967925?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/5318008988179967925/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=5318008988179967925&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/5318008988179967925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/5318008988179967925'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2011/01/how-to-make-sunos-behave-simillar-to.html' title='How to make SunOS interface behave simillar to the Linux interface?'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_qQIsmZ-f1b8/TSCZJmge9LI/AAAAAAAAAYI/qwMN9b8Y_A0/s72-c/sun-microsystems-inc.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-4939022373490699638</id><published>2010-04-08T01:04:00.004+04:30</published><updated>2010-05-28T13:31:27.941+04:30</updated><title type='text'>Fix the encoding of the Linux in text mode</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://danielmiessler.com/wp-content/uploads/2009/02/encoding.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="171" src="http://danielmiessler.com/wp-content/uploads/2009/02/encoding.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;You may found that some Linux text programs cannot work with UTF-8 (unicode) encoding. For example Midnight Commander (mc) has a lot of problems. Also text configurations tools in Debian have a lot of problems with unicode.&lt;br /&gt;&lt;br /&gt;I found that we can change the unicode to en.US ISO to solve these problems by running this command:&lt;br /&gt;&lt;pre class="SCREEN"&gt;dpkg-reconfigure locales&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-4939022373490699638?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/4939022373490699638/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=4939022373490699638&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/4939022373490699638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/4939022373490699638'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2010/04/fix-encoding-of-linux-in-text-mode.html' title='Fix the encoding of the Linux in text mode'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-738501256100575241</id><published>2009-04-26T19:06:00.005+04:30</published><updated>2011-07-05T22:02:35.611+04:30</updated><title type='text'>Note in batch files</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_qQIsmZ-f1b8/SfRyUxrpWLI/AAAAAAAAAKc/rzTYsR0GpzY/s1600-h/dos-batch-file-128x128.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5329009960345491634" src="http://3.bp.blogspot.com/_qQIsmZ-f1b8/SfRyUxrpWLI/AAAAAAAAAKc/rzTYsR0GpzY/s400/dos-batch-file-128x128.png" style="cursor: pointer; display: block; height: 128px; margin: 0px auto 10px; text-align: center; width: 128px;" /&gt;&lt;/a&gt;There is a tricky difference between commands run in console and commands reside in a batch file. The typical example is the variable definitions. Compare these 2 cases:&lt;br /&gt;&lt;span style="color: red;"&gt;&lt;br /&gt;Correct in console&lt;/span&gt;: for %i in (*.exe, *.dll) do cmd.exe %i&lt;br /&gt;&lt;span style="color: red;"&gt;Correct in batch file&lt;/span&gt;: for %%i in (*.exe, *.dll) do cmd.exe %%i&lt;br /&gt;&lt;br /&gt;Batch file needs double %.&lt;br /&gt;Special thanks to &lt;a href="http://techrepublic.com.com/5208-11184-0.html?forumID=57&amp;amp;threadID=178426&amp;amp;messageID=2674403"&gt;TechRepublic&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-738501256100575241?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/738501256100575241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=738501256100575241&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/738501256100575241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/738501256100575241'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2009/04/note-in-batch-files.html' title='Note in batch files'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_qQIsmZ-f1b8/SfRyUxrpWLI/AAAAAAAAAKc/rzTYsR0GpzY/s72-c/dos-batch-file-128x128.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-3517623780785884127</id><published>2008-12-09T23:24:00.005+03:30</published><updated>2009-06-03T12:24:24.130+04:30</updated><title type='text'>Removing Mailman Archives</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qQIsmZ-f1b8/ST7O3b6u6RI/AAAAAAAAAH8/nUrs_IYSe3Q/s1600-h/section_logo_archive.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 382px; height: 104px;" src="http://4.bp.blogspot.com/_qQIsmZ-f1b8/ST7O3b6u6RI/AAAAAAAAAH8/nUrs_IYSe3Q/s400/section_logo_archive.jpg" alt="" id="BLOGGER_PHOTO_ID_5277883265107028242" border="0" /&gt;&lt;/a&gt;The mailman web interface is so unfriendly and unable to do lots of works. For example you can't edit the email archives. This is a great reference to overcome this problem:&lt;br /&gt;&lt;a href="http://wiki.list.org/pages/viewpage.action?pageId=4030681"&gt;http://wiki.list.org/pages/viewpage.action?pageId=4030681&lt;/a&gt;&lt;br /&gt;Please note that this command may not work for you:&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;  cd ~mailman&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;Instead, you should go to '&lt;span style="color: rgb(255, 0, 0);"&gt;/var/lib/mailman/bin&lt;/span&gt;' directory. Also note that, '&lt;span style="color: rgb(255, 0, 0);"&gt;arch&lt;/span&gt;' is a utility offered by mailman not your Linux distro. So you must enter &lt;span style="color: rgb(255, 0, 0);"&gt;./arch&lt;/span&gt; instead of &lt;span style="color: rgb(255, 0, 0);"&gt;arch &lt;/span&gt;alone.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-3517623780785884127?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/3517623780785884127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=3517623780785884127&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/3517623780785884127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/3517623780785884127'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2008/12/removing-mailman-archives.html' title='Removing Mailman Archives'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_qQIsmZ-f1b8/ST7O3b6u6RI/AAAAAAAAAH8/nUrs_IYSe3Q/s72-c/section_logo_archive.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-6733028116070379900</id><published>2008-11-23T22:34:00.003+03:30</published><updated>2008-11-23T23:07:44.215+03:30</updated><title type='text'>Avoiding to remove /tmp automatically</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qQIsmZ-f1b8/SSmw9m3nQ0I/AAAAAAAAAH0/DxGcz4AUWoc/s1600-h/recyclebin.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 218px; height: 194px;" src="http://1.bp.blogspot.com/_qQIsmZ-f1b8/SSmw9m3nQ0I/AAAAAAAAAH0/DxGcz4AUWoc/s400/recyclebin.JPG" alt="" id="BLOGGER_PHOTO_ID_5271939411266192194" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;In my Debian etch server, the /tmp was deleting after each restart. I was looking for some schedule task or some trojan/rootkit in the kernel that can delete /tmp without any authorizing.&lt;br /&gt;&lt;br /&gt;At last I found /etc/default/rcS which has some jobs scheduled after each system boot up. According to its man page:&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic; color: rgb(255, 0, 0);"&gt;rcS - variables that affect the behavior of boot scripts&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This file had some entry about &lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;TMPTIME&lt;/span&gt;:&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;On  boot  the files in /tmp will be deleted if their modification time is more than TMPTIME days ago.  A value of 0 means that files are removed regardless of age.  If you don't want the system to clean /tmp then set TMPTIME to a negative value (e.g., -1) or to the word infinite.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I change my &lt;span style="font-style: italic;"&gt;TMPTIME &lt;/span&gt;to -1 and everything became natural :D&lt;br /&gt;Thanks to this &lt;a href="http://linux.derkeiler.com/pdf/Mailing-Lists/Debian/2008-09/msg01227.pdf"&gt;mailing list&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-6733028116070379900?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/6733028116070379900/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=6733028116070379900&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/6733028116070379900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/6733028116070379900'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2008/11/avoiding-to-remove-tmp-automatically.html' title='Avoiding to remove /tmp automatically'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_qQIsmZ-f1b8/SSmw9m3nQ0I/AAAAAAAAAH0/DxGcz4AUWoc/s72-c/recyclebin.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-4030073770509533236</id><published>2008-11-09T22:09:00.008+03:30</published><updated>2008-11-09T22:26:04.998+03:30</updated><title type='text'>WSUS Logs on Clients</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qQIsmZ-f1b8/SRcu3UAq0HI/AAAAAAAAAHE/pCY4J3SfYJ0/s1600-h/WSUS.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 315px; height: 181px;" src="http://1.bp.blogspot.com/_qQIsmZ-f1b8/SRcu3UAq0HI/AAAAAAAAAHE/pCY4J3SfYJ0/s400/WSUS.jpg" alt="" id="BLOGGER_PHOTO_ID_5266729817032282226" border="0" /&gt;&lt;/a&gt;I installed WSUS 3 on Windows 2003 SP2 and configured my Windows XP Professional SP3 clients to use it to update. (I defined this in Group Policy of windows)&lt;br /&gt;&lt;br /&gt;But after that I need a way to test whether it works or not. At last I found a log file located at: &lt;span style="color: rgb(102, 204, 204); font-style: italic; font-weight: bold;"&gt;%Windir%\WindowsUpdate.log&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This file contains a lot of useful information about the client and server interaction. The sample log is here:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;+++++++++++ PT: Synchronizing server updates +++++++++++&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;+ ServiceId = {SomeID}, Server URL = http://MyServer/ClientWebService/client.asmx&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;WARNING: Cached cookie has expired or new PID is available&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;Initializing simple targeting cookie, clientId = SomeID, target group = , DNS name = MyPC&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;Server URL = http://MyServer/SimpleAuthWebService/SimpleAuth.asmx&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;* Added update {11D06C29-6F79-4843-AF63-02811FF01887}.100 to search result&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;* Added update {AE9F992A-D0A6-44FF-BFC2-CB87ACCF701B}.100 to search result&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;* Added update {D1F84C75-F914-4FC7-94D5-446DC7987844}.102 to search result&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;* Added update {79AE03DF-D6EB-4DE2-B59F-37E963D7A69E}.100 to search result&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;* Added update {E174AF91-A808-44CE-8936-B425F4581B03}.100 to search result&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;* Added update {26DA5716-5999-4AB2-8806-800F7AF93C93}.107 to search result&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;* Added update {D3AC165E-D7C4-4BDF-83F0-E249ECBE873B}.104 to search result&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;* Added update {2BE6143C-5547-4FEE-AFC6-37CD3D2D585D}.101 to search result&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;* Added update {ED0D8850-60F4-48FC-BD76-49EED8A6F341}.106 to search result&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;* Added update {278BB66C-CE54-40FB-A5A2-AE55804C3917}.106 to search result&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;* Added update {70D41FF9-0796-4EB6-A699-61C04CB395FE}.100 to search result&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;* Added update {27D0A4B7-77C3-48A9-90D3-F67368BB0E37}.107 to search result&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;* Added update {EDABB0FE-1B6A-478B-806B-7FFFD044B2EE}.100 to search result&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;* Added update {44F3BFC5-1C64-41E2-839D-A91407634BAB}.101 to search result&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;* Added update {D5EADB3B-4FD7-4087-8B9D-4ACB2B41210E}.109 to search result&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;* Found 15 updates and 46 categories in search; evaluated appl. rules of 545 out of 776 deployed entities&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;*********&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;** END ** Agent: Finding updates [CallerId = AutomaticUpdates]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;*************&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Thanks to WSUS wiki for their &lt;a href="http://www.wsuswiki.com/WSUSPostInstallationValidation"&gt;good article&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-4030073770509533236?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/4030073770509533236/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=4030073770509533236&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/4030073770509533236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/4030073770509533236'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2008/11/wsus-logs-on-clients.html' title='WSUS Logs on Clients'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_qQIsmZ-f1b8/SRcu3UAq0HI/AAAAAAAAAHE/pCY4J3SfYJ0/s72-c/WSUS.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-5338653060169655427</id><published>2008-10-30T12:06:00.008+03:30</published><updated>2010-02-19T21:57:04.046+03:30</updated><title type='text'>Making ISO Images in Linux</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qQIsmZ-f1b8/SQlyQp63srI/AAAAAAAAAG8/O7TkNSfV3rA/s1600-h/mkisofs.lowres.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 192px; height: 192px;" src="http://1.bp.blogspot.com/_qQIsmZ-f1b8/SQlyQp63srI/AAAAAAAAAG8/O7TkNSfV3rA/s400/mkisofs.lowres.jpg" alt="" id="BLOGGER_PHOTO_ID_5262863270015382194" border="0" /&gt;&lt;/a&gt;Traditionally I used &lt;a href="http://www.blogger.com/www.ezbsystems.com/ultraiso"&gt;UltraISO &lt;/a&gt;to make my ISO images in Windows. As a linux power user, I needed a way to directly making my ISO images in it. Hopefully linux has a good tool called: &lt;span style="font-style: italic; font-weight: bold; color: rgb(255, 0, 0);"&gt;mkisofs&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;My system hadn't it so I needed to install it first:&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-style: italic;"&gt;MyServer:~# aptitude install mkisofs&lt;/span&gt;&lt;/blockquote&gt;&lt;span&gt;After that I typed this command to make an ISO file:&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;blockquote style="font-style: italic;"&gt;mkisofs -o /tmp/cd.iso /tmp/directory/ &lt;/blockquote&gt;But it has a weak point! &lt;span style="font-style: italic;"&gt;mkisofs&lt;/span&gt;, by default doesn't go deeply in directories. So you must force it to do by "&lt;span style="font-style: italic;"&gt;-D&lt;/span&gt;" switch:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-style: italic;"&gt;mkisofs &lt;/span&gt;&lt;span style="font-style: italic;"&gt;-D &lt;/span&gt;&lt;span style="font-style: italic;"&gt;-o  /tmp/cd.iso /tmp/directory/&lt;/span&gt;&lt;/blockquote&gt;Also we can make an ISO image directly from CD, DVD or our SCSI optical drive:&lt;br /&gt;&lt;blockquote&gt;dd if=/dev/dvd of=dvd.iso    # for dvd&lt;br /&gt;dd if=/dev/cdrom of=cd.iso   # for cdrom&lt;br /&gt;dd if=/dev/scd0 of=cd.iso    # if cdrom is scsi&lt;/blockquote&gt;That's it :D. Thanks to &lt;span style="font-style: italic;"&gt;Scott Granneman&lt;/span&gt; for &lt;a href="http://www.granneman.com/techinfo/linux/burningcds/makeanisoimage.htm"&gt;his guide&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-5338653060169655427?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/5338653060169655427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=5338653060169655427&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/5338653060169655427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/5338653060169655427'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2008/10/make-iso-images-in-linux.html' title='Making ISO Images in Linux'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_qQIsmZ-f1b8/SQlyQp63srI/AAAAAAAAAG8/O7TkNSfV3rA/s72-c/mkisofs.lowres.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-6044882720440639598</id><published>2008-10-06T13:00:00.003+03:30</published><updated>2008-10-06T13:19:11.915+03:30</updated><title type='text'>Administrating Mailman from Shell</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qQIsmZ-f1b8/SOnel1Z-UQI/AAAAAAAAAGA/U3vUx0NMog8/s1600-h/mailman.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_qQIsmZ-f1b8/SOnel1Z-UQI/AAAAAAAAAGA/U3vUx0NMog8/s400/mailman.png" alt="" id="BLOGGER_PHOTO_ID_5253975181876941058" border="0" /&gt;&lt;/a&gt;Some useful commands for administrating mailman from shell:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;add_members&lt;/span&gt; -&gt; Add members to a list from the command line.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;check_db&lt;/span&gt; -&gt;  Check the integrity of a list's database file&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;check_perms&lt;/span&gt; -&gt; Check permissions of Mailman's files&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;clone_member&lt;/span&gt; -&gt; Clone a Mailman subscriber address&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;config_list&lt;/span&gt; -&gt; Configure a Mailman list from a text file description&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0); font-style: italic;"&gt;find_member&lt;/span&gt; -&gt; Find all Mailman lists that a member's address is on&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0); font-style: italic;"&gt;list_admins&lt;/span&gt; -&gt;  List all the owners of a Mailman mailing list.&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0); font-style: italic;"&gt;list_lists&lt;/span&gt; -&gt; List all Mailman mailing lists on this host&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;list_members&lt;/span&gt; -&gt; List all the members of a Mailman list&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0); font-style: italic;"&gt;mmarch&lt;/span&gt; -&gt; Rebuild a Mailman list's archive.&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0); font-style: italic;"&gt;mmsitepass &lt;/span&gt;-&gt;  Set the Mailman site password, prompting from the terminal.&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0); font-style: italic;"&gt;newlist &lt;/span&gt;-&gt; Create a new, unpopulated mailing list.&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0); font-style: italic;"&gt;rmlist &lt;/span&gt;-&gt; Remove the components of a mailing list with impunity - beware!&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0); font-style: italic;"&gt;remove_members&lt;/span&gt; -&gt; Remove members from a list.&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0); font-style: italic;"&gt;sync_members&lt;/span&gt; -&gt;  Synchronize a mailing list's membership with a flat file.&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(255, 0, 0); font-style: italic;"&gt;withlist &lt;/span&gt;-&gt; General framework for interacting with a mailing list object.&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-6044882720440639598?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/6044882720440639598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=6044882720440639598&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/6044882720440639598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/6044882720440639598'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2008/10/some-useful-commands-for-administrating.html' title='Administrating Mailman from Shell'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_qQIsmZ-f1b8/SOnel1Z-UQI/AAAAAAAAAGA/U3vUx0NMog8/s72-c/mailman.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-4401286638593452213</id><published>2008-09-07T23:53:00.004+04:30</published><updated>2008-09-08T00:20:40.755+04:30</updated><title type='text'>Reseting Mailman Password</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qQIsmZ-f1b8/SMQqjtTJvcI/AAAAAAAAAF4/4ApI8GwGg94/s1600-h/mailman.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_qQIsmZ-f1b8/SMQqjtTJvcI/AAAAAAAAAF4/4ApI8GwGg94/s400/mailman.jpg" alt="" id="BLOGGER_PHOTO_ID_5243362659109813698" border="0" /&gt;&lt;/a&gt;Mailman is free software for managing electronic mail discussion and e-newsletter lists.  Mailman is integrated with the web, making it easy for users to manage their accounts and for list owners to administer their lists.  Mailman supports built-in archiving, automatic bounce processing, content filtering, digest delivery, spam filters, and more. For more info about it, take a look at its &lt;a href="http://www.list.org/"&gt;homepage&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I had not the mailman "system-wide administrator-password". So I restarted its password by running "&lt;code&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;mmsitepass&lt;/span&gt;" &lt;/code&gt;as root. It asked me a new password. Once this password is known by the overall Mailman-admin, they can log into the list's admin-pages and set a new list-specific admin-password. Thanks &lt;i&gt;Markus Amersdorfer &lt;/i&gt;for its &lt;a href="http://home.subnet.at/%7Emax/mail/mailman.php#managing-passwords"&gt;great article&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-4401286638593452213?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/4401286638593452213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=4401286638593452213&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/4401286638593452213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/4401286638593452213'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2008/09/reseting-mailman-password.html' title='Reseting Mailman Password'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_qQIsmZ-f1b8/SMQqjtTJvcI/AAAAAAAAAF4/4ApI8GwGg94/s72-c/mailman.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-3370518711515101146</id><published>2008-05-20T10:05:00.006+04:30</published><updated>2008-05-23T17:04:57.319+04:30</updated><title type='text'>Downloading Clips From YouTube Without Any Tool</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_qQIsmZ-f1b8/SDJo4lMgpqI/AAAAAAAAABw/nlFCsp1yCRE/s1600-h/YouTube.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_qQIsmZ-f1b8/SDJo4lMgpqI/AAAAAAAAABw/nlFCsp1yCRE/s400/YouTube.PNG" alt="" id="BLOGGER_PHOTO_ID_5202335840832890530" border="0" /&gt;&lt;/a&gt;As you know, YouTube is a movie sharing service on the web. Lots of people upload their clips on it. I think its a two-sided knif: It can be harmful or useful. (like other web services!)&lt;br /&gt;&lt;br /&gt;Here I'm going to tell how to download movies from YouTube to you hard disk and keep it forever for yourselves.&lt;br /&gt;&lt;br /&gt;Assume this URL:&lt;br /&gt;&lt;a href="http://www.youtube.com/watch?v=QYy6fIk3A20"&gt;http://www.youtube.com/watch?v=QYy6fIk3A20&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Open this URL by your favorite web browser. Wait until the page (not movie) loaded. Then go to "Page Source".  Search for "&lt;span style="font-weight: bold;"&gt;video_id&lt;/span&gt;". You'll find something like this: (Don't pay attention to other search results,  you need only the &lt;span style="font-style: italic; font-weight: bold;"&gt;fullscreenUrl&lt;/span&gt;):&lt;br /&gt;&lt;br /&gt;&lt;pre id="line36"&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;var fullscreenUrl = '/watch_fullscreen?fs=1&amp;amp;vq=None&amp;amp;video_id=QYy6fIk3A20&amp;amp;l=35&amp;amp;sk=nx42RolSOgvEwZkzlA1RKeus1v19_fNMC&amp;amp;amp;fmt_map=&amp;amp;t=OEgsToPDskLlRMjJ2joW3LqApGKpwLcY&amp;amp;hl=en&amp;amp;plid=AARNovEMmwHAvd6yAAAAgAAAAAA&amp;amp;title=a beginning for my FPGA studies, part 2';&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;Just copy the front term of &lt;span style="font-weight: bold;"&gt;video_id&lt;/span&gt;:&lt;br /&gt;&lt;pre id="line36"&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;QYy6fIk3A20&amp;amp;l=35&amp;amp;sk=nx42RolSOgvEwZkzlA1RKeus1v19_fNMC&amp;amp;fmt_map=&amp;amp;t=OEgsToPDskLlRMjJ2joW3LqApGKpwLcY&amp;amp;hl=en&amp;amp;plid=AARNovEMmwHAvd6yAAAAgAAAAAA&amp;amp;title=a beginning for my FPGA studies, part 2&lt;/span&gt;&lt;/pre&gt; At last make your final &lt;span style="font-weight: bold;"&gt;downloadable &lt;/span&gt;URL as below:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;"http://www.youtube.com/get_video?video_id=&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;QYy6fIk3A20&amp;amp;l=35&amp;amp;sk=nx42RolSOgvEwZkzlA1RKeus1v19_fNMC&amp;amp;fmt_map=&amp;amp;t=OEgsToPDskLlRMjJ2joW3LqApGKpwLcY&amp;amp;hl=en&amp;amp;plid=AARNovEMmwHAvd6yAAAAgAAAAAA&amp;amp;title=a beginning for my FPGA studies, part 2&lt;/span&gt;"&lt;br /&gt;&lt;br /&gt;The name of your file would be the name becomes in front of &lt;span style="font-weight: bold;"&gt;title &lt;/span&gt;(in the video_id):&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;a beginning for my FPGA studies, part 2.flv&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;You can also download your movie with "DownloadHelper" extension of Firefox. This extension works exactly with the above method!&lt;br /&gt;&lt;br /&gt;Thanks to &lt;a href="http://www.go2linux.org/wget-to-download-youtube-videos"&gt;&lt;span class="submitted"&gt;ggarron&lt;/span&gt;&lt;/a&gt;&lt;span class="submitted"&gt;  for its article.&lt;/span&gt;&lt;a href="http://www.go2linux.org/wget-to-download-youtube-videos"&gt;&lt;span class="submitted"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-3370518711515101146?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/3370518711515101146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=3370518711515101146&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/3370518711515101146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/3370518711515101146'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2008/05/downloading-clips-from-youtube-without.html' title='Downloading Clips From YouTube Without Any Tool'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_qQIsmZ-f1b8/SDJo4lMgpqI/AAAAAAAAABw/nlFCsp1yCRE/s72-c/YouTube.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-1317822720105351781</id><published>2008-03-29T11:41:00.007+04:30</published><updated>2008-03-29T12:04:37.332+04:30</updated><title type='text'>The Merciful Google!!!</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_qQIsmZ-f1b8/R-3s4cKgv6I/AAAAAAAAABY/BNQENsge6Uc/s1600-h/20070417-gmail-logo.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_qQIsmZ-f1b8/R-3s4cKgv6I/AAAAAAAAABY/BNQENsge6Uc/s320/20070417-gmail-logo.jpg" alt="" id="BLOGGER_PHOTO_ID_5183059200550420386" border="0" /&gt;&lt;/a&gt;Do you remember the history of Gmail? At first, you must had an invitation to subscribe to it. I was searching a lot those days and at last one of my friends (that had a Gmail account)  invited me to the Gmail. About 1 year ago, Gmail opened its subscription for the public and skipped its &lt;span style="font-weight: bold;"&gt;beta &lt;/span&gt;stage.&lt;br /&gt;&lt;br /&gt;Google always claimed that its income source was the "&lt;span style="font-style: italic; font-weight: bold;"&gt;Text Ads&lt;/span&gt;". But some days ago, I found a new setting in my Gmail account: &lt;span style="font-weight: bold;" idlink=""&gt;Web Clips.&lt;/span&gt;&lt;br /&gt;You can freely turn off the "Web Clips" to disable showing ads!!! Now the question is: What is the Google's revenue for hosting Gmail?! Is Google love us and doesn't like to bother us by even "&lt;span style="font-style: italic;"&gt;Text Ads&lt;/span&gt;"?! I hope the Google's revenue wasn't and isn't our "&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Personal Information&lt;/span&gt;&lt;/span&gt;".&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_qQIsmZ-f1b8/R-3u_cKgv8I/AAAAAAAAABo/wixgmy0ydZg/s1600-h/Ads-Off.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_qQIsmZ-f1b8/R-3u_cKgv8I/AAAAAAAAABo/wixgmy0ydZg/s400/Ads-Off.png" alt="" id="BLOGGER_PHOTO_ID_5183061519832760258" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-1317822720105351781?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/1317822720105351781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=1317822720105351781&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/1317822720105351781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/1317822720105351781'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2008/03/merciful-google.html' title='The Merciful Google!!!'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_qQIsmZ-f1b8/R-3s4cKgv6I/AAAAAAAAABY/BNQENsge6Uc/s72-c/20070417-gmail-logo.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-9011635815169512527</id><published>2008-03-16T09:59:00.007+03:30</published><updated>2008-03-29T07:27:00.221+04:30</updated><title type='text'>Free Download from MegaUpload as a Premuim User</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_qQIsmZ-f1b8/R-2vq8Kgv2I/AAAAAAAAAA4/y5u08qwMj4E/s1600-h/MegaUpload.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_qQIsmZ-f1b8/R-2vq8Kgv2I/AAAAAAAAAA4/y5u08qwMj4E/s320/MegaUpload.png" alt="" id="BLOGGER_PHOTO_ID_5182991898412892002" border="0" /&gt;&lt;/a&gt;Yesterday I found two files which was on the &lt;a href="http://megaupload.com/"&gt;megaupload&lt;/a&gt; server. These files are so big (about 150MB &amp;amp; 250MB) and I couldn't download them as a free user with my home dial-up connection. After lots of investigation, I found two "&lt;span style="color: rgb(204, 153, 51);"&gt;Megaupload Premium Link Generators&lt;/span&gt;". So I entered my links in them and got 2 direct links.&lt;br /&gt;&lt;br /&gt;At last I entered them in my university shell account to being downloaded by &lt;span style="font-style: italic;"&gt;wget.&lt;/span&gt; These are that sites:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.megafast.info/"&gt;MegaFast&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.freemu.info/index7.php"&gt;FreeMU&lt;/a&gt; (you must disable any adblock program in this site)&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://www.freemu.info/index7.php"&gt;&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-9011635815169512527?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/9011635815169512527/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=9011635815169512527&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/9011635815169512527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/9011635815169512527'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2008/03/free-download-from-megaupload-as.html' title='Free Download from MegaUpload as a Premuim User'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_qQIsmZ-f1b8/R-2vq8Kgv2I/AAAAAAAAAA4/y5u08qwMj4E/s72-c/MegaUpload.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-2953687678828591410</id><published>2008-03-07T20:31:00.004+03:30</published><updated>2011-11-25T04:41:48.180+03:30</updated><title type='text'>Customizing the Separator Line for Your Word 2007 Document's Footnotes</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;a href="http://bp1.blogger.com/_qQIsmZ-f1b8/R-27ssKgv5I/AAAAAAAAABQ/beJyvwmYDL8/s1600-h/Word.png"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5183005122617196434" src="http://bp1.blogger.com/_qQIsmZ-f1b8/R-27ssKgv5I/AAAAAAAAABQ/beJyvwmYDL8/s320/Word.png" style="cursor: pointer; display: block; margin: 0px auto 10px; text-align: center;" /&gt;&lt;/a&gt;Sometimes you want to change the footnote size, direction (e.g. in right to left languages such as Farsi), etc. Follow this technique to reach the settings for footnotes:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;    Goto "View" tab (menu) and select "Draft" in "Document Views".&lt;/li&gt;&lt;li&gt;Goto "Reference" tab and select "Show Notes" in "Footnotes".&lt;/li&gt;&lt;li&gt; A window appears on the bottom of the screen. Select "Footnote Separator"  from the drop-down menu on this screen.&lt;/li&gt;&lt;li&gt; Micro$oft word shows you the line and now you can customize it according to your need.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;Thanks to &lt;a href="http://articles.techrepublic.com.com/5100-10877_11-6112849.html"&gt;TechRepublic &lt;/a&gt;for its tip about Word 2003!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-2953687678828591410?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/2953687678828591410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=2953687678828591410&amp;isPopup=true' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/2953687678828591410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/2953687678828591410'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2008/03/customize-separator-line-for-your-word.html' title='Customizing the Separator Line for Your Word 2007 Document&apos;s Footnotes'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_qQIsmZ-f1b8/R-27ssKgv5I/AAAAAAAAABQ/beJyvwmYDL8/s72-c/Word.png' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-3279470647619656704</id><published>2008-02-24T17:24:00.006+03:30</published><updated>2008-03-29T08:33:11.213+04:30</updated><title type='text'>JAVA Difficulties (Java Sound)</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_qQIsmZ-f1b8/R-2ogsKgv0I/AAAAAAAAAAo/LSS9WwYyg8M/s1600-h/Java.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_qQIsmZ-f1b8/R-2ogsKgv0I/AAAAAAAAAAo/LSS9WwYyg8M/s320/Java.jpg" alt="" id="BLOGGER_PHOTO_ID_5182984025737838402" border="0" /&gt;&lt;/a&gt;For our JAVA course project we must write a media player which supports WAV and MP3. The WAV support is straight forward but MP3 need lots of struggling. The most important constraint is that we must only used javax.sound API not more. This API's documentation  is very poor and provide a low level access to sound card. I found 3 resources that help me to finish my project after about 20 days:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.jsresources.org/"&gt;Java Sound Resources&lt;/a&gt;: This site has lots of valuable examples. Also it has some great FAQs.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.tritonus.org/"&gt;Tritonus: Open Source Java Sound&lt;/a&gt; Tritonus implemented its own JAVA sound. But it works only on linux (poor windows!). Also it offers some plug-ins that add some SPI (Service Provider Interface) to Sun Java Sound. E.g. adding MP3 support. But unfortunately it lacks supporting of professional MP3s. (I.e. it can't play tagged MP3s) But it was a good start for me!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.javazoom.net/"&gt;Java News - JavaZOOM&lt;/a&gt;: It offers a great MP3 SPI and has &lt;a href="http://www.javazoom.net/mp3spi/documents.html"&gt;some good examples.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;At last I used the JavaZoom plug-ins to play MP3 sounds. But if you've not under any restriction, I suggest to use &lt;a href="http://java.sun.com/products/java-media/jmf"&gt;JMF (Java Media Framework).&lt;/a&gt; This framework was written by Sun, Intel and Silicon Graphics and was really easy to use and bug-free (As far as I tested)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-3279470647619656704?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/3279470647619656704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=3279470647619656704&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/3279470647619656704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/3279470647619656704'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2008/02/java-difficulties-java-sound.html' title='JAVA Difficulties (Java Sound)'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_qQIsmZ-f1b8/R-2ogsKgv0I/AAAAAAAAAAo/LSS9WwYyg8M/s72-c/Java.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-5749824668040807755</id><published>2008-01-27T10:43:00.004+03:30</published><updated>2008-08-25T01:25:17.956+04:30</updated><title type='text'>LDAP Problem or Debian Problem</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_qQIsmZ-f1b8/R-2rF8Kgv1I/AAAAAAAAAAw/sIzHyREggMU/s1600-h/debian-desktop.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_qQIsmZ-f1b8/R-2rF8Kgv1I/AAAAAAAAAAw/sIzHyREggMU/s320/debian-desktop.png" alt="" id="BLOGGER_PHOTO_ID_5182986864711221074" border="0" /&gt;&lt;/a&gt;Yesterday, I opened a &lt;span style="font-style: italic;"&gt;"screen"&lt;/span&gt; and try to update and upgrade the distro via "apt-get update" and "apt-get upgrade". I left it open, and when I opened the detached screen, I see a window that told me to reboot the system as soon as possible. Imagine that if it was an important server, this reboot was a horrible work. But hopefully, this was only a Computer Engineering Department shell server ;)&lt;br /&gt;&lt;br /&gt;I restarted it, but when it booted, the LDAP users couldn't login any more. After lots of investigation, I found that I must change the &lt;span style="font-style: italic;"&gt;/etc/nsswitch.conf&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;/etc/libnss-ldap.conf&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;/etc/ldap/ldap.conf&lt;/span&gt; to their previous settings! I don't know why Debian change my configuration file. I didn't expect this work from Debian security team.&lt;br /&gt;&lt;br /&gt;Fortunately , the server is now OK. I've an I idea about upgrading the old FreeBSD machine in the Department to a new one (FreeBSD 6.3). I think FreeBSD is great. Debian is for lazy administrators and I don't wanna be a lazy admin ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-5749824668040807755?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/5749824668040807755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=5749824668040807755&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/5749824668040807755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/5749824668040807755'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2008/01/ldap-problem-or-debian-problem.html' title='LDAP Problem or Debian Problem'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_qQIsmZ-f1b8/R-2rF8Kgv1I/AAAAAAAAAAw/sIzHyREggMU/s72-c/debian-desktop.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-3371672227713557368</id><published>2008-01-27T10:26:00.008+03:30</published><updated>2008-12-09T11:09:57.633+03:30</updated><title type='text'>Server Transportation</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_qQIsmZ-f1b8/R94tsYQqpXI/AAAAAAAAAAg/BJk5unAcPWE/s1600-h/server.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_qQIsmZ-f1b8/R94tsYQqpXI/AAAAAAAAAAg/BJk5unAcPWE/s320/server.jpg" alt="" id="BLOGGER_PHOTO_ID_5178626861972497778" border="0" /&gt;&lt;/a&gt;Yesterday, I transfered &lt;a href="http://shell.ce.sharif.edu/"&gt;CE&lt;/a&gt; shell server to a new and great one. The new one specs is as follows:&lt;br /&gt;&lt;a href="http://h10010.www1.hp.com/wwpc/us/en/sm/WF05a/15351-15351-3328412-241644-241475-1121516.html"&gt;HP ProLiant DL380 G5 &lt;/a&gt;with Dual Quad Core Xeon 2.3Ghz and 4GB RAM!&lt;br /&gt;And the old one:&lt;br /&gt;&lt;a href="http://www.gigabyte.com.tw/Support/Networking/BIOS_Model.aspx?ProductID=1002"&gt;Gigabyte 6VXD7&lt;/a&gt; with Dual Core Pentium III 1Ghz and 1GB RAM. In fact this was a desktop computer.&lt;br /&gt;&lt;br /&gt;I hope this extreme change will increase the uptime of the server a lot. Another advantage is server load decreases significantly as I expected.&lt;br /&gt;&lt;br /&gt;The hardest part of migration was copying MySQL. First I tried to dump it and import it with this command:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Dump&lt;/span&gt;: &lt;span style="font-style: italic;"&gt;mysqldump -u root -p --all-databases&gt;back.sql&lt;/span&gt;&lt;br /&gt;---&gt; I transfered "back.sql" to new server and then:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Import&lt;/span&gt;: &lt;span style="font-style: italic;"&gt;mysql -u root -p &lt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;back.sql&lt;/span&gt;&lt;br /&gt;&lt;span&gt;It worked but the problem was the permissions doesn't remain as was! All databases became belonged to root and no one can access to his/her database. After lots of investigation, I remembered the golden sentence in *nix world:&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;blockquote style="color: rgb(255, 102, 102);"&gt;Everything in *nix are FILES.&lt;/blockquote&gt;&lt;/span&gt;&lt;span&gt;First I stopped the mysql server on both computers, and then I copied /var/lib/mysql with rsync from old server to new one. Then I started the mysql daemon and wow! Everything works perfectly as I want.&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-3371672227713557368?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/3371672227713557368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=3371672227713557368&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/3371672227713557368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/3371672227713557368'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2008/01/server-transportation.html' title='Server Transportation'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp3.blogger.com/_qQIsmZ-f1b8/R94tsYQqpXI/AAAAAAAAAAg/BJk5unAcPWE/s72-c/server.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-3454512418177983146</id><published>2008-01-09T10:19:00.003+03:30</published><updated>2008-03-29T12:02:24.023+04:30</updated><title type='text'>Damaging Srv3!</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_qQIsmZ-f1b8/R-2z58Kgv3I/AAAAAAAAABA/XkHAfilax8I/s1600-h/Damaging.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_qQIsmZ-f1b8/R-2z58Kgv3I/AAAAAAAAABA/XkHAfilax8I/s320/Damaging.jpg" alt="" id="BLOGGER_PHOTO_ID_5182996554157440882" border="0" /&gt;&lt;/a&gt;Last night, I killed the &lt;span style="font-style: italic;"&gt;sshd &lt;/span&gt;daemon in &lt;span&gt;the&lt;/span&gt;&lt;span style="font-style: italic;"&gt; &lt;a href="http://srv3.ce.sharif.edu/"&gt;srv3&lt;/a&gt;&lt;/span&gt; to get rid of zombie processes. Unfortunately, I was root and I cut my sshd server connection. So, now I can't connect to it! (Because there was no ssh server process remained on the &lt;span style="font-style: italic;"&gt;srv3 ) &lt;/span&gt;The only solution remains for me is to &lt;span style="color: rgb(255, 0, 0);"&gt;restart &lt;/span&gt;the server :-(&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-3454512418177983146?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/3454512418177983146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=3454512418177983146&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/3454512418177983146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/3454512418177983146'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2008/01/damaging-srv3_09.html' title='Damaging Srv3!'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_qQIsmZ-f1b8/R-2z58Kgv3I/AAAAAAAAABA/XkHAfilax8I/s72-c/Damaging.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117672454420590545.post-2660846218987405702</id><published>2008-01-09T10:01:00.001+03:30</published><updated>2008-03-29T08:04:30.684+04:30</updated><title type='text'>Absolute Zero!</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_qQIsmZ-f1b8/R-24e8Kgv4I/AAAAAAAAABI/IdQs5XAjqp0/s1600-h/ice.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_qQIsmZ-f1b8/R-24e8Kgv4I/AAAAAAAAABI/IdQs5XAjqp0/s320/ice.jpg" alt="" id="BLOGGER_PHOTO_ID_5183001587859111810" border="0" /&gt;&lt;/a&gt;Hi all, This is my first post. I intend to write some useful experiences in my field, &lt;span style="font-weight: bold;"&gt;Computer Engineering&lt;/span&gt; and share them. I hope you enjoy it ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117672454420590545-2660846218987405702?l=sciex.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sciex.blogspot.com/feeds/2660846218987405702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117672454420590545&amp;postID=2660846218987405702&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/2660846218987405702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117672454420590545/posts/default/2660846218987405702'/><link rel='alternate' type='text/html' href='http://sciex.blogspot.com/2008/01/damaging-srv3.html' title='Absolute Zero!'/><author><name>Mohammad Javad Dousti</name><uri>http://www.blogger.com/profile/09146416439458218335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp3.blogger.com/_qQIsmZ-f1b8/R4RtGcL86iI/AAAAAAAAAAM/o8BBwk3koVw/S220/myPic.PNG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_qQIsmZ-f1b8/R-24e8Kgv4I/AAAAAAAAABI/IdQs5XAjqp0/s72-c/ice.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
