<?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>Andrew Mallis&#039; blog &#187; technology</title>
	<atom:link href="http://andrewmallis.com/blog/category/technology/feed" rel="self" type="application/rss+xml" />
	<link>http://andrewmallis.com/blog</link>
	<description>this is the personal blog for Andrew Mallis</description>
	<lastBuildDate>Sat, 19 Nov 2011 09:39:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>badcamp 2011 shoutout</title>
		<link>http://andrewmallis.com/blog/2011/10/25/badcamp-2011-shoutout</link>
		<comments>http://andrewmallis.com/blog/2011/10/25/badcamp-2011-shoutout#comments</comments>
		<pubDate>Tue, 25 Oct 2011 05:12:46 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=369</guid>
		<description><![CDATA[Thanks to everyone who helped to make the event happen. And happen it did. A special note of appreciation to Shawn and UCSC and Zach and Stanford, and Will and Chapter Three,  and the amazing volunteers, and participants that made the prequel event something of note and the beginning of a promising future for Hi-Ed summits. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-373" title="Andrew Mallis post-camp" src="http://andrewmallis.com/blog/wp-content/uploads/2011/10/AndrewMallis_post-camp.jpg" alt="" width="500" height="624" /></p>
<p>Thanks to everyone who helped to make <a href="htto://badcamp2011.net" class="liinternal">the event</a> happen. And happen it did.</p>
<p>A special note of appreciation to Shawn and UCSC and Zach and Stanford, and Will and Chapter Three,  and the amazing volunteers, and participants that made <a href="http://2011.badcamp.net/higher-education-drupal-summit" target="_blank" class="liexternal">the prequel event</a> something of note and the beginning of a promising future for Hi-Ed summits.</p>
<p>Thanks to all the presenters at both events. It was the sum of all participants at every level that made the event something of note for everyone, I hope.</p>
<p><span id="more-369"></span></p>
<p>While 1,500 people are  only a small number of the total base, as a sampling of the Drupal community, it was evenly split between biz/dev, themers, developers, and presenter/organizer/booth-people. There was a very small minority of users, or recent adopters this year compared to last and I felt the agre bracket was maybe a bit older compared to DrupalCon, but these are all impressions based on my own sampling of the sampling.</p>
<p>I&#8217;m left with mixed feelings about Dries&#8217; &#8220;from product to industry&#8221; mantra, and questions of market dominance linger still.</p>
<p>Overall, I thought the event was stellar. <a href="http://2011.badcamp.net/program/sessions/what-you-see-not-always-what-you-get-it-can-be" target="_blank" class="liexternal">My session</a> went pretty well. I&#8217;m aiming to refine it and re-present in <a href="http://2011.drupalcamptoronto.org/sessions/what-you-see-not-always-what-you-get-it-can-be" target="_blank" class="liexternal">Toronto</a> and <a href="http://www.drupalcampnyc.org/" target="_blank" class="liexternal">New York</a>. Maybe even <a href="http://denver2012.drupal.org/program/sessions/what-you-see-not-always-what-you-get-it-can-be" target="_blank" class="liexternal">Denver</a>?</p>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2011%2F10%2F25%2Fbadcamp-2011-shoutout&t=badcamp+2011+shoutout" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2011%2F10%2F25%2Fbadcamp-2011-shoutout&title=badcamp+2011+shoutout" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2011%2F10%2F25%2Fbadcamp-2011-shoutout&title=badcamp+2011+shoutout" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2011%2F10%2F25%2Fbadcamp-2011-shoutout&title=badcamp+2011+shoutout&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2011%2F10%2F25%2Fbadcamp-2011-shoutout&title=badcamp+2011+shoutout&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2011/10/25/badcamp-2011-shoutout/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mounting remote filesystems on OSX Snow Leopard using sshfs, MacFuse and Macfusion</title>
		<link>http://andrewmallis.com/blog/2011/03/28/mounting-remote-filesystems-on-osx-snow-leopard-using-sshfs-macfuse-and-macfusion</link>
		<comments>http://andrewmallis.com/blog/2011/03/28/mounting-remote-filesystems-on-osx-snow-leopard-using-sshfs-macfuse-and-macfusion#comments</comments>
		<pubDate>Mon, 28 Mar 2011 05:41:21 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[tech tips]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=344</guid>
		<description><![CDATA[This post builds on the the already well documented concepts <a href="http://www.turingtarpit.com/2009/04/mounting-remote-filesystems-on-osx-leopard-using-sshfs-macfuse-and-macfusion/  " target="_blank">outlined in this blog post</a> to provide additional details for a Snow Leopard, and handle some additional configurations for the 64-bit kernel. The previous post explains in detail how these technologies work, and provides screen shots to guide you in your configurations.]]></description>
			<content:encoded><![CDATA[<p>I am really happy that  my MacFuse+Macfusion is working again. While the command line and version control are (most of the time) my friends, sometimes a client doesn&#8217;t use a VCS and I am forced to work directly on the server. MacFuse lets you mount these file systems over SSH like any other Mac volume. This makes it easy to work on the whole codebase at once on the mount point, vs. the download-upload FTP client method. Using the finder to browse around the server also makes it far easier to locate assets like image files.</p>
<p>This post builds on the the already well documented concepts <a href="http://www.turingtarpit.com/2009/04/mounting-remote-filesystems-on-osx-leopard-using-sshfs-macfuse-and-macfusion/  " target="_blank" class="liexternal">outlined in this blog post</a> to provide additional details for a Snow Leopard, and handle some additional configurations for the 64-bit kernel. The previous post explains in detail how these technologies work, and provides screen shots to guide you in your configurations.</p>
<h2>MacFUSE</h2>
<p>The latest version of MacFUSE <a href="http://code.google.com/p/macfuse/downloads/list?can=1&amp;q=&amp;colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount" target="_blank" class="liexternal">on the google code page</a> is not compatible with the 64bit kernel. You need to download the 2.1.9 beta <a href="http://macfuse.975588.n3.nabble.com/unofficial-distributions-of-MacFUSE-f1893799.html" target="_blank" class="liexternal">from this link</a>.</p>
<h2>SSHFS</h2>
<p>Download the sshfs-static-leopard.gz from <a href="http://code.google.com/p/macfuse/wiki/MACFUSE_FS_SSHFS" target="_blank" class="liexternal">this wiki post</a> and replace the sshfs-static executable in the MacFusion.app package.</p>
<p>To use sshfs from the command line, symlink the new binary to a location in your path, i.e.:</p>
<p><code> sudo ln -s /Applications/Macfusion.app/Contents/PlugIns/sshfs.mfplugin/Contents/Resources/sshfs-static /usr/local/bin/sshfs</code></p>
<p>If MacFusion still refuses to complete a connection to a remote server, quit MacFusion, open up a terminal and:</p>
<p><code>$ cd /Applications/Macfusion.app/Contents/PlugIns/sshfs.mfplugin/Contents/Resources/</code><br />
<code>$ mv sshnodelay.so sshnodelay.so.bak</code></p>
<p><cite>source: http://rackerhacker.com/2009/08/28/fix-macfusion-on-snow-leopard/</cite></p>
<p>&nbsp;</p>
<h3>LINKS</h3>
<ul>
<li>How to manually compile svn checkout of MacFUES for the 64 bit kernel: <a href="http://www.5dollarwhitebox.org/drupal/node/97" target="_blank" class="liexternal">http://www.5dollarwhitebox.org/drupal/node/97</a></li>
<li>How to prevent .DS_Store file creation over network connections: <a href="http://support.apple.com/kb/HT1629" target="_blank" class="liexternal">http://support.apple.com/kb/HT1629</a></li>
</ul>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2011%2F03%2F28%2Fmounting-remote-filesystems-on-osx-snow-leopard-using-sshfs-macfuse-and-macfusion&t=Mounting+remote+filesystems+on+OSX+Snow+Leopard+using+sshfs%2C+MacFuse+and+Macfusion" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2011%2F03%2F28%2Fmounting-remote-filesystems-on-osx-snow-leopard-using-sshfs-macfuse-and-macfusion&title=Mounting+remote+filesystems+on+OSX+Snow+Leopard+using+sshfs%2C+MacFuse+and+Macfusion" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2011%2F03%2F28%2Fmounting-remote-filesystems-on-osx-snow-leopard-using-sshfs-macfuse-and-macfusion&title=Mounting+remote+filesystems+on+OSX+Snow+Leopard+using+sshfs%2C+MacFuse+and+Macfusion" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2011%2F03%2F28%2Fmounting-remote-filesystems-on-osx-snow-leopard-using-sshfs-macfuse-and-macfusion&title=Mounting+remote+filesystems+on+OSX+Snow+Leopard+using+sshfs%2C+MacFuse+and+Macfusion&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2011%2F03%2F28%2Fmounting-remote-filesystems-on-osx-snow-leopard-using-sshfs-macfuse-and-macfusion&title=Mounting+remote+filesystems+on+OSX+Snow+Leopard+using+sshfs%2C+MacFuse+and+Macfusion&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2011/03/28/mounting-remote-filesystems-on-osx-snow-leopard-using-sshfs-macfuse-and-macfusion/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>a NEW andrewmallis.com is forthcoming</title>
		<link>http://andrewmallis.com/blog/2011/01/06/a-new-andrewmallis-com-is-forthcoming</link>
		<comments>http://andrewmallis.com/blog/2011/01/06/a-new-andrewmallis-com-is-forthcoming#comments</comments>
		<pubDate>Fri, 07 Jan 2011 00:38:33 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=306</guid>
		<description><![CDATA[After months of development and years of planning, the launch of andrewmallis.com is finally on the horizon. A case of the cobbler going shoeless combined with being one&#8217;s own worst client has made this a challenging project. The site will act as both a portfolio and a database of my work and praxis. Eventually it [...]]]></description>
			<content:encoded><![CDATA[<p>After months of development and years of planning, the launch of andrewmallis.com is finally on the horizon. A case of the cobbler going shoeless combined with being one&#8217;s own worst client has made this a challenging project.</p>
<p>The site will act as both a portfolio and a database of my work and praxis. Eventually it will consume the parts of this blog that are art related, and the <a href="ideograph.biz" target="_blank" class="liinternal">ideograph.biz</a> will house posts related to my business.</p>
<p>I am hoping my site will be a prototype for even greater things to come, as I build out artist-centric tools and configurations on the <a href="drupal.org" target="_blank" class="liinternal">drupal</a> platform.</p>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2011%2F01%2F06%2Fa-new-andrewmallis-com-is-forthcoming&t=a+NEW+andrewmallis.com+is+forthcoming" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2011%2F01%2F06%2Fa-new-andrewmallis-com-is-forthcoming&title=a+NEW+andrewmallis.com+is+forthcoming" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2011%2F01%2F06%2Fa-new-andrewmallis-com-is-forthcoming&title=a+NEW+andrewmallis.com+is+forthcoming" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2011%2F01%2F06%2Fa-new-andrewmallis-com-is-forthcoming&title=a+NEW+andrewmallis.com+is+forthcoming&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2011%2F01%2F06%2Fa-new-andrewmallis-com-is-forthcoming&title=a+NEW+andrewmallis.com+is+forthcoming&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2011/01/06/a-new-andrewmallis-com-is-forthcoming/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>launching mollycrealock.com</title>
		<link>http://andrewmallis.com/blog/2010/07/26/launching-mollycrealock-com</link>
		<comments>http://andrewmallis.com/blog/2010/07/26/launching-mollycrealock-com#comments</comments>
		<pubDate>Mon, 26 Jul 2010 18:15:15 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=307</guid>
		<description><![CDATA[A little while back ideograph launched mollycrealock.com – a nice, attractive gallery for commercial Toronto photographer, Molly Crealock. It was a challenge to meet the requirements of automatic circular thumbnail generation and custom positioning. The site also incorporates: private client galleries visible based on either user role or user names. Multiple simultaneous file uploads. Easy [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-310" title="mollycrealock.com-screenshot" src="http://andrewmallis.com/blog/wp-content/uploads/2010/08/poster-screenshot.jpg" alt="screenshot fro mollycrealock.com" width="500" height="427" /></p>
<p>A little while back <a href="http://ideograph.ca" target="_blank" class="liexternal">ideograph</a> launched <a href="http://mollycrealock.com" target="_blank" class="liexternal">mollycrealock.com</a> – a nice, attractive gallery for commercial Toronto photographer, Molly Crealock. It was a challenge to meet the requirements of automatic circular thumbnail generation and custom positioning.</p>
<p>The site also incorporates:</p>
<ul>
<li>private client galleries visible based on either user role or user names.</li>
<li>Multiple simultaneous file uploads.</li>
<li>Easy image captions and re-ordering of galleries through drag &amp; drop.</li>
<li>jQuery interface elements</li>
</ul>
<p>You can see more screen shots of the work on <a href="http://ideograph.ca/websites/mollycrealockcom/" target="_blank" class="liexternal">ideograph.ca</a></p>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F07%2F26%2Flaunching-mollycrealock-com&t=launching+mollycrealock.com" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F07%2F26%2Flaunching-mollycrealock-com&title=launching+mollycrealock.com" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F07%2F26%2Flaunching-mollycrealock-com&title=launching+mollycrealock.com" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F07%2F26%2Flaunching-mollycrealock-com&title=launching+mollycrealock.com&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F07%2F26%2Flaunching-mollycrealock-com&title=launching+mollycrealock.com&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2010/07/26/launching-mollycrealock-com/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sequel Pro: look at the nerdy things I can do at 1 AM</title>
		<link>http://andrewmallis.com/blog/2010/06/03/sequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am</link>
		<comments>http://andrewmallis.com/blog/2010/06/03/sequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am#comments</comments>
		<pubDate>Thu, 03 Jun 2010 09:12:48 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[drupal]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[tech tips]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=299</guid>
		<description><![CDATA[Did I tell you about Sequel Pro? You can use it to connect to your local MAMP and also to remote LAMP mysql servers (via SSH). Why is this so awesome? Well, not only is it 100 times faster than that phpMyAdmin, but you can edit your DB super easily, like a spreadsheet. It is [...]]]></description>
			<content:encoded><![CDATA[<p>Did I tell you about <a href="http://www.sequelpro.com" title="check out the sequel pro site" target="_blank" class="liexternal">Sequel Pro</a>?</p>
<p>You can use it to connect to your local MAMP and also to <strong>remote</strong> LAMP mysql servers (via SSH). Why is this so awesome?</p>
<p style="text-align: left;">Well, not only is it 100 times faster than that phpMyAdmin, but you can edit your DB super easily, like a spreadsheet. It is a snap to filter/search/order a table for viewing and editing.<em> </em></p>
<p style="text-align: left;"><em>Caveat emptor</em>: what I am about to show you <span style="text-decoration: underline;">can do tremendous damage</span>. You can accidentally kill your entire application, so BACK YOUR DATABASES UP! Test on a copy first.<span id="more-299"></span></p>
<p style="text-align: left;">You can do simple things like turn 1&#8242;s to 0&#8242;s and quickly disable a drupal module faster than drush can (but watch out if you don&#8217;t know your dependencies).</p>
<div id="attachment_300" class="wp-caption aligncenter" style="width: 510px"><a href="http://andrewmallis.com/blog/wp-content/uploads/2010/06/sequelpro-edit-system.png" class="liimagelink"><img class="size-full wp-image-300  " title="sequelpro-edit-system" src="http://andrewmallis.com/blog/wp-content/uploads/2010/06/sequelpro-edit-system.png" alt="Edit your system table in Sequel Pro" width="500" height="319" /></a><p class="wp-caption-text">Edit your system table in Sequel Pro</p></div>
<p>I had this interesting and daunting problem:<br />
I am working on this site for a soccer league that has a couple hundred teams and I realize that I need to modify a whole slew of node titles based on values that appear in their CCK fields.<br />
Many of the Organic Group Group nodes (each team is a group)<br />
Views Bulk Operations gets me part, but not all the way quickly enough for this one-time operation.</p>
<p>I&#8217;m not crafty enough to write a join and update statement across all these tables, but I do already have a view listing Teams and CCK fields for Division and Type.</p>
<p>Hey, if I scroll down to the bottom of the view, I can copy the query right from views into Sequel Pro!</p>
<p>Holy Moly. It just works. As it should.</p>
<div id="attachment_301" class="wp-caption aligncenter" style="width: 509px"><a href="http://andrewmallis.com/blog/wp-content/uploads/2010/06/sequelpro-viiews-edit-nodes.png" class="liimagelink"><img class="size-full wp-image-301  " title="Edit join statments from views" src="http://andrewmallis.com/blog/wp-content/uploads/2010/06/sequelpro-viiews-edit-nodes.png" alt="Edit the result of a sequel statement created with views" width="499" height="329" /></a><p class="wp-caption-text">Edit the result of a sequel statement created with views</p></div>
<p>Now I can just go down the list and edit my node titles.<br />
Sweet.</p>
<p>Because there was a pattern here, I ended up using  the fabulous <a href="http://drupal.org/project/auto_nodetitle" title="project on drupal.org" target="_blank" class="liexternal">auto nodetitle</a> module and tokens. I temporarliy added a pattern to the node titles of my team content type and used <a href="http://drupal.org/project/views_bulk_operations" title="project on drupal.org" target="_blank" class="liexternal">views bulk operations</a> to update <em>some</em> of my node titles. After the update, i set the pattern to be used only if the title was blank.</p>
<p>Even though I solved my use case another way, I can see plenty of use for this technique in the future. Great way to fix typos in content, for example.</p>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F06%2F03%2Fsequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am&t=Sequel+Pro%3A+look+at+the+nerdy+things+I+can+do+at+1+AM" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F06%2F03%2Fsequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am&title=Sequel+Pro%3A+look+at+the+nerdy+things+I+can+do+at+1+AM" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F06%2F03%2Fsequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am&title=Sequel+Pro%3A+look+at+the+nerdy+things+I+can+do+at+1+AM" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F06%2F03%2Fsequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am&title=Sequel+Pro%3A+look+at+the+nerdy+things+I+can+do+at+1+AM&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F06%2F03%2Fsequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am&title=Sequel+Pro%3A+look+at+the+nerdy+things+I+can+do+at+1+AM&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2010/06/03/sequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring TinyMCE to handle a subset of styles</title>
		<link>http://andrewmallis.com/blog/2009/06/24/configuring-tinymce-to-handle-a-subset-of-styles</link>
		<comments>http://andrewmallis.com/blog/2009/06/24/configuring-tinymce-to-handle-a-subset-of-styles#comments</comments>
		<pubDate>Wed, 24 Jun 2009 20:32:29 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[drupal]]></category>
		<category><![CDATA[wysiwyg]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=263</guid>
		<description><![CDATA[Users often require a limited set of stylistic controls over content on their site. We implement this in Drupal using the wysiwg module and TinyMCE. Commonly, users need to create subheadings in their posts. Markup should always be privileged over wrapping content in classes. For example, it is much better, both from a structural and [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-264" style="border: 1px solid black; margin-left: 5px; margin-right: 5px;" title="wysiwyg" src="http://andrewmallis.com/blog/wp-content/uploads/2009/06/wysiwyg.png" alt="wysiwyg" width="294" height="174" />Users often require a limited set of stylistic controls over content on their site. We implement this in <strong>Drupal</strong> using the <strong><a href="http://drupal.org/project/wysiwyg" title="module page" target="_blank" class="liexternal">wysiwg module</a></strong> and <strong>TinyMCE</strong>.</p>
<p>Commonly, users need to create subheadings in their posts. Markup should always be privileged over wrapping content in classes. For example, it is much better, both from a structural and a maintenance perspective, to use an h2 tag to create a title, rather than adding a class of, say, .title to a paragraph tag, then forcing the paragraph to look like an h2. It will make a mess of your stylesheet, plus render your site less accessible to screen readers and search engines.</p>
<p><span id="more-263"></span>It is most often advisable to create a new Input profile called &#8220;Rich Text&#8221; or &#8220;Graphical HTML Editor&#8221;, but we can also edit the &#8220;Full HTML&#8221; input format.</p>
<p>Our <strong>wysiwyg profiles</strong> will be listed at  [ /admin/settings/wysiwyg/profile ]  where we edit the profile to which we&#8217;ve assigned the TinyMCE editor. Under Buttons and plugins, we enable the following buttons:</p>
<ol>
<li> HTML block format</li>
<li> Font style</li>
<li> Source code (not necessary, but useful for checking what we&#8217;ve done)</li>
</ol>
<p>Under the <strong>CSS fieldset</strong>, we limit the number of block tags available, i.e.</p>
<pre>  p,h2,h3,h4</pre>
<p>and set the <strong>Editor CSS</strong> to use the <strong>theme CSS</strong>. By default, this will generate a lot list of classes from our theme&#8217;s style.css. Now, you can create a separate stylesheet just for the wysiwyg, but coordinating changes across them can be a hassle. Instead, we open up only a subset of the classes in our stylesheet using the <strong>CSS classes textarea</strong>, following the [title]=[class] format (this will seem familiar if you&#8217;ve ever used webform module):</p>
<pre>  intro text=intro
  description text=description
  read more link=more-link</pre>
<p>This is great because we can now provide a more meaningful list of styles to the user, and also a limited set of structural markup tags. The downside is that we have 2 dropdown lists and have to provide the tiniest bit of eduction.</p>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F24%2Fconfiguring-tinymce-to-handle-a-subset-of-styles&t=Configuring+TinyMCE+to+handle+a+subset+of+styles" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F24%2Fconfiguring-tinymce-to-handle-a-subset-of-styles&title=Configuring+TinyMCE+to+handle+a+subset+of+styles" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F24%2Fconfiguring-tinymce-to-handle-a-subset-of-styles&title=Configuring+TinyMCE+to+handle+a+subset+of+styles" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F24%2Fconfiguring-tinymce-to-handle-a-subset-of-styles&title=Configuring+TinyMCE+to+handle+a+subset+of+styles&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F24%2Fconfiguring-tinymce-to-handle-a-subset-of-styles&title=Configuring+TinyMCE+to+handle+a+subset+of+styles&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2009/06/24/configuring-tinymce-to-handle-a-subset-of-styles/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>how to back up databases using phpMyAdmin</title>
		<link>http://andrewmallis.com/blog/2009/06/02/how-to-back-up-databases-using-phpmyadmin</link>
		<comments>http://andrewmallis.com/blog/2009/06/02/how-to-back-up-databases-using-phpmyadmin#comments</comments>
		<pubDate>Wed, 03 Jun 2009 01:04:30 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[drupal]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[tech tips]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=234</guid>
		<description><![CDATA[Back ups are important. Like brushing your teeth, it&#8217;s something you should do routinely. And, as you&#8217;d brush before important events, like going out on a date, so should you too backup before upgrading software. I&#8217;m going to show you how to use phpMyAdmin to back up and restore MySQL databases. In my next post, [...]]]></description>
			<content:encoded><![CDATA[<p><span id="sample-permalink">Back ups are important. Like brushing your teeth, it&#8217;s something you should do routinely. And, as</span><span id="sample-permalink"> you&#8217;d brush before important events, like going out on a date, so should you too backup before upgrading </span>software.</p>
<p>I&#8217;m going to show you how to use <a href="http://www.phpmyadmin.net" target="_blank" class="liexternal">phpMyAdmin</a> to back up and restore MySQL databases. In my next post, I&#8217;ll show you how to graduate to doing the same thing using the command line.</p>
<p>I use <a href="http://www.mamp.info/" target="_blank" class="liexternal">MAMP</a> to develop websites locally. I&#8217;ve written about this before <a href="http://andrewmallis.com/blog/2007/11/03/mamp-and-xamp" class="liinternal">here</a>. The examples I&#8217;ll be showing come from the phpMyAdmin packaged with MAMP, but apply just as well to any other environment.<span id="more-234"></span></p>
<h2>phpMyAdmin without the MAMP frame</h2>
<p style="text-align: left;">First things first. Let&#8217;s  work so we can see what we&#8217;re doing.I&#8217;m going to assume that you&#8217;re able to download and install MAMP or MAMP Pro on your own. The phpMyAdmin URL that you from the MAMP default webstart page gets you to the URL:</p>
<p style="text-align: left;"><a href="http://localhost/MAMP/frame.php?src=%2FphpMyAdmin%2F%3Flang%3Den-iso-8859-1&amp;language=English" target="_blank" class="liexternal">http://localhost/MAMP/frame.php?src=%2FphpMyAdmin%2F%3Flang%3Den-iso-8859-1&amp;language=English</a></p>
<p>which looks gives you a framed version of the phpMyAdmin. The framing takes up a lot of screen real estate.</p>
<p style="text-align: center;"><a href="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_noframe-250x201.png" class="liimagelink"><img class="size-full wp-image-239 aligncenter" title="phpmyadmin_mampframe" src="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_mampframe-250x201.png" alt="phpMyAdmin widow with the MAMP framing" width="250" height="201" /></a></p>
<p>Instead, use <a href="http://localhost/phpMyAdmin" target="_blank" class="liexternal">http://localhost/phpMyAdmin</a> and you&#8217;ll get something that looks much more pleasing:</p>
<p style="text-align: center;"><a href="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_noframe-250x201.png" class="liimagelink"><img class="size-full wp-image-238 aligncenter" title="phpmyadmin_noframe" src="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_noframe-250x201.png" alt="phpMyAdmin window without a frame" width="250" height="201" /></a></p>
<h2>dumping a database with phpMyAdmin</h2>
<p>Select a database from the drop-down menu on the left hand side of phpMyAdmin. Or, Navigate to &#8220;home&#8221; by clicking the little house under the phpMyAdmin logo in the top left and hit the blue Databases link in the  longish list there.<a href="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_home.png" class="liinternal"></a></p>
<p style="text-align: center;"><a href="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_home.png" class="liimagelink"><img class="size-full wp-image-245 aligncenter" title="phpmyadmin_home" src="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_home-250x182.png" alt="phpmyadmin_home" width="250" height="182" /></a></p>
<p>Ok, so now we see the tables in our database. Press the Export tab at the top. We&#8217;re going to export this database.</p>
<p style="text-align: center;"><a href="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_table-250x214.png" class="liimagelink"><img class="aligncenter size-full wp-image-253" title="phpmyadmin_table" src="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_table-250x214.png" alt="phpmyadmin_table" width="250" height="214" /></a></p>
<p>Let&#8217;s review the options you should select to get nice, compact, and legible SQL.</p>
<p style="text-align: center;"><a href="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin2102_exportdb3-600x632.png" class="liimagelink"><img class="aligncenter size-full wp-image-252" title="phpmyadmin2102_exportdb3" src="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin2102_exportdb3-600x632.png" alt="phpmyadmin2102_exportdb3" width="600" height="632" /></a></p>
<p>The first column, in the Export fieldset, is pretty straight forward. By default all the tables in your database will be selected. SQL is the format you want too.</p>
<p>&#8220;Disable foreign key checks&#8221; isn&#8217;t always necessary. I do a lot of CiviCRM work. Restoring a CiviCRM database will fail unless this option is enabled in your export.</p>
<p>&#8220;Add DROP TABLE / DROP VIEW&#8221; will delete your table on import before recreating it.</p>
<p>Extended inserts and Complete insterts gives you a smaller file and more compacted, easy to read view.</p>
<p>Click &#8220;Save as file&#8221; and use &#8220;gzipped&#8221; compression for the smallest files.</p>
<p>In the File name template, I add %D, which spits out today&#8217;s date. I add a little hypen before to seperate it from the database name and MAMP after, so I know it was a local dump and not from my live server. This format would give me a file like: mysql-06_02_09_MAMP.sql.gz</p>
<p>To restore your databse, click on the import tab, click the browse button, select your file, press go. I&#8217;ll spare you the screenshot.</p>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F02%2Fhow-to-back-up-databases-using-phpmyadmin&t=how+to+back+up+databases+using+phpMyAdmin" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F02%2Fhow-to-back-up-databases-using-phpmyadmin&title=how+to+back+up+databases+using+phpMyAdmin" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F02%2Fhow-to-back-up-databases-using-phpmyadmin&title=how+to+back+up+databases+using+phpMyAdmin" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F02%2Fhow-to-back-up-databases-using-phpmyadmin&title=how+to+back+up+databases+using+phpMyAdmin&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F02%2Fhow-to-back-up-databases-using-phpmyadmin&title=how+to+back+up+databases+using+phpMyAdmin&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2009/06/02/how-to-back-up-databases-using-phpmyadmin/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

