<?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>tomcook.net &#187; Work</title>
	<atom:link href="http://tomcook.net/wp/blog/category/work/feed/" rel="self" type="application/rss+xml" />
	<link>http://tomcook.net/wp</link>
	<description>The Cook Family Blog</description>
	<lastBuildDate>Mon, 23 Sep 2019 01:51:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Basement</title>
		<link>http://tomcook.net/wp/blog/2011/01/06/basement/</link>
		<comments>http://tomcook.net/wp/blog/2011/01/06/basement/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 19:27:28 +0000</pubDate>
		<dc:creator>Thomas Cook</dc:creator>
				<category><![CDATA[House]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Sewing]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[basement]]></category>
		<category><![CDATA[rennovation]]></category>

		<guid isPermaLink="false">http://tomcook.net/wp/?p=1695</guid>
		<description><![CDATA[I am getting close to wrapping up work on our basement. We can&#8217;t wait to have a new sewing/craft, family, play space. Right now it seems so big, but once we are able to move in I am sure it &#8230; <a href="http://tomcook.net/wp/blog/2011/01/06/basement/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I am getting close to wrapping up work on our basement. We can&#8217;t wait to have a new sewing/craft, family, play space. Right now it seems so big, but once we are able to move in I am sure it will fill up and seem small.</p>
<p>The current status is almost ready to paint. It was primed last week and last night I did a second round of checking/mudding flaws. Tomorrow I plan to sand the new areas and hopefully prime them. I may even get to paint this weekend, then on to doors and trim. I have been pretty bad about taking pictures along the way, but when it is done I will post the ones I have.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomcook.net/wp/blog/2011/01/06/basement/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>radmind scripts</title>
		<link>http://tomcook.net/wp/blog/2006/08/08/radmind-scripts-2/</link>
		<comments>http://tomcook.net/wp/blog/2006/08/08/radmind-scripts-2/#comments</comments>
		<pubDate>Tue, 08 Aug 2006 11:53:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://tomcook.net/wp/blog/2006/08/08/radmind-scripts-2/</guid>
		<description><![CDATA[Today I had a heck of a time finding a good script that will automatically run radmind. I looked all over and found lots of scripts that had tons of bells and whistles, but nothing that was nice clean and &#8230; <a href="http://tomcook.net/wp/blog/2006/08/08/radmind-scripts-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today I had a heck of a time finding a good script that will automatically run <a href="http://radmind.org" target=_blank>radmind</a>. I looked all over and found lots of scripts that had tons of bells and whistles, but nothing that was nice clean and simple. I had to go back and find the one that I had been using at <a href="http://emich.edu" target=_blank>EMU</a> back when I implemented radmind in the labs there. </p>
<p> Read more for the script.The Script</p>
<p> <i><br /> #!/bin/bash<br /> ###<br /> # radmind-image.sh:<br /> # A script to run the radmind client tools to update a machine. <br /> # Handles several types of output. Inspired by the logout.hook <br /> # Bourne shell script supplied with the iHook tools.<br /> # See http://rsug.itd.umich.edu/software/ for details about both <br /> # iHook and radmind.<br /> # author:<br /> # nathan hruby <nathan@drama.uga.edu><br /> # date:<br /> # April 22, 2003<br /> # version:<br /> # 0.7<br /> # requires:<br /> # radmind, &#123;ba&#125;sh<br /> # optional:<br /> # ConsoleMessage, iHook<br /> # TODO:<br /> # &#8211; put all programs in varaibles for easier tuning (eg: -w flag support)<br /> # &#8211; flexible output messages<br /> # &#8211; Do we need a config file?<br /> # &#8211; better documentation<br /> # Quick HOWTO:<br /> # Edit this file for your environemnt, if using SSL in radmind, <br /> # you&apos;ll need to edit the functions directly to add the -w flag for <br /> # your environment. Once done, you can use this as a logout hook, <br /> # iHook hook, or startupItem by wrapping it in another simple shell <br /> # script with the needed flags. Run this script with the -h flag <br /> # for a rundown of what flag does what.<br /> ###</p>
<p> export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/libexec<br /> ME=`basename $0`<br /> HOST=`hostname`</p>
<p> # Enter the address of your radmind server<br /> SERVER=radmind.example.edu</p>
<p> # Enter the default hash you use with radmind<br /> HASH=sha1</p>
<p> # These are the different fsdiff commands, you shouldn&apos;t need to fiddle<br /> FSDIFF=&#8221;fsdiff&#8221;<br /> CK_FSDIFF=&#8221;fsdiff -c $HASH&#8221;</p>
<p> # Where to start fsdiff in the filetree<br /> # DO NOT CHANGE unless you know what you&apos;re doing! <br /> DIFF_PATH=/</p>
<p> # Where the radmind client files live<br /> RADMIND_CLIENT_DIR=/var/radmind/client</p>
<p> # the following block makes a temp file for fsdiff securely<br /> DIFF_FILE=`mktemp /tmp/fsdiff.T.XXXXXX`<br /> if [ $? -ne 0 ]; then<br /> echo &#8220;$ME: could not create diff file&#8221;<br /> exit 1<br /> fi</p>
<p> # This is the number of changes fsdiff found<br /> DELTA=&#8221;0&#8243;</p>
<p> # Maximum number of times you want to loop though ktcheck/fsdiff/lapply<br /> MAX_LAPPLY_LOOPS=5</p>
<p> # the path to an image file to use for iHook&apos;s background<br /> IHOOK_BACKGROUND=&#8221;none&#8221;</p>
<p> # DEFAULT: Speedy tells us to either use checksumming or not with fsdiff<br /> SPEEDY=&#8221;no&#8221;</p>
<p> # DEFAULT: Should we run a ktcheck?<br /> DO_KTCHECK=&#8221;yes&#8221;</p>
<p> # Should we console message?<br /> USE_CONSOLE_MESSAGE=&#8221;no&#8221;</p>
<p> # DEFAULT: use iHook % vocab<br /> USE_IHOOK=&#8221;no&#8221;</p>
<p> # DEFAULT: Reboot the machine when complete?<br /> REBOOT=&#8221;yes&#8221;</p>
<p> ####<br /> # You should not need to change anything below this line<br /> ####</p>
<p> function say() &#123;<br /> if [ $USE_CONSOLE_MESSAGE = "yes" ]; then<br /> ConsoleMessage &#8220;$1&#8243;<br /> else<br /> echo &#8220;$1&#8243;<br /> fi<br /> &#125;</p>
<p> function isay() &#123;<br /> if [ $USE_CONSOLE_MESSAGE = "no" ]; then<br /> if [ $USE_IHOOK = "yes" ]; then<br /> echo &#8220;$1&#8243;<br /> fi<br /> fi<br /> &#125;</p>
<p> function ipause() &#123;<br /> if [ $USE_CONSOLE_MESSAGE = "no" ]; then<br /> if [ $USE_IHOOK = "yes" ]; then<br /> sleep 2<br /> fi<br /> fi<br /> &#125;</p>
<p> function bail() &#123;<br /> say &#8220;$ME: ERROR: $1&#8243;<br /> if [ $USE_IHOOK = "yes" ]; then<br /> sleep 2<br /> fi<br /> exit 1<br /> &#125;</p>
<p> function do_ktcheck() &#123;<br /> if [ $DO_KTCHECK = "yes" ]; then<br /> say &#8220;Removing old command and transcript files&#8230;&#8221;<br /> rm -f $RADMIND_CLIENT_DIR/*T<br /> say &#8220;Done!&#8221;<br /> say &#8220;Updating Command and transcript files&#8230;&#8221;<br /> ktcheck -c $HASH -h $SERVER 1>&amp;2<br /> if [ $? -gt 1 ]; then<br /> bail &#8220;ACK.. ktcheck failed for $SERVER&#8221;<br /> else<br /> say &#8220;Done!&#8221;<br /> fi<br /> else<br /> say &#8220;Update of command files skipped (clearly you&apos;re not worthy)&#8221;<br /> ipause<br /> fi<br /> isay &#8220;%10&#8243;</p>
<p> &#125;</p>
<p> function do_fsdiff() &#123;<br /> if [ $SPEEDY = "yes" ]; then<br /> say &#8220;Generating filesystem diff. Please wait.&#8221;<br /> $FSDIFF -A $DIFF_PATH > $DIFF_FILE<br /> else<br /> /Library/Management/log_update<br /> say &#8220;Generating filesystem diff with checksum. Go get coffee.&#8221;<br /> $CK_FSDIFF -A $DIFF_PATH > $DIFF_FILE<br /> fi</p>
<p> if [ $? -ne 0 ]; then<br /> bail &#8220;fsdiff died!&#8221;<br /> else<br /> DELTA=`wc -l < $DIFF_FILE &#124; tr -d [:blank:]`<br /> fi</p>
<p> isay &#8220;%60&#8243;<br /> &#125;</p>
<p> function do_lapply() &#123;<br /> say &#8220;Resolving $DELTA discovered changes to orginal state&#8221; <br /> lapply -c $HASH -h $SERVER -F $DIFF_FILE 1>&amp;2 <br /> if [ $? -eq 1 ]; then <br /> bail &#8220;network lapply died&#8221;<br /> fi<br /> &#125;</p>
<p> function printhelp() &#123;<br /> echo usage: `basename $0` [-s] [-k] [-c] [-i] [-r]<br /> echo usage: `basename $0` -h<br /> echo Options are as Follows:<br /> echo &#8220;-s Perform fsdiff without using checksumming (speedier)&#8221;<br /> echo &#8220;-k Update the command files using ktcheck&#8221;<br /> echo &#8220;-c Output messages using ConsoleMessage instead of echo&#8221;<br /> echo &#8220;-i Output addtional iHook Status Messages&#8221;<br /> echo &#8220;-r Reboot this machine when finished if all goes well&#8221;<br /> echo &#8220;-h Print this help (ignores -c flag, always echos)&#8221;<br /> echo &#8220;&#8221;<br /> exit 0<br /> &#125;</p>
<p> function report_alert() &#123;<br /> logger -i -t $ME &#8220;ALERT: $HOST did not finish a image run completely!&#8221;<br /> &#125;</p>
<p> while getopts &#8220;:skcirh&#8221; Option<br /> do<br /> case $Option in<br /> s)<br /> SPEEDY=&#8221;yes&#8221;;;<br /> k)<br /> DO_KTCHECK=&#8221;yes&#8221;;;<br /> c)<br /> USE_CONSOLE_MESSAGE=&#8221;yes&#8221;;;<br /> i)<br /> USE_IHOOK=&#8221;yes&#8221;;;<br /> r)<br /> REBOOT=&#8221;yes&#8221;;;<br /> h) <br /> printhelp;;<br /> *) <br /> nothing;;<br /> esac<br /> done<br /> shift $(($OPTIND &#8211; 1)) </p>
<p> if [ $IHOOK_BACKGROUND != "none" ]; then<br /> isay &#8220;%$IHOOK_BACKGROUND&#8221;<br /> fi</p>
<p> isay &#8220;%0&#8243;</p>
<p> say &#8220;&#8212;-==>> Now imaging this client with Radmind! <<==----"</p>
<p> if [ -f /var/db/.DoNotRadmind ]; then<br /> say &#8220;Radmind run skipped due to client configuration&#8221;<br /> exit 0<br /> fi</p>
<p> CURR_LAPPLY=0<br /> while [ $CURR_LAPPLY -lt $MAX_LAPPLY_LOOPS ]; do<br /> do_ktcheck<br /> do_fsdiff<br /> do_lapply<br /> # Here&apos;s a bit of trickery, lapply will output one of three return codes<br /> # 0 = All went well, I&apos;m finished<br /> # 1 = Something happened and I consider it it fatal, goodbye<br /> # >2 = Something happened, but I modified the system, you should try again<br /> #<br /> # The do_lapply will catch a return of 1 and bail, so all we need to do is <br /> # look for a return of 0. If we don&apos;t get that we&apos;ll simply up out <br /> # counter and try again, the loop will break us when we hit our <br /> # MAX_LAPPLY_LOOPS. Note that we&apos;re depending on $? having the correct <br /> # infomation at the end of the loop, please be sure not to not modify <br /> # the above mentioned functions unless you&apos;re aware of what $? is doing.<br /> if [ $? -eq 0 ]; then<br /> break<br /> else<br /> CURR_LAPPLY=`expr $CURR_LAPPLY + 1`<br /> fi<br /> done</p>
<p> if [ $CURR_LAPPLY = $MAX_LAPPLY_LOOPS ]; then<br /> say &#8220;YIPES! We&apos;ve encountered a problem!&#8221;<br /> ipause<br /> say &#8220;Drive is in a semi-restored state!&#8221;<br /> ipause<br /> report_alert<br /> bail &#8220;Exiting, please alert someone!&#8221;<br /> fi</p>
<p> isay &#8220;%100&#8243;</p>
<p> say &#8220;&#8212;-==>> Imaging of this client is complete! <<==----"</p>
<p> if [ $REBOOT = "yes" ]; then<br /> say &#8220;Now rebooting this machine&#8230;. g&apos;bye!&#8221;<br /> /sbin/reboot<br /> else <br /> ipause<br /> exit 0<br /> fi<br /> </i></p>
]]></content:encoded>
			<wfw:commentRss>http://tomcook.net/wp/blog/2006/08/08/radmind-scripts-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Diverse workplace</title>
		<link>http://tomcook.net/wp/blog/2006/07/21/diverse-workplace-2/</link>
		<comments>http://tomcook.net/wp/blog/2006/07/21/diverse-workplace-2/#comments</comments>
		<pubDate>Fri, 21 Jul 2006 08:07:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://tomcook.net/wp/blog/2006/07/21/diverse-workplace-2/</guid>
		<description><![CDATA[Sues&apos; friend Dean stopped by a while back and took this picture. It accentuates the diversity of our office: short and tall.]]></description>
			<content:encoded><![CDATA[<p>Sues&apos; friend Dean stopped by a while back and took this picture. It accentuates the diversity of our office: short and tall.<br /> <%image(20060721-diversity.jpg&#124;300&#124;225&#124;Diversity)%></p>
]]></content:encoded>
			<wfw:commentRss>http://tomcook.net/wp/blog/2006/07/21/diverse-workplace-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More on our hacker</title>
		<link>http://tomcook.net/wp/blog/2006/05/23/more-on-our-hacker-2/</link>
		<comments>http://tomcook.net/wp/blog/2006/05/23/more-on-our-hacker-2/#comments</comments>
		<pubDate>Tue, 23 May 2006 09:49:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://tomcook.net/wp/blog/2006/05/23/more-on-our-hacker-2/</guid>
		<description><![CDATA[I was on Channel 4 news yesterday. Check out the movie.]]></description>
			<content:encoded><![CDATA[<p>I was on Channel 4 news yesterday. Check out <a href="http://tomcook.net/interview.mov" target=_blank>the movie</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomcook.net/wp/blog/2006/05/23/more-on-our-hacker-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hacker Info</title>
		<link>http://tomcook.net/wp/blog/2006/05/22/hacker-info-2/</link>
		<comments>http://tomcook.net/wp/blog/2006/05/22/hacker-info-2/#comments</comments>
		<pubDate>Mon, 22 May 2006 13:18:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://tomcook.net/wp/blog/2006/05/22/hacker-info-2/</guid>
		<description><![CDATA[At work we caught a student who had been taking the network down. It made the paper.]]></description>
			<content:encoded><![CDATA[<p>At work we caught a student who had been taking the network down. <a href="http://hometownlife.com/apps/pbcs.dll/article?AID=/20060521/NEWS24/605210379/1041">It made the paper. </a></p>
<p> <%media(20060522-hacker.pdf&#124;PDF Version)%></p>
]]></content:encoded>
			<wfw:commentRss>http://tomcook.net/wp/blog/2006/05/22/hacker-info-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>been 4 years</title>
		<link>http://tomcook.net/wp/blog/2004/12/04/been-4-years-2/</link>
		<comments>http://tomcook.net/wp/blog/2004/12/04/been-4-years-2/#comments</comments>
		<pubDate>Sat, 04 Dec 2004 17:17:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://tomcook.net/wp/blog/2004/12/04/been-4-years-2/</guid>
		<description><![CDATA[In a couple weeks it will be 4 years that I have worked at the labs. It&apos;s time to move on since I will no longer be a student. I am also training Joe and Rob how to keep the &#8230; <a href="http://tomcook.net/wp/blog/2004/12/04/been-4-years-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In a couple weeks it will be 4 years that I have worked at the labs. It&apos;s time to move on since I will no longer be a student. I am also training Joe and Rob how to keep the labs running. That will be fun!!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://tomcook.net/wp/blog/2004/12/04/been-4-years-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Studpid directory access</title>
		<link>http://tomcook.net/wp/blog/2004/09/30/studpid-directory-access-2/</link>
		<comments>http://tomcook.net/wp/blog/2004/09/30/studpid-directory-access-2/#comments</comments>
		<pubDate>Thu, 30 Sep 2004 08:45:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://tomcook.net/wp/blog/2004/09/30/studpid-directory-access-2/</guid>
		<description><![CDATA[So I am having some LDAP authentication issues at work. Most people can login, but there are a couple (myself included) that cannot login to the macs. Works fine on the PC&apos;s and my.emich, but not through LDAP. Aric, Scott, &#8230; <a href="http://tomcook.net/wp/blog/2004/09/30/studpid-directory-access-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So I am having some LDAP authentication issues at work. Most people can login, but there are a couple (myself included) that cannot login to the macs. Works fine on the PC&apos;s and my.emich, but not through LDAP. Aric, Scott, and I are all stumped&#8230;.stupid computers.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomcook.net/wp/blog/2004/09/30/studpid-directory-access-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New macs in the Lab</title>
		<link>http://tomcook.net/wp/blog/2004/08/02/new-macs-in-the-lab-2/</link>
		<comments>http://tomcook.net/wp/blog/2004/08/02/new-macs-in-the-lab-2/#comments</comments>
		<pubDate>Mon, 02 Aug 2004 14:06:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://tomcook.net/wp/blog/2004/08/02/new-macs-in-the-lab-2/</guid>
		<description><![CDATA[Last week I got 16 new eMacs for the MDB Computing Commons and deployed them. It&apos;s about time, the macs they replaced are about 6-7 years old.]]></description>
			<content:encoded><![CDATA[<p>Last week I got 16 new eMacs for the MDB Computing Commons and deployed them. It&apos;s about time, the macs they replaced are about 6-7 years old.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomcook.net/wp/blog/2004/08/02/new-macs-in-the-lab-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Early Morning</title>
		<link>http://tomcook.net/wp/blog/2004/06/02/early-morning-3/</link>
		<comments>http://tomcook.net/wp/blog/2004/06/02/early-morning-3/#comments</comments>
		<pubDate>Wed, 02 Jun 2004 08:24:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://tomcook.net/wp/blog/2004/06/02/early-morning-3/</guid>
		<description><![CDATA[Had to get up at 4am today to do some work for Quest Productions. Then I am working a full 8 hours at EMU, so it might be a long day.]]></description>
			<content:encoded><![CDATA[<p>Had to get up at 4am today to do some work for <a href="http://quest-productions.com" target="_blank">Quest Productions</a>. Then I am working a full 8 hours at EMU, so it might be a long day.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomcook.net/wp/blog/2004/06/02/early-morning-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clean&#8230;er office</title>
		<link>http://tomcook.net/wp/blog/2004/05/10/clean-er-office-2/</link>
		<comments>http://tomcook.net/wp/blog/2004/05/10/clean-er-office-2/#comments</comments>
		<pubDate>Mon, 10 May 2004 13:01:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://tomcook.net/wp/blog/2004/05/10/clean-er-office-2/</guid>
		<description><![CDATA[So today I moved Kevin&apos;s Stuff out of the office. He is graduated now and no longer works with me so the office now has 5 less computers, and much more room. I also have an office to myself because &#8230; <a href="http://tomcook.net/wp/blog/2004/05/10/clean-er-office-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So today I moved Kevin&apos;s Stuff out of the office. He is graduated now and no longer works with me so the office now has 5 less computers, and much more room. I also have an office to myself because I am the coolest.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomcook.net/wp/blog/2004/05/10/clean-er-office-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
