<?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>Mastrio Web Page &#187; Programming</title>
	<atom:link href="http://www.mastrio.net/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mastrio.net</link>
	<description>Majorities Am!</description>
	<lastBuildDate>Tue, 22 Jun 2010 12:11:27 +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>Force unmount a Drobo volume (or any other) in Mac OS X</title>
		<link>http://www.mastrio.net/2008/10/01/force-unmount-a-drobo-volume-or-any-other-in-mac-os-x/</link>
		<comments>http://www.mastrio.net/2008/10/01/force-unmount-a-drobo-volume-or-any-other-in-mac-os-x/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 13:26:45 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[drobo]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://www.mastrio.net/?p=410</guid>
		<description><![CDATA[When using Mac OS X you might encounter this message:
The disk "Drobo" is in use and could not be ejected.
Try quitting applications and try again.

This message may occur even if you have closed every open program. To force unmount a volume, open Terminal and use the umount command.
sudo umount -f /Volumes/Drobo

Remember to use &#8220;sudo&#8221; before [...]]]></description>
			<content:encoded><![CDATA[<p>When using Mac OS X you might encounter this message:</p>
<pre>The disk "Drobo" is in use and could not be ejected.
Try quitting applications and try again.
</pre>
<p>This message may occur even if you have closed every open program. To force unmount a volume, open Terminal and use the umount command.</p>
<pre>sudo umount -f /Volumes/Drobo
</pre>
<p>Remember to use &#8220;<a title="sudo" href="http://en.wikipedia.org/wiki/Sudo" target="_blank">sudo</a>&#8221; before the umount command.</p>
<p>This will work on any of the mounted volumes on your mac.Â  To view all the volumes, in the Terminal window, type: ls -l /Volumes</p>
<p>
<script type="text/javascript"><!--
google_ad_client = "pub-8337849283625821";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
//2007-03-20: Mastrio
google_ad_channel = "8914197449";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mastrio.net/2008/10/01/force-unmount-a-drobo-volume-or-any-other-in-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change OS X Computer Name</title>
		<link>http://www.mastrio.net/2007/09/05/change-os-x-computer-name/</link>
		<comments>http://www.mastrio.net/2007/09/05/change-os-x-computer-name/#comments</comments>
		<pubDate>Thu, 06 Sep 2007 04:05:44 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.mastrio.net/?p=247</guid>
		<description><![CDATA[I just bought the kids a new computer &#8211; or should I say an old computer that is NEW to them!
Got a Apple iMac G4 800Mhz machine off of eBay for a good price &#8211; I&#8217;ve always wanted one of these and now that all three kids use the computer I had a reason to [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://images.shopping.msn.com/img/1/2948/2/32536.jpg" title="iMac G4 800Mhz" alt="iMac G4 800Mhz" align="right" border="5" height="100" hspace="5" vspace="5" width="100" />I just bought the kids a new computer &#8211; or should I say an old computer that is NEW to them!</p>
<p>Got a Apple iMac G4 800Mhz machine off of eBay for a good price &#8211; I&#8217;ve always wanted one of these and now that all three kids use the computer I had a reason to buy one&#8230;</p>
<p>I love this thing!  You&#8217;d think that an 800Mhz machine would be sluggish, but it&#8217;s not!  I&#8217;m running OS X 10.4.10  and it&#8217;s just fine.  Safari, Firefox, iChat, etc. are all perfect.  I&#8217;ll let  you know once I install a copy of Microsoft Office on it whether or not I feel the same way, but or now I&#8217;m basking in the glow of my new  iMac <img src='http://www.mastrio.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>So, for the information on how to change OS X&#8217;s computer name.  I found this on the web, on <a href="http://photomatt.net" title="Photo Matt's Website" target="_blank">Photo Matt&#8217;s</a> website:  Go to System Preferences › Sharing › Computer Name&#8230; you can also edit the name of you computer so that it will be easy to find on the local network.  For example: if you change the name to Jamie&#8217;s iMac the computer name on the network might not be as friendly&#8230; so just double check it&#8230; I used iMacJamie.local, it was just easier that way.</p>
<p>
<script type="text/javascript"><!--
google_ad_client = "pub-8337849283625821";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
//2007-03-20: Mastrio
google_ad_channel = "8914197449";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mastrio.net/2007/09/05/change-os-x-computer-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JA Submit 2.1 works with JCE 1.1.0 beta 2!</title>
		<link>http://www.mastrio.net/2007/03/28/ja-submit-21-works-with-jce-110-beta-2/</link>
		<comments>http://www.mastrio.net/2007/03/28/ja-submit-21-works-with-jce-110-beta-2/#comments</comments>
		<pubDate>Thu, 29 Mar 2007 01:34:45 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.mastrio.net/?p=106</guid>
		<description><![CDATA[If you&#8217;re like me you&#8217;ve tried out JA Submit (or tried to) and had some issues to deal with along the way.  I know I had some problems with a couple of items, which I was able to figure out once I turned on PHP error reporting (being a PHP noob, that was fun [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like me you&#8217;ve tried out JA Submit (or tried to) and had some issues to deal with along the way.  I know I had some problems with a couple of items, which I was able to figure out once I turned on PHP error reporting (being a PHP noob, that was fun enough!).  Once I got that resolved, I came up with a pretty funky error (only on IE) that was complaining about a function not being defined.</p>
<p>I scoured the web for an answer &#8211; I have a website configured with Joomla  1.0.12, JCE 1.1.0 beta 2, and a bunch of other stuff &#8211; the answer I found wasn&#8217;t the one I wanted to hear: JA Submit doesn&#8217;t work with JCE, go find something else to use!</p>
<p>Hmmm, I thought &#8211; could this be true, could it be that I can&#8217;t use the one component I REALLY wanted to use (JA Submit) with the editor I REALLY wanted to use (JCE)??  Being from an IT background and from a testing background at that, I just couldn&#8217;t let it go &#8211; so I started digging.  Guess what?  I FIGURED IT OUT!!</p>
<p>I found that for whatever reason ja_submit.html.php wasn&#8217;t calling the .JS files needed for JCE to work properly.  I added the following code at line 25 in ja_submit.html.php and viola! it worked just like it&#8217;s supposed to!</p>
<p>Remember if you use this code to replace the yourwebsite.com with your website&#8217;s url&#8230; also , look at the line where it references the .css for the particular template (if used) you have and change the path there too.<br />
<quickcode><br />
<script type="text/javascript" src="<?php echo $mosConfig_live_site; ?>/mambots/editors/jce/jscripts/tiny_mce/tiny_mce.js"></script><br />
<script type="text/javascript" src="<?php echo $mosConfig_live_site; ?>/mambots/editors/jce/jscripts/tiny_mce/jce.functions.js"></script></p>
<p><script type="text/javascript">
	var site_url = jceFunctions.getURL();
	jceFunctions.relative = true;
	jceFunctions.state = "mceEditor";
	jceFunctions.toggle = "[show/hide]";
	tinyMCE.init({
		site : site_url,
		document_base_url: "http://www.yourwebsite.com/",
		theme : "advanced",
		language : "en",
		lang_list : "en",
		width : "600",
		height : "600",
		mode : "specific_textareas",
		browsers : "msie,safari,gecko,opera",
		event_elements : "td,img,a",
		relative_urls : false,
		remove_script_host : false,
		entity_encoding : "raw",
		verify_html : true,
		remove_linebreaks : false,
		apply_source_formatting : true,
		fix_list_elements : true,
		fix_table_elements : true,
		convert_fonts_to_spans : true,
		inline_styles : true,
		save_callback : "jceFunctions.save",
		content_css : "http://www.yourwebsite.com/templates/yourtemplate/css/template_css.css",
		//Paste Options
		paste_create_paragraphs : false,
		paste_create_linebreaks : false,
		paste_use_dialog : false,
		paste_auto_cleanup_on_paste : false,
		paste_strip_class_attributes : "all",
		paste_remove_spans : true,
		paste_remove_styles : true,
		//
		template_colors : "",
		media_use_script : false,
		font_size_style_values : "8pt,10pt,12pt,14pt,18pt,24pt,36pt",
		table_inline_editing : false,
		invalid_elements : "applet",
		force_br_newlines : false,
		force_p_newlines : true,
		directionality : "ltr",
		theme_advanced_layout_manager : "SimpleLayout",
		theme_advanced_resizing : true, 
		theme_advanced_toolbar_location : "top",
		theme_advanced_statusbar_location : "bottom",
		theme_advanced_disable : "",
		theme_advanced_buttons1 : "undo,redo,help,newdocument,bold,italic,underline,bullist,numlist,outdent,indent,strikethrough,code,removeformat,cut,copy,paste,pasteword,pastetext,search,replace",
		theme_advanced_buttons2 : "hr,sub,sup,justifyright,justifycenter,justifyleft,justifyfull,tablecontrols,anchor,unlink",
		theme_advanced_buttons3 : "styleselect,fontselect,fontsizeselect,forecolor,backcolor,charmap,visualaid,ltr,rtl,formatselect",
		theme_advanced_buttons4 : "link,preview,image,print,fullscreen,styleprops,nonbreaking,visualchars,cite,abbr,acronym,del,ins,insertlayer,moveforward,movebackward,absolute,attributes,emotions",
		theme_advanced_buttons5 : "",
		plugins : "directionality,emotions,fullscreen,paste,preview,table,print,searchreplace,style,nonbreaking,visualchars,xhtmlxtras,layer,attributes,imgmanager,advlink",
		extended_valid_elements : ",del[*],ins[*],script[*]"
	});
</script></quickcode></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mastrio.net/2007/03/28/ja-submit-21-works-with-jce-110-beta-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
