<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Anjin Pradhan</title>
	<atom:link href="http://anjinpradhan.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://anjinpradhan.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Tue, 23 Dec 2008 02:23:52 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language></language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='anjinpradhan.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/64d423775aef160022d264582222c452?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Anjin Pradhan</title>
		<link>http://anjinpradhan.wordpress.com</link>
	</image>
			<item>
		<title>How to create presentation using beamer-latex class in ubuntu 8.04</title>
		<link>http://anjinpradhan.wordpress.com/2008/12/23/how-to-create-presentation-using-beamer-latex-class-in-ubuntu-804/</link>
		<comments>http://anjinpradhan.wordpress.com/2008/12/23/how-to-create-presentation-using-beamer-latex-class-in-ubuntu-804/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 02:20:05 +0000</pubDate>
		<dc:creator>anjinpradhan</dc:creator>
				<category><![CDATA[Latex]]></category>

		<guid isPermaLink="false">http://anjinpradhan.wordpress.com/?p=43</guid>
		<description><![CDATA[
First make sure you have Latex installed
Then install beamer class by using sudo aptitude install latex-beamer
After that you can use this template to create a simple beamer presentation
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
Copy from here
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;

\documentclass{beamer}
%For complete list of themes
%Check out http://www.math.umbc.edu/~rouben/beamer/quickstart-Z-H-31.html#node_sec_31
\usetheme{Warsaw}
\title{Template Beamer Presentation for my reference}
\author{Anjin Pradhan}
\date{\today}
\begin{document}
\frame{\titlepage}
\section[Outline]{}
\frame{\tableofcontents}
\section{Introduction 1}
\subsection{Sub Section 1}
\frame
{
\frametitle{Frame 1}
\begin{itemize}
\item&#60;1-&#62; List Item 1
\item&#60;2-&#62; List Item 2
\item&#60;3-&#62; List Item 3
\end{itemize}
}
\section{Introduction [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anjinpradhan.wordpress.com&blog=1160161&post=43&subd=anjinpradhan&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><ol style="text-align:left;">
<li>First make sure you have Latex installed</li>
<li>Then install beamer class by using sudo aptitude install latex-beamer</li>
<li>After that you can use this template to create a simple beamer presentation</li>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Copy from here<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<code><br />
\documentclass{beamer}<br />
%For complete list of themes<br />
%Check out http://www.math.umbc.edu/~rouben/beamer/quickstart-Z-H-31.html#node_sec_31<br />
\usetheme{Warsaw}<br />
\title{Template Beamer Presentation for my reference}<br />
\author{Anjin Pradhan}<br />
\date{\today}</code></p>
<p>\begin{document}</p>
<p>\frame{\titlepage}</p>
<p>\section[Outline]{}<br />
\frame{\tableofcontents}</p>
<p>\section{Introduction 1}<br />
\subsection{Sub Section 1}<br />
\frame<br />
{<br />
\frametitle{Frame 1}</p>
<p>\begin{itemize}<br />
\item&lt;1-&gt; List Item 1<br />
\item&lt;2-&gt; List Item 2<br />
\item&lt;3-&gt; List Item 3<br />
\end{itemize}<br />
}<br />
\section{Introduction 2}<br />
\subsection{Sub Section 2}<br />
\frame<br />
{<br />
\frametitle{Frame 2}</p>
<p>\begin{itemize}<br />
\item&lt;1-&gt; List Item 1<br />
\item&lt;2-&gt; List Item 2<br />
\item&lt;3-&gt; List Item 3<br />
\end{itemize}<br />
}<br />
\subsection{Highlights}<br />
\frame<br />
{<br />
\frametitle{For Highlighting Stuff}<br />
\begin{theorem}[Highlighting this ]<br />
Can be used to highlight theorum and other stuff<br />
\end{theorem}<br />
}<br />
\subsection{Adding columns}<br />
\frame<br />
{<br />
\frametitle{For Adding Column}<br />
Here is what Three Column looks like:<br />
\begin{columns}<br />
\begin{column}{0.45\textwidth}<br />
\begin{itemize}<br />
\item itemized item 1<br />
\item itemized item 2<br />
\item itemized item 3<br />
\end{itemize}<br />
\end{column}</p>
<p>\begin{column}{0.25\textwidth}<br />
\begin{enumerate}<br />
\item item 1<br />
\item item 2<br />
\item item 3<br />
\end{enumerate}<br />
\end{column}</p>
<p>\begin{column}{0.45\textwidth}<br />
This has been a test<br />
\end{column}<br />
\end{columns}<br />
}<br />
\subsection{Adding Tables}<br />
\frame<br />
{<br />
\frametitle{Adding Tables}<br />
\begin{tabular}{lcccc}<br />
Class &amp; A &amp; B &amp; C &amp; D \\\hline<br />
X     &amp; 1 &amp; 2 &amp; 3 &amp; 4 \\<br />
Y     &amp; 3 &amp; 4 &amp; 5 &amp; 6 \pause\\<br />
Z     &amp; 5  &amp; 6	&amp; 7	&amp; 8<br />
\end{tabular}<br />
}<br />
\subsection{Graphic}<br />
\frame<br />
{<br />
\frametitle{Adding Graphics}<br />
\begin{figure}<br />
\includegraphics[width=3in,height=2in]{sample.eps}<br />
\end{figure}<br />
}<br />
\end{document}</p>
<li>After you have changed tha template as per need you can issue these command to get the pdf presentation</li>
</ol>
<ul>
<li>$ latex file.tex</li>
<li>$ latex file.tex</li>
<li>$ dvips file.dvi</li>
<li>$ ps2pdf file.ps</li>
</ul>
<p>Or you can use texmaker like i do.</p>
<p>FYI you can use  jpeg2ps to convert jpg file into eps so that the graphic can scale properly.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anjinpradhan.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anjinpradhan.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anjinpradhan.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anjinpradhan.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anjinpradhan.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anjinpradhan.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anjinpradhan.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anjinpradhan.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anjinpradhan.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anjinpradhan.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anjinpradhan.wordpress.com&blog=1160161&post=43&subd=anjinpradhan&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anjinpradhan.wordpress.com/2008/12/23/how-to-create-presentation-using-beamer-latex-class-in-ubuntu-804/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/69943ad8cf36634262026564fbda4f72?s=96&#38;d=identicon" medium="image">
			<media:title type="html">anjinpradhan</media:title>
		</media:content>
	</item>
		<item>
		<title>Complete switch from ppt/odp to beamer</title>
		<link>http://anjinpradhan.wordpress.com/2008/12/23/complete-switch-from-pptodp-to-beamer/</link>
		<comments>http://anjinpradhan.wordpress.com/2008/12/23/complete-switch-from-pptodp-to-beamer/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 01:10:05 +0000</pubDate>
		<dc:creator>anjinpradhan</dc:creator>
				<category><![CDATA[Latex]]></category>

		<guid isPermaLink="false">http://anjinpradhan.wordpress.com/?p=40</guid>
		<description><![CDATA[Today i did a complete switch from ppt/odp to beamer presentation. 
I think beamer is better than ppt/odp but though is not user friendly
This tutorial has helped me a lot to make this transition http://www.math.umbc.edu/~rouben/beamer/ 
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anjinpradhan.wordpress.com&blog=1160161&post=40&subd=anjinpradhan&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Today i did a complete switch from ppt/odp to beamer presentation. </p>
<p>I think beamer is better than ppt/odp but though is not user friendly</p>
<p>This tutorial has helped me a lot to make this transition http://www.math.umbc.edu/~rouben/beamer/ </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anjinpradhan.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anjinpradhan.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anjinpradhan.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anjinpradhan.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anjinpradhan.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anjinpradhan.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anjinpradhan.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anjinpradhan.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anjinpradhan.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anjinpradhan.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anjinpradhan.wordpress.com&blog=1160161&post=40&subd=anjinpradhan&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anjinpradhan.wordpress.com/2008/12/23/complete-switch-from-pptodp-to-beamer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/69943ad8cf36634262026564fbda4f72?s=96&#38;d=identicon" medium="image">
			<media:title type="html">anjinpradhan</media:title>
		</media:content>
	</item>
		<item>
		<title>Tired because of typing long password and difficult password when using ssh then try this</title>
		<link>http://anjinpradhan.wordpress.com/2008/12/22/tried-by-typing-long-password-and-difficult-password-when-using-ssh-then-try-this/</link>
		<comments>http://anjinpradhan.wordpress.com/2008/12/22/tried-by-typing-long-password-and-difficult-password-when-using-ssh-then-try-this/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 23:18:05 +0000</pubDate>
		<dc:creator>anjinpradhan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ssh long and difficult password linux pub identity file]]></category>

		<guid isPermaLink="false">http://anjinpradhan.wordpress.com/?p=32</guid>
		<description><![CDATA[1. First create and public key and private key pair using
ssh-keygen -t dsa
2. Then copy the file to every machine you want to ssh without specifying password
scp ~/.ssh/id_dsa.pub user@remote_machine:~user/.ssh/authorized_keys
Easy huh  
Also now you can executing command without logging into the system. just do 
ssh user@remote_machine &#8220;REPLACE THIS WITH ACTUAL COMMAND&#8221;
     [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anjinpradhan.wordpress.com&blog=1160161&post=32&subd=anjinpradhan&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>1. First create and public key and private key pair using</p>
<blockquote><p>ssh-keygen -t dsa</p></blockquote>
<p>2. Then copy the file to every machine you want to ssh without specifying password</p>
<blockquote><p>scp ~/.ssh/id_dsa.pub user@remote_machine:~user/.ssh/authorized_keys</p></blockquote>
<p>Easy huh <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Also now you can executing command without logging into the system. just do </p>
<blockquote><p>ssh user@remote_machine &#8220;REPLACE THIS WITH ACTUAL COMMAND&#8221;</p></blockquote>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anjinpradhan.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anjinpradhan.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anjinpradhan.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anjinpradhan.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anjinpradhan.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anjinpradhan.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anjinpradhan.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anjinpradhan.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anjinpradhan.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anjinpradhan.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anjinpradhan.wordpress.com&blog=1160161&post=32&subd=anjinpradhan&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anjinpradhan.wordpress.com/2008/12/22/tried-by-typing-long-password-and-difficult-password-when-using-ssh-then-try-this/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/69943ad8cf36634262026564fbda4f72?s=96&#38;d=identicon" medium="image">
			<media:title type="html">anjinpradhan</media:title>
		</media:content>
	</item>
		<item>
		<title>Running a website with MYSQL CLUSTER DB and LOAD BALANCING enabled in apache</title>
		<link>http://anjinpradhan.wordpress.com/2008/12/22/running-a-website-with-mysql-cluster-db-and-load-balancing-enabled-in-apache/</link>
		<comments>http://anjinpradhan.wordpress.com/2008/12/22/running-a-website-with-mysql-cluster-db-and-load-balancing-enabled-in-apache/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 22:57:18 +0000</pubDate>
		<dc:creator>anjinpradhan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA["mysql cluster" "apache" "apache loadbalancing"]]></category>

		<guid isPermaLink="false">http://anjinpradhan.wordpress.com/?p=29</guid>
		<description><![CDATA[The new version of MYSQL CLUSTER DB just came out and upon preliminary research i think its better than the older one and the DATA REPLICATION it supports.I like they have used shared nothing architecture and now they use heartbeat to track the status of each node in the cluster.
MYSQL CLUSTER DB by default requires [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anjinpradhan.wordpress.com&blog=1160161&post=29&subd=anjinpradhan&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The new version of MYSQL CLUSTER DB just came out and upon preliminary research i think its better than the older one and the DATA REPLICATION it supports.I like they have used shared nothing architecture and now they use heartbeat to track the status of each node in the cluster.</p>
<p>MYSQL CLUSTER DB by default requires three nodes</p>
<ul>
<li>Data Node</li>
<li>Management Node</li>
<li>SQL node</li>
</ul>
<p>Also Apache has a module which enables load balancing and session support. I was just wondering will we see radical changes in performance if we use MYSQL CLUSTER and apache with load balancing enabled. To mirror the web app on different nodes i was thinking about using high availability NFS SERVER or rsync server. If i were to use rsync i would look for changes in the main repository every new few hours or so.</p>
<p>Though since MYSQL DB loads everything in memory it requires a huge amount of ram. But inspite of the inherit drawbacks of both the application will we see a increase in performance.</p>
<p>I will try to run this experiment when i have time <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Something to ponder.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anjinpradhan.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anjinpradhan.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anjinpradhan.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anjinpradhan.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anjinpradhan.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anjinpradhan.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anjinpradhan.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anjinpradhan.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anjinpradhan.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anjinpradhan.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anjinpradhan.wordpress.com&blog=1160161&post=29&subd=anjinpradhan&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anjinpradhan.wordpress.com/2008/12/22/running-a-website-with-mysql-cluster-db-and-load-balancing-enabled-in-apache/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/69943ad8cf36634262026564fbda4f72?s=96&#38;d=identicon" medium="image">
			<media:title type="html">anjinpradhan</media:title>
		</media:content>
	</item>
		<item>
		<title>Shell script to update to webserver and svn repository at once</title>
		<link>http://anjinpradhan.wordpress.com/2008/09/02/shell-script-to-update-to-webserver-and-svn-repository-at-once/</link>
		<comments>http://anjinpradhan.wordpress.com/2008/09/02/shell-script-to-update-to-webserver-and-svn-repository-at-once/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 19:52:39 +0000</pubDate>
		<dc:creator>anjinpradhan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell scripting]]></category>

		<guid isPermaLink="false">http://anjinpradhan.wordpress.com/?p=22</guid>
		<description><![CDATA[&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
This shell script can update your webserver and update your svn repository at once. More description coming soon. STILL NEEDS TO BE TESTED PROPERLY.
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
case $2 in
&#8220;&#8221;)
echo &#8220;Please specify the duration&#8221;
exit;;
esac
WEBSERVER_URL=XXXXXXXXXXXXXXXXX
WEBSERVER_ADDRESS=XXXXXXXXXXXXXXXXXXxxxxx
FILES=`find $PWD -type f -cmin -$2 -print`;
LOCAL_WEB=xxxxxxxxx
AddToSVN()
{
for i in $FILES;do
if [ "$i" != '$PWD/caseShell.rb' ]; then
svn add $i
fi
done
}
UpdateToTestServer()
{
cd ..
echo &#8220;I NEED THE PASSWORD TO YOUR WEBSERVER&#8221;
scp [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anjinpradhan.wordpress.com&blog=1160161&post=22&subd=anjinpradhan&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>This shell script can update your webserver and update your svn repository at once. More description coming soon. STILL NEEDS TO BE TESTED PROPERLY.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>case $2 in<br />
&#8220;&#8221;)<br />
echo &#8220;Please specify the duration&#8221;<br />
exit;;<br />
esac</p>
<p>WEBSERVER_URL=XXXXXXXXXXXXXXXXX<br />
WEBSERVER_ADDRESS=XXXXXXXXXXXXXXXXXXxxxxx<br />
FILES=`find $PWD -type f -cmin -$2 -print`;<br />
LOCAL_WEB=xxxxxxxxx</p>
<p>AddToSVN()<br />
{<br />
for i in $FILES;do<br />
if [ "$i" != '$PWD/caseShell.rb' ]; then<br />
svn add $i<br />
fi<br />
done<br />
}</p>
<p>UpdateToTestServer()<br />
{<br />
cd ..<br />
echo &#8220;I NEED THE PASSWORD TO YOUR WEBSERVER&#8221;<br />
scp -p -r $LOCAL_WEB $WEBSERVER_ADDRESS<br />
echo &#8220;PLEASE PROVIDE THE PASSWORD AGAIN&#8221;<br />
ssh $WEBSERVER_URL -l XXXXXXXXXx -i XXXXXXXXx &#8220;/etc/init.d/apache2 restart&#8221;<br />
}</p>
<p>UpdateToSVN()<br />
{<br />
svn update<br />
}</p>
<p>case $2 in<br />
&#8220;&#8221;)<br />
echo &#8220;Please specify the duration&#8221;<br />
exit;;<br />
esac</p>
<p>case $1 in<br />
&#8220;t&#8221;)<br />
AddToSVN<br />
UpdateToTestServer<br />
UpdateToSVN<br />
echo &#8220;Total Update Successfully completed&#8221;;;<br />
&#8220;s&#8221;)<br />
AddToSVN<br />
UpdateToSVN<br />
echo &#8220;SVN Successfully update&#8221;;;<br />
&#8220;ts&#8221;)<br />
UpdateToTestServer<br />
echo &#8220;Update test server made succesfully&#8221;;;<br />
*)<br />
echo &#8220;Invalid option specified&#8221;;;<br />
esac</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anjinpradhan.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anjinpradhan.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anjinpradhan.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anjinpradhan.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anjinpradhan.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anjinpradhan.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anjinpradhan.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anjinpradhan.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anjinpradhan.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anjinpradhan.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anjinpradhan.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anjinpradhan.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anjinpradhan.wordpress.com&blog=1160161&post=22&subd=anjinpradhan&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anjinpradhan.wordpress.com/2008/09/02/shell-script-to-update-to-webserver-and-svn-repository-at-once/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/69943ad8cf36634262026564fbda4f72?s=96&#38;d=identicon" medium="image">
			<media:title type="html">anjinpradhan</media:title>
		</media:content>
	</item>
	</channel>
</rss>