<?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>chealion.ca : Home of Micheal Jones &#187; tips</title>
	<atom:link href="http://chealion.ca/category/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://chealion.ca</link>
	<description>polluting the internet since tomorrow</description>
	<lastBuildDate>Sat, 18 Feb 2012 19:54:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Quick and Dirty: Disabling Firefox&#8217;s Updates with a CCK</title>
		<link>http://chealion.ca/2011/09/quick-and-dirty-disabling-firefoxs-updates-with-a-cck/</link>
		<comments>http://chealion.ca/2011/09/quick-and-dirty-disabling-firefoxs-updates-with-a-cck/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 22:12:45 +0000</pubDate>
		<dc:creator>Micheal</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://chealion.ca/?p=396</guid>
		<description><![CDATA[With Firefox&#8217;s new 6 week major release cycle combined with the fact Firefox won&#8217;t silently update to major versions like Chrome I got a lot of complaints about Firefox always asking for an update. NOTE: THE BELOW DOES NOT WORK WHEN UPDATING TO FIREFOX 8+. Unfortunately Firefox doesn&#8217;t deal with plist files like most other [...]]]></description>
			<content:encoded><![CDATA[<p>With Firefox&#8217;s new 6 week major release cycle combined with the fact Firefox won&#8217;t silently update to major versions like Chrome I got a lot of complaints about Firefox always asking for an update.</p>

<p>NOTE: THE BELOW DOES NOT WORK WHEN UPDATING TO FIREFOX 8+.</p>

<p>Unfortunately Firefox doesn&#8217;t deal with plist files like most other Mac apps (part of it&#8217;s cross platform nature) so MCX isn&#8217;t an option. However you can manage Firefox by either editing the Application file itself (annoying) or by installing a global browser customization extension (easy).</p>

<p>If you want to low down on this and to also stand on the shoulders of giants; read Greg Neagle&#8217;s posts about customizing Firefox:</p>

<ul>
<li><a href="http://managingosx.wordpress.com/2008/08/18/firefox-default-settings/">Firefox Default Settings</a></li>
<li><a href="http://managingosx.wordpress.com/2010/01/11/firefox-default-settings-revisited/">Firefox Default Settings Revisited</a>)</li>
<li><a href="http://managingosx.wordpress.com/2010/01/13/firefox-global-extensions/">Firefox Global Extensions</a></li>
<li><a href="http://managingosx.wordpress.com/2010/07/02/more-firefox-customization/">More Firefox Customization</a></li>
<li><a href="http://managingosx.wordpress.com/2010/10/06/firefox-global-extensions-again/">Firefox global extensions, again</a></li>
</ul>

<p>The quick and dirty steps to disable updates:</p>

<ol>
<li>Install the Firefox Client Customization Kit: <a href="https://addons.mozilla.org/en-US/firefox/addon/2553/">https://addons.mozilla.org/en-US/firefox/addon/2553/</a></li>
<li>Launch the CCK Wizard from the Tools menu</li>
<li>Create a new configuration</li>
<li>Follow the Wizard through to the Customize Preferences section (the 12th or 13th screen). Be sure to remember the Unique ID (first screen) you gave the extension.</li>
<li>Add both the app.update.enabled and app.update.autoUpdateEnabled keys and set them to false. I also lock these preferences because I update the applications using <a href="http://code.google.com/p/munki/">munki</a></li>
<li>Save your CCK .xpi. The next extra steps involved here are so the user is not prompted to install the .xpi to their local extension folder when they launch Firefox. (I figured this out on my own and then noticed it was in the <a href="http://managingosx.wordpress.com/2010/07/02/more-firefox-customization/#comment-10172">comments</a> on the More Firefox Customization post and even has it&#8217;s own <a href="http://managingosx.wordpress.com/2010/10/06/firefox-global-extensions-again/">post</a>.)</li>
<li>Install the .xpi file it creates on your local profile (should just be able to double click on it or just drag it onto Firefox).</li>
<li>Go to your local Profile&#8217;s extension folder (<code>~/Library/Application Support/Firefox/Profiles/SOMETHING/extensions</code>)</li>
<li>Find the folder that corresponds to the Unique ID you gave it on the first screen of the CCK. In my case it was an email address.</li>
<li>Copy that folder to <code>/Library/Application Support/Mozilla/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</code> (where global extensions are stored)</li>
<li>Open up Firefox and test to see if it is installed (check the Extensions loaded or if you used that menu item see if it exists)</li>
<li>Read Greg Neagle&#8217;s post on <a href="http://managingosx.wordpress.com/2010/07/02/more-firefox-customization/">More Firefox Customization</a> for more details.</li>
</ol>

<p>That folder you copied to the Global Extensions Folder can now be distributed to all your computers that need the CCK applied; either as a package (ideal) or using Remote Desktop.</p>

<p>Of note, extra things I like to do are to disable the welcome and upgrade pages, and add an item for our home page to the Help menu (also helps verify the extension is working) but I do allow users to disable the CCK if need be (though I&#8217;ve yet to know one to care enough to do so)</p>
]]></content:encoded>
			<wfw:commentRss>http://chealion.ca/2011/09/quick-and-dirty-disabling-firefoxs-updates-with-a-cck/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Calgary FCPUG: Outputting to Blu-ray, DVD and the Web</title>
		<link>http://chealion.ca/2011/03/calgary-fcpug-outputting-to-blu-ray-dvd-and-the-web/</link>
		<comments>http://chealion.ca/2011/03/calgary-fcpug-outputting-to-blu-ray-dvd-and-the-web/#comments</comments>
		<pubDate>Sat, 12 Mar 2011 07:23:13 +0000</pubDate>
		<dc:creator>Micheal</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[calgary]]></category>
		<category><![CDATA[fcpug]]></category>
		<category><![CDATA[presentation]]></category>

		<guid isPermaLink="false">http://chealion.ca/?p=388</guid>
		<description><![CDATA[I&#8217;ve now uploaded the slides from the talk I gave to the Calgary FCPUG about outputting to Blu-ray, DVD and the Web. You can grab them from the following link: http://chealion.ca/wp/wp-content/uploads/2011/03/OutputBDDVDWeb.pdf I do have an audio recording of the first presentation I&#8217;ve given since high school but have yet had a chance to listen and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve now uploaded the slides from the talk I gave to the Calgary FCPUG about outputting to Blu-ray, DVD and the Web. You can grab them from the following link:</p>

<p><a href="http://chealion.ca/wp/wp-content/uploads/2011/03/OutputBDDVDWeb.pdf">http://chealion.ca/wp/wp-content/uploads/2011/03/OutputBDDVDWeb.pdf</a></p>

<p>I do have an audio recording of the first presentation I&#8217;ve given since high school but have yet had a chance to listen and edit it as necessary.</p>

<p>I hope everyone found it useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://chealion.ca/2011/03/calgary-fcpug-outputting-to-blu-ray-dvd-and-the-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Gmail as your SMTP server When Using your ISP&#8217;s Email</title>
		<link>http://chealion.ca/2011/01/using-gmail-as-your-smtp-server-when-using-your-isps-email/</link>
		<comments>http://chealion.ca/2011/01/using-gmail-as-your-smtp-server-when-using-your-isps-email/#comments</comments>
		<pubDate>Sat, 22 Jan 2011 22:07:22 +0000</pubDate>
		<dc:creator>Micheal</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[smtp]]></category>

		<guid isPermaLink="false">http://chealion.ca/?p=383</guid>
		<description><![CDATA[NOTE: You&#8217;re going to be using Google&#8217;s service to send the email but for all intents and purposes it&#8217;s completely transparent to both you and your recipient. It&#8217;s also a world lot better than using some random SMTP server (having to find out the local one and always change it) or finding all your email [...]]]></description>
			<content:encoded><![CDATA[<p>NOTE: You&#8217;re going to be using Google&#8217;s service to send the email but for all intents and purposes it&#8217;s completely transparent to both you and your recipient. It&#8217;s also a world lot better than using some random SMTP server (having to find out the local one and always change it) or finding all your email you sent doesn&#8217;t even arrive in your recipient&#8217;s inbox because it&#8217;s been marked as spam because of the server used. I&#8217;d recommend looking for an IMAP host instead for the long run.</p>

<p>For brevity I&#8217;m leaving out the exact steps to hook this up with your favourite mail client but you can find that out fairly easily as it&#8217;s only changing the SMTP server (or check my <a href="http://chealion.ca/2011/01/hooking-up-with-shaws-new-remote-smtp-service/">post about setting up Shaw&#8217;s SMTP service</a>) and change <code>mail.shaw.ca</code> to <code>smtp.gmail.com</code> and using your Google login instead of say Shaw&#8217;s in the section about changing your SMTP server).</p>

<ol>
<li>Set up a Google Account. If you have one you&#8217;re good to go.</li>
<li>Log into Gmail</li>
<li>Go to Settings (link is in the top right)</li>
<li>Go to Accounts and Import</li>
<li>Under &#8220;Send mail as:&#8221; section click &#8220;Send mail from another address&#8221;</li>
<li>Enter your email address you want to use (eg. username@shaw.ca) and press Next</li>
<li>Choose to use Gmail&#8217;s servers, press Next and choose Send Verification</li>
<li>Click on the link in the verification email. This will verify the email address so you can move onto step 9. You may need to check your Junk Mail folder.</li>
<li>Back at the &#8220;Send mail as&#8221; section (you may need to refresh the browser) click the &#8220;make default&#8221; link for the email address you set up and be sure that below it &#8220;Always reply from default address&#8221; is selected.</li>
<li>Now be sure to change your SMTP settings on your computer/mobile device accordingly. This varies from device to device as to the steps but is the most important step. If not set correctly (eg. not turning off other SMTP servers on an iOS device) will make everything we&#8217;ve done for naught.</li>
<li>Send an email to yourself to test and reply to it and make sure it gets to the right address. The only times I&#8217;ve ever seen an error here is if the SMTP wasn&#8217;t set up correctly, step 9 wasn&#8217;t followed or the carrier&#8217;s SMTP server was enabled again (yes it&#8217;s repeated because it accounts for 99% of errors I&#8217;ve seen).</li>
</ol>

<p>Not difficult, but something I can grab when writing an email on how to do it. <img src='http://chealion.ca/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://chealion.ca/2011/01/using-gmail-as-your-smtp-server-when-using-your-isps-email/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hooking Up with Shaw&#8217;s New &#8220;Remote SMTP&#8221; Service</title>
		<link>http://chealion.ca/2011/01/hooking-up-with-shaws-new-remote-smtp-service/</link>
		<comments>http://chealion.ca/2011/01/hooking-up-with-shaws-new-remote-smtp-service/#comments</comments>
		<pubDate>Sat, 22 Jan 2011 21:46:50 +0000</pubDate>
		<dc:creator>Micheal</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[shaw]]></category>
		<category><![CDATA[smtp]]></category>

		<guid isPermaLink="false">http://chealion.ca/?p=379</guid>
		<description><![CDATA[Update (February 2012 - Webmail 2.0 is completely up with all it&#8217;s Exchange goodness - so check out Shaw&#8217;s new instructions ) Please join me in welcoming Shaw&#8217;s new feature of actually allowing Shaw email users to send email while travelling without resorting to webmail or trying to find the local ISP&#8217;s SMTP server address [...]]]></description>
			<content:encoded><![CDATA[<p>Update (February 2012 - Webmail 2.0 is completely up with all it&#8217;s Exchange goodness - so check out <a href="http://shaw.ca/Support/Internet/Webmail-20/Webmail-20-Setup/Synchronize-Your-iPhone-iPad/">Shaw&#8217;s new instructions</a> )</p>

<p>Please join me in welcoming Shaw&#8217;s new feature of actually allowing Shaw email users to send email while travelling without resorting to webmail or trying to find the local ISP&#8217;s SMTP server address (or seeing that Telus&#8217; mobile SMTP server is blacklisted AGAIN marking all your email as spam). This is of course ignoring that I don&#8217;t recommend anyone actually use their ISP provided email address but instead use something a bit more dedicated like your own domain or an actual email service. It&#8217;s still better than an AOL address.</p>

<p>Previously I&#8217;d been setting clients up to use a Gmail account as their proxy sending address when they have a Shaw or Telus email address - this makes it easier for Shaw clients. It&#8217;s also a lot simpler than the Gmail approach (which I have yet to post here).</p>

<h3>Coles Notes</h3>

<ol>
<li>Turn on Mobile Access using the new Webmail beta: <a href="https://wmbeta.shaw.ca/">https://wmbeta.shaw.ca</a></li>
<li>Change your SMTP settings to point to mail.shaw.ca using port 587, STARTTLS, and use your username and password as the authentication</li>
</ol>

<h3>More elaborate instructions</h3>

<p>Setting Up Shaw&#8217;s End:</p>

<ol>
<li>Sign into <a href="https://wmbeta.shaw.ca">https://wmbeta.shaw.ca</a></li>
<li>Click on Preferences (right side of screen - it&rsquo;s a text link beside Feedback)</li>
<li>Click on the &lsquo;tab&rsquo; that says &lsquo;Mobile Access&rsquo;</li>
<li>Set it to Enabled (click the radio button beside it)</li>
<li>You may need to change your password to meet their new security requirements.</li>
<li>Press Save. It will say &ldquo;Preferences saved&rdquo; in a small yellow box at the top of the page if it&rsquo;s successful.</li>
</ol>

<p>Thunderbird:</p>

<ol>
<li>Go to the Tools menu and choose Account Settings</li>
<li>On the left side on that window click on &ldquo;Outgoing Server (SMTP)&rdquo;. You may need to scroll as it&rsquo;s always the last item.</li>
<li>There should be an item associated with the Shaw account you just turned on. Whichever account you turned on Mobile Access for and click on it and then click the button that says &ldquo;Edit&#8230;&rdquo;</li>
<li>In the window that appears change the server name to <code>mail.shaw.ca</code> instead of <code>shawmail</code> or <code>shawmail.cg.shawcable.net</code> that it was set to. The port number should be changed from 25 to 587 and the Connection Security to STARTTLS. Authentication: Normal password and then enter your username</li>
<li>Press OK</li>
<li>If you did not change your password when setting up Shaw then press OK and you&rsquo;re done. If you did change your password when setting up Mobile Access the next time you check email it will ask you for a new password and you can enter it.</li>
</ol>

<p>Mail.app:</p>

<ol>
<li>Go to the Preferences and click on the Accounts section</li>
<li>Click on your Shaw account on the left side</li>
<li>Where it says Outgoing Mail Server (SMTP): click on the drop down menu and choose &#8220;Edit SMTP Server List&#8221;.</li>
<li>Find the Shaw SMTP server in that list  and click on it.</li>
<li>Change Server Name to <code>mail.shaw.ca</code></li>
<li>Click on the Advanced tab</li>
<li>Check off Use Secure Sockets Layer</li>
<li>Change the Authentication drop down menu to Password</li>
<li>Enter your username and password and then press OK.</li>
<li>Close the accounts preferences window and say yes to saving it if necessary.</li>
</ol>

<p>Shaw&#8217;s already provided instructions on setting up an account anew for iOS, Android and Blackberry devices: <a href="https://wmbeta.shaw.ca/doc/offnet-device-instructions.html">https://wmbeta.shaw.ca/doc/offnet-device-instructions.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://chealion.ca/2011/01/hooking-up-with-shaws-new-remote-smtp-service/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Using AWStats 7.0 with S3 Logs</title>
		<link>http://chealion.ca/2010/12/using-awstats-7-0-with-s3-logs/</link>
		<comments>http://chealion.ca/2010/12/using-awstats-7-0-with-s3-logs/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 23:50:07 +0000</pubDate>
		<dc:creator>Micheal</dc:creator>
				<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://chealion.ca/?p=373</guid>
		<description><![CDATA[The necessary code changes from Amazon&#8217;s Tutorial on using AWStats with S3 Logs take place at line 17,764 with version 7.0 and not 10,657. The hint? Just do a search for # HTTP request. Keep only GET, POST, HEAD for any version of AWStats. Of note, as of the published date AWStats 7.0 does not [...]]]></description>
			<content:encoded><![CDATA[<p>The necessary code changes from <a href="http://aws.amazon.com/articles/2330?_encoding=UTF8&amp;jiveRedirect=1">Amazon&#8217;s Tutorial on using AWStats with S3 Logs</a> take place at line 17,764 with version 7.0 and not 10,657.</p>

<p>The hint? Just do a search for <code># HTTP request. Keep only GET, POST, HEAD</code> for any version of AWStats.</p>

<p>Of note, as of the published date AWStats 7.0 does not count the files viewed correctly. I&#8217;m not sure why.</p>
]]></content:encoded>
			<wfw:commentRss>http://chealion.ca/2010/12/using-awstats-7-0-with-s3-logs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Compressor to Make H.264 MP4s</title>
		<link>http://chealion.ca/2010/09/using-compressor-to-make-better-html5-video-draft/</link>
		<comments>http://chealion.ca/2010/09/using-compressor-to-make-better-html5-video-draft/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 20:06:05 +0000</pubDate>
		<dc:creator>Micheal</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[compressor]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[mp4]]></category>
		<category><![CDATA[quicktime]]></category>
		<category><![CDATA[x264]]></category>

		<guid isPermaLink="false">http://chealion.ca/?p=329</guid>
		<description><![CDATA[In April I pushed to GitHub my RewraptoMP4 Script I put together to help assist in creating proper MPEG-4 container files while being able to use the x264 QuickTime component in Compressor. Compressor only allows you to specify the codec being used when exporting to a QuickTime file, however it is possible to use QuickTime [...]]]></description>
			<content:encoded><![CDATA[<p>In April I pushed to GitHub my <a href="http://github.com/Chealion/chealion/tree/master/Applescripts/RewrapMP4/">RewraptoMP4 Script</a> I put together to help assist in creating proper MPEG-4 container files while being able to use the <a href="http://www003.upp.so-net.ne.jp/mycometg3/">x264 QuickTime component</a> in Compressor. Compressor only allows you to specify the codec being used when exporting to a QuickTime file, however it is possible to use QuickTime Player after the fact to convert a QuickTime Movie to an MPEG-4 without transcoding so long as the codecs are supported in the MPEG-4 container spec.</p>

<p>My primary reason for the extra work is that Google Chrome will not recognize a .mov file as a valid wrapper for video in HTML 5&#8217;s <code>&lt;video&gt;</code> tags.</p>

<h2>Using Compressor</h2>

<p>You need to make your Compressor preset using x264 as a normal QuickTime movie preset (use the table below to help with settings if necessary). You&#8217;ll then want to grab the script from GitHub and add it as a script to your preset.</p>

<p>Scripting Compressor isn&#8217;t very straight forward, while you can use AppleScript or launch a script using Compressor they fail to mention that the script <em>must</em> be saved as an application and the file is accessed by using on open.</p>

<h2>Helpful Table of Limitations</h2>

<table width="100%">
<tbody>
<tr><th>Device</th><th>Max Res</th><th>Max Bit Rate</th><th width="325px">H.264 Settings</th></tr>
<tr><td>iPhone</td><td>640x480</td><td>2.5&#160;Mbps</td><td>Can only use Baseline profile Level 3.0 with CAVLC</td></tr>
<tr><td>iPod touch</td><td>640x480</td><td>2.5&#160;Mbps</td><td>Can only use Baseline profile Level 3.0 with CAVLC</td></tr>
<tr><td>iPhone 3G</td><td>640x480</td><td>2.5&#160;Mbps</td><td>Can only use Baseline profile Level 3.0 with CAVLC</td></tr>
<tr><td>iPod touch 2G</td><td>640x480</td><td>2.5&#160;Mbps</td><td>Can only use Baseline profile Level 3.0 with CAVLC</td></tr>
<tr><td>iPhone 3G S</td><td>640x480</td><td>2.5&#160;Mbps</td><td>Can only use Baseline profile Level 3.0 with CAVLC</td></tr>
<tr><td>iPod touch 3G</td><td>640x480</td><td>2.5&#160;Mbps</td><td>Can only use Baseline profile Level 3.0 with CAVLC</td></tr>
<tr><td>iPad</td><td>1280x720</td><td>&#8220;Unlimited&#8221;</td><td>Can only use up to Main Profile Level 3.1</td></tr>
<tr><td>iPhone 4</td><td>1280x720</td><td>&#8220;Unlimited&#8221;</td><td>Can only use up to Main Profile Level 3.1</td></tr>
<tr><td>iPod touch 4G</td><td>1280x720</td><td>&#8220;Unlimited&#8221;</td><td>Can only use up to Main Profile Level 3.1</td></tr>
<tr><td>G1</td><td>480x320</td><td>600</td><td>Lack of documentation for anything Android</td></tr>
<tr><td>Droid X</td><td>1280x720</td><td>?</td><td>Lack of documentation for anything Android - can&#8217;t play more than 24FPS</td></tr>
</tbody>
</table>

<p>Android information is rather limited. Official Android information is near non-existent.</p>

<p>Thanks to:
  - http://www.proactiveinteractive.com/software/compressor/index.php</p>
]]></content:encoded>
			<wfw:commentRss>http://chealion.ca/2010/09/using-compressor-to-make-better-html5-video-draft/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Using HTML 5&#8217;s Video To Serve Baseline and Main Profile Content</title>
		<link>http://chealion.ca/2010/08/using-html-5s-video-to-serve-baseline-and-main-profile-content/</link>
		<comments>http://chealion.ca/2010/08/using-html-5s-video-to-serve-baseline-and-main-profile-content/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 22:49:12 +0000</pubDate>
		<dc:creator>Micheal</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[h264]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[mp4]]></category>

		<guid isPermaLink="false">http://chealion.ca/?p=352</guid>
		<description><![CDATA[At work I was trying out to see if I could use the new video tag in HTML 5 to show two different versions of the same video; one optimized for devices that accept only the Baseline profile (eg. iPhone 3G S and older, many other phones) and one optimized for larger devices (eg. iPad, [...]]]></description>
			<content:encoded><![CDATA[<p>At work I was trying out to see if I could use the new <code>video</code> tag in HTML 5 to show two different versions of the same video; one optimized for devices that accept only the Baseline profile (eg. iPhone 3G S and older, many other phones) and one optimized for larger devices (eg. iPad, iPhone 4 that support the Main profile). Turns out it works absolutely fabulous by using the codecs section in the type (Thanks to <a href="http://diveintohtml5.org/video.html">Dive into HTML 5</a> for the documentation).</p>


<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">    &lt;video OTHER_ATTRIBUTES_HERE&gt;
        &lt;source src=&quot;PATH_TO_MAIN_PROFILE.mp4&quot; type='video/mp4; codecs=&quot;avc1.4D401F, mp4a.40.2&quot;' /&gt;
        &lt;source src=&quot;PATH_TO_BASELINE_PROFILE.mp4&quot; type='video/mp4; codecs=&quot;avc1.42E01E, mp4a.40.2&quot;' /&gt;
    &lt;/video&gt;</pre></div></div>


<p>The video codec for H.264 is: avc1.<strong>YYYY</strong>XX where YYYY represents the profile, while XX is the level (multiplied by 10 and turned into HEX):</p>

<pre><code>Profile     Value   
Baseline    42E0
Main        4D40
High        6400
Extended    58A0

Level       Hex Value   
3.0         1E
3.1         1F
4.1         29
5.1         33
</code></pre>

<p>Now when I visit with an iPhone 3G it loads the baseline version, while my iPhone 4 and iPad both load the Main Profile version. For my current project I use video for whenever Flash isn&#8217;t available and it does leave a gap for Firefox and Opera users who don&#8217;t have Flash but according to our web stats they don&#8217;t actually exist.</p>

<p>It&#8217;s also important to note that Android users are also left in a lurch because any version lower than 2.0 doesn&#8217;t support <code>&lt;video&gt;</code>, and those that do can&#8217;t handle a <code>&lt;source&gt;</code> element having a type value like above. To top it all off it isn&#8217;t able to play or show controls on a video on it&#8217;s own. You have to add some JavaScript to your page in order to play to pass the click event and tell it to play.</p>
]]></content:encoded>
			<wfw:commentRss>http://chealion.ca/2010/08/using-html-5s-video-to-serve-baseline-and-main-profile-content/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mail.app, Outlook, Attachments and Disappearing Text</title>
		<link>http://chealion.ca/2010/06/mail-app-outlook-attachments-and-disappearing-text/</link>
		<comments>http://chealion.ca/2010/06/mail-app-outlook-attachments-and-disappearing-text/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 23:57:59 +0000</pubDate>
		<dc:creator>Micheal</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[outlook]]></category>

		<guid isPermaLink="false">http://chealion.ca/?p=343</guid>
		<description><![CDATA[There&#8217;s a particularly nasty implementation detail that doesn&#8217;t seem to come up often but is just waiting to bite just about every Mac user in the ass. Mail.app allows users to attach files inline allowing them to be part of the flow of the text or in the case of one of my users be [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a particularly nasty implementation detail that doesn&#8217;t seem to come up often but is just waiting to bite just about every Mac user in the ass. Mail.app allows users to attach files inline allowing them to be part of the flow of the text or in the case of one of my users be right alongside the paragraph talking about the changes in that paragraph. Or like me, right below the email you&#8217;re sending and above the replied emails because of Mail.app&#8217;s defaulting to top posting. The issue isn&#8217;t being able to put attachments inline, but the fact that by default Mail.app will encode the attachment in the same spot in the email file causing other email clients to see the rest of the email as a set of attachments.</p>

<p>The fix: Make sure &#8220;Always Insert Attachments at End of Message&#8221; is checked off (preference key is AttachAtEnd - boolean for you MCX minded folk) and you can now attach inline as you would normally want to without having Outlook eat your message.</p>

<p><a href="http://chealion.ca/wp/wp-content/uploads/2010/06/Mail.app_.jpg"><img src="http://chealion.ca/wp/wp-content/uploads/2010/06/Mail.app_.jpg" alt="Mail.app.jpg" title="Mail.app.jpg" border="0" width="626" height="171" /></a></p>

<p>Thunderbird will display the text correctly, but you&#8217;ll lose it and it will only appear as an attachment once that email is forwarded or replied to: (Part 1.1.3 is the text &#8220;There&#8217;s an attachment&#8221;). You&#8217;ll also notice the horizontal rule separating between the different HTML portions of the email.</p>

<p><a href="http://chealion.ca/wp/wp-content/uploads/2010/06/Thunderbird.jpg"><img src="http://chealion.ca/wp/wp-content/uploads/2010/06/Thunderbird.jpg" alt="Thunderbird.jpg" title="Thunderbird.jpg" border="0" width="506" height="310" /></a></p>

<p>What program completely falls flat on it&#8217;s face is Outlook; it just puts all attachments off to the side and you have no idea what&#8217;s in the those ATT documents and your client sure as hell isn&#8217;t going to read them. So you&#8217;ve sent the email, the email was successfully sent, the text will be visible on their webmail systems, on their mobile device (Blackberry or iPhone), and even visible in other mail clients but because it&#8217;s technically an attachment Outlook won&#8217;t display it inline by default. (For the same reason they won&#8217;t show images by default in emails - the cookie tracking and that it&#8217;s a great attack vector)</p>

<p><a href="http://chealion.ca/wp/wp-content/uploads/2010/06/Outlook.jpg"><img src="http://chealion.ca/wp/wp-content/uploads/2010/06/Outlook.jpg" alt="Outlook.jpg" title="Outlook.jpg" border="0" width="454" height="175" /></a></p>

<p>Of note, this only occurs when sending from Mail.app. Outlook can attach items inline and have no issue as it attaches the images at the end of the email.</p>

<p>Correct view:</p>

<p><a href="http://chealion.ca/wp/wp-content/uploads/2010/06/OutlookCorrect.jpg"><img src="http://chealion.ca/wp/wp-content/uploads/2010/06/OutlookCorrect.jpg" alt="OutlookCorrect.jpg" title="OutlookCorrect.jpg" border="0" width="641" height="313" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://chealion.ca/2010/06/mail-app-outlook-attachments-and-disappearing-text/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>iCal Server Multiple / Sub Calendars and Sunbird</title>
		<link>http://chealion.ca/2009/08/ical-server-multiple-sub-calendars-and-sunbird/</link>
		<comments>http://chealion.ca/2009/08/ical-server-multiple-sub-calendars-and-sunbird/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 18:51:28 +0000</pubDate>
		<dc:creator>Micheal</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ical]]></category>
		<category><![CDATA[ical-server]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[sunbird]]></category>

		<guid isPermaLink="false">http://chealion.ca/?p=260</guid>
		<description><![CDATA[At my workplace we use iCal Server running on Mac OS X 10.5 Server to share several calendars all under our one staff group. With iCal, so long as the group is delegated to be shown on the user&#8217;s accounts you can see all the calendars but with Sunbird you only get to see the [...]]]></description>
			<content:encoded><![CDATA[<p>At my workplace we use iCal Server running on Mac OS X 10.5 Server to share several calendars all under our one staff group. With iCal, so long as the group is delegated to be shown on the user&#8217;s accounts you can see all the calendars but with Sunbird you only get to see the first calendar.</p>

<p>Before going further it&#8217;s worth noting how to delegate a group calendar so a user can view it without manually adding the group calendar as it&#8217;s own calendar (if using Delegates instead of multiple calendar &#8220;accounts&#8221; (same credentials, different calendars) is your aim). To do so you have to add the group calendar as a normal account in order to set it up, and then set up delegation as you would for a normal account. The important URL to know for using a group calendar is <code>http://FQDN.OF.SERVER:8008/principals/groups/groupname</code> (as always replace http with https and 8008 with 8443 if you are using SSL).</p>

<p>Sunbird uses slightly different URLs than what you use in iCal to start with, where in iCal an example URL might be <code>http://FQDN.OF.SERVER:8008/principals/users/USERNAME</code> or <code>http://FQDN.OF.SERVER:8008/principals/groups/GROUPNAME</code>. The corresponding URL to use in Sunbird is <code>http://FQDN.OF.SERVER:8008/calendars/users/USERNAME/calendar</code> or <code>http://FQDN.OF.SERVER:8008/calendars/groups/GROUPNAME/calendar</code></p>

<p>That&#8217;s great for adding a single calendar but what if a user or a group has multiple calendars under their one account? iCal will automatically show them as a group whereas Sunbird requires you to add each and everyone that you wish to have show up.</p>

<p>You can specify a &#8220;sub-calendar&#8221; to subscribe to in Mozilla Sunbird by specifying the unique ID of that calendar instead in the form of the url <code>http://FQDN.OF.SERVER:8008/calendars/__uids__/UID_OF_GROUP_OR_USER/UID_OF_SUB_CALENDAR</code> (Newer versions of Lightning will take <code>http://FQDN.OF.SERVER:8008/users/USERNAME/UID_OF_SUB_CALENDAR</code>). Note the lack of <code>calendar</code> at the end of the URL. To determine the UIDs in question it&#8217;s easiest using iCal, if you click on a calendar and press Command-I (File -> Get Info) you can see part of the CalDAV URL at the bottom of the sheet that appears.</p>

<p>You will see <code>calendars/__uids__/UNIQUE_ID/ONLY_PART_OF_THE_UNIQUE_ID</code> because the label the text is placed into is not big enough to fit the URL. Because you can&#8217;t get the full URL from there it&#8217;s easiest to go to the iCal Server itself and navigate to <code>/Library/CalendarServer/Documents/calendars/__uids__/</code> (you&#8217;ll need administrator privileges to view this). From there find the folder named the same as the UNIQUE&#95;ID portion of the URL and open it to find a folder with the UNIQUE&#95;ID of the &#8220;sub-calendar&#8221;. You can now put the URL together and use that in Sunbird to view that additional calendar.</p>

<p>Example URL of a sub-calendar in the group:<br />
     <code>https://FQDN.OF.SERVER:8443/calendars/__uids__/FA26C8C6-5B78-4AB0-AE73-0E9576574EBB/F74174B7-380C-4630-9192-9025F4C691A2</code></p>

<p><strong>EDIT:</strong></p>

<p>Sub-calendars also work at https://FQDN.OF.SERVER:8443/calendars/users/USERNAME/UID_OF_SUBCALENDAR</p>

<p>Sources Used:</p>

<ul>
<li><a href="http://www.macosxhints.com/article.php?story=20080410162942908">MacOSXHints.com - Add group calendars to iCal Server</a>  </li>
<li><a href="http://discussions.apple.com/thread.jspa?messageID=6865452">Apple Support Discussions - Correct URLs for Sunbird</a></li>
<li><a href="http://discussions.apple.com/thread.jspa?threadID=1666801&amp;tstart=-1">Apple Support Discussions - iCal + Sunbird</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://chealion.ca/2009/08/ical-server-multiple-sub-calendars-and-sunbird/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aborting On the Second Disk on a Restore</title>
		<link>http://chealion.ca/2009/02/aborting-on-the-second-disk-on-a-restore/</link>
		<comments>http://chealion.ca/2009/02/aborting-on-the-second-disk-on-a-restore/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 21:22:08 +0000</pubDate>
		<dc:creator>Micheal</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[tiger]]></category>

		<guid isPermaLink="false">http://chealion.ca/?p=222</guid>
		<description><![CDATA[Scenario: Client attempts to restore their iMac using their Software Restore disks (10.4.10) but the second disk containing iLife for some reason refuses to be recognized. iLife is already installed and the OS has been installed but the Installer will come up everytime you attempt to start up the computer. The workaround: Start up the [...]]]></description>
			<content:encoded><![CDATA[<p>Scenario: Client attempts to restore their iMac using their Software Restore disks (10.4.10) but the second disk containing iLife for some reason refuses to be recognized. iLife is already installed and the OS has been installed but the Installer will come up everytime you attempt to start up the computer.</p>

<p>The workaround: Start up the computer in single user mode. Then use the following commands (not the ones with ## preceding them however)</p>

<pre><code>## Mount the filesystem so you can read and write to it
mount -uw /
## The files we want live in /var/db
cd /var/db/
## Files that tell us it's a multi disk install
rm .AppleMultiInstall*
## File that tells us to pop up the registration dialog
rm .AppleCustomMac
## Something else to do with setup (Locale Setup?)
rm .locsetup.plist  
</code></pre>

<p>I removed all 3 files because they looked like the most likely culprits but gut tells me the .AppleMultiInstall* files are the only ones that <em>have</em> to be removed but I wasn&#8217;t able to test it.</p>

<p>You&#8217;re now able to boot the computer just fine - it&#8217;s imperative however to be sure that you know what has been installed as you&#8217;re interrupting the installation. Because in this case I knew that only iLife was on the second disk (in terms of what had been selected to be installed) I didn&#8217;t go ahead with reinstalling the OS to be on the safe side.</p>

<p>This has been tested on Mac OS X Tiger 10.4, it should be identical for Mac OS X Leopard 10.5 as well but I&#8217;m not 110% positive.</p>
]]></content:encoded>
			<wfw:commentRss>http://chealion.ca/2009/02/aborting-on-the-second-disk-on-a-restore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

