<?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>Matt Slay, PhC</title>
	<atom:link href="http://mattslay.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mattslay.com</link>
	<description>Doctor of Code</description>
	<lastBuildDate>Tue, 19 Mar 2013 14:19:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Copper, Brass, and Bronze alloys &#8211; technical reference resources</title>
		<link>http://mattslay.com/copper-brass-and-bronze-alloys-technical-reference-resources/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=copper-brass-and-bronze-alloys-technical-reference-resources</link>
		<comments>http://mattslay.com/copper-brass-and-bronze-alloys-technical-reference-resources/#comments</comments>
		<pubDate>Fri, 01 Feb 2013 20:55:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Manufacturing]]></category>

		<guid isPermaLink="false">http://mattslay.com/?p=696</guid>
		<description><![CDATA[Here in one great resource I found for technical details of copper, brass, and bronze alloys. It also has a nice comparison chart that shows the comparable designations between the CDA and the SAE series of bronzes. Here the main link: http://en.wikipedia.org/wiki/List_of_copper_alloys Here’s a screenshot that helpful comparison chart of the alloys:]]></description>
				<content:encoded><![CDATA[<p>Here in one great resource I found for technical details of copper, brass, and bronze alloys. It also has a nice comparison chart that shows the comparable designations between the CDA and the SAE series of bronzes.</p>
<p>Here the main link:</p>
<blockquote><p><a title="http://en.wikipedia.org/wiki/List_of_copper_alloys" href="http://en.wikipedia.org/wiki/List_of_copper_alloys">http://en.wikipedia.org/wiki/List_of_copper_alloys</a></p>
</blockquote>
<p>Here’s a screenshot that helpful comparison chart of the alloys:</p>
<p><a href="http://mattslay.com/wp-content/uploads/2013/02/image.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://mattslay.com/wp-content/uploads/2013/02/image_thumb.png"  ></a></p>
]]></content:encoded>
			<wfw:commentRss>http://mattslay.com/copper-brass-and-bronze-alloys-technical-reference-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Surface finish measurements</title>
		<link>http://mattslay.com/surface-finish-measurements/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=surface-finish-measurements</link>
		<comments>http://mattslay.com/surface-finish-measurements/#comments</comments>
		<pubDate>Fri, 21 Dec 2012 15:27:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Manufacturing]]></category>

		<guid isPermaLink="false">http://mattslay.com/?p=689</guid>
		<description><![CDATA[]]></description>
				<content:encoded><![CDATA[<p><a href="http://mattslay.com/wp-content/uploads/2012/12/image.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://mattslay.com/wp-content/uploads/2012/12/image_thumb.png"  ></a></p>
]]></content:encoded>
			<wfw:commentRss>http://mattslay.com/surface-finish-measurements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SWFox 2012 was a blast</title>
		<link>http://mattslay.com/swfox-2012-was-a-blast/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=swfox-2012-was-a-blast</link>
		<comments>http://mattslay.com/swfox-2012-was-a-blast/#comments</comments>
		<pubDate>Mon, 22 Oct 2012 15:57:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Foxpro]]></category>

		<guid isPermaLink="false">http://mattslay.com/?p=632</guid>
		<description><![CDATA[Hi folks &#8211; I am just back at work from my 4-day trip to Arizona for the Southwest Fox 2012 conference, Oct 18-21, 2012 .&#160; All I can saw is WOW!!!&#160; Ok, I can say a few more things that just that… I had an absolute blast at the conference, saw many great sessions (as [...]]]></description>
				<content:encoded><![CDATA[<p>Hi folks &#8211; I am just back at work from my 4-day trip to Arizona for the <a href="http://swfox.net/">Southwest Fox 2012</a> conference, Oct 18-21, 2012 .&nbsp; All I can saw is WOW!!!&nbsp; Ok, I can say a few more things that just that…</p>
<blockquote><p>I had an absolute blast at the conference, saw many great sessions (as in *every one of them*), and, most of all, I spent as much time as I could engaging anyone and everyone who was walking around with a SWFox name tag hanging around their neck. Heck, I even cornered a few of the hotel staff members in the hallway and asked them if *they* wanted to know anything about FoxPro. (No takers, but I did get a visit from hotel security later in the day.)</p>
</blockquote>
<p>This was my third time to attended the conference. If God still has me breathing air this time next year, I will be back for number 4.</p>
<p>I know there are some circumstances which absolutely prevent some of you from attending developer conferences, but, I strongly encourage you if there is any way possible that you can be at SWFox 2013, PLEASE, PLEASE, work hard during this next year to allow yourself to be there. You will not regret it!!&nbsp; </p>
<p>If I could send off my employees to a conference and they come back this excited about doing their job, I&#8217;d do it. So, show this message to your boss so he or she will see how excited *you* will be after attending attending SWFox 2013.</p>
<p>The 2013 conference dates are:&nbsp; Oct 17-20, 2013. </p>
<h3>FAQ</h3>
<p><strong>Did I meet Jun Tangunan, the 2012 Ceil Silverman Ambassador?</strong></p>
<ul>
<li>Yes I did. I had several opportunities to chat with him, and he is a very interesting and enthusiastic developer. We’ve already swapped a few emails, and I hope to explore his VFP tools a lot more in the coming months. Read more about him here: <a title="http://swfox.net/ambassador.aspx" href="http://swfox.net/ambassador.aspx">http://swfox.net/ambassador.aspx</a></li>
</ul>
<p><strong>How many people attended the ‘Show Us Your’ App session?</strong></p>
<ul>
<li>I did a quick table and body count… There were at least 60 people present, and 7 presenters (myself included) who did 10-minute presentations.</li>
</ul>
<p><strong>What did I do for dinner on Saturday night?</strong></p>
<ul>
<li>Walked 1.7 miles (each way) to a cool burger joint named Joe&#8217;s Farm Grill with about 12 other FoxPro devs… Bill, Bill’s (wife)?, Joel, Barbara, Eric, Todd, Randy, Michael, Phil, Stein, Art,&nbsp; and maybe a few others I can’t recall right now. (If you were there, or can add to this list, please let me know so I can add everyone’s name.)</li>
</ul>
<p><strong>Did I wear a custom-printed GoFish T-shirt one day?</strong></p>
<ul>
<li>Yes. (Photo coming soon.)</li>
</ul>
<p><strong>Did I fart around on my laptop during any of the sessions? </strong></p>
<ul>
<li>Nope! I purposely left my laptop in the hotel room, so as not to be distracted.</li>
</ul>
<p><strong>How many session did I attend?&nbsp; </strong></p>
<ul>
<li>I attended 16 total sessions, 23 total hours.</li>
</ul>
<p><strong>What were my favorite sessions (in no particular order)?</strong></p>
<ul>
<li>Sql Server 2012</li>
<li>Sql Server Mgmt Studio Tips and Tricks</li>
<li>Amazon EC2</li>
<li>OutFoxThe Fox Report writer</li>
<li>.Net COM Interop with VFP</li>
<li>Calling .Net Components from VFP </li>
</ul>
<h3>Lifetime Achievement Awards</h3>
<p>Congratulations to <a href="https://www.facebook.com/media/set/?set=a.498263223526960.115279.215845885102030&amp;type=1&amp;l=186312d1b0#!/photo.php?fbid=498266240193325&amp;set=a.498263223526960.115279.215845885102030&amp;type=3&amp;l=186312d1b0&amp;theater">Cathy Knight</a> and <a href="https://www.facebook.com/media/set/?set=a.498263223526960.115279.215845885102030&amp;type=1&amp;l=186312d1b0#!/photo.php?fbid=498266350193314&amp;set=a.498263223526960.115279.215845885102030&amp;type=3&amp;l=186312d1b0&amp;theater">Craig Boyd</a> for receiving <a href="http://doughennig.blogspot.com/2012/05/foxpro-lifetime-achievement-award-2012.html">FoxPro Lifetime Achievement</a> awards. Thanks to both of for your many years of invaluable contributions to the FoxPro community.</p>
<h3>VFPx Administrators Awards</h3>
<p><a href="https://www.facebook.com/media/set/?set=a.498263223526960.115279.215845885102030&amp;type=1&amp;l=186312d1b0#!/photo.php?fbid=498267970193152&amp;set=a.498263223526960.115279.215845885102030&amp;type=3&amp;l=186312d1b0&amp;theater">Jim Nelson and I received a VFPx Administrators Award</a>. It’s nice to be recognized for the work, but the people who use it and communicate with me about it are where the real joy comes from. Congratulations Jim!</p>
<h3>Sessions I attended</h3>
<p>In most sessions I sat on the front row, as I prefer to do any time I am watching anyone present material of any sort. It helps me focus, and not be distracted by others. (Okay, I did send a few FoxPro related tweets from my iPhone.)</p>
<p><strong>Thurs</strong></p>
<ul>
<li>Intro to C# – Doug Hennig</li>
</ul>
<p><strong>Fri</strong></p>
<ul>
<li>jQuery 101 – Rod Paddock</li>
<li>Amazon Elastic Cloud computing (Host a Windows Server in the cloud)</li>
<li>ASP.Net COM Interop with VFP – Rick Strahl</li>
<li>Chit-chatted&nbsp; with Andrew MacNeill and FoxFire Reports</li>
<li>Unit Testing with FoxMock – Cristof</li>
<li>Calling .Net Components from VFP – Rick Strahl</li>
<li>Show Us Your App (I presented my Dynamic Forms class)</li>
</ul>
<p><strong>Sat</strong></p>
<ul>
<li>Office Automation without Office (via Google Docs) – Cristof</li>
<li>Advanced Topics in Mercurial – Rick Borup</li>
<li>More Fox on the Run – Eric Selje</li>
<li>HTML5 – Steve Bodnar</li>
<li>Sql Server Mgmt Studio – Eric Selje</li>
<li>The Dangers of Accessing Sql Data – Kevin Cully</li>
</ul>
<p><strong>Sun</strong></p>
<ul>
<li>Give Me Some Skin – Tuvia Vinitsky</li>
<li>SQL Server 2012 – Manachem Bazin</li>
<li>OutFox the VFP Report Writer – Cathy Knight</li>
</ul>
<p>&nbsp;</p>
<p>I hope to see a lot of new faces there next year!</p>
]]></content:encoded>
			<wfw:commentRss>http://mattslay.com/swfox-2012-was-a-blast/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Connecting Ubuntu to Windows shares and DFS trees</title>
		<link>http://mattslay.com/connecting-ubuntu-to-windows-shares-and-dfs-trees/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=connecting-ubuntu-to-windows-shares-and-dfs-trees</link>
		<comments>http://mattslay.com/connecting-ubuntu-to-windows-shares-and-dfs-trees/#comments</comments>
		<pubDate>Wed, 10 Oct 2012 20:48:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://mattslay.com/?p=600</guid>
		<description><![CDATA[I wanted to access a full DFS tree of shared folders from my Windows Server 2008R2 network from an Ubuntu Linux 12.04 machine running on the same network. My first attempt at using “sudo mount –t cifs …blah-blah-blah… “ simply would not work. Sometimes it *seemed* to connect, but the folders were always empty. I [...]]]></description>
				<content:encoded><![CDATA[<p>I wanted to access a full DFS tree of shared folders from my Windows Server 2008R2 network from an Ubuntu Linux 12.04 machine running on the same network. </p>
<p>My first attempt at using “sudo mount –t cifs …blah-blah-blah… “ simply would not work. Sometimes it *seemed* to connect, but the folders were always empty. I wasted hours trying to figure out how to solve this. </p>
<p>Here is the original post I made on ServerFault.com asking for help, back in March 2012: <a href="http://serverfault.com/questions/370338/ubuntu-linux-cannot-see-files-in-folders-when-connected-to-a-dfs-tree-on-windo">http://serverfault.com/questions/370338/ubuntu-linux-cannot-see-files-in-folders-when-connected-to-a-dfs-tree-on-windo</a> </p>
<p>I never solved the problem, that is, until I tried again in October 2012. I’m now running Ubuntu 12.04. So, I started all over… I tried a bunch of things from Google&#8230; And I finally got it working, even from “Connect to Server” in Nautilus!!! </p>
<p>These are the steps that finally made it work: </p>
<h3>1. Enable/configure&nbsp; proper WINS resolution</h3>
<p>Follow this discussion to enable WINS resolution of Windows computer names on the network <a href="http://askubuntu.com/questions/93302/windows-hostnames-are-not-resolved">http://askubuntu.com/questions/93302/windows-hostnames-are-not-resolved</a> </p>
<p>Basically, it boils down to making this change:</p>
<p><a href="http://mattslay.com/wp-content/uploads/2012/10/image1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://mattslay.com/wp-content/uploads/2012/10/image_thumb1.png"  ></a></p>
<h3>2. Install SMBFS and KeyUtils</h3>
<p>Every time I tried to call the MOUNT command, I was getting some error like &#8220;cifs_mount failed w/ return code = -22&#8243; that I could see by running dmesg | tail</p>
<p>So, some posts lead me to install these things:</p>
<pre>sudo apt-get install smbfs
sudo apt-get install keyutils
</pre>
<p>See: <a href="http://thats-not-working.blogspot.com/2008/02/cifssmb-mount-problem-on-debian.html">http://thats-not-working.blogspot.com/2008/02/cifssmb-mount-problem-on-debian.html</a> </p>
<p>and <a title="http://technopragmatica.blogspot.com/2011/03/connecting-to-dfs-shares-with-ubuntu.html?m=1" href="http://technopragmatica.blogspot.com/2011/03/connecting-to-dfs-shares-with-ubuntu.html?m=1">http://technopragmatica.blogspot.com/2011/03/connecting-to-dfs-shares-with-ubuntu.html?m=1</a></p>
<p><font style="background-color: #ffff00">Some posts state that the Samba stuff on Ubuntu is now deprecated or replaced by the newer CIFS stuff, and for some things, CIFS is the only thing needed,&nbsp; but<strong> I assure you that the original Samba package is also required to connect to a DFS tree on a Windows server</strong>.</font> </p>
<p>You will notice that “smbfs” will also install “cifs-utils” if it’s not already installed.</p>
<h3>3. Configure smb.conf</h3>
<p>I also made a few tweaks in /etc/samba/smb.conf. Uncomment these lines, and enter the correct values for your network:</p>
<p><a href="http://mattslay.com/wp-content/uploads/2012/10/image.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://mattslay.com/wp-content/uploads/2012/10/image_thumb.png"  ></a></p>
<p>&nbsp;</p>
<h3>4. Finally – a very important discovery…</h3>
<p><strong>This is the magic that finally made this work for me!!! Changing one little parameter…</strong></p>
<p>I happened to notice this teensy little difference in one of my files compared to a blog post referenced in the only reply to my original question on SeverFault.</p>
<blockquote>
<p>In the /etc/request-key.conf, I changed this line:</p>
<pre>create cifs.spnego * * /usr/sbin/cifs.upcall <font style="background-color: #ffff00">-c</font> %k </pre>
<p>to this:</p>
<pre>create cifs.spnego * * /usr/sbin/cifs.upcall <font style="background-color: #ffff00">-t</font> %k</pre>
</blockquote>
<p>Note: This file is created by the&nbsp; “keyutils” install. It was not present before, as I looked for it. I noticed that it appeared after installing keyutils via apt-get.</p>
<p>Two things to note here…</p>
<p>1. According to <a title="http://www.samba.org/samba/docs/man/manpages-3/cifs.upcall.8.html" href="http://www.samba.org/samba/docs/man/manpages-3/cifs.upcall.8.html">http://www.samba.org/samba/docs/man/manpages-3/cifs.upcall.8.html</a>, the –c option is deprecated and is currently ignored. So, I don’t know why that option is included in the file in first place.</p>
<p>2. Warning: The suggested –t option has something to do with “trusting” the DNS server to resolve and retrieve kerberos session keys. I really don’t understand what it all means, but it is explained in the link listed right above here. All I know is, from my trial-and-error testing, this allows Windows DFS tree mounting to work, and it DOES NOT work without –t on this one line.</p>
<p>So, read the above link to learn more about this and make sure it’s safe for your environment. I tried several times to make it work without the –t option, but whenever it connected It gave me folder names from the DFS tree, but they were empty when viewed in Nautilus.</p>
<p><strong>You need to restart your terminal window after making these changes and before going to the final step below:</strong></p>
<h3>Finally, let’s connect to a DFS tree or any other shared folder on the server.</h3>
<p>Open a new Terminal window, and type the following:</p>
<pre>mount -t cifs //servername/sharename /mnt/temp –-verbose -o username=my_user_name,password=my_password,workgroup=DOMAIN_NAME</pre>
<p>The &#8211;verbose option adds logging info about the mount, which you can read from this command:
<pre>dmesg | tail</pre>
<p>Or, from Nautilus file browser, you can use “Connect to Server” from the File menu, and make these entries in the dialog window:</p>
<p><a href="http://mattslay.com/wp-content/uploads/2012/10/image2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://mattslay.com/wp-content/uploads/2012/10/image_thumb2.png"  ></a></p>
<p>Kaboom!!! It worked. At least for me.</p>
<p>Good luck to others who need this.</p>
]]></content:encoded>
			<wfw:commentRss>http://mattslay.com/connecting-ubuntu-to-windows-shares-and-dfs-trees/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Zooming the font size in FoxPro IDE code windows</title>
		<link>http://mattslay.com/zooming-the-font-size-in-foxpro-ide-code-widows/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=zooming-the-font-size-in-foxpro-ide-code-widows</link>
		<comments>http://mattslay.com/zooming-the-font-size-in-foxpro-ide-code-widows/#comments</comments>
		<pubDate>Wed, 03 Oct 2012 19:03:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Foxpro]]></category>

		<guid isPermaLink="false">http://mattslay.com/?p=565</guid>
		<description><![CDATA[Thanks to some good advice from Jim Nelson, explaining that you can Enlarge and Reduce the code window font size through the Format menu when you are working in a code window, I&#8217;ve use AutoHotKey to make a shot script to quickly automate zooming the font size up and down in the FoxPro IDE. I [...]]]></description>
				<content:encoded><![CDATA[<p>Thanks to some good advice from Jim Nelson, explaining that you can Enlarge and Reduce the code window font size through the Format menu when you are working in a code window, I&#8217;ve use <a href="http://www.autohotkey.com/">AutoHotKey</a> to make a shot script to quickly automate zooming the font size up and down in the FoxPro IDE. I used AutoHotKey for the macros and hotkey assignments, which is a tool that can be used to create macros and scripts for any app running on your Windows machine. It allows for very complex hotkey and mouse combinations that FoxPro macros do not support. This quick-zoom feature is something that most modern IDE’s have these, and I’ve wanted this feature in FoxPro for a long time.</p>
<h3>Video demo:</h3>
<blockquote><p>FoxPro IDE does font-zooming : <a href="http://www.youtube.com/watch?v=oRjMC-IDmKQ">http://www.youtube.com/watch?v=oRjMC-IDmKQ</a></p>
</blockquote>
<p>With these hotkeys (Ctrl+ , Ctrl-, and Ctrl+MouseUp, Crtl+MouseDown) you can quickly increase or decrease the font size in the code window (multiple times, if desired) to create a zoom-in or zoom-out effect.</p>
<p>Here are the scripts:</p>
<pre>	^numpadadd::Send {ALTDOWN}O{ALTUP}E
	^numpadsub::Send {ALTDOWN}O{ALTUP}R
	
	
	^WheelUp::
		SendInput {ALTDOWN}O{ALTUP}R
		SLEEP,50
		return
	^WheelDown::
		SendInput {ALTDOWN}O{ALTUP}E
		SLEEP,50
		return
	
</pre>
<h3>Go from this:</h3>
<p><a href="http://mattslay.com/wp-content/uploads/2012/10/SNAGHTML3ac1bd98.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="SNAGHTML3ac1bd98" border="0" alt="SNAGHTML3ac1bd98" src="http://mattslay.com/wp-content/uploads/2012/10/SNAGHTML3ac1bd98_thumb.png"  ></a></p>
<h3>To this:</h3>
<p><a href="http://mattslay.com/wp-content/uploads/2012/10/SNAGHTML3ac1e1bb.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="SNAGHTML3ac1e1bb" border="0" alt="SNAGHTML3ac1e1bb" src="http://mattslay.com/wp-content/uploads/2012/10/SNAGHTML3ac1e1bb_thumb.png"  ></a></p>
<p>&nbsp;</p>
<p>by pressing the hotkeys or Ctrl+MouseWheel to zoom in or out as much as you want.</p>
]]></content:encoded>
			<wfw:commentRss>http://mattslay.com/zooming-the-font-size-in-foxpro-ide-code-widows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sublime Text 2 syntax coloring for FoxPro code</title>
		<link>http://mattslay.com/sublime-text-2-syntax-coloring-for-foxpro-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sublime-text-2-syntax-coloring-for-foxpro-code</link>
		<comments>http://mattslay.com/sublime-text-2-syntax-coloring-for-foxpro-code/#comments</comments>
		<pubDate>Fri, 20 Jul 2012 20:53:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Foxpro]]></category>

		<guid isPermaLink="false">http://mattslay.com/?p=537</guid>
		<description><![CDATA[I’m constantly reviewing text editors for coding in various programming languages and environments. Recently, Sublime Text 2 has gotten a lot of buzz, so I decided to give it a try, and I eventually wound up testing it on FoxPro code. It’s got a nice Folder View panel on the side, tabbed edit windows, and [...]]]></description>
				<content:encoded><![CDATA[<p>I’m constantly reviewing text editors for coding in various programming languages and environments. Recently, Sublime Text 2 has gotten a lot of buzz, so I decided to give it a try, and I eventually wound up testing it on FoxPro code. </p>
<p>It’s got a nice Folder View panel on the side, tabbed edit windows, and tons of cool keyboard shortcuts for doing fancy editor tricks, but the first thing I missed was seeing the beautiful FoxPro language in colorized syntax. So, I dug in to learn how to write a syntax file and added all the keywords that are used in the semi-popular NotePad++ syntax file… </p>
<p>You can download the latest version and read instructions from my GitHub repo: </p>
<blockquote><p><a title="Sublime-Text-2-Syntax-Coloring-for-Visual-FoxPro" href="https://github.com/mattslay/Sublime-Text-2-Syntax-Coloring-for-Visual-FoxPro">Sublime-Text-2-Syntax-Coloring-for-Visual-FoxPro</a></p>
</blockquote>
<p>Here’s what it looks like so far:</p>
<p><a href="http://mattslay.com/wp-content/uploads/2012/10/image5.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://mattslay.com/wp-content/uploads/2012/10/image_thumb4.png"  ></a></p>
<p>To be fair, the same thing is possible in NotePad++, it just doesn’t look as cool:</p>
<p><a href="http://mattslay.com/wp-content/uploads/2012/07/SNAGHTML244a2173.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="SNAGHTML244a2173" border="0" alt="SNAGHTML244a2173" src="http://mattslay.com/wp-content/uploads/2012/07/SNAGHTML244a2173_thumb.png"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://mattslay.com/sublime-text-2-syntax-coloring-for-foxpro-code/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hosting your own Rails apps</title>
		<link>http://mattslay.com/hosting-your-own-rails-apps/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hosting-your-own-rails-apps</link>
		<comments>http://mattslay.com/hosting-your-own-rails-apps/#comments</comments>
		<pubDate>Tue, 17 Jul 2012 19:39:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ruby / Rails]]></category>

		<guid isPermaLink="false">http://mattslay.com/?p=520</guid>
		<description><![CDATA[Sometimes the current options for paid hosting of Rails apps are just not warranted for small scale apps. Imagine a small business app where there may only be 10 or 15 users across the whole country. These are small, but very real CRUD apps that need to be accessed from a web browser by remote [...]]]></description>
				<content:encoded><![CDATA[<p>Sometimes the current options for paid hosting of Rails apps are just not warranted for small scale apps. Imagine a small business app where there may only be 10 or 15 users across the whole country. These are small, but very real CRUD apps that need to be accessed from a web browser by remote users, it’s just that the user count may be small. Let’s face it, not every site in the world gets a million hits a second, right?&nbsp; Sometimes the cost of paid hosting options is too much for these little apps, which can cost $50 to $75 a month even for the smallest hosting package. For big corporations this is no big deal, but for small mom-and-pop companies or small organizations, it’s still too much.</p>
<p>So, being a simple and frugal guy, I have been able to successfully host a few of these small, private login apps right in an Ubuntu Linux virtual machine that I am running inside of a Windows XP box sitting right on my local network. </p>
<p>Yep&#8230; A Windows XP machine running Virtual Box which has Ubuntu 10, where I used RVM to install Rails and all the Gems for the app. Then I go to a terminal window and start up the Rails development web server on a certain port, and leave it running. In most cases, the database is SQLite, but you can use anything that you can get running in your development environment. SQLite is plenty powerful enough for this small user-count scenario, even if the database is or becomes large (1GB, 5GB is no problem for SQLite).&nbsp; </p>
<p>Most of my apps do user authentication to validate the users at login. Myself or an admin for the app are the only ones who can create user accounts . The total number of daily users is usually less than 20 or so, and it is not open to public signup. It&#8217;s a low volume, privately accessed app.&nbsp; So, the developer environment of a simple Ubuntu / Rails machine handles it very well. The users have no idea what is happening on the back end.</p>
<p>I have the XP machine on a battery backup, and I have a static public IP with my business-grade internet service provider. </p>
<p>To handle the hits, I redirect from my main public facing router (switch) to the LAN based IP and port which the Ubuntu VM uses.</p>
<p>So, my users enter an address like this to hit their app (notice that a specific port is requested):</p>
<blockquote><pre><a href="http://210.123.034.104:1234">http://210.123.034.104:1234</a>&nbsp;&nbsp;&nbsp;&nbsp; </pre>
</blockquote>
<p>(the above is a fake address, but you get the picture)</p>
<p>When this hits my public facing router, I redirect&nbsp; it to the Ubuntu Virtual Machine LAN IP and the port that I used when I started the Rails development server:</p>
<blockquote><pre>192.168.0.125:3003</pre>
</blockquote>
<p>So, with this mapping in place, I go to the virtual machine and open up a terminal, CD to the Rails app directory, and enter:</p>
<blockquote><pre>rails s –p 3003</pre>
</blockquote>
<p>to start up the server on port 3003. (You can use any free port that you have available.)</p>
<p><a href="http://mattslay.com/wp-content/uploads/2012/07/image.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://mattslay.com/wp-content/uploads/2012/07/image_thumb.png"  ></a></p>
<p>&nbsp;</p>
<p>Boom! A live self-hosted Rails app.&nbsp; </p>
<p>You can run as many of these as you want. Even in the same VM you can run different ones just by change the port that is used for the Rails server, and then just create a new mapping on your switch.</p>
<p>Sure, since I am using SQLite, it&#8217;s single threaded hits to the database file, but hey, for what little traffic this thing gets each hour, it handles it very easily, and the users never feel any speed issues.</p>
<p>&nbsp;</p>
<p>Pros: Free, full control, hands-on, dang… it just works! Trust me, I’ve been doing it for months!!!</p>
<p>More Pros: Because it’s a VM , about 20GB is enough size, and you can backup or clone the entire machine as a single file.</p>
<p>Cons: Keeping the host XP machine and the VM alive all the time, keeping my internet connection alive, keeping the Ubuntu updates applied (if needed), backing up the data file(s).</p>
]]></content:encoded>
			<wfw:commentRss>http://mattslay.com/hosting-your-own-rails-apps/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Need to hire a Visual FoxPro consultant in Alabama?</title>
		<link>http://mattslay.com/need-to-hire-a-visual-foxpro-consultant-in-alabama/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=need-to-hire-a-visual-foxpro-consultant-in-alabama</link>
		<comments>http://mattslay.com/need-to-hire-a-visual-foxpro-consultant-in-alabama/#comments</comments>
		<pubDate>Thu, 05 Jul 2012 16:01:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Foxpro]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Visual FoxPro]]></category>

		<guid isPermaLink="false">http://mattslay.com/?p=480</guid>
		<description><![CDATA[I&#8217;m a long time FoxPro programmer and I know lots of good developers in the Visual FoxPro business software space. The power of Visual FoxPro software will live on for many years!! While I&#8217;m not available for FoxPro projects, I highly recommend my friends at Red Mountain Solutions group in Birmingham, AL if you need [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m a long time FoxPro programmer and I know lots of good developers in the Visual FoxPro business software space. The power of Visual FoxPro software will live on for many years!!</p>
<p>While I&#8217;m not available for FoxPro projects, I highly recommend my friends at Red Mountain Solutions group in Birmingham, AL if you need support in this area.</p>
<p>They offer expert FoxPro development work and maintenance on existing software, as well as web development and overall IT support.</p>
<p>You can reach them here:  <a href="http://www.RedMountainSolutionsGroup.com/">http://www.RedMountainSolutionsGroup.com/</a></p>
<p>&nbsp;</p>
<p><a href="http://mattslay.com/wp-content/uploads/2012/07/RedMountainSolutionsGroup.png"><img class="aligncenter size-full wp-image-516" title="RedMountainSolutionsGroup" src="http://mattslay.com/wp-content/uploads/2012/07/RedMountainSolutionsGroup.png" alt=""   /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://mattslay.com/need-to-hire-a-visual-foxpro-consultant-in-alabama/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing RubyMine 4 on Ubuntu 12.04</title>
		<link>http://mattslay.com/installing-rubymine-4-on-ubuntu-12-04/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-rubymine-4-on-ubuntu-12-04</link>
		<comments>http://mattslay.com/installing-rubymine-4-on-ubuntu-12-04/#comments</comments>
		<pubDate>Tue, 01 May 2012 19:40:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ruby / Rails]]></category>

		<guid isPermaLink="false">http://mattslay.com/?p=496</guid>
		<description><![CDATA[I recently set up a new Ubuntu 12.04 machine in a VirtualBox VM. After installing the basic RVM, Rails, and Ruby stuff, I was then ready to install RubyMine. (By the way, see this post where I explain how to setup the Rails goodness on a new Ubuntu 12.04 machine: http://mattslay.com/installing-rails-on-ubuntu-12-04-with-rvm-support/ ) Installing RubyMine There [...]]]></description>
				<content:encoded><![CDATA[<p>I recently set up a new Ubuntu 12.04 machine in a VirtualBox VM. After installing the basic RVM, Rails, and Ruby stuff, I was then ready to install RubyMine. (By the way, see this post where I explain how to setup the Rails goodness on a new Ubuntu 12.04 machine: <a title="http://mattslay.com/installing-rails-on-ubuntu-12-04-with-rvm-support/" href="http://mattslay.com/installing-rails-on-ubuntu-12-04-with-rvm-support/">http://mattslay.com/installing-rails-on-ubuntu-12-04-with-rvm-support/</a> )</p>
<h2>Installing RubyMine</h2>
<p>There is no actual “installer” for RubyMine on Linux. You just extract it to a folder of your choice. (I put mine in /home/matt/apps/RunyMine-4.0.3/). If you try to place it in one of the more locked-down system folder, you could run into permissions problems, which always drives me nuts. So I just create and “apps” folder in my Home folder, and drop all my non-Ubuntu-Software-Center packages in separate folders there.</p>
<p>You can read the RubyMine Installation Instructions in the file named “Install-Linux-tar.txt” file which is located in the archive file for RubyMine that you will download from JetBrains. (<a title="http://www.jetbrains.com/ruby/download/" href="http://www.jetbrains.com/ruby/download/">http://www.jetbrains.com/ruby/download/</a>).  It will tell you where to unzip the files, and how to launch RubyMine after you’ve extracted it from the archive. (Note to Windows users… All this talk about “tar” and “archive” is basically what us Windows folks call a “zip” file.) After you download the archive from the JetBrains site, right click on it and open it with the Archive Manager. From there you can extract it to a folder of your choice. After that, it’s ready to run RubyMine (well, after you follow the next step…)</p>
<h2>Sun Java JDK</h2>
<p>RubyMine requires the Sun Java JDK environment to make its fancy GUI stuff work (note: RubyMine does not work well with OpenJDK, so don’t use this one by mistake!). Unfortunately, the Ubuntu Software Center does not have a click-easy installer for this, so you’ve got to do it in a terminal window, but trust me, it’s not hard. I followed this guide (from a Question/Answer on StackOverflow) to install the Sun Java JDK 1.7.0 in my new Ubuntu machine:</p>
<blockquote><p><a title="http://stackoverflow.com/questions/10178601/rubymine-on-linux" href="http://stackoverflow.com/questions/10178601/rubymine-on-linux">http://stackoverflow.com/questions/10178601/rubymine-on-linux</a></p></blockquote>
<blockquote><p>Note: This step can be done before or after you extract RubyMine from the .tar download. It’s just that RubyMine will give you an error if you try to run it without having the Sun Java JDK installed.</p></blockquote>
<h2>Done!</h2>
<p>With Rails and Ruby installed (see link at the top of this page) and RubyMine extracted, and Sun Java JDK installed, you are ready to ride on the Rails train.</p>
]]></content:encoded>
			<wfw:commentRss>http://mattslay.com/installing-rubymine-4-on-ubuntu-12-04/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing Rails with RVM support on Ubuntu 12.04/12.10 or Linux Mint 14</title>
		<link>http://mattslay.com/installing-rails-on-ubuntu-12-04-with-rvm-support/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-rails-on-ubuntu-12-04-with-rvm-support</link>
		<comments>http://mattslay.com/installing-rails-on-ubuntu-12-04-with-rvm-support/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 20:18:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ruby / Rails]]></category>

		<guid isPermaLink="false">http://mattslay.com/?p=472</guid>
		<description><![CDATA[Update 2013-03-18: These instructions also worked well on a Linux Mint 14 box (which is based on Ubuntu 12.10) I just setup a fresh VM with Ubuntu 12.04, and I wanted to setup Ruby on Rails on the machine right off the bat. I followed this “Installing Ruby on Rails on Ubuntu 12.04” guide from [...]]]></description>
				<content:encoded><![CDATA[<blockquote><p><em>Update 2013-03-18: These instructions also worked well on a Linux Mint 14 box (which is based on Ubuntu 12.10)</em></p>
</blockquote>
<p>I just setup a fresh VM with Ubuntu 12.04, and I wanted to setup Ruby on Rails on the machine right off the bat.</p>
<p>I followed this “<strong><a href="http://www.the-tech-tutorial.com/?p=1868">Installing Ruby on Rails on Ubuntu 12.04</a>” </strong>guide from The Tech Journal, which worked very well, <strong><em>except I had to make a couple of changes in the instructions</em></strong>, which you can see in my notes below:</p>
<h2>Again, here’s the guide I followed :</h2>
<blockquote><h3><a title="http://www.the-tech-tutorial.com/?p=1868" href="http://www.the-tech-tutorial.com/?p=1868">http://www.the-tech-tutorial.com/?p=1868</a></h3>
</blockquote>
<h2>Better way of installing RVM:</h2>
<blockquote><p>I had a little trouble installing RVM per the instructions in the above post, so, I followed the basic install instructions directly from the full RVM site:</p>
<p><a title="https://rvm.io/rvm/install/" href="https://rvm.io/rvm/install/">https://rvm.io/rvm/install/</a></p>
</blockquote>
<h2>Install RVM/Ruby dependencies:</h2>
<blockquote><p>Next, from the terminal window, type:</p>
<blockquote></blockquote>
<blockquote><pre>rvm requirements</pre>
</blockquote>
<pre><font face="Calibri">RVM will show you a list of dependencies that need to be installed. So, run the sudo apt-get commands shown (copy and paste them in the terminal window) to prepare the environment for rvm, ruby, rails development.</font></pre>
</blockquote>
<h2>Install a version of Ruby:</h2>
<blockquote>
<p><font face="Courier">rvm install &lt;ruby_version&gt;</font></p>
<p>I can’t tell you which version(s) you’ll want or need, but this how you will install them.<br clear="all">You can get a list of available versions with this command:</p>
<p><font face="Courier">rvm list known</font></p>
<p>&nbsp;</p>
</blockquote>
<h2>You’re on you on from here…</h2>
<blockquote>
<p>Create a GemSet, then install Rails and any other gems your app needs. You’ll probably use the “bundle” command to pull in the required gems from a gemfile. From here on, it’s basic Rails stuff.</p>
</blockquote>
<h3>Other crap I’ve had to deal with if something goes wrong….</h3>
<p><a title="http://stackoverflow.com/questions/9056008/installed-ruby-1-9-3-with-rvm-but-command-line-doesnt-show-ruby-v/9056395#9056395" href="http://stackoverflow.com/questions/9056008/installed-ruby-1-9-3-with-rvm-but-command-line-doesnt-show-ruby-v/9056395#9056395">http://stackoverflow.com/questions/9056008/installed-ruby-1-9-3-with-rvm-but-command-line-doesnt-show-ruby-v/9056395#9056395</a></p>
<p>&nbsp;</p>
<h2>Oh, yeah, one more final point about (not) installing gem docs…</h2>
<blockquote>
<p>I always like to turn off the documentation downloads (rdoc and ri) when installing new gems (I never read the docs locally this way, I always use the web). You can make a permanent change on your system to *not* install gem documentation when installing new gems. Run this line in the terminal window:</p>
<pre>echo "gem: --no-rdoc --no-ri" &gt; ~/.gemrc</pre>
<p>This will create a .gemrc file in your home folder telling the gem installer not to download the docs when you install new gems. You only need to do this once.</p>
<p>Do this before you run any “gem install” commands, or use Bundler, so that it won’t waste time and space pulling down docs for the gems.</p>
</blockquote>
<h2><br clear="all">Other detailed instructions for installing a full Ruby, Rails, Apache, MySql stack</h2>
<blockquote>
<p>If you really want a LOOONG tutorial that also gets deep into installing Apahce, MySql, and all that jazz, check out this post which has a <a href="http://www.mirceagoia.com/2011/11/ruby-on-rails-installation-ubuntu-linux-mint/">35 page PDF mega walk-through</a>.</p>
</blockquote>
<h2>Setting up RubyMine</h2>
<blockquote>
<p>If you want to install RubyMine IDE for your Rails development, you can follow my instructions here: <a title="http://mattslay.com/installing-rubymine-4-on-ubuntu-12-04/" href="http://mattslay.com/installing-rubymine-4-on-ubuntu-12-04/">http://mattslay.com/installing-rubymine-4-on-ubuntu-12-04/</a></p>
</blockquote>
<h2>Other goodies I installed on my new Ubuntu machine:</h2>
<blockquote>
<p>I installed these personal favorites right from the Ubuntu Software Center&nbsp; (I’ve listed links so you can learn more about these tools, but I recommend installing them through the Ubuntu Software Center right inside of Ubuntu):</p>
<ul>
<li>Krusader (A better File manager than the standard Ubuntu one) <br clear="all"><a title="http://www.krusader.org/" href="http://www.krusader.org/">http://www.krusader.org/</a>
<li>Konsole (A better Console/Terminal window that then the standard Ubuntu one)<br clear="all"><a title="http://kde.org/applications/system/konsole/" href="http://kde.org/applications/system/konsole/">http://kde.org/applications/system/konsole/</a>
<li>Tortoise HG Workbench (for Mercurial version control) (install via PPA to get latest version):<br clear="all"><a title="https://launchpad.net/~tortoisehg-ppa/+archive/releases" href="https://launchpad.net/~tortoisehg-ppa/+archive/releases">https://launchpad.net/~tortoisehg-ppa/+archive/releases</a><br clear="all">Note: Read the notes at the top of the page to install the PPA key for apt to work properly.<br clear="all">Also note that they recommend not installing Mercurial ahead of time. Let the TortoiseHG PPA handle that for you.
<li>gitg – Git repository browser/GUI
<li>KDiff3
<li>XRDP – Remote Desktop Server: Access your new Ubuntu machine from Windows via Remote Desktop<br clear="all"><a href="http://www.xdrp.org">http://www.xdrp.org</a>
<li>DropBox
<li>LuckyBackup – To create/schedule backups.<br clear="all"><a title="https://launchpad.net/ubuntu/+source/luckybackup" href="https://launchpad.net/ubuntu/+source/luckybackup">https://launchpad.net/ubuntu/+source/luckybackup</a><br clear="all">LuckyBackup tutorial here:<br clear="all"><a title="http://www.liberiangeek.net/2011/02/schedule-backup-luckybackup-ubuntu-10-10-maverick-meerkat/" href="http://www.liberiangeek.net/2011/02/schedule-backup-luckybackup-ubuntu-10-10-maverick-meerkat/">http://www.liberiangeek.net/2011/02/schedule-backup-luckybackup-ubuntu-10-10-maverick-meerkat/</a></li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
</blockquote>
<blockquote><p>If you’ve got favorite Linux/Ubuntu tools that you think are helpful to Rails developers, please add them in the comments.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://mattslay.com/installing-rails-on-ubuntu-12-04-with-rvm-support/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
