<?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>Alex&#039;s Blog &#187; osx</title>
	<atom:link href="http://www.oconnoat.com/blog/tag/osx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oconnoat.com/blog</link>
	<description></description>
	<lastBuildDate>Thu, 03 Mar 2011 18:21:19 +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>Steam App OSX Stuck in Offline Mode</title>
		<link>http://www.oconnoat.com/blog/2010/12/31/steam-app-osx-stuck-in-offline-mode/</link>
		<comments>http://www.oconnoat.com/blog/2010/12/31/steam-app-osx-stuck-in-offline-mode/#comments</comments>
		<pubDate>Fri, 31 Dec 2010 02:48:46 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[OSX]]></category>
		<category><![CDATA[fixing]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[offline mode]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[steam]]></category>
		<category><![CDATA[valve]]></category>

		<guid isPermaLink="false">http://www.oconnoat.com/blog/?p=223</guid>
		<description><![CDATA[I wanted to update Steam to purchase some games in the annual sale, and unfortunately due to some proxy-related configurations it was forced into offline mode. When the system came back, the error indicated that steam was in offline mode, but had to be in online mode to update, then it quit. Very annoying, since [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to update Steam to purchase some games in the annual sale, and unfortunately due to some proxy-related configurations it was forced into offline mode. When the system came back, the error indicated that steam was in offline mode, but had to be in online mode to update, then it quit. Very annoying, since changing to online mode requires you to be in the steam application.</p>
<p>I found the solution, you go to:<br />
<code>/Users/$yourusername/Library/Application Support/Steam/</code> and locate <code>registry.vdf</code></p>
<p>The variable you need to set is <code>Registry / HKCU / Software / Valve / Steam / Offline</code>, which you set to <code>"0"</code>.</p>
<p>Pretty surprising to see that Steam just ports what seems to be the windows Registry format over for configuration, but it seems to work (mostly :) )</p>
<img src="http://www.oconnoat.com/blog/?ak_action=api_record_view&id=223&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.oconnoat.com/blog/2010/12/31/steam-app-osx-stuck-in-offline-mode/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>Macports through a proxy</title>
		<link>http://www.oconnoat.com/blog/2009/03/18/macports-through-a-proxy/</link>
		<comments>http://www.oconnoat.com/blog/2009/03/18/macports-through-a-proxy/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 17:41:31 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[OSX]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[macports]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.oconnoat.com/blog/?p=172</guid>
		<description><![CDATA[We have a proxy in work that prevents connections from being made out directly. I found out about the awesome MacPorts program, which is a bit like apt for OSX. It pulls backports from a repository and installs them for you. There&#8217;s not a lot to the tool&#8217;s installation if you live on the open [...]]]></description>
			<content:encoded><![CDATA[<p>We have a proxy in work that prevents connections from being made out directly. I found out about the awesome <a href="http://www.macports.org">MacPorts</a> program, which is a bit like apt for OSX. It pulls backports from a repository and installs them for you.</p>
<p>There&#8217;s not a lot to the tool&#8217;s installation if you live on the open web, but I needed to do some stuff to get it working with our squid proxy. </p>
<p>If you run <code>sudo port selfupdate</code>, and get an error that says &#8216;port selfupdate failed: Couldn&#8217;t sync the ports tree&#8217; or something like that, chances are your proxy is blocking rsync.</p>
<p>There are three steps. The prerequisites required for this to work are that you have the proxy address, admin access to your mac, and that the proxy supports the rsync port (873/tcp).</p>
<p>You can test the connectivity by going to http://rsync.macports.org:873, you should get the following error:<br />
<code><br />
@RSYNCD: 30.0<br />
@ERROR: protocol startup error<br />
</code></p>
<h2>Step 1</h2>
<p>If that works ok, then you need to set up the sudo environment for osx to let proxy environment settings through. First, edit your sudoers file with:<br />
<code>sudo visudo</code><br />
Do not just edit /etc/sudoers</p>
<p>You need to append these lines:<br />
<code><br />
 Defaults        env_keep += "http_proxy HTTP_PROXY HTTPS_PROXY FTP_PROXY RSYNC_PROXY"<br />
 Defaults        env_keep += "ALL_PROXY NO_PROXY"<br />
</code></p>
<h2>Step 2</h2>
<p>Now, you need to set your http proxy<br />
<code>export http_proxy=http://proxy.example.com:8080</code><br />
where 8080 is the port number of the proxy</p>
<h2>Step 3</h2>
<p>By Default, port uses rsync to manage its updates. RSync can use a proxy environment setting (man rsync for mre)<br />
<code>export RSYNC_PROXY=proxy.example.com:8080</code><br />
Note the rsync proxy capitalisation, and the fact that it does not need http://</p>
<p>That should do it. You can then run selfupdate to get port to the latest version.</p>
<h2>The hard way</h2>
<p>If that doesn&#8217;t work, you can have a look at these instructions for replace rsync with subversion:<br />
<a href="http://trac.macports.org/wiki/howto/SyncingWithSVN">Syncing with SVN in Macports</a> </p>
<img src="http://www.oconnoat.com/blog/?ak_action=api_record_view&id=172&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.oconnoat.com/blog/2009/03/18/macports-through-a-proxy/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Donning my Mac</title>
		<link>http://www.oconnoat.com/blog/2008/07/15/donning-my-mac/</link>
		<comments>http://www.oconnoat.com/blog/2008/07/15/donning-my-mac/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 17:31:55 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[evernote]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mbp]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[smultron]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[versions]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.oconnoat.com/wordpress/?p=121</guid>
		<description><![CDATA[I recently took the plunge and went form an all-linux environment to adding a Macbook Pro to my collection of computers. I thought I would record a few of the apps and tips I have found useful in setting up the machine. Java Java can be a bit of a bugbear for linux users, because [...]]]></description>
			<content:encoded><![CDATA[<p>I recently took the plunge and went form an all-linux environment to adding a Macbook Pro to my collection of computers. I thought I would record a few of the apps and tips I have found useful in setting up the machine.</p>
<h2>Java</h2>
<p>Java can be a bit of a bugbear for linux users, because of the choices between Icedtea, openjdk and the Sun hotspot. Since I do a lot of Java development, I really want the real thing.</p>
<p>On the Mac, the official JVM seems to come from <a href='http://developer.apple.com/java/">Apple</a>, and unfortunately it&#8217;s a bit behind the curve.</p>
<p>On the plus side, <a href="http://www.eclipse.org">eclipse</a> is readily available in a proper apple app. This is a huge advantage. One tip for new mac users is that eclipse needs to be installed as the entire directory in the Applications folder, and you then drag the icon from inside the eclipse folder to the Dock. Ganymede includes support for SVN, so I didn&#8217;t need any extra plugins.</p>
<h2>Text Editing</h2>
<p>I got a copy of <a href="http://macvim.org/OSX/index.php">Vim 7.0</a> here, which I prefer infinitely to regular vi. It&#8217;s not a recently updated project, but I have few fears about ViM killing my machine.</p>
<p><a href="http://smultron.sourceforge.net/">Smultron</a> has a great icon, and does a pretty good job as a multi-file text editor. It could probably do with a plugin interface though, to help manage syntax colouring and stuff.</p>
<p>The best xml editor out there, in my opinion, is <a href="http://www.freexmleditor.com">Exchange XML</a>. It&#8217;s a pity the project seems to have stopped. I&#8217;d love them to opensource it so more work can be done.</p>
<h2>Subversion</h2>
<p>Still haven&#8217;t got around to Git or Bazaar. At the moment, we are still trying to convince our colleagues that Subversion is a good thing (or any code management!). I looked around, and so far, <a href="http://www.versionsapp.com/">Versions</a> is a pretty nice application for managing svn outside of eclipse. I use it to store the LaTeX files for papers and my thesis as well, and it&#8217;s great for that since it lets me keep every revision.</p>
<h2>LaTeX</h2>
<p>It turned out that it was super-easy to get this going. I had to search a little bit, but I ended up with one giant package that installed LaTeX, TeXShop and a BibTeX manager all together. They work pretty well, though it could be slightly more integrated. I got the <a href="http://www.tug.org/mactex/">mactex</a> package to get all this assembled. Interestingly, it has a XeTeX installation, which I have often been keen to try.</p>
<h2>Information Management</h2>
<p>I love <a href="http://www.evernote.com">EverNote</a>. It is an astonishingly tight application. The idea is that you can take linear notes, as per usual in a text file. However, if you have iSight on your laptop it will also OCR any pictures you send it. I find that super useful. The handwriting recognition is a bit so-so, but it works fairly well, and I think a better pen will fix my problem with it.</p>
<h2>Conclusions</h2>
<p>I have a few more apps to talk about. Next time, I will talk about Quicksilver, Adium and what I did to mail.app. So far, the mac experience has been excellent. The OS handled the weirdly-configured network we have here in TCD CS pretty seamlessly. </p>
<p>There are a few outstanding things, which I would love help with:</p>
<ul>
<li><del>Transparent access to Google Calendars, like thunderbird does</del></li>
<li>I can&#8217;t connect to our network printer through samba, only through IPP</li>
<li><del>What the hell is the F5 and F6 symbol on the MBP? All I get is a forbidden popup when I click em</del></li>
</ul>
<img src="http://www.oconnoat.com/blog/?ak_action=api_record_view&id=121&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.oconnoat.com/blog/2008/07/15/donning-my-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

