<?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>Tech Notes &#187; Config</title>
	<atom:link href="http://www.ryannitz.org/tech-notes/category/config/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ryannitz.org/tech-notes</link>
	<description>Miscellaneous technology examples and notes</description>
	<lastBuildDate>Mon, 10 Aug 2009 18:29:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<image>
  <link>http://www.ryannitz.org/tech-notes</link>
  <url>http://ryan-nitz/favicon.ico</url>
  <title>Tech Notes</title>
</image>
		<item>
		<title>Git Ignore Untracked Files</title>
		<link>http://www.ryannitz.org/tech-notes/2009/08/04/git-ignore-untracked-files/</link>
		<comments>http://www.ryannitz.org/tech-notes/2009/08/04/git-ignore-untracked-files/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 00:47:24 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Config]]></category>
		<category><![CDATA[Git]]></category>

		<guid isPermaLink="false">http://ryan-nitz.com/tech-notes/?p=195</guid>
		<description><![CDATA[If you do not want to see Git messages about build directories or miscellaneous scratch files then add them to your .gitignore file. To do so, create the file, add the directories/files and then add the file to git. E.g. touch .gitignore Edit the file to suit your needs and then add/commit. git add .gitignore [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-145" title="git-logo" src="http://ryan-nitz.com/tech-notes/wp-content/uploads/2009/02/git-logo.png" alt="git-logo" width="73" height="28" /></p>
<p>If you do not want to see Git messages about build directories or miscellaneous scratch files then add them to your .gitignore file. To do so, create the file, add the directories/files and then add the file to git.</p>
<p>E.g.</p>
<pre>touch .gitignore</pre>
<p>Edit the file to suit your needs and then add/commit.</p>
<pre>
git add .gitignore
git commit .gitignore
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ryannitz.org/tech-notes/2009/08/04/git-ignore-untracked-files/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Chkconfig Notes</title>
		<link>http://www.ryannitz.org/tech-notes/2009/07/10/chkconfig-notes/</link>
		<comments>http://www.ryannitz.org/tech-notes/2009/07/10/chkconfig-notes/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 02:26:32 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Config]]></category>
		<category><![CDATA[chkconfig]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://ryan-nitz.com/tech-notes/?p=175</guid>
		<description><![CDATA[Chkconfig is a simple utility available on Linux that allows you to register services to start/stop on bootup and shutdown. The following are the basic commands you need to know to get things going: chkconfig --list (lists all the commands that are registered) chkconfig --add httpd (add httpd to the chkconfig list) chkconfig  --level 35 [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-42" title="linux" src="http://ryan-nitz.com/tech-notes/wp-content/uploads/2008/08/linux.jpeg" alt="linux" width="113" height="124" /></p>
<p><a href="http://linuxcommand.org/man_pages/chkconfig8.html" target="_blank">Chkconfig</a> is a simple utility available on Linux that allows you to register services to start/stop on bootup and shutdown. The following are the basic commands you need to know to get things going:</p>
<pre>chkconfig --list (lists all the commands that are registered)
chkconfig --add httpd (add httpd to the chkconfig list)
chkconfig  --level 35 httpd on (enables the httpd daemon to start on <a href="http://en.wikipedia.org/wiki/Runlevel" target="_blank">runlevels</a> 3 and 5)
chkconfig --level 35 mysqld on (enables the mysqld daemon to start on runlevels 3 and 5)
chkconfig --level 35 memcached on (enables the memcached daemon to start on runlevels 3 and 5)
chkconfig --level 2345 sendmail on (enabled the sendmail daemon to start on runlevels 2, 3, 4 and 5)</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ryannitz.org/tech-notes/2009/07/10/chkconfig-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OS X &#8211; Remove Glass Dock</title>
		<link>http://www.ryannitz.org/tech-notes/2009/06/05/os-x-remove-glass-dock/</link>
		<comments>http://www.ryannitz.org/tech-notes/2009/06/05/os-x-remove-glass-dock/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 18:12:14 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Config]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[dock]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://leisuremech.com/?p=160</guid>
		<description><![CDATA[When running OS X Leopard, many people are annoyed by the glass dock provided by default. There are serveral applications that can be downloaded to remove this but we found a very easy way of removing the glass dock. In a shell type: defaults write com.apple.dock no-glass -boolean YES Next, it is time to remove [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-137" title="apple_logo" src="http://ryan-nitz.com/tech-notes/wp-content/uploads/2009/02/apple_logo.jpg" alt="apple_logo" width="128" height="150" /></p>
<p>When running <a href="http://en.wikipedia.org/wiki/Mac_OS_X_v10.5" target="_blank">OS X Leopard</a>, many people are annoyed by the glass <a href="http://en.wikipedia.org/wiki/Mac_OS_X_Dock" target="_blank">dock</a> provided by default. There are serveral applications that can be downloaded to remove this but we found a very easy way of removing the glass dock. In a shell type:</p>
<pre>defaults write com.apple.dock no-glass -boolean YES</pre>
<p>Next, it is time to remove a couple of files. Type the following:</p>
<pre>cd /System/Library/CoreServices/Dock.app/Contents/Resources</pre>
<p>Delete the glass dock images by typing:</p>
<pre>sudo rm -Rf bottom*.png</pre>
<p>Now it is time to restart your dock:</p>
<pre>killall Dock</pre>
<p>That is all!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryannitz.org/tech-notes/2009/06/05/os-x-remove-glass-dock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable iPhoto When Connecting iPhone</title>
		<link>http://www.ryannitz.org/tech-notes/2009/02/06/disable-iphoto-plugging-iphone/</link>
		<comments>http://www.ryannitz.org/tech-notes/2009/02/06/disable-iphoto-plugging-iphone/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 18:06:50 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Config]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[iPhoto]]></category>

		<guid isPermaLink="false">http://leisuremech.com/?p=136</guid>
		<description><![CDATA[One of the more annoying features of OS X is that iPhoto automatically launches when you connect your iPhone. Apple is trying to make importing photos as easy as possible so the camera in the iPhone triggers the launching of iPhoto when connect your device. Follow the steps below to disable this feature: Open the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-137" title="apple_logo" src="http://ryan-nitz.com/tech-notes/wp-content/uploads/2009/02/apple_logo.jpg" alt="apple_logo" width="128" height="150" /></p>
<p>One of the more annoying features of OS X is that iPhoto automatically launches when you connect your iPhone. Apple is trying to make importing photos as easy as possible so the camera in the iPhone triggers the launching of iPhoto when connect your device. Follow the steps below to disable this feature:</p>
<ul>
<li>Open the Image Capture application in your Applications folder</li>
</ul>
<ul>
<li>Click Image Capture and then Preferences in the top application navigation</li>
</ul>
<ul>
<li>In the drop-down select &#8220;No application&#8221; for, &#8220;When a camera is connected, open.&#8221;</li>
</ul>
<p>The following screenshot shows the Image Capture Preferences dialog:</p>
<h1><img class="alignnone size-full wp-image-139" title="image_capture_pref1" src="http://ryan-nitz.com/tech-notes/wp-content/uploads/2009/02/image_capture_pref1.png" alt="image_capture_pref1" width="514" height="225" /></h1>
]]></content:encoded>
			<wfw:commentRss>http://www.ryannitz.org/tech-notes/2009/02/06/disable-iphoto-plugging-iphone/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>SVN Property Edit &#8211; Ignore</title>
		<link>http://www.ryannitz.org/tech-notes/2008/09/27/svn-property-edit-ignore/</link>
		<comments>http://www.ryannitz.org/tech-notes/2008/09/27/svn-property-edit-ignore/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 17:27:09 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Config]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://leisuremech.com/?p=56</guid>
		<description><![CDATA[If you have a list of files in a source repository that you would like SVN to ignore you can specify them by issuing the following command: svn propedit svn:ignore . This command pushes you to an editor window where you simply add the files/directories you would like to exclude from the repository. Once dirctories [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ryan-nitz.com/tech-notes/wp-content/uploads/2008/09/subversion_logo_hor-468x64-300x41.png"><img class="alignnone size-medium wp-image-57" title="subversion_logo_hor-468x64-300x41" src="http://ryan-nitz.com/tech-notes/wp-content/uploads/2008/09/subversion_logo_hor-468x64-300x41.png" alt="" width="300" height="41" /></a></p>
<p>If you have a list of files in a source repository that you would like <a href="http://subversion.tigris.org/" target="_blank">SVN</a> to ignore you can specify them by issuing the following command:</p>
<pre>svn propedit svn:ignore .</pre>
<p>This command pushes you to an editor window where you simply add the files/directories you would like to exclude from the repository.</p>
<p>Once dirctories have been added, you&#8217;ll no longer seem them flagged when you type:</p>
<pre>svn status</pre>
<p>Typically, people tend to add their build directory and similar temporary files/directories.</p>
<p>Don&#8217;t forget to commit your changes:</p>
<pre>svn commit .</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ryannitz.org/tech-notes/2008/09/27/svn-property-edit-ignore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure Linux Hostname</title>
		<link>http://www.ryannitz.org/tech-notes/2008/08/07/configure-linux-hostname/</link>
		<comments>http://www.ryannitz.org/tech-notes/2008/08/07/configure-linux-hostname/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 00:13:45 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Config]]></category>
		<category><![CDATA[Configure]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Hostname]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://leisuremech.com/?p=44</guid>
		<description><![CDATA[If you want to change your Linux hostname and you&#8217;re running Fedora or Red Hat, the steps are listed below. Immediate Change echo 'some.host.com' &#62; /proc/sys/kernel/hostname Persisted Change This is for non-DHCP nodes. Add your name to /etc/sysconfig/network NETWORKING=yes HOSTNAME="some.host.com" If you&#8217;re node gets an IP address from a DHCP server then you can set: [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ryan-nitz.com/tech-notes/wp-content/uploads/2008/08/fedora.jpg"><img class="alignnone size-thumbnail wp-image-49" title="fedora" src="http://leisuremech.com/wp-content/uploads/2008/08/fedora-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>If you want to change your Linux <a href="http://en.wikipedia.org/wiki/Hostname" target="_blank">hostname</a> and you&#8217;re running <a href="http://fedoraproject.org/" target="_blank">Fedora</a> or Red Hat, the steps are listed below.</p>
<h3>Immediate Change</h3>
<pre>echo 'some.host.com' &gt; /proc/sys/kernel/hostname</pre>
<h3>Persisted Change</h3>
<p>This is for non-DHCP nodes.</p>
<p>Add your name to /etc/sysconfig/network</p>
<pre>NETWORKING=yes
HOSTNAME="some.host.com"</pre>
<p>If you&#8217;re node gets an IP address from a <a href="http://en.wikipedia.org/wiki/Dhcp" target="_blank">DHCP</a> server then you can set:</p>
<pre>DHCP_HOSTNAME="some.host.com"</pre>
<p>in the /etc/sysconfig/network-scripts/ifcfg-eth0 file (or whatever your primary device is).</p>
<h3>Notes</h3>
<p>You can also add your hostname to your /etc/hosts file</p>
<pre>10.1.1.10 some.host.com some</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ryannitz.org/tech-notes/2008/08/07/configure-linux-hostname/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable SVN Keyword Properties</title>
		<link>http://www.ryannitz.org/tech-notes/2008/06/15/enable-svn-keyword-properties/</link>
		<comments>http://www.ryannitz.org/tech-notes/2008/06/15/enable-svn-keyword-properties/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 18:26:33 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Config]]></category>
		<category><![CDATA[keyword]]></category>
		<category><![CDATA[replace]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://leisuremech.com/?p=11</guid>
		<description><![CDATA[If you would like SVN to replace keywords and it&#8217;s not enabled by default then execute: svn propset svn:keywords Id FILE_NAME E.g., svn propset svn:keywords Id Test.java In your source file you need to add: &#8220;$Id&#8221;. E.g. /** * Test class. * @author John Smith * @version $Id$ */ public class Test { After you [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ryan-nitz.com/tech-notes/wp-content/uploads/2008/06/subversion_logo_hor-468x64.png"><img class="alignnone size-medium wp-image-17" title="subversion_logo_hor-468x64" src="http://leisuremech.com/wp-content/uploads/2008/06/subversion_logo_hor-468x64-300x41.png" alt="" width="300" height="41" /></a></p>
<p>If you would like SVN to replace keywords and it&#8217;s not enabled by default then execute:</p>
<p>svn propset svn:keywords Id FILE_NAME</p>
<p>E.g.,</p>
<p>svn propset svn:keywords Id Test.java</p>
<p>In your source file you need to add: &#8220;$Id&#8221;.</p>
<p>E.g.</p>
<pre>/**
* Test class.
* @author John Smith
* @version $Id$
*/
public class Test {</pre>
<p>After you commit the file, it will look something like:</p>
<pre>/**
* Test class.
* @author John Smith
* @version $Id: build.xml 10 2008-06-15 18:12:42Z john $
*/
public class Test {</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ryannitz.org/tech-notes/2008/06/15/enable-svn-keyword-properties/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP and UTF-8</title>
		<link>http://www.ryannitz.org/tech-notes/2008/05/03/php-and-utf-8/</link>
		<comments>http://www.ryannitz.org/tech-notes/2008/05/03/php-and-utf-8/#comments</comments>
		<pubDate>Sat, 03 May 2008 21:04:42 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Config]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[utf-8]]></category>

		<guid isPermaLink="false">http://leisuremech.com/?p=9</guid>
		<description><![CDATA[Configuration settings for UTF-8 support in PHP. http://www.nicknettleton.com/zine/php/php-utf-8-cheatsheet mbstring.language = Neutral ; Set default language to Neutral(UTF-8) (default) mbstring.internal_encoding = UTF-8 ; Set default internal encoding to UTF-8 mbstring.encoding_translation = On ; HTTP input encoding translation is enabled mbstring.http_input = auto ; Set HTTP input character set dectection to auto mbstring.http_output = UTF-8 ; Set [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ryan-nitz.com/tech-notes/wp-content/uploads/2008/05/php.gif"><img class="alignnone size-full wp-image-10" title="php" src="http://ryan-nitz.com/tech-notes/wp-content/uploads/2008/05/php.gif" alt="" width="120" height="67" /></a></p>
<p>Configuration settings for <a href="http://en.wikipedia.org/wiki/UTF-8" target="_blank">UTF-8</a> support in <a href="http://www.php.net/" target="_blank">PHP</a><a href="http://en.wikipedia.org/wiki/UTF-8" target="_blank"></a>.<a href="http://www.nicknettleton.com/zine/php/php-utf-8-cheatsheet" target="_blank"><br />
</a></p>
<p><a href="http://www.nicknettleton.com/zine/php/php-utf-8-cheatsheet" target="_blank">http://www.nicknettleton.com/zine/php/php-utf-8-cheatsheet<br />
</a></p>
<pre>mbstring.language		= Neutral	; Set default language to Neutral(UTF-8) (default)
mbstring.internal_encoding	= UTF-8		; Set default internal encoding to UTF-8
mbstring.encoding_translation	= On		;  HTTP input encoding translation is enabled
mbstring.http_input		= auto		; Set HTTP input character set dectection to auto
mbstring.http_output		= UTF-8		; Set HTTP output encoding to UTF-8
mbstring.detect_order		= auto		; Set default character encoding detection order to auto
mbstring.substitute_character	= none		; Do not print invalid characters
default_charset			= UTF-8		; Default character set for auto content type header</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ryannitz.org/tech-notes/2008/05/03/php-and-utf-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
