<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>Albertech.net</title>
	<link>http://albertech.net</link>
	<description>Tips, Tricks, and Reviews in Linux, Apache, MySQL, PHP</description>
	<lastBuildDate>Wed, 28 Jul 2010 16:09:13 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>WordPress MU: Fix broken images on 2.9 to 3.0 upgrade</title>
		<description><![CDATA[If you have noticed all your blog images breaking after upgrading to WordPress 3.0 from WordPress MU, you will need to make a simple change to the .htaccess file.

<span id="more-429"></span>
<ol>
	<li>Remove the wp-content/blogs.php file as it is no longer supported in WordPress 3.0. It has been replaced with wp-includes/ms-files.php</li>
	<li>Locate the .htaccess file in the root directory</li>
	<li>Find the following line: 
<code>RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]</code></li>
	<li>Replace it with:
<code>RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]</code>  
</li>
	<li>This should fix the problem with broken images/files not showing up in the WordPress MU blogs.</li>
</ol>]]></description>
		<link>http://albertech.net/2010/07/wordpress-mu-fix-broken-images-on-2-9-to-3-0-upgrade/</link>
			</item>
	<item>
		<title>Disable autostart of MySQL in Debian and Ubuntu</title>
		<description><![CDATA[The quickest way to disable autostart of services in Debian is to utilize a convenient curses interface to selectively choose which services to autostart in different run levels. Its so much easier to use than update-rc.d.  Its good for instances where you are migrating services out of an existing box, such as removing the mysql server without uninstalling.

The package is called:
<strong>sysv-rc-conf</strong>

(Install it using aptitude or apt-get install)]]></description>
		<link>http://albertech.net/2010/07/disable-autostart-of-mysql-in-debian-and-ubuntu/</link>
			</item>
	<item>
		<title>Using jQuery for setting focus on an input box</title>
		<description><![CDATA[Setting a focus on an input box is a hassle with so many different browsers out there. Each browser has their own unique tag to set the focus. Rather than using the browser-specific tags for the focus, one can utilize Javascript to provide the functionality for multiple browsers. 

jQuery is a great alternative to adding the focus since its simply a matter of adding a few lines of code to your page. It will work on multiple browsers, whether it be Internet Explorer, Firefox, Chrome, or Safari.]]></description>
		<link>http://albertech.net/2010/06/using-jquery-for-setting-focus-on-an-input-box/</link>
			</item>
	<item>
		<title>WordPress RSS Cache issue</title>
		<description><![CDATA[As an administrator for a WordPress MU install, I've been getting comments about the RSS feed in WordPress not fetching the latest feeds. The RSS feed information that appears on the page ranges from a fetch that is a few hours to a day old. I've confirmed this is an issue with 2.9. This is an issue for blogs that need to pull alerts from an RSS feed within a timely basis, e.g. every 10 minutes.

The workaround to this is to use the KB Advanced RSS feed plugin instead of the one that's in WordPress.
]]></description>
		<link>http://albertech.net/2010/05/wordpress-rss-cache-issue/</link>
			</item>
	<item>
		<title>Fix: Renaming Apple Bluetooth Keyboard</title>
		<description><![CDATA[If you have followed the instructions for renaming your Apple Bluetooth keyboard in OS X and it doesn't work, the problem is actually an OS X 10.6 bug. I had the original version of OS X Snow Leopard without any patches and can confirm that the "Rename" option in System Preferences->Bluetooth does not exist. To fix, simply upgrade to the latest version of Snow Leopard (OS X 10.6.3 as of 5/11/2010)  They apparently brought back the "Rename" option in a newer version of Snow Leopard.]]></description>
		<link>http://albertech.net/2010/05/fix-renaming-applebluetooth-keyboard/</link>
			</item>
	<item>
		<title>Importing Canon MTS video into Final Cut Express</title>
		<description><![CDATA[As a new Mac owner, I recently purchased Final Cut Express 4 to see if I can transition from my Sony Vegas Pro 8 setup on the PC. The Sony Vegas Pro 8 software will run the Canon MTS files natively, which is a very convenient for quickly editing files. As I was importing the files onto the Mac, I noticed that Final Cut Express 4 wasn't recognizing the video format. It was displaying "Error: Unknown format" messages.

<strong>Solution:</strong> The workaround is to use iMovie '09 to import the video files from the camera. Connect the Canon camcorder to the Mac via ... ]]></description>
		<link>http://albertech.net/2010/04/importing-canon-mts-video-into-final-cut-express/</link>
			</item>
	<item>
		<title>CodeIgniter: Reading Excel Files</title>
		<description><![CDATA[Reading Excel files in CodeIgniter is actually very easy once you have the right documentation. The first thing you will need to do is utilize the CodeIgniter "Upload" library and add in the Excel Reader library for reading the files. The documentation on the CodeIgniter website in regards to this Excel Reader library is missing some details in implementation. This tutorial will go through the steps of installing the Excel reader library and getting an example implementation working.
]]></description>
		<link>http://albertech.net/2010/04/codeigniter-reading-excel-files/</link>
			</item>
	<item>
		<title>Fix: MySQL Error Illegal mix of collations</title>
		<description><![CDATA[<strong>The error message looked like:</strong>
"Illegal mix of collations (latin1_swedish_ci,COERCIBLE) and   (utf8_general_ci,IMPLICIT) for operation 'find_in_set'"

I ran into this problem today while importing text from a CSV file. Evidently, the text format of the document had UTF characters, which caused CodeIgniter to error out when it tried to insert it to the database. The line had French characters (The ç in Français) My database fields by default are set to "<dfn title="Swedish, case-insensitive">latin1_swedish_ci</dfn>" character set.

<strong>The fix?
</strong>I decided the best way to fix this was to set the Collation option for that specific field in the MySQL database to  "utf8_general_ci<dfn title="Unicode (multilingual), ... ]]></description>
		<link>http://albertech.net/2010/04/fix-mysql-error-illegal-mix-of-collations/</link>
			</item>
	<item>
		<title>Canon Spring 2010 Rebates</title>
		<description><![CDATA[<img src="http://albertech.net/wp-content/uploads/2010/03/7dbig-200x300.jpg">

If you are in the market for a Canon 7D or a Canon 5D Mark II and a lens, March 7, 2010 - April 3, 2010 is a great time to buy one. Canon is offering 2x the rebates for lenses if you pick up the 5D Mark II at the same time.

Historically, the 580 EX II had a $50 instant rebate during Winter 2009, so the rebate isn't as good (unless you buy the 5D Mark II at the same time) The $100 off on the 7D looks like a great deal, especially for such a new camera. One of my favorite lenses for indoor use is the 16-35mm, $200 off w/ the 5D II is a good deal.
]]></description>
		<link>http://albertech.net/2010/03/canon-spring-2010-rebates/</link>
			</item>
	<item>
		<title>MySQL &#8211; Case insensitive ORDER BY</title>
		<description><![CDATA[MySQL by default will make the ORDER BY option in queries case sensitive. This means that rows with the same starting letters (but different case) may be ordered non-alphabetically. There are three solutions to this. One is to force all database entries to be forced to upper-case or lower-case when inserting. Another is to use the collate option. The other solution is to change the query itself.]]></description>
		<link>http://albertech.net/2010/03/mysql-case-insensitive-order-by/</link>
			</item>
	<item>
		<title>Intel SS4200-E Server with Windows Server 2008</title>
		<description><![CDATA[I just finished installing my new server at home on an Intel SS4200-E box. The server is an incredible value at $135 on eBay. It has a solid case with 4 SATA ports, Celeron 1.6 Ghz processor, 512 MB DDR2 RAM (which I upped to 1GB), rubber drive mounts, and 4 USB ports. The intended use for this box is for running Windows Home server 2003 w/o any video ports. 
<img src="http://albertech.net/wp-content/uploads/2010/02/photo-2.jpg"><br />

How do you get video on the Intel SS4200? Read the blog entry for more information.]]></description>
		<link>http://albertech.net/2010/02/intel-ss4200-e-server-with-windows-server-2008/</link>
			</item>
	<item>
		<title>Amanda Backup: Client installation on Debian</title>
		<description><![CDATA[If you install the amanda-client package on Debian, some things need to be configured before you can actually use the service. By default, the server will not be able to connect to the client. The common error is: "selfcheck request failed: timeout waiting for ACK". Read the post for the solution.]]></description>
		<link>http://albertech.net/2010/01/amanda-backup-client-installation-on-debian/</link>
			</item>
	<item>
		<title>WordPress: Sidebar not showing up on older themes with WordPress 2.9+</title>
		<description><![CDATA[I noticed with the latest version of WordPress, an older template may not display the sidebar correctly. If you look at the source code, you notice a lot of HTML code is missing in the sidebar div. The easiest fix I found was to update the "sidebar.php" file in the template. Revised 4/28/2010 with a new fix.]]></description>
		<link>http://albertech.net/2010/01/wordpress-sidebar-not-showing-up-on-wordpress-2-9/</link>
			</item>
	<item>
		<title>CakePHP Resources</title>
		<description><![CDATA[I've been noticing that a lot of documentation in CakePHP seems to be spread out onto  many different sites. In my opinion, the CakePHP manual isn't comprehensive enough for learning.

Here's a list of useful CakePHP resources I've used recently:

<strong>CakeForge</strong> - Great resource for Open Source CakePHP applications. This site has many more applications than the CakePHP Bakery.
<strong><a href="http://cakeforge.org/" target="_blank">http://cakeforge.org/</a></strong>

<strong>Bakery</strong> - How to use different CSS files in CakePHP<a href="http://bakery.cakephp.org/articles/view/some-ideas-to-organize-your-css-files-and-autoload-them-in-cakephp" target="_blank">
<strong>http://bakery.cakephp.org/articles/view/some-ideas-to-organize-your-css-files-and-autoload-them-in-cakephp</strong></a>

<strong>Giga Promoters</strong> - CakePHP tutorials and scripts:
<strong><a href="http://www.gigapromoters.com/blog/category/cakephp/" target="_blank">http://www.gigapromoters.com/blog/category/cakephp/</a></strong>

I'll be updating this list as I find more resources.]]></description>
		<link>http://albertech.net/2010/01/cakephp-resources/</link>
			</item>
	<item>
		<title>MySQL Tutorial: Fetch last 10 rows without reversing order</title>
		<description><![CDATA[Here's the quickest way to sort data in MySQL after retrieving the last 10 entries with the LIMIT and ORDER BY DESC commands. If you simply do a ORDER BY DESC LIMIT 10, this will return the last 10 results in reverse order (newest first). Adding an inline SELECT command will sort the results after retrieving the last 10 items. (oldest first)

<B>SQL Command</B>

$sql = &#34;SELECT * FROM &#40;SELECT * FROM [TABLE] WHERE ORDER BY modified_date DESC LIMIT 10&#41; AS tbl ORDER BY tbl.modified_date&#34;



This will retrieve the last 10 rows while sorting by date chronologically. I used this SQL command for ... ]]></description>
		<link>http://albertech.net/2010/01/mysql-tutorial-fetch-last-10-rows-without-reversing-order/</link>
			</item>
	<item>
		<title>App Review: I am T-Pain on iProng Magazine</title>
		<description><![CDATA[My review on the "I am T-Pain" app is in the latest issue of iProng magazine. Check it out at: 
<a target="_new" href="http://www.iprong.com/ipodiphoneitunes/app-review-i-am-t-pain/">http://www.iprong.com/ipodiphoneitunes/app-review-i-am-t-pain/</a>. I really enjoyed the app with its auto-tune feature. Here's a <a target="_new" href="http://www.youtube.com/watch?v=-NkBHMl8zI0">really good video</a> of how it works, with musicians testing it out for the first time. ]]></description>
		<link>http://albertech.net/2009/12/app-review-i-am-t-pain-on-iprong-magazine/</link>
			</item>
	<item>
		<title>SFTP/ScpOnly: Fix for WinSCP Error</title>
		<description><![CDATA[Here's the fix for the common error with ScpOnly when using the Jail SFTP option. The error message for WinSCP clients is "WinSCP: this is end-of-file:0 failed with invalid output" when trying to connect to a SFTP server. View the post to see the fix for WinSCP.]]></description>
		<link>http://albertech.net/2009/11/sftp-scponly-fix-for-winscp-error/</link>
			</item>
	<item>
		<title>VMWARE Server 2.02 Update</title>
		<description><![CDATA[VMWARE Server 2.02 has been released October 27, 2009. It includes a few important security updates for VMWARE Server. If you are running a Linux server with VMWARE server 2.01, I strongly suggest to upgrade due to the "Directory Traversal Vulnerability" -- which may allow for remote retrieval of any file from the host system.]]></description>
		<link>http://albertech.net/2009/11/vmware-server-2-02-update/</link>
			</item>
	<item>
		<title>iPhone App Review: Jammit</title>
		<description><![CDATA[Ever wanted an easy way to learn how to play the guitar with music from your favorite bands? The iPhone app Jammit: Classic Rock Vol. 1 will help you learn songs with an intuitive way of teaching on the iPhone. The app features CD quality original recordings of three songs: Alice Cooper’s “I’m Eighteen”, Foreigner’s “Dirty White Boy”, and Deep Purple’s “Smoke on the Water”.

One of the key features is the ability to control the volume levels of the guitar on one track and the rest of the instruments (vocals/drums/bass) on another track. For instance, you can turn off the ... ]]></description>
		<link>http://albertech.net/2009/10/iphone-app-review-jammit/</link>
			</item>
	<item>
		<title>TinyMCE: Fix the removing of empty DIVs</title>
		<description><![CDATA[TinyMCE is a great WYSIWYG editor, but sometimes there are cases where it removes HTML tags when you go into the "HTML Source" mode and switch back to the editor.  This is very frustrating to end-users.

By default, TinyMCE will remove a lot of HTML tags including empty ones (such has having a DIV spacer), select options, certain styles, etc. To get around this, you will need to change the option "extended_valid_elements", which is before the setup : function(ed) line. Note: This will allow your users to add in any kind of HTML tags they want. Replace the "extended_valid_elements" line with:.....
]]></description>
		<link>http://albertech.net/2009/10/tinymce-fix-empty-tag-removal/</link>
			</item>
</channel>
</rss>
