<?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>Gabriel de Kadt &#187; Mac</title>
	<atom:link href="http://www.lazydada.com/tag/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lazydada.com</link>
	<description>Personal notes on Mac based web development and design.</description>
	<lastBuildDate>Tue, 30 Aug 2011 10:47:39 +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>[MAMP stack] OpenGoo install in Mac OS X 10.5</title>
		<link>http://www.lazydada.com/2009-04-21/opengoo-install-in-mac-os-x-105/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=opengoo-install-in-mac-os-x-105</link>
		<comments>http://www.lazydada.com/2009-04-21/opengoo-install-in-mac-os-x-105/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 17:29:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design & development]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[MacOSX]]></category>
		<category><![CDATA[MAMP]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Project management]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.lazydada.com/?p=283</guid>
		<description><![CDATA[DON&#8217;T READ THIS! READ THIS. Or How to setup a MAMP Stack on&#8230; Mac OS X: a proper write up. Please disregard the gubbins on this post&#8230; [OK - this was going to be a simple step-by-step account of how to install a particular project management system on a Mac OS X box. That particular [...]]]></description>
			<content:encoded><![CDATA[<p>DON&#8217;T READ THIS! <a href="http://www.lazydada.com/2009-06-05/mamp-stacked/">READ THIS</a>.</p>
<h3>Or <span style="color: #000000;"><span style="text-decoration: none;"><a href="http://www.lazydada.com/2009-06-05/mamp-stacked/">How to setup a MAMP Stack on&#8230; Mac OS X</a>:</span></span> a proper write up.</h3>
<p>Please disregard the gubbins on this post&#8230;</p>
<p>[OK - this was going to be a simple step-by-step account of how to install  a particular project management system on a Mac OS X box. That particular project stalled but I learnt a few things about how to get a [M]AMP stack setup to the point a which I can continue&#8230; ]</p>
<p>Need a project management package. So far requirements and research lead to Open Goo.</p>
<ul style="text-align: left; ">
<li>Download package from <a href="http://www.opengoo.org/downloads.html">OpenGoo</a>.</li>
<li>Create a MySQL database for it.
<ul>
<li>Download and instal <a href="http://www.phpmyadmin.net/">PHP My Admin</a>. <a href="http://www.phpmyadmin.net/documentation/">Nice documentation</a>.</li>
</ul>
<ul style="text-align: left; ">
<li>
<ul style="text-align: left; ">
<li>[unstuff it and put the folder into ~/Sites/ , for example]</li>
<li>virtualhost it</li>
</ul>
<ul style="text-align: left; ">
<li>setup config.inc.php with <a href="http://www.geektimedesign.com/geek-stuff/tools-blowfish-generator.cfm">blowfish key</a></li>
</ul>
</li>
<li><span style="text-decoration: line-through;">f</span><span style="text-decoration: line-through;">ix socket error (?)</span>
<ul style="text-align: left; ">
<li><span style="text-decoration: line-through;">http://dev.mysql.com/doc/refman/5.0/en/mac-os-x-installation.html: edit (with TextWrangler of course) /etc/php.ini so that  &#8221;mysql.default_socket = /tmp/mysql.sock&#8221;</span></li>
</ul>
</li>
<li><span style="text-decoration: line-through;">Fix mcrypt error: &#8220;Cannot load </span><a href="http://php.net/mcrypt" target="Documentation"><em><span style="text-decoration: line-through;">mcrypt</span></em></a><span style="text-decoration: line-through;"> extension. Please check your PHP configuration&#8221;</span></li>
<li>Ditch the default OS X PHP install in favour of Marc Liyanage&#8217;s packaged instal of <a href="http://www.entropy.ch/software/macosx/php/">PHP for Mac OS X</a>
<ul style="text-align: left; ">
<li>If already set up the Apple version of PHP &#8211; make sure it&#8217;s disabled:  &#8221;<code>LoadModule php5_module</code>&#8220;  in <code>/private/etc/apache2/httpd.conf</code> shoul commented out</li>
<li>Download and run Marc&#8217;s installer from the link above. RTFM mind &#8211; but it&#8217;s a cinch. The new PHP files will now be in <code>/usr/local/php5</code>.</li>
<li>Also <a href="http://steveno.wordpress.com/2009/03/26/uninstall-mysql-on-mac-os-x/">ditch any previously installed MySQL</a>
<ul style="text-align: left; ">
<li>sudo rm /usr/local/mysql</li>
<li>sudo rm -rf /usr/local/mysql*</li>
<li>sudo rm -rf /Library/StartupItems/MySQLCOM</li>
<li>sudo rm -rf /Library/PreferencePanes/My*</li>
<li>edit /etc/hostconfig and remove the line MYSQLCOM=-YES-</li>
<li>sudo rm -rf /Library/Receipts/mysql*</li>
<li>sudo rm -rf /Library/Receipts/MySQL*</li>
</ul>
</li>
</ul>
</li>
<li>install to match the PHP  package to <a href="http://dev.mysql.com/downloads/mysql/5.0.html">MySQL 5.0.77</a></li>
</ul>
</li>
<li>Create a privileged MySQL user. (Any user may log in without  a password to get an anonymous session: &#8220;No Privileges&#8221;. Mac OS X user account &#8211; or _mysql. At this stage  log in without a password.)
<ul style="text-align: left; ">
<li><a href="http://www.phpmyadmin.net/documentation/#intro">phpMyAdmin can manage a whole MySQL server (needs a super-user) as well as a single database. To accomplish the latter you&#8217;ll need a properly set up MySQL user who can read/write only the desired database. It&#8217;s up to you to look up the appropriate part in the MySQL manual.</a></li>
</ul>
</li>
<li>Ye-har! Who&#8217;d of guessed&#8230; <a href="http://developer.apple.com/internet/opensource/osdb.html">Apple&#8217;s MySQL documentation</a> was where to find simple instructions for how to give the MySQL root user a password &#8211; and hence succeed to log inwith privileges. Terminal command: <code>/usr/local/mysql/bin/mysqladmin -u root password sniggle</code>. Where sniggle is your choice for a secure password.</li>
<li>For each DB user you should add that user with an MySQL query:<br />
<code>CREATE USER 'user1'@'localhost' IDENTIFIED BY'pass1';</code></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.lazydada.com/2009-04-21/opengoo-install-in-mac-os-x-105/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick and dirty DVD editing in iMovie</title>
		<link>http://www.lazydada.com/2009-02-26/quick-and-dirty-dvd-editing-in-imovie/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=quick-and-dirty-dvd-editing-in-imovie</link>
		<comments>http://www.lazydada.com/2009-02-26/quick-and-dirty-dvd-editing-in-imovie/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 12:47:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[amateur geekery]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[DVD]]></category>

		<guid isPermaLink="false">http://www.lazydada.com/2009-02-26/quick-and-dirty-dvd-editing-in-imovie/</guid>
		<description><![CDATA[Got your own content want to re-edit quick-like using iMovie. Use MPEG Streamclip to export to MPEG-4. Import into iMovie. Edit.]]></description>
			<content:encoded><![CDATA[<p>Got your own content want to re-edit quick-like using iMovie. Use <a title="essential for transcoding or converting VOB files on a Mac" href="http://www.squared5.com/svideo/mpeg-streamclip-mac.html">MPEG Streamclip</a> to <b>export to MPEG-4</b>. Import into iMovie. Edit. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.lazydada.com/2009-02-26/quick-and-dirty-dvd-editing-in-imovie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transmit / CODA FTP glitches</title>
		<link>http://www.lazydada.com/2009-02-22/transmit-coda-ftp-glitches/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=transmit-coda-ftp-glitches</link>
		<comments>http://www.lazydada.com/2009-02-22/transmit-coda-ftp-glitches/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 10:35:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design & development]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.lazydada.com/?p=222</guid>
		<description><![CDATA[Eureka. D&#8217;oh. ho-hum. Delete as appropriate. Updated&#8230; My email to transmit-at-panic.com: Hi, I&#8217;m sure it may be because I hadn&#8217;t RTFM in a while but I&#8217;ve just discovered that Transmit carries out Synchronisations based on its cache. I had always assumed that a mirror sync would update the cache first. I now realise this must [...]]]></description>
			<content:encoded><![CDATA[<h4>Eureka. D&#8217;oh. ho-hum.</h4>
<h4>Delete as appropriate.</h4>
<p><a href="#panicUpdate">Updated&#8230;</a></p>
<p>My email to transmit-at-panic.com:</p>
<blockquote><p>
Hi,</p>
<p>I&#8217;m sure it may be because I hadn&#8217;t RTFM in a while but I&#8217;ve just discovered that Transmit carries out Synchronisations based on its cache. I had always assumed that a mirror sync would update the cache first. I now realise this must have been causing some of my troubles with old files eventually reappearing on my server.</p>
<p>I use CODA to work on the site and Transmit to keep a set of rolling backups. (SVN has only just become an option for me.) I&#8217;ve been working on the site using CODA while Transmit stays open. I will now be making sure that I keep the syncing process separate (and restart Transmit before any sync operation) to avoid the glitches that have been troubling me. Obviously I&#8217;m looking to get my SVN server up and running as soon as possible.</p>
<p>Perhaps a notice in the Transmit UI to warn of this might be helpful.</p>
<p>Thanks</p>
</blockquote>
<h4 id="panicUpdate">Update</h4>
<blockquote><p>
Date: 25 February 2009 00:55:08 GMT+01:00<br />
Subject: Re: Sync issues</p>
<p>Hi Gabriel,<br />
This will be vastly improved in a future version of Transmit.<br />
&#8211;<br />
Les<br />
Panic Inc.</p>
</blockquote>
<p>Great stuff! Lets hope that new version is around the corner. I reckon it may well be. TBC.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lazydada.com/2009-02-22/transmit-coda-ftp-glitches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL and phpMyAdmin on Mac 10.5 Leopard</title>
		<link>http://www.lazydada.com/2009-02-19/mysql-and-phpmyadmin-on-mac-105-leopard/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mysql-and-phpmyadmin-on-mac-105-leopard</link>
		<comments>http://www.lazydada.com/2009-02-19/mysql-and-phpmyadmin-on-mac-105-leopard/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 12:36:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design & development]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[mcrypt]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.lazydada.com/2009-02-19/mysql-and-phpmyadmin-on-mac-105-leopard/</guid>
		<description><![CDATA[[Update! Lots of gotcha's with using the Apple package of PHP - found that its easier to do a couple of resets as noted here] Following on from PHP and SSI set-up on a Mac OS X 10.5, now it&#8217;s time for MySQL database work. Everything is plain sailing to start with: get and install [...]]]></description>
			<content:encoded><![CDATA[<p>[Update! Lots of gotcha's with using the Apple package of PHP - found that its easier to do a couple of resets as noted <a href="http://www.lazydada.com/2009-04-21/opengoo-install-in-mac-os-x-105/">here</a>]</p>
<p>Following on from <a href="http://www.lazydada.com/2008-11-07/apache-with-php-and-ssi-on-mac-os-x-105-leopard-in-two-minutes/">PHP and SSI set-up on a Mac OS X 10.5</a>, now it&#8217;s time for MySQL database work. Everything is plain sailing to start with: get and install both <a href="http://dev.mysql.com/downloads/" target="_blank">MySQL</a> and <a href="http://www.phpmyadmin.net/home_page/downloads.php" target="_blank">phpMyAdmin</a>. Then the first snag &#8211; phpMyAdmin cannot make a secure connection to MySQL without mcrypt (a PHP encryption extension) &#8211; and PHP as shipped with Mac OS X doesn&#8217;t come with this.</p>
<p>No solutions here I&#8217;m afraid &#8211; I&#8217;m in a hurry to get the development copy of a site I&#8217;m working on ASAP so have just commented out the blowfish and cookies lines in the phpMyAdmin config.inc.php file.</p>
<p>Must get this fixed&#8230;</p>
<p>Next problem: default MySQL setup looks in the wrong place for the socket connection. In Leopard the socket sits here <code>/private/tmp/mysql.sock</code>. Edit two lines in the MySQL sections of <code>/etc/php.ini</code> so as to get:</p>
<p><code>mysql.default_socket = /private/tmp/mysql.sock</code> and</p>
<p><code> mysqli.default_socket = /private/tmp/mysql.sock</code></p>
<p>Next problem&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lazydada.com/2009-02-19/mysql-and-phpmyadmin-on-mac-105-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
