<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Codeflicker</title>
	<atom:link href="http://codeflicker.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://codeflicker.wordpress.com</link>
	<description>Notes on Linux scripts</description>
	<lastBuildDate>Sun, 14 Jun 2009 09:36:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='codeflicker.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Codeflicker</title>
		<link>http://codeflicker.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://codeflicker.wordpress.com/osd.xml" title="Codeflicker" />
	<atom:link rel='hub' href='http://codeflicker.wordpress.com/?pushpress=hub'/>
		<item>
		<title>ILOAPP image server download loop</title>
		<link>http://codeflicker.wordpress.com/2009/06/14/iloapp-image-server-download-loop/</link>
		<comments>http://codeflicker.wordpress.com/2009/06/14/iloapp-image-server-download-loop/#comments</comments>
		<pubDate>Sun, 14 Jun 2009 09:36:15 +0000</pubDate>
		<dc:creator>codeflicker</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://codeflicker.wordpress.com/?p=13</guid>
		<description><![CDATA[The script below downloads a number of images from a photo archive on an iloapp server to the current directory. It is very basic with no usefull user controls, but it is simple enough for most people to understand it I hope. # Expands image urls and downloads them with wget imgname="" urlname="" for (( [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=13&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The script below downloads a number of images from a photo archive on an iloapp server to the current directory. It is very basic with no usefull user controls, but it is simple enough for most people to understand it I hope.</p>
<p><code># Expands image urls and downloads them with wget<br />
imgname=""<br />
urlname=""<br />
for (( i = 0; i &lt;= 44; i++ ))<br />
do<br />
urlname="http://iloapp.gydesen.biz/gallery/madeira2009?Download&amp;album=10&amp;image=""$i"<br />
imgname="Karen-billede-""$i"".jpg"<br />
wget --output-document=$imgname $urlname<br />
done</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeflicker.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeflicker.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codeflicker.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codeflicker.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codeflicker.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codeflicker.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codeflicker.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codeflicker.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codeflicker.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codeflicker.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codeflicker.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codeflicker.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codeflicker.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codeflicker.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=13&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeflicker.wordpress.com/2009/06/14/iloapp-image-server-download-loop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acf63697ff0f9d6ab7350e8c569ad61f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codeflicker</media:title>
		</media:content>
	</item>
		<item>
		<title>Twittable scripts</title>
		<link>http://codeflicker.wordpress.com/2008/04/13/twittable-scripts/</link>
		<comments>http://codeflicker.wordpress.com/2008/04/13/twittable-scripts/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 14:48:09 +0000</pubDate>
		<dc:creator>codeflicker</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://codeflicker.wordpress.com/?p=11</guid>
		<description><![CDATA[There are a lot of folkes having fun with the shell, here are some that can be twitted and some tips.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=11&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are a lot of folkes having fun with the shell, <a href="http://nat.org/blog/?p=825"> here are some that can be twitted</a> and some tips.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/codeflicker.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/codeflicker.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeflicker.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeflicker.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codeflicker.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codeflicker.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codeflicker.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codeflicker.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codeflicker.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codeflicker.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codeflicker.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codeflicker.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codeflicker.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codeflicker.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codeflicker.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codeflicker.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=11&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeflicker.wordpress.com/2008/04/13/twittable-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acf63697ff0f9d6ab7350e8c569ad61f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codeflicker</media:title>
		</media:content>
	</item>
		<item>
		<title>Master script for dir2slideshow</title>
		<link>http://codeflicker.wordpress.com/2008/04/02/master-script-for-dir2slideshow/</link>
		<comments>http://codeflicker.wordpress.com/2008/04/02/master-script-for-dir2slideshow/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 20:56:37 +0000</pubDate>
		<dc:creator>codeflicker</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://codeflicker.wordpress.com/?p=10</guid>
		<description><![CDATA[I finally managed to make a script to autogenerate dir2slideshow files for all the picture directories I have. It is not entirely general but the only thing that needs to be changed is the input to the loop, which should be a list of directories. Besides the previous post included a bug which has been [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=10&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I finally managed to make a script to autogenerate dir2slideshow files for all the picture directories I have. It is not entirely general but the only thing that needs to be changed is the input to the loop, which should be a list of directories. Besides the previous post included a bug which has been fixed, so please use this version -the name changed to <code>path2name</code> since now also dirs are allowed.</p>
<p><code><br />
#!/bin/bash<br />
# control script for dir2slideshow<br />
# List of directories containing pictures. I guess that this could go into a variable right away...<br />
function mydirs {<br />
ls -d /home/asger/Pictures/*/ | egrep '200[[:digit:]]-([[:alnum:] _-])*';<br />
}<br />
# Extract file or dir names from full paths, note without any slashes.<br />
function path2name {<br />
echo $1 | egrep -o '/([[:alnum:] _-])*/?$' | sed 's/\///g';<br />
}<br />
# Interface to dir2slideshow, make it easy to change settings globally.<br />
function d2s {<br />
dir2slideshow -n $(path2name $1)  $1;<br />
}<br />
# Loop through the list to generate all files.<br />
for i in $(mydirs) ; do<br />
d2s $i<br />
done<br />
</code></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/codeflicker.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/codeflicker.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeflicker.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeflicker.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codeflicker.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codeflicker.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codeflicker.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codeflicker.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codeflicker.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codeflicker.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codeflicker.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codeflicker.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codeflicker.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codeflicker.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codeflicker.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codeflicker.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=10&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeflicker.wordpress.com/2008/04/02/master-script-for-dir2slideshow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acf63697ff0f9d6ab7350e8c569ad61f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codeflicker</media:title>
		</media:content>
	</item>
		<item>
		<title>path2file &#8211; get filenames from full paths</title>
		<link>http://codeflicker.wordpress.com/2008/04/01/path2file-get-filenames-from-full-paths/</link>
		<comments>http://codeflicker.wordpress.com/2008/04/01/path2file-get-filenames-from-full-paths/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 19:46:05 +0000</pubDate>
		<dc:creator>codeflicker</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://codeflicker.wordpress.com/?p=9</guid>
		<description><![CDATA[Still working on the dvd-slideshow thing I have found that it would b nice to globally control the generation of control files for it, and in that process I have found that it is an advantage to extract file names from full paths. This can be achieved with the following simple function: function path2file { [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=9&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Still working on the dvd-slideshow thing I have found that it would b nice to globally control the generation of control files for it, and in that process I have found that it is an advantage to extract file names from full paths. This can be achieved with the following simple function:<br />
<code><br />
function path2file {<br />
echo $1 | egrep -o '/([[:alnum:] _-])*$' | sed 's/\///' ;<br />
}<br />
</code></p>
<p>which takes a path as argument and gives back the file eg:<br />
<code><br />
path2file ~/Documents/Programming/dvd-slideshow/dvd-burn<br />
returns:<br />
dvd-burn<br />
</code></p>
<p>This of course does not work for windows paths, but you can always exchange slash for backslash (only the escaped ones) to make it windows oriented <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Edit: well of course there is already a tool for this in bash namely the history command with all its nice options. See for instance  <a href="http://www.catonmat.net/blog/the-definitive-guide-to-bash-command-line-history/">this tutorial</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/codeflicker.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/codeflicker.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeflicker.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeflicker.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codeflicker.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codeflicker.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codeflicker.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codeflicker.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codeflicker.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codeflicker.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codeflicker.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codeflicker.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codeflicker.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codeflicker.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codeflicker.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codeflicker.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=9&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeflicker.wordpress.com/2008/04/01/path2file-get-filenames-from-full-paths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acf63697ff0f9d6ab7350e8c569ad61f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codeflicker</media:title>
		</media:content>
	</item>
		<item>
		<title>Problems with dvd-slideshow</title>
		<link>http://codeflicker.wordpress.com/2008/03/29/problems-with-dvd-slideshow/</link>
		<comments>http://codeflicker.wordpress.com/2008/03/29/problems-with-dvd-slideshow/#comments</comments>
		<pubDate>Sat, 29 Mar 2008 13:35:16 +0000</pubDate>
		<dc:creator>codeflicker</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://codeflicker.wordpress.com/?p=8</guid>
		<description><![CDATA[dvd-slideshow is an interesting app that can make dvd&#8217;s with slideshows of your pictures with cool effects and audio. However there are some bugs in the newest .deb package so I have had to manually install the fix available on the svn repository at SourceForge. Link to main page, check it out: dvd-slideshow. Well the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=8&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>dvd-slideshow is an interesting app that can make dvd&#8217;s with slideshows of your pictures with cool effects and audio. However there are some bugs in the newest .deb package so I have had to manually install the fix available on the svn repository at SourceForge. Link to main page, check it out: <a href="http://dvd-slideshow.sourceforge.net/wiki/Main_Page">dvd-slideshow.</a> Well the repository only contains the source and a short guide to the installation that was not readily understandable to me, so it did not work out. I tried doing this:<br />
<code></code></p>
<p><code>svnrep=/home/asger/Documents/Programming/dvd-slideshow;<br />
sudo mkdir -p /opt/dvd-slideshow/{bin,share/{doc,man/man.1}};<br />
sudo mkdir /opt/bin; cd /opt/bin; sudo ln -s /opt/dvd-slideshow/bin;<br />
cd /usr/local/bin; sudo ln -s /opt/dvd-slideshow/bin;<br />
sudo cd $svnrep;<br />
sudo cp dvd-* dir2slideshow gallery1-to-slideshow \<br />
jigl2slideshow /opt/dvd-slideshow/bin;<br />
sudo cp man/* /opt/dvd-slideshow/share/man/man.1;<br />
sudo cp doc/* /opt/dvd-slideshow/share/doc/;<br />
sudo cp dvd-slideshowrc ~/.dvd-slideshowrc;<br />
</code></p>
<p>I probably missed something with the links, because the system did not recognize the commands in the program&#8230;  Therefore I took the cheezy solution and just reinstalled the broken .deb package and manually replaced the binaries with the new ones from the svn repository.</p>
<p><code>sudo cp dvd-menu dvd-slideshow dir2slideshow gallery1-to-slideshow \ jigl2slideshow /usr/bin<br />
</code></p>
<p>And now it at least is active again but I will still have to see if the old problems are solved, so stay tuned.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/codeflicker.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/codeflicker.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeflicker.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeflicker.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codeflicker.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codeflicker.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codeflicker.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codeflicker.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codeflicker.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codeflicker.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codeflicker.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codeflicker.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codeflicker.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codeflicker.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codeflicker.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codeflicker.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=8&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeflicker.wordpress.com/2008/03/29/problems-with-dvd-slideshow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acf63697ff0f9d6ab7350e8c569ad61f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codeflicker</media:title>
		</media:content>
	</item>
		<item>
		<title>rsync</title>
		<link>http://codeflicker.wordpress.com/2008/03/25/rsync/</link>
		<comments>http://codeflicker.wordpress.com/2008/03/25/rsync/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 21:08:14 +0000</pubDate>
		<dc:creator>codeflicker</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://codeflicker.wordpress.com/?p=7</guid>
		<description><![CDATA[rsync is a cool tool for synchronizing data across servers. It can be used in many ways, but I presently use it to transfer files between the server at the physics department and my own computer. rsync -avR sourcefolder destinationfolder There are some problems though with permissions though so be sure to allow reading and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=7&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>rsync is a cool tool for synchronizing data across servers. It can be used in many ways, but I presently use it to transfer files between the server at the physics department and my own computer.</p>
<p>rsync -avR sourcefolder destinationfolder</p>
<p>There are some problems though with permissions though so be sure to allow reading and writing data across the interface&#8230;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/codeflicker.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/codeflicker.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeflicker.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeflicker.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codeflicker.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codeflicker.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codeflicker.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codeflicker.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codeflicker.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codeflicker.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codeflicker.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codeflicker.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codeflicker.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codeflicker.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codeflicker.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codeflicker.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=7&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeflicker.wordpress.com/2008/03/25/rsync/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acf63697ff0f9d6ab7350e8c569ad61f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codeflicker</media:title>
		</media:content>
	</item>
		<item>
		<title>Firewall issues</title>
		<link>http://codeflicker.wordpress.com/2008/03/08/firewall-issues/</link>
		<comments>http://codeflicker.wordpress.com/2008/03/08/firewall-issues/#comments</comments>
		<pubDate>Sat, 08 Mar 2008 13:03:06 +0000</pubDate>
		<dc:creator>codeflicker</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://codeflicker.wordpress.com/?p=6</guid>
		<description><![CDATA[I am using the Cisco vpn client 4.8 and the firestarter 1.0.3 firewall, and unfortunately they do not work together out of the box. Disabling the firewall will let the vpn trafic through but this is not the optimal solution. To solve this problem I have found these references: LAMNK &#8211; recipy for allowing vpn [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=6&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am using the Cisco vpn client 4.8 and the firestarter 1.0.3 firewall, and unfortunately they do not work together out of the box. Disabling the firewall will let the vpn trafic through but this is not the optimal solution. To solve this problem I have found these references:</p>
<ul>
<li><a href="http://www.lamnk.com/blog/vpn/using-firestarter-with-cisco-vpn-client/#comments" title="lamnk.com">LAMNK </a> &#8211; recipy for allowing vpn trafic &#8211; the vpn device (aka cipsec0) can be fond in the status tab in the firestarter GUI when loaded.</li>
<li><a href="http://www.cisco.com/univercd/cc/td/doc/product/vpn/client/rel4_0/lin_sol/install.htm#1001421" title="cisco">Cisco</a> &#8211; firewall trouble shooting.</li>
<li><a href="http://www.fs-security.com/docs/vpn.php" title="Firestarter">Firestarter</a> &#8211; vpn guidelines.</li>
</ul>
<ul></ul>
<p>Now /etc/firestarter/user-pre have been updated according to LAMNK&#8217;s directions with the ifa vpn server address and my cipsec0 device. Apparently the vpn device that is shown in the firestarter device list is wrong since it says cipsec instead of the real name cipseq0, and now things seem to work out fine.</p>
<p>Edditing of the user-pre file in firestarter, please note that this is empty per default.</p>
<ul>
<li>chmod 600  /etc/firestarter/user-pre.</li>
<li>sudo gedit /etc/firestarter/user-pre.</li>
<li>Follow instructions on LAMNK.com.</li>
<li>sudo /etc/init.d/firestarter restart.</li>
<li>Cross your fingers and try out the setup with your browser.</li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/codeflicker.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/codeflicker.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeflicker.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeflicker.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codeflicker.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codeflicker.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codeflicker.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codeflicker.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codeflicker.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codeflicker.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codeflicker.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codeflicker.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codeflicker.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codeflicker.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codeflicker.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codeflicker.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=6&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeflicker.wordpress.com/2008/03/08/firewall-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acf63697ff0f9d6ab7350e8c569ad61f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codeflicker</media:title>
		</media:content>
	</item>
		<item>
		<title>ifalogon</title>
		<link>http://codeflicker.wordpress.com/2008/03/07/ifalogon/</link>
		<comments>http://codeflicker.wordpress.com/2008/03/07/ifalogon/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 22:16:16 +0000</pubDate>
		<dc:creator>codeflicker</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://codeflicker.wordpress.com/2008/03/07/ifalogon/</guid>
		<description><![CDATA[Script to log onto the ifavpn server, should be completed by adding the rest of the necessities for working from the samba drive.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=5&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Script to log onto the ifavpn server, should be completed by adding the rest of the necessities for working from the samba drive.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/codeflicker.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/codeflicker.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeflicker.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeflicker.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codeflicker.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codeflicker.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codeflicker.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codeflicker.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codeflicker.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codeflicker.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codeflicker.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codeflicker.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codeflicker.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codeflicker.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codeflicker.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codeflicker.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=5&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeflicker.wordpress.com/2008/03/07/ifalogon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acf63697ff0f9d6ab7350e8c569ad61f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codeflicker</media:title>
		</media:content>
	</item>
		<item>
		<title>.bash_profile</title>
		<link>http://codeflicker.wordpress.com/2008/03/07/bash_profile/</link>
		<comments>http://codeflicker.wordpress.com/2008/03/07/bash_profile/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 16:31:49 +0000</pubDate>
		<dc:creator>codeflicker</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Ubuntu scripting]]></category>

		<guid isPermaLink="false">http://codeflicker.wordpress.com/?p=4</guid>
		<description><![CDATA[Reading the excelent turoial on bash scripting at linuxcommand.org I realized that I needed a .bash_profile setup file in order to easily access homewritten bash scripts. This file was avaliable at answers.lunchpad.net and I just copy pasted it into emacs and saved in ~ and changed permissions with chmod u+x .bash_profile. Now I am able [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=4&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Reading the excelent turoial on bash scripting at <a href="http://www.linuxcommand.org/">linuxcommand.org</a> I realized that I needed a .bash_profile setup file in order to easily access homewritten bash scripts. This file was avaliable at <a href="https://answers.launchpad.net/ubuntu/+question/1770">answers.lunchpad.net</a> and I just copy pasted it into emacs and saved in ~ and changed permissions with chmod u+x .bash_profile. Now I am able to save my scripts in the ~/bin directory and then just call them without any reference to the explicit path which is kind of nice.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/codeflicker.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/codeflicker.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeflicker.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeflicker.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codeflicker.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codeflicker.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codeflicker.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codeflicker.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codeflicker.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codeflicker.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codeflicker.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codeflicker.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codeflicker.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codeflicker.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codeflicker.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codeflicker.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=4&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeflicker.wordpress.com/2008/03/07/bash_profile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acf63697ff0f9d6ab7350e8c569ad61f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codeflicker</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello</title>
		<link>http://codeflicker.wordpress.com/2008/03/07/hello/</link>
		<comments>http://codeflicker.wordpress.com/2008/03/07/hello/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 16:23:47 +0000</pubDate>
		<dc:creator>codeflicker</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://codeflicker.wordpress.com/2008/03/07/hello/</guid>
		<description><![CDATA[This blog is for my own amusements but if case of interest please do not hesitate read onwards. In fact what I fill this space exclusively notes regarding scripting on my Ubuntu box. Enjoy!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=3&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This blog is for my own amusements but if case of interest please do not hesitate read onwards. In fact what I fill this space exclusively notes regarding scripting on my Ubuntu box.</p>
<p>Enjoy!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/codeflicker.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/codeflicker.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeflicker.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeflicker.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codeflicker.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codeflicker.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codeflicker.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codeflicker.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codeflicker.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codeflicker.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codeflicker.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codeflicker.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codeflicker.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codeflicker.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codeflicker.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codeflicker.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeflicker.wordpress.com&amp;blog=3090396&amp;post=3&amp;subd=codeflicker&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeflicker.wordpress.com/2008/03/07/hello/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acf63697ff0f9d6ab7350e8c569ad61f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codeflicker</media:title>
		</media:content>
	</item>
	</channel>
</rss>
