<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Osx on Diogo Gomes</title><link>https://diogogomes.com/tags/osx/</link><description>Recent content in Osx on Diogo Gomes</description><generator>Hugo</generator><language>en</language><copyright>{year}</copyright><lastBuildDate>Thu, 10 Jan 2013 17:38:00 +0000</lastBuildDate><atom:link href="https://diogogomes.com/tags/osx/index.xml" rel="self" type="application/rss+xml"/><item><title>Cocoa Programming</title><link>https://diogogomes.com/2013/01/10/cocoa-programming/</link><pubDate>Thu, 10 Jan 2013 17:38:00 +0000</pubDate><guid>https://diogogomes.com/2013/01/10/cocoa-programming/</guid><description>&lt;p&gt;At a time everyone is learning Objective-C and Cocoa in order to program for the iPhone, I&amp;rsquo;ve spent most of my time programming for OSX. After doing some contributions to &lt;a href="http://chetansurpur.com/projects/sidestep/"&gt;Sidestep&lt;/a&gt; during my &lt;a href="https://diogogomes.com/2012/09/11/two-month-at-cmu/"&gt;stay at CMU&lt;/a&gt;, I decided to endeavor deeper and develop some apps of my own, just to scratch my back.&lt;/p&gt;
&lt;p&gt;So during the holiday season I came up with two very simple applications:&lt;/p&gt;
&lt;p&gt;The first app (&lt;a href="https://github.com/dgomes/MeuComando"&gt;MeuComando.app&lt;/a&gt;) a simple MS MediaRoom remote control app, that enables me to control my STB without reaching for the command. It follows a trivial protocol which can be easily found online (examples in java, python, etc). Thing is, I really didn&amp;rsquo;t want a crappy Java app, so I reinvented the wheel and made myself a new app.&lt;/p&gt;</description></item><item><title>OS X - basic apps</title><link>https://diogogomes.com/2009/12/14/os-x-basic-apps/</link><pubDate>Mon, 14 Dec 2009 01:42:52 +0000</pubDate><guid>https://diogogomes.com/2009/12/14/os-x-basic-apps/</guid><description>&lt;p&gt;I recently got a new Macbook Pro, which means I also &lt;a href="https://diogogomes.com/2009/09/02/why-im-not-upgrading-to-snow-leopard/"&gt;moved to Snow Leopard&lt;/a&gt; (not that I couldn&amp;rsquo;t have stayed with Leopard).&lt;/p&gt;
&lt;p&gt;I keep a Time Machine backup, and could have used it to move all my files to the new system. But since I had to many things installed which I don&amp;rsquo;t use anymore, I decided to move just my personal settings to the new system.&lt;/p&gt;
&lt;p&gt;This constituted a great opportunity to list the applications I consider essential:&lt;/p&gt;</description></item><item><title>Why I'm not upgrading to Snow Leopard</title><link>https://diogogomes.com/2009/09/02/why-im-not-upgrading-to-snow-leopard/</link><pubDate>Wed, 02 Sep 2009 15:00:43 +0100</pubDate><guid>https://diogogomes.com/2009/09/02/why-im-not-upgrading-to-snow-leopard/</guid><description>&lt;p&gt;It&amp;rsquo;s that time of the year again, when everyone rushes to upgrade their OS to their latest version that &lt;a href="http://www.apple.com/macosx/"&gt;just got release&lt;/a&gt; or is &lt;a href="http://www.microsoft.com/windows/windows-7/"&gt;in the process&lt;/a&gt; of&amp;hellip;&lt;/p&gt;
&lt;p&gt;Upgrades are done because &lt;span style="text-decoration: line-through;"&gt;people&lt;/span&gt; techies just need to have the latest version of everything. Even when the new version will enable them to do exactly the same task they were doing before. And lets face it, if the new version wasn&amp;rsquo;t released yet, you would still be able to do your work.&lt;/p&gt;</description></item><item><title>Safari 4 Beta</title><link>https://diogogomes.com/2009/03/07/safari-4-beta/</link><pubDate>Sat, 07 Mar 2009 00:14:00 +0000</pubDate><guid>https://diogogomes.com/2009/03/07/safari-4-beta/</guid><description>&lt;p&gt;So today I jumped over my head and went nutz by installing Safari 4 Beta.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.apple.com/safari/"&gt;&lt;img class="alignright size-full wp-image-248" title="Safari 4 beta" src="https://diogogomes.com/images/2009/03/picture-1.png" alt="Safari 4 beta" width="283" height="197" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I Hate it! Changing the tabs position is messing up with my productivity. Is gaining 1 extra line worth it ?&lt;/p&gt;
&lt;p&gt;On the good side: It&amp;rsquo;s fast, and thats noticeable; coverflow is pretty but not something that again can add to my productivity.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ll give a thumbs up to the &amp;ldquo;Top Sites&amp;rdquo; feature, since it pretty much solves the issue of which page to use as homepage :)&lt;/p&gt;</description></item><item><title>Bypassing a restrictive Firewall using SSH</title><link>https://diogogomes.com/2009/02/20/bypassing-a-restrictive-firewall-using-ssh/</link><pubDate>Fri, 20 Feb 2009 14:52:19 +0000</pubDate><guid>https://diogogomes.com/2009/02/20/bypassing-a-restrictive-firewall-using-ssh/</guid><description>&lt;p&gt;If you are faced with a restrictive firewall implemented by your local admin. But luckily enough to have access to a SSH server! You can use the following tip:&lt;/p&gt;
&lt;p&gt;A &lt;a href="http://en.wikipedia.org/wiki/SOCKS"&gt;SOCKS&lt;/a&gt; proxy can easily be setup using SSH, in a terminal type:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ssh -D 8080 -Nf your.sshserver.com&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Then just change your Browser/Application settings to point towards &lt;em&gt;localhost&lt;/em&gt; port &lt;em&gt;8080&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://diogogomes.com/images/2009/02/picture-2.png"&gt;&lt;img class="aligncenter size-medium wp-image-236" title="ProxyConf" src="https://diogogomes.com/images/2009/02/picture-2-300x241.png" alt="ProxyConf" width="300" height="241" /&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Secure Screen Sharing</title><link>https://diogogomes.com/2009/02/03/secure-screen-sharing/</link><pubDate>Tue, 03 Feb 2009 13:15:29 +0000</pubDate><guid>https://diogogomes.com/2009/02/03/secure-screen-sharing/</guid><description>&lt;p&gt;At home I keep a &lt;a href="http://www.apple.com/macmini/"&gt;MacMini&lt;/a&gt; Media Center which from time to time I access it remotely. Usually I do this through the SSH Server in OS X. But eventually I might need to access it through a GUI. Here comes in hand Apple&amp;rsquo;s OS X nifty tool called &amp;ldquo;Screen Sharing&amp;rdquo; which is actually a &lt;a href="http://en.wikipedia.org/wiki/Vnc"&gt;VNC&lt;/a&gt; Server/Client. &lt;/p&gt;
&lt;p&gt;You can setup &amp;ldquo;Screen Sharing&amp;rdquo; at the same place you setup the SSH Server in &amp;ldquo;System Preferences -&amp;gt; Sharing&amp;rdquo; by ticking &amp;ldquo;Screen Sharing&amp;rdquo; and &amp;ldquo;Remote Login&amp;rdquo; respectively.&lt;/p&gt;</description></item><item><title>Top 10</title><link>https://diogogomes.com/2008/04/11/top-10/</link><pubDate>Fri, 11 Apr 2008 22:31:13 +0100</pubDate><guid>https://diogogomes.com/2008/04/11/top-10/</guid><description>&lt;p&gt;Answering Alfredo&amp;rsquo;s &lt;a href="http://www.digitalself.org/2008/04/10/top-ten/"&gt;challenge&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;My MacBook:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ history|awk &lt;span style="color:#e6db74"&gt;&amp;#39;{a[$2]++ } END{for(i in a){print a[i] &amp;#34; &amp;#34; i}}&amp;#39;&lt;/span&gt;|sort -rn|head
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;148&lt;/span&gt; ssh
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;63&lt;/span&gt; ls
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;50&lt;/span&gt; cd
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;29&lt;/span&gt; ping
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;28&lt;/span&gt; sudo
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;23&lt;/span&gt; traceroute
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;21&lt;/span&gt; scp
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;17&lt;/span&gt; vi
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;17&lt;/span&gt; ifconfig
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;15&lt;/span&gt; route
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;My Linux Workstation:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ history|awk &lt;span style="color:#e6db74"&gt;&amp;#39;{a[$2]++ } END{for(i in a){print a[i] &amp;#34; &amp;#34; i}}&amp;#39;&lt;/span&gt;|sort -rn|head
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;111&lt;/span&gt; vi
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;67&lt;/span&gt; make
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;66&lt;/span&gt; cd
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;61&lt;/span&gt; svn
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;54&lt;/span&gt; ls
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;39&lt;/span&gt; sudo
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;22&lt;/span&gt; pwd
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;10&lt;/span&gt; man
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;8&lt;/span&gt; grep
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;7&lt;/span&gt; more
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>bash in living color</title><link>https://diogogomes.com/2007/12/05/bash-in-living-color/</link><pubDate>Wed, 05 Dec 2007 17:05:27 +0000</pubDate><guid>https://diogogomes.com/2007/12/05/bash-in-living-color/</guid><description>&lt;p&gt;For all of you switchers from Linux to OS X, that cannot live without a &lt;em&gt;bash&lt;/em&gt; terminal open 24/24:&lt;/p&gt;
&lt;p&gt;You have probably, and sadly, realised that your &lt;em&gt;Terminal&lt;/em&gt; does not come with &amp;ldquo;so nice to have&amp;rdquo; color tagging of files in your &lt;em&gt;ls&lt;/em&gt; command.&lt;/p&gt;
&lt;p&gt;Your 1st idea was probably to pickup your old trusty (and awfully hacked) .bashrc from your Linux system and place it in your OS X system. Unfortunately you sadly came to the conclusion that it didn&amp;rsquo;t work. :(&lt;/p&gt;</description></item></channel></rss>