<?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/"
	>

<channel>
	<title>9thport</title>
	<atom:link href="http://9thport.net/feed" rel="self" type="application/rss+xml" />
	<link>http://9thport.net</link>
	<description>ruby, rails, sysadmin, os x, and other stuff</description>
	<lastBuildDate>Thu, 04 Mar 2010 00:58:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title></title>
		<link>http://9thport.net/archives/723</link>
		<comments>http://9thport.net/archives/723#comments</comments>
		<pubDate>Thu, 04 Mar 2010 00:58:24 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
		
		<guid isPermaLink="false">http://9thport.net/archives/723</guid>
		<description><![CDATA[This is pretty cool. 

Location:Main St,San Francisco,United States
]]></description>
			<content:encoded><![CDATA[<p>This is pretty cool. </p>
<p><center><a href='http://9thport.net/wp-content/uploads/2010/03/0C1A7B4E-C2C5-43A9-9F0C-339E407B91C8iphone_photo.jpg'><img src='http://9thport.net/wp-content/uploads/2010/03/0C1A7B4E-C2C5-43A9-9F0C-339E407B91C8iphone_photo.jpg' border='0' width='281' height='112' style='margin:5px'></a></center></p>
<p class='blogpress_location'>Location:<a href='http://maps.google.com/maps?q=Main%20St,San%20Francisco,United%20States%4037.792884%2C-122.396045&#038;z=10'>Main St,San Francisco,United States</a></p>
]]></content:encoded>
			<wfw:commentRss>http://9thport.net/archives/723/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>change maximum memory for coldfusion 8</title>
		<link>http://9thport.net/archives/718</link>
		<comments>http://9thport.net/archives/718#comments</comments>
		<pubDate>Mon, 01 Mar 2010 16:03:47 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sysadmin]]></category>

		<guid isPermaLink="false">http://9thport.net/archives/718</guid>
		<description><![CDATA[First, it might be good for you to get the total amount of free memory on your system (using -m will present the information in MB):
[root@www1 bin]# free -m
total       used       free     shared    buffers     cached
Mem:          1770       1754   [...]]]></description>
			<content:encoded><![CDATA[<p>First, it might be good for you to get the total amount of free memory on your system (using -m will present the information in MB):</p>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">[root@www1 bin]# free -m</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">total       used       free     shared    buffers     cached</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">Mem:          1770       1754         15          0         74        894</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">-/+ buffers/cache:        785        984</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">Swap:         1983         74       1909</span></div>
<p>Looks like I have about 1754 MB free.</p>
<p>Edit the following file:</p>
<p><span style="font-family: terminal, monaco;">/opt/jrun4/bin/jvm.config</span></p>
<p>then change the following line from:</p>
<p><span style="font-family: terminal, monaco;">-XX:MaxPermSize=512m</span></p>
<p>to something higher, like:</p>
<p><span style="font-family: terminal, monaco;">-XX:MaxPermSize=768m</span></p>
]]></content:encoded>
			<wfw:commentRss>http://9thport.net/archives/718/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Another day at the bus stop</title>
		<link>http://9thport.net/archives/707</link>
		<comments>http://9thport.net/archives/707#comments</comments>
		<pubDate>Mon, 22 Feb 2010 18:34:56 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[Photos]]></category>
		<category><![CDATA[Travel]]></category>

		<guid isPermaLink="false">http://9thport.net/archives/707</guid>
		<description><![CDATA[Another day at the bust stop that got me to take a panorama of the weather. This time I saw lots of fog!

]]></description>
			<content:encoded><![CDATA[<p>Another day at the bust stop that got me to take a panorama of the weather. This time I saw lots of fog!</p>
<p><a href="http://9thport.net/wp-content/uploads/2010/02/l_2700_908_89C81C55-82FF-4E5D-A0D4-5793575C5B73.jpeg"><img class="alignnone size-full" src="http://9thport.net/wp-content/uploads/2010/02/l_2700_908_89C81C55-82FF-4E5D-A0D4-5793575C5B73.jpeg" alt="" width="1620" height="545" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://9thport.net/archives/707/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When starting Dreamweaver CS4 I get an error of microsoft visual c++ runtime library: runtime error</title>
		<link>http://9thport.net/archives/704</link>
		<comments>http://9thport.net/archives/704#comments</comments>
		<pubDate>Mon, 22 Feb 2010 18:25:46 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://9thport.net/?p=704</guid>
		<description><![CDATA[Today I got an error message of "microsoft visual c++ runtime library: runtime error ..." when attempting to run Adobe Dreamweaver CS4. This is horrible!! Here is a screen show showing what I got:
My method for fixing this error on Windows XP was to do move the following directory into my Recycle Bin:

c:\Documents and Settings\[username]\Application [...]]]></description>
			<content:encoded><![CDATA[<p>Today I got an error message of "microsoft visual c++ runtime library: runtime error ..." when attempting to run Adobe Dreamweaver CS4. This is horrible!! Here is a screen show showing what I got:</p>
<div id="attachment_705" class="wp-caption aligncenter" style="width: 310px"><a href="http://9thport.net/wp-content/uploads/2010/02/dreamweaver-cs4-windows-error.png"><img class="size-medium wp-image-705 " title="dreamweaver cs4 windows error" src="http://9thport.net/wp-content/uploads/2010/02/dreamweaver-cs4-windows-error-300x144.png" alt="dreamweaver cs4 windows error" width="300" height="144" /></a><p class="wp-caption-text">my dreamweaver cs4 windows error</p></div>
<p>My method for fixing this error on Windows XP was to do move the following directory into my Recycle Bin:</p>
<ul>
<li>c:\Documents and Settings\[username]\Application Data\Adobe\Dreamweaver CS4</li>
</ul>
<p>Note: The "Application Data" folder is hidden and you might need to do the following:</p>
<ol>
<li>Choose menu "Tools"</li>
<li>Choose menu item "Folder Options"</li>
<li>Choose tab "View"</li>
<li>Enable "Show hidden files and folders"</li>
<li>Click "OK"</li>
</ol>
<p>After removing the directory, launching Dreamweaver worked! I was also surprised that I did not loose any of my site settings.</p>
]]></content:encoded>
			<wfw:commentRss>http://9thport.net/archives/704/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bash script template to be used for parsing arguments to make your shell programming life easier</title>
		<link>http://9thport.net/archives/701</link>
		<comments>http://9thport.net/archives/701#comments</comments>
		<pubDate>Fri, 12 Feb 2010 20:24:56 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Sysadmin]]></category>

		<guid isPermaLink="false">http://9thport.net/?p=701</guid>
		<description><![CDATA[I found that all my bash scripts really bennifet with the following template because:

it handles options with possible responses of needs
debugging with a flag
help description of the script

This template keeps proving to be enough to start my script building. There is really nothing more to say about this so here is my template:
#!/usr/bin/env bash


# created [...]]]></description>
			<content:encoded><![CDATA[<p>I found that all my bash scripts really bennifet with the following template because:</p>
<ol>
<li>it handles options with possible responses of needs</li>
<li>debugging with a flag</li>
<li>help description of the script</li>
</ol>
<p>This template keeps proving to be enough to start my script building. There is really nothing more to say about this so here is my template:</p>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">#!/usr/bin/env bash</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;"># created at: Wed Apr 04 10:03:41 PDT 2009</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;"># updated at: Wed Apr 22 15:33:24 PDT 2009</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;"># author: aaron addleman</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;"># manage subversion with swatch and ftp log file. all actions will be sent to a file for throttling purposes to allow SVN to handle its own lock files</span></div>
<div id="_mcePaste"></div>
<div># <span style="font-family: terminal, monaco;">BEGIN SCRIPT</span></div>
<div><span style="font-family: terminal, monaco;">usage()</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">{</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">cat &lt;&lt; EOF</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">usage: $0 options</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">This script takes commands from a swatch and converts to svn commands for a directory under version control.</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">OPTIONS:</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">-h      Show this message</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">-a	   Action needed (STOR, DELE, MKD, ENTRIES, SVNUPDATE)</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">-u      Username to use for commits</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">-f      File or directory being affected</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">-m      message to use</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">-x      Execute SVN commands from the $SVNACTIONS file</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">(when this option is used, all others are ignored)</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">-v      Verbose (boolean)</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">-t      Test (dont run any commands, but print them to the command line)</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">EOF</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">}</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">ACTION=</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">USER=</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">FILE=</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">MESSAGE=</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">VERBOSE=</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">TEST=</span></div>
<div id="_mcePaste"></div>
<div><span style="font-family: terminal, monaco;">while getopts "h a:u:f:m:x:v:t" OPTION</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">do</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">case $OPTION in</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">h)</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">usage</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">exit 1</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">;;</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">a)</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">ACTION=$OPTARG</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">;;</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">u)</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">USER=$OPTARG</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">;;</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">f)</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">FILE=$OPTARG</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">;;</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">m)</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">MESSAGE=$OPTARG</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">;;</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">v)</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">VERBOSE=1</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">;;</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">t)</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">TEST=1</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">;;</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">?)</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">usage</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">exit</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">;;</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">esac</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">done</span></div>
<div id="_mcePaste"></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
]]></content:encoded>
			<wfw:commentRss>http://9thport.net/archives/701/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Ubuntu now&#8230;</title>
		<link>http://9thport.net/archives/694</link>
		<comments>http://9thport.net/archives/694#comments</comments>
		<pubDate>Fri, 05 Feb 2010 03:05:59 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sysadmin]]></category>

		<guid isPermaLink="false">http://9thport.net/?p=694</guid>
		<description><![CDATA[I really like the Ubuntu operating system and the team that is making it. I hope to make it my personal development computer once I find a nice laptop to run it on.
]]></description>
			<content:encoded><![CDATA[<p>I really like the Ubuntu operating system and the team that is making it. I hope to make it my personal development computer once I find a nice laptop to run it on.</p>
<div id="attachment_695" class="wp-caption alignleft" style="width: 538px"><a href="http://9thport.net/wp-content/uploads/2010/02/Ubuntu-Install-Screen-shot-2010-02-04-at-7.01.04-PM.png"><img class="size-full wp-image-695 " title="Ubuntu Install Screen shot 2010-02-04 at 7.01.04 PM" src="http://9thport.net/wp-content/uploads/2010/02/Ubuntu-Install-Screen-shot-2010-02-04-at-7.01.04-PM.png" alt="Installing Ubunto 9.10 on VMWare" width="528" height="467" /></a><p class="wp-caption-text">Installing Ubunto 9.10 on VMWare</p></div>
<div id="attachment_698" class="wp-caption alignleft" style="width: 672px"><a href="http://9thport.net/wp-content/uploads/2010/02/Full-Screen-Terminal-Screen-shot-2010-02-04-at-7.31.42-PM1.png"><img class="size-full wp-image-698 " title="Full Screen Terminal Screen shot 2010-02-04 at 7.31.42 PM" src="http://9thport.net/wp-content/uploads/2010/02/Full-Screen-Terminal-Screen-shot-2010-02-04-at-7.31.42-PM1.png" alt="Full Screen Terminal Screen shot in Ubuntu while installing Ruby on Rails" width="662" height="568" /></a><p class="wp-caption-text">Full Screen Terminal Screen shot in Ubuntu while installing Ruby on Rails</p></div>
]]></content:encoded>
			<wfw:commentRss>http://9thport.net/archives/694/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RedHat Linux ACL report bash shell script</title>
		<link>http://9thport.net/archives/685</link>
		<comments>http://9thport.net/archives/685#comments</comments>
		<pubDate>Thu, 04 Feb 2010 07:12:58 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[Sysadmin]]></category>

		<guid isPermaLink="false">http://9thport.net/?p=685</guid>
		<description><![CDATA[Finally the day has arrived where I had to make a script to build an report for the access control list attributes on all of the files on my web server. I decided to use bash because it was easy for me to do and for compatibility of future releases of RedHat. I would have [...]]]></description>
			<content:encoded><![CDATA[<p>Finally the day has arrived where I had to make a script to build an report for the access control list attributes on all of the files on my web server. I decided to use bash because it was easy for me to do and for compatibility of future releases of RedHat. I would have much rather have done it in Python or Ruby, but ohwell. By no means is this script really complete. I have to admit that it needs better testing of the input arguments and the debugging messages are pretty bad. I wrote this script in under 1 hour. I will do better as time proceeds, but for now, it got the job done.</p>
<p>My script does the following:</p>
<ol>
<li>takes two arguments
<ol>
<li>the path to start looking for directories</li>
<li>the file name for the report</li>
</ol>
</li>
<li>builds a header with date and time of report</li>
<li>finds the users and groups and counts the amount of times they appear in the report for a summary</li>
<li>appends the full report of all the files with the ACL</li>
</ol>
<p>Ideas for the next version:</p>
<ol>
<li>Prompting of cleaning up world writable files</li>
<li>Storing ACL for each file into a database for tracking history</li>
<li>Do you have any ideas? If so, please let me know and maybe I will add them to the next version.</li>
</ol>
<ol></ol>
<p>And now, here is the script:</p>
<p>(for anyone who wishes to <a href="http://9thport.net/wp-content/uploads/2010/02/gen_acl_report.sh.zip">gen_acl_report.sh</a>)</p>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">#!/bin/bash</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div><span style="font-family: terminal, monaco;"># purpose: create ACL report on 1 level depth directories and output to text file report</span></div>
<div><span style="font-family: terminal, monaco;"># usage: ./gen_acl_report.sh start_path report</span></div>
<div><span style="font-family: terminal, monaco;"># the above command will generate a file called "report_20100203_YYYYMMDD_HHMMSS.txt"</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div><span style="font-family: terminal, monaco;"># created by: aaron</span></div>
<div><span style="font-family: terminal, monaco;"># created at: 20100203</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div><span style="font-family: terminal, monaco;"># debug flag</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG="on"</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;"># debug function</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">function DEBUG()</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">{</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">[ "$DEBUG" == "on" ] &amp;&amp; $@ || :</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">}</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;"># set path to find files</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">STARTPATH="$1"</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;"># set report output</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">REPORT="$2_`date +%Y%m_%H%M%S`.txt"</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;"># set temp report file</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">ACLFILELIST=/tmp/acl_file_list.txt</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "REPORT is = $REPORT"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "ACLFILELIST is = $ACLFILELIST"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "STARTPATH is = $STARTPATH"</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;"># build acl list</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">function reportHeader</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">{</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "...inside function reportHeader"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "ACL REPORT" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "Started on `date`" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "===================================" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "...end of function reportHeader"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">}</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">function getACL</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">{</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "...inside function getACL"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;"># find all files excluding .svn</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">#find $STARTPATH -path '*.svn' -prune -o -type f -exec getfacl {} \; &gt; $ACLFILELIST</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;"># find all top level directories</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "executing find $1"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">find $STARTPATH -maxdepth 1 -path '*\.svn' -prune -o -type d -exec getfacl {} \; &gt; $ACLFILELIST</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "...end of function getACL"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">}</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">function groupsSummary</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">{</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "...inside function groupsSummary"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "===================================" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "Group Summary:" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo " " &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">cat $ACLFILELIST | grep "^group:[a-zA-Z]" | sort | uniq -c &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo " " &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "Default Group Summary:" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo " " &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">cat $ACLFILELIST | grep "^default:group:[a-zA-Z]" | sort | uniq -c &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo " " &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "Users for each group:" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">for a in `cat $ACLFILELIST | grep "^group:[a-zA-Z]" | sort | awk -F: '{print $2}' | uniq`</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">do</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo $a &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">for g in `cat /etc/group | grep $a`</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">do</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo $g | awk -F: '{print "\t"$4}' &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">done</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">done</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo " " &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo " " &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "Users for each default group:" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">for a in `cat $ACLFILELIST | grep "^default:group:[a-zA-Z]" | sort | awk -F: '{print $3}' | uniq`</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">do</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo $a &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">for g in `cat /etc/group | grep $a`</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">do</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo $g | awk -F: '{print "\t"$4}' &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">done</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">done</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "===================================" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "...end of function groupsSummary"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">}</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">function usersSummary</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">{</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "...inside function usersSummary"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "===================================" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "User Summary:" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo " " &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">cat $ACLFILELIST | grep "^user:" | sort | uniq -c &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo " " &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "Default User Summary:" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo " " &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">cat $ACLFILELIST | grep "^default:user:" | sort | uniq -c &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo " " &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "===================================" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "...end of function usersSummary"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">}</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">function maskSummary</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">{</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "...inside function maskSummary"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "===================================" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "Mask Summary:" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo " " &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">cat $ACLFILELIST | grep "^mask:" | sort | uniq -c &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo " " &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "Default Mask Summary:" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo " " &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">cat $ACLFILELIST | grep "^default:mask:" | sort | uniq -c &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo " " &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "===================================" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "...end of function maskSummary"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">}</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">function findGroups</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">{</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "...finding list of groups"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">cat $ACLFILELIST | grep group:</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">}</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">function otherSummary</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">{</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "...inside function otherSummary"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "===================================" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "Other Summary:" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo " " &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">cat $ACLFILELIST | grep "^other:" | sort | uniq -c &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo " " &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "Default Other Summary:" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo " " &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">cat $ACLFILELIST | grep "^default:other:" | sort | uniq -c &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo " " &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "===================================" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "...end of function otherSummary"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">}</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">function listofFiles</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">{</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "...list of files"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "===================================" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "List of files" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">cat $ACLFILELIST | grep "# file: " &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "===================================" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "...end of list of files"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">}</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">function appendACL</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">{</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "...appending acl contents"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "===================================" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "ACL list of files" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">cat $ACLFILELIST &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">echo "===================================" &gt;&gt; $REPORT</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "...end of acl contents appending"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">}</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">function removeACL</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">{</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "...removing temp files for ACL"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">rm $ACLFILELIST</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">DEBUG echo "...removing temp files for ACL done"</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">}</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">reportHeader</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">getACL</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">groupsSummary</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">usersSummary</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">maskSummary</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">otherSummary</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">listofFiles</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">appendACL</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">findGroups</span></div>
<div><span style="font-family: terminal, monaco;"><br />
</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;">removeACL</span></div>
<div id="_mcePaste"><span style="font-family: terminal, monaco;"><br />
</span></div>
]]></content:encoded>
			<wfw:commentRss>http://9thport.net/archives/685/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple note taking and organization with TiddlyWiki</title>
		<link>http://9thport.net/archives/682</link>
		<comments>http://9thport.net/archives/682#comments</comments>
		<pubDate>Thu, 04 Feb 2010 07:00:12 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[Organization]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Travel]]></category>

		<guid isPermaLink="false">http://9thport.net/?p=682</guid>
		<description><![CDATA[I have really found TiddlyWiki to be of great help. I have been using them on a usb memory stick for a couple months now and have grown to like it for capturing data, links and other info.
My favorite things about the TiddlyWiki are:

Its all in one html file
Searching is fast
Composing a note is simple
Notes [...]]]></description>
			<content:encoded><![CDATA[<p>I have really found <a href="http://www.tiddlywiki.com/">TiddlyWiki</a> to be of great help. I have been using them on a usb memory stick for a couple months now and have grown to like it for capturing data, links and other info.</p>
<p>My favorite things about the TiddlyWiki are:</p>
<ol>
<li>Its all in one html file</li>
<li>Searching is fast</li>
<li>Composing a note is simple</li>
<li>Notes can have references
<ol>
<li>this makes for an option of opening all of the relative notes at one time (very cool)</li>
<li>linking notes together with out having to type specific info into the note itself</li>
</ol>
</li>
<li>Timeline shows what you have been working on recently</li>
<li>Orphans show unused notes</li>
</ol>
<p>I am sure there are plenty more benefits to using the <a href="http://www.tiddlywiki.com/">TiddleWiki</a> system. If you have any, please add them to the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://9thport.net/archives/682/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Luv Deluxe</title>
		<link>http://9thport.net/archives/680</link>
		<comments>http://9thport.net/archives/680#comments</comments>
		<pubDate>Fri, 29 Jan 2010 18:54:57 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://9thport.net/?p=680</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/dF32J2FDRrA&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/dF32J2FDRrA&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://9thport.net/archives/680/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>making apache modules load with better config while using a nice bash trick to parse with $IFS</title>
		<link>http://9thport.net/archives/678</link>
		<comments>http://9thport.net/archives/678#comments</comments>
		<pubDate>Fri, 15 Jan 2010 19:41:09 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[Sysadmin]]></category>

		<guid isPermaLink="false">http://9thport.net/?p=678</guid>
		<description><![CDATA[When keeping your Apache configuration clean, I like to use the Ubuntu example of loading all of the modules from includes by using:
Include ../mods-enabled/*.conf
Inside each of these .conf files is a line that loads the module like:
LoadModule dir_module /usr/lib/apache2/modules/mod_dir.so
I like this idea because then all of your settings for each module on a global level [...]]]></description>
			<content:encoded><![CDATA[<p>When keeping your Apache configuration clean, I like to use the Ubuntu example of loading all of the modules from includes by using:</p>
<p><span style="font-family: terminal,monaco;">Include ../mods-enabled/*.conf</span></p>
<p>Inside each of these .conf files is a line that loads the module like:</p>
<p><span style="font-family: terminal,monaco;">LoadModule dir_module /usr/lib/apache2/modules/mod_dir.so</span></p>
<p>I like this idea because then all of your settings for each module on a global level are very well organized. But when all of your LoadModule commands are in one configuration file like I had, it can be annoying to get them all into individual files. But I would like to share with you how I moved my LoadModule lines from a text file, to individual files with the bash shell:</p>
<p>First, you have to set your $IFS variable, then use the next line to break out the individual lines into their separate files:</p>
<p><span style="font-family: terminal,monaco;">IFS=$(echo -en "\n\b")</span></p>
<p><span style="font-family: terminal,monaco;">for a in `cat modlist`; do FILE=`echo $a | awk '{print $2'} | sed -e 's/_module/.load/g'`; echo "$a" &gt; $FILE; done</span></p>
]]></content:encoded>
			<wfw:commentRss>http://9thport.net/archives/678/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
