<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Mario Orlandi&#039;s Snippets</title>
	<atom:link href="http://morlandi.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://morlandi.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Thu, 26 Jan 2012 04:32:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='morlandi.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Mario Orlandi&#039;s Snippets</title>
		<link>http://morlandi.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://morlandi.wordpress.com/osd.xml" title="Mario Orlandi&#039;s Snippets" />
	<atom:link rel='hub' href='http://morlandi.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Git branch examples</title>
		<link>http://morlandi.wordpress.com/2012/01/22/git-branch-examples/</link>
		<comments>http://morlandi.wordpress.com/2012/01/22/git-branch-examples/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 17:42:00 +0000</pubDate>
		<dc:creator>morlandi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://morlandi.wordpress.com/?p=277</guid>
		<description><![CDATA[first create the branch locally and then push it to the remote repo $git checkout -b new_branch_name $git push origin new_branch_name Finally, add the following to ".git/config": [branch "new_branch_name"] remote = origin merge = refs/heads/new_branch_name list branches $git branch -a ... shows all local and remote branches $git branch -r ... shows only remote branches [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=277&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p></p>
<h3>first create the branch locally and then push it to the remote repo</h3>
<pre>
$git checkout -b new_branch_name
$git push origin new_branch_name

Finally, add the following to ".git/config":

[branch "new_branch_name"]
    remote = origin
    merge = refs/heads/new_branch_name
</pre>
<h3>list branches</h3>
<pre>
$git branch -a ... shows all local and remote branches
$git branch -r ... shows only remote branches

or use the following to displays plenty of information about the remote in general and how it relates to your own repository:

$git remote show origin
</pre>
<h3>other example with a submodule</h3>
<pre>
    cd src/forum
    git status
    # Not currently on any branch.
    git checkout master
    # Previous HEAD position was 0816d91... Updated locales
    # Switched to branch 'master'
    git pull
    git checkout -b assiweb
    git push origin assiweb
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/morlandi.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/morlandi.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/morlandi.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/morlandi.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/morlandi.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/morlandi.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/morlandi.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/morlandi.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/morlandi.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/morlandi.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/morlandi.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/morlandi.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/morlandi.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/morlandi.wordpress.com/277/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=277&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://morlandi.wordpress.com/2012/01/22/git-branch-examples/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0503c52e549437b94ac3c238cec2256c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">morlandi</media:title>
		</media:content>
	</item>
		<item>
		<title>Allow db access with password authentication in LAN</title>
		<link>http://morlandi.wordpress.com/2012/01/20/allow-db-access-with-password-authentication-in-lan/</link>
		<comments>http://morlandi.wordpress.com/2012/01/20/allow-db-access-with-password-authentication-in-lan/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 18:51:21 +0000</pubDate>
		<dc:creator>morlandi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[postgreSQL]]></category>

		<guid isPermaLink="false">http://morlandi.wordpress.com/?p=274</guid>
		<description><![CDATA[in file &#8220;pg_hba.conf&#8221;: # TYPE DATABASE USER CIDR-ADDRESS METHOD # "local" is for Unix domain socket connections only local all all trust # IPv4 local connections: host all all 127.0.0.1/32 trust host paintdb jcolors 192.168.98.0/24 password host all all 192.168.98.0/24 password # IPv6 local connections: host all all ::1/128 trust<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=274&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>in file &#8220;pg_hba.conf&#8221;:</p>
<pre>
# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD

# "local" is for Unix domain socket connections only
local   all         all                               trust
# IPv4 local connections:
host    all         all         127.0.0.1/32          trust
host    paintdb     jcolors     192.168.98.0/24       password
host    all         all         192.168.98.0/24       password
# IPv6 local connections:
host    all         all         ::1/128               trust
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/morlandi.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/morlandi.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/morlandi.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/morlandi.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/morlandi.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/morlandi.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/morlandi.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/morlandi.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/morlandi.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/morlandi.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/morlandi.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/morlandi.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/morlandi.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/morlandi.wordpress.com/274/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=274&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://morlandi.wordpress.com/2012/01/20/allow-db-access-with-password-authentication-in-lan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0503c52e549437b94ac3c238cec2256c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">morlandi</media:title>
		</media:content>
	</item>
		<item>
		<title>Update query by joining multiple tables</title>
		<link>http://morlandi.wordpress.com/2012/01/18/update-query-by-joining-multiple-tables/</link>
		<comments>http://morlandi.wordpress.com/2012/01/18/update-query-by-joining-multiple-tables/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 09:29:21 +0000</pubDate>
		<dc:creator>morlandi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[postgreSQL]]></category>

		<guid isPermaLink="false">http://morlandi.wordpress.com/?p=264</guid>
		<description><![CDATA[update assiweb_company set province_id=S.id from silverbullet_geo_state S where assiweb_company.state = S.code<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=264&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>
update assiweb_company set province_id=S.id
from silverbullet_geo_state S
where assiweb_company.state = S.code
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/morlandi.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/morlandi.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/morlandi.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/morlandi.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/morlandi.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/morlandi.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/morlandi.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/morlandi.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/morlandi.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/morlandi.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/morlandi.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/morlandi.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/morlandi.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/morlandi.wordpress.com/264/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=264&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://morlandi.wordpress.com/2012/01/18/update-query-by-joining-multiple-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0503c52e549437b94ac3c238cec2256c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">morlandi</media:title>
		</media:content>
	</item>
		<item>
		<title>Relocate Git repository</title>
		<link>http://morlandi.wordpress.com/2012/01/09/relocate-git-repository/</link>
		<comments>http://morlandi.wordpress.com/2012/01/09/relocate-git-repository/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 18:37:15 +0000</pubDate>
		<dc:creator>morlandi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://morlandi.wordpress.com/?p=252</guid>
		<description><![CDATA[# git remote rm origin # git remote add origin ssh://host/newgitrepo then update .git/config as follows: [branch "master"] remote = origin merge = refs/heads/master<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=252&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>
# git remote rm origin
# git remote add origin ssh://host/newgitrepo

then update .git/config as follows:

[branch "master"]
	remote = origin
        merge = refs/heads/master
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/morlandi.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/morlandi.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/morlandi.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/morlandi.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/morlandi.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/morlandi.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/morlandi.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/morlandi.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/morlandi.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/morlandi.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/morlandi.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/morlandi.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/morlandi.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/morlandi.wordpress.com/252/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=252&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://morlandi.wordpress.com/2012/01/09/relocate-git-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0503c52e549437b94ac3c238cec2256c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">morlandi</media:title>
		</media:content>
	</item>
		<item>
		<title>Readynasduo Backup to USB external drive</title>
		<link>http://morlandi.wordpress.com/2011/12/31/readynasduo-backup-to-usb-external-drive/</link>
		<comments>http://morlandi.wordpress.com/2011/12/31/readynasduo-backup-to-usb-external-drive/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 11:47:36 +0000</pubDate>
		<dc:creator>morlandi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[nas]]></category>

		<guid isPermaLink="false">http://morlandi.wordpress.com/?p=244</guid>
		<description><![CDATA[Always use front USB port which is USB 2.0 while back ports are USB 1.1 compatible: nas3:~# lspci -v 0000:00:17.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62) 0000:00:17.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62) 0000:00:17.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 65) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=244&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>
Always use front USB port which is USB 2.0 while back ports are USB 1.1 compatible:

nas3:~# lspci -v
0000:00:17.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
0000:00:17.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
0000:00:17.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 65) (prog-if 20 [EHCI])

nas3:# fdisk -l
Disk /dev/hdc: 2000.3 GB, 2000388448256 bytes
...
Disk /dev/hde: 2000.3 GB, 2000388448256 bytes
...
Disk /dev/hde doesn't contain a valid partition table
...
Disk /dev/sda: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x734462e6
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1      243202  1953512032+   7  HPFS/NTFS

nas3:# du --max-depth=1 -h /c
70G	/c/family
16k	/c/lost+found
210G	/c/media
126G	/c/.timemachine
3.6G	/c/silverbullet
57G	/c/brainstorm-extr
48G	/c/backup
708M	/c/.bittorrent
25G	/c/brainstorm
11M	/c/home
536G	/c

nas3:# mount /dev/sda1 /mnt/usbdrive/ 

Per es., backup del folder "brainstorm":
nas3:# rsync --progress --delete -avh /c/brainstorm/ /mnt/usbdrive/2011-12-31/c/brainstorm

oppure:

nas3:# rsync --progress --delete -avh --exclude-from '/c/exclude.txt' /c/ /mnt/usbdrive/2011-12-31/c

dove per es.

nas3:# cat exclude.txt
media
.timemachine
.bittorrent

Poiche' abbiamo attivato "fast USB write", alla fine:
nas3:# umount /mnt/usbdrive
</pre>
<h3>note</h3>
<p>nas3:~# export TERM=xterm<br />
nas3:~# top</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/morlandi.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/morlandi.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/morlandi.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/morlandi.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/morlandi.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/morlandi.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/morlandi.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/morlandi.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/morlandi.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/morlandi.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/morlandi.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/morlandi.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/morlandi.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/morlandi.wordpress.com/244/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=244&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://morlandi.wordpress.com/2011/12/31/readynasduo-backup-to-usb-external-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0503c52e549437b94ac3c238cec2256c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">morlandi</media:title>
		</media:content>
	</item>
		<item>
		<title>How do I create an .iso image</title>
		<link>http://morlandi.wordpress.com/2011/12/29/how-do-i-create-an-iso-image/</link>
		<comments>http://morlandi.wordpress.com/2011/12/29/how-do-i-create-an-iso-image/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 09:19:13 +0000</pubDate>
		<dc:creator>morlandi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://morlandi.wordpress.com/?p=240</guid>
		<description><![CDATA[I want to create an .iso image and have it compatible with Mac and Windows. Will Disk Utility let me do this? Create a folder with the contents you want on your ISO. Open Disk Utility and use the New Image from Folder menu item to create an image. Ensure it is uncompressed and use [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=240&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I want to create an .iso image and have it compatible with Mac and Windows. Will Disk Utility let me do this? </p>
<pre>
Create a folder with the contents you want on your ISO.

Open Disk Utility and use the New Image from Folder menu item to create an image. Ensure it is uncompressed and use the CD/DVD master option.

In my experience this creates HFS+ masters which are no good in Windows.

Open the Terminal

Assuming your new image is called ~/Desktop/Master.cdr (the file is on your desktop and called Master.cdr) type:

Code:

cd ~/Desktop
hdiutil makehybrid -iso -joliet -o Master.iso Master.cdr

This will create an ISO/Joliet .iso file.
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/morlandi.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/morlandi.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/morlandi.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/morlandi.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/morlandi.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/morlandi.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/morlandi.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/morlandi.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/morlandi.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/morlandi.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/morlandi.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/morlandi.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/morlandi.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/morlandi.wordpress.com/240/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=240&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://morlandi.wordpress.com/2011/12/29/how-do-i-create-an-iso-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0503c52e549437b94ac3c238cec2256c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">morlandi</media:title>
		</media:content>
	</item>
		<item>
		<title>set Django Form Textatea size</title>
		<link>http://morlandi.wordpress.com/2011/12/16/set-django-form-textatea-size/</link>
		<comments>http://morlandi.wordpress.com/2011/12/16/set-django-form-textatea-size/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 10:59:46 +0000</pubDate>
		<dc:creator>morlandi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[forms]]></category>

		<guid isPermaLink="false">http://morlandi.wordpress.com/?p=233</guid>
		<description><![CDATA[class CourseAttachmentInline(admin.TabularInline): model = CourseAttachment extra = 1 def formfield_for_dbfield(self, db_field, **kwargs): field = super(CourseAttachmentInline, self).formfield_for_dbfield(db_field, **kwargs) if db_field.name in ('subtitle',): #field.widget.attrs['rows'] = 3 #field.widget.attrs['cols'] = 20 field.widget.attrs = {'rows': 3, 'cols': 50} return field or class CourseAttachmentInline(admin.TabularInline): model = CourseAttachment extra = 1 def formfield_for_dbfield(self, db_field, **kwargs): if db_field.name in ('subtitle',): return forms.CharField(widget=forms.Textarea( attrs={'cols': [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=233&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>
class CourseAttachmentInline(admin.TabularInline):
    model = CourseAttachment
    extra = 1

    def formfield_for_dbfield(self, db_field, **kwargs):
        field = super(CourseAttachmentInline, self).formfield_for_dbfield(db_field, **kwargs)
        if db_field.name in ('subtitle',):
            #field.widget.attrs['rows'] = 3
            #field.widget.attrs['cols'] = 20
            field.widget.attrs = {'rows': 3, 'cols': 50}
        return field
</pre>
<p>or</p>
<pre>

class CourseAttachmentInline(admin.TabularInline):
    model = CourseAttachment
    extra = 1

    def formfield_for_dbfield(self, db_field, **kwargs):
        if db_field.name in ('subtitle',):
            return forms.CharField(widget=forms.Textarea(
                attrs={'cols': 50, 'rows': 3},
            ))
        return super(CourseAttachmentInline, self).formfield_for_dbfield(db_field, **kwargs)
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/morlandi.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/morlandi.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/morlandi.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/morlandi.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/morlandi.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/morlandi.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/morlandi.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/morlandi.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/morlandi.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/morlandi.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/morlandi.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/morlandi.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/morlandi.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/morlandi.wordpress.com/233/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=233&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://morlandi.wordpress.com/2011/12/16/set-django-form-textatea-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0503c52e549437b94ac3c238cec2256c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">morlandi</media:title>
		</media:content>
	</item>
		<item>
		<title>Mac OS X – Show / Hide Hidden Files in Finder</title>
		<link>http://morlandi.wordpress.com/2011/12/14/mac-os-x-show-hide-hidden-files-in-finder/</link>
		<comments>http://morlandi.wordpress.com/2011/12/14/mac-os-x-show-hide-hidden-files-in-finder/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 08:15:46 +0000</pubDate>
		<dc:creator>morlandi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://morlandi.wordpress.com/?p=230</guid>
		<description><![CDATA[show: $defaults write com.apple.finder AppleShowAllFiles TRUE $killall Finder hide: $defaults write com.apple.finder AppleShowAllFiles FALSE $killall Finder Sinlge file show: $chflags nohidden ~/Library/ hide: $chflags hidden ~/Library/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=230&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>
show:
$defaults write com.apple.finder AppleShowAllFiles TRUE
$killall Finder

hide:
$defaults write com.apple.finder AppleShowAllFiles FALSE
$killall Finder
</pre>
<h2>Sinlge file</h2>
<pre>
show:
$chflags nohidden ~/Library/

hide:
$chflags hidden ~/Library/
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/morlandi.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/morlandi.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/morlandi.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/morlandi.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/morlandi.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/morlandi.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/morlandi.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/morlandi.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/morlandi.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/morlandi.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/morlandi.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/morlandi.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/morlandi.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/morlandi.wordpress.com/230/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=230&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://morlandi.wordpress.com/2011/12/14/mac-os-x-show-hide-hidden-files-in-finder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0503c52e549437b94ac3c238cec2256c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">morlandi</media:title>
		</media:content>
	</item>
		<item>
		<title>What&#8217;s the equivalent of Linux&#8217;s updatedb command for the Mac?</title>
		<link>http://morlandi.wordpress.com/2011/12/10/whats-the-equivalent-of-linuxs-updatedb-command-for-the-mac/</link>
		<comments>http://morlandi.wordpress.com/2011/12/10/whats-the-equivalent-of-linuxs-updatedb-command-for-the-mac/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 08:36:25 +0000</pubDate>
		<dc:creator>morlandi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://morlandi.wordpress.com/?p=227</guid>
		<description><![CDATA[sudo /usr/libexec/locate.updatedb<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=227&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>
sudo /usr/libexec/locate.updatedb
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/morlandi.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/morlandi.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/morlandi.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/morlandi.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/morlandi.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/morlandi.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/morlandi.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/morlandi.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/morlandi.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/morlandi.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/morlandi.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/morlandi.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/morlandi.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/morlandi.wordpress.com/227/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=227&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://morlandi.wordpress.com/2011/12/10/whats-the-equivalent-of-linuxs-updatedb-command-for-the-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0503c52e549437b94ac3c238cec2256c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">morlandi</media:title>
		</media:content>
	</item>
		<item>
		<title>SublimeText2 tips</title>
		<link>http://morlandi.wordpress.com/2011/12/01/sublimetext2tips/</link>
		<comments>http://morlandi.wordpress.com/2011/12/01/sublimetext2tips/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 15:05:29 +0000</pubDate>
		<dc:creator>morlandi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[sublimetext]]></category>

		<guid isPermaLink="false">http://morlandi.wordpress.com/?p=219</guid>
		<description><![CDATA[plugins SublimeCodeIntel buildcodeintel script Keyboard history Pyflakes checker Highlight current word SublimeCodeIntel SublimeLinter PdbSublimeTextSupport SublimeTextIgorPlugin Browser-like back/forward history navigation<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=219&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>plugins</h3>
<ul>
<li><a href="https://github.com/Kronuz/SublimeCodeIntel">SublimeCodeIntel</a></li>
<li><a href="https://github.com/morlandi/buildcodeintel">buildcodeintel script</a></li>
<li><a href="https://github.com/optilude/SublimeTextMisc/blob/master/clipboardHistory.py">Keyboard history</a></li>
<li><a href="https://github.com/vorushin/sublimetext_python_checker">Pyflakes checker</a></li>
<li><a href="https://github.com/optilude/SublimeTextMisc/blob/master/highlight.py">Highlight current word</a></li>
<li><a href="https://github.com/Kronuz/SublimeCodeIntel">SublimeCodeIntel</a></li>
<li><a href="https://github.com/Kronuz/SublimeLinter">SublimeLinter</a></li>
<li><a href="http://pypi.python.org/pypi/PdbSublimeTextSupport">PdbSublimeTextSupport</a></li>
<li><a href="https://github.com/optilude/SublimeTextIgorPlugin">SublimeTextIgorPlugin</a></li>
<li><a href="http://www.sublimetext.com/forum/viewtopic.php?f=5&amp;t=2738">Browser-like back/forward history navigation</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/morlandi.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/morlandi.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/morlandi.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/morlandi.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/morlandi.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/morlandi.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/morlandi.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/morlandi.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/morlandi.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/morlandi.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/morlandi.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/morlandi.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/morlandi.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/morlandi.wordpress.com/219/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=morlandi.wordpress.com&amp;blog=7826092&amp;post=219&amp;subd=morlandi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://morlandi.wordpress.com/2011/12/01/sublimetext2tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0503c52e549437b94ac3c238cec2256c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">morlandi</media:title>
		</media:content>
	</item>
	</channel>
</rss>
