<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Silvamerica</title>
		<description>Software Engineer, game developer, Ruby rube, and robot with a top hat.</description>		
		<link>http://www.silvamerica.com</link>
		<atom:link href="http://www.silvamerica.com/feed.xml" rel="self" type="application/rss+xml" />
		
			<item>
				<title>Software Tips for Meetings &amp; Presentations</title>
				<description>&lt;p&gt;There are two pet peeves that I have about Mac laptops connected to external displays in meetings. The first is when someone fumbles through system preferences to toggle display mirroring when there is a keyboard shortcut, and the second is when someone’s display goes to sleep and they have to type their password to get the presentation back.&lt;/p&gt;

&lt;p&gt;Well, both of these are easily preventable.&lt;/p&gt;

&lt;h1 id=&quot;toggle-display-mirroring&quot;&gt;Toggle Display Mirroring&lt;/h1&gt;

&lt;p&gt;This one is super simple. When you have an external display connected, Command(⌘)+F1 toggles between extended desktop and mirrored mode. If you’ve switched off Mac special function keys (by checking System Preferences -&amp;gt; Keyboard -&amp;gt; “Use all F1, F2, etc. keys as standard function keys”), then you’d use fn+Command(⌘)+F1. To test which version you would use, press the F1 key. If it dims your display, then use the former combo, otherwise use the latter.&lt;/p&gt;

&lt;h1 id=&quot;keep-your-display-awake&quot;&gt;Keep Your Display Awake&lt;/h1&gt;

&lt;p&gt;This one is a little more involved (ooh, installing software!), but there are several options out there that beat going into System Preferences each time you present and changing the settings. The one that I like to use is called &lt;a href=&quot;https://itunes.apple.com/us/app/caffeine/id411246225&quot;&gt;Caffeine&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;img align=&quot;right&quot; src=&quot;/images/caffeine.png&quot; alt=&quot;Caffeine&quot; title=&quot;Caffeine&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Caffeine is a tiny little program that installs a coffee cup in your menu bar. Click it and your display won’t sleep. You can configure things like starting at login and the default amount of time before it deactivates itself. This will help you avoid that awkward moment when everyone watches you enter your password incorrectly enough times to get locked out.&lt;/p&gt;

&lt;h1 id=&quot;bonus-clear-your-desktop&quot;&gt;Bonus: Clear Your Desktop&lt;/h1&gt;

&lt;p&gt;Have you ever been embarrased when your audience catches a glimpse of your desktop cluttered with folders, screenshots, text files, and code snippets? Do you have a method to the madness that gets completely messed up if you try moving it all to another folder temporarily? Worry no more! Just drop down into Terminal:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;	&lt;span class=&quot;nb&quot;&gt;cd&lt;/span&gt; ~ &lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; mkdir DesktopHidden &lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; mv Desktop/&lt;span class=&quot;k&quot;&gt;*&lt;/span&gt; DesktopHidden&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;This will create a new directory in your home directory and move everything from your Desktop into that folder. When you move everything back, they will keep their positions and ordering on your desktop!&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;	&lt;span class=&quot;nb&quot;&gt;cd&lt;/span&gt; ~ &lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; mv DesktopHidden/&lt;span class=&quot;k&quot;&gt;*&lt;/span&gt; Desktop &lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; rmdir DesktopHidden&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;This actually works because you’re moving the .DS_Store file back and forth, and that’s what keeps track of the positions of icons (now you know what it’s for!), however I’ve found that this is a pretty easy way to do this.&lt;/p&gt;

&lt;h1 id=&quot;extra-bonus-do-not-disturb&quot;&gt;Extra Bonus: Do Not Disturb&lt;/h1&gt;

&lt;p&gt;Starting with Mountain Lion, Apple introduced a “Do Not Disturb” mode for notifications. You can set it to auto-enable when you’re mirrored to a TV or projector. This only works for notifications that go through Notification Center, but it’s a good idea if you want to make sure a new Software Update reminder doesn’t show up on the big screen. For anything else (personal chat?), it’s probably best to just make sure that you don’t have the clients open.&lt;/p&gt;

&lt;p&gt;&lt;img align=&quot;center&quot; src=&quot;/images/notification_center_preferences.png&quot; alt=&quot;Notification Center Preferences&quot; title=&quot;Notification Center Preferences&quot; /&gt;&lt;/p&gt;

</description>
				<pubDate>Thu, 25 Sep 2014 08:33:00 +0000</pubDate>
				<link>http://www.silvamerica.com/mac,/presenting/2014/09/25/software-tips-for-meetings-and-presentations.html</link>
				<guid isPermaLink="true">http://www.silvamerica.com/mac,/presenting/2014/09/25/software-tips-for-meetings-and-presentations.html</guid>
			</item>
		
			<item>
				<title>Game 2: Lock Puzzle</title>
				<description>&lt;p&gt;This isn’t as much a game as it is a puzzle. It’s basically the fifteen puzzle, however you can swap any two adjacent tiles instead of having to use the empty tile space. I tried at one point to utilize the empty tile space but it made it more complicated so I cut it out. If you solve the first puzzle, it will just get bigger and bigger to a point where you probably don’t want to play any more.&lt;/p&gt;

&lt;iframe style=&quot;width:42em;height:30em&quot; src=&quot;/games/lock-puzzle&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;&quot;&gt;&lt;/iframe&gt;

</description>
				<pubDate>Sat, 12 Jul 2014 13:47:00 +0000</pubDate>
				<link>http://www.silvamerica.com/games/2014/07/12/game-2-lock-puzzle.html</link>
				<guid isPermaLink="true">http://www.silvamerica.com/games/2014/07/12/game-2-lock-puzzle.html</guid>
			</item>
		
			<item>
				<title>Game 1: Circles</title>
				<description>&lt;p&gt;My first HTML game is tentatively called Circles and it’s not really a game yet. It’s only just a working &lt;a href=&quot;http://www.pixijs.com&quot;&gt;Pixi&lt;/a&gt; renderer that loads a sprite and makes it grow larger. That’s it… The terrible terrible code is on &lt;a href=&quot;https://github.com/silvamerica/circles&quot;&gt;Github&lt;/a&gt;. It’s a game… sort of. Let’s see if I can do better next week.&lt;/p&gt;

&lt;iframe style=&quot;width:42em;height:30em&quot; src=&quot;/games/circles&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;&quot;&gt;&lt;/iframe&gt;

</description>
				<pubDate>Sat, 12 Jul 2014 13:47:00 +0000</pubDate>
				<link>http://www.silvamerica.com/games/2014/07/12/game-1-circles.html</link>
				<guid isPermaLink="true">http://www.silvamerica.com/games/2014/07/12/game-1-circles.html</guid>
			</item>
		
			<item>
				<title>Find Who Added a File With Git</title>
				<description>&lt;p&gt;I don’t know why this was so hard to find. I searched extensively, tried to paste multiple process substitions from git and ls, and who knows what else. This command will show you, in reverse chronological order (by commit), who added the file or files and when:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;git log &lt;span class=&quot;nt&quot;&gt;--name-only&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--diff-filter&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;A &lt;span class=&quot;nt&quot;&gt;--date&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;short &lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;--pretty&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;format:&lt;span class=&quot;s2&quot;&gt;&quot;%an &amp;lt;%ae&amp;gt; on %ad in %h&quot;&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--&lt;/span&gt; path/to/files/&lt;span class=&quot;k&quot;&gt;*&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;
</description>
				<pubDate>Thu, 08 May 2014 06:13:00 +0000</pubDate>
				<link>http://www.silvamerica.com/git/2014/05/08/find-who-added-a-file-with-git.html</link>
				<guid isPermaLink="true">http://www.silvamerica.com/git/2014/05/08/find-who-added-a-file-with-git.html</guid>
			</item>
		
			<item>
				<title>Add Audio Delay Keyboard Shortcuts to Plex</title>
				<description>&lt;p&gt;It’s always frustrated me that by default you can’t affect the audio sync in Plex Home Theater without bringing up a distracting menu. It’s especially annoying when you have friends over and you don’t want to interrupt the show because you’re more obsessive over the audio sync than everyone else. I’ve finally figured out how to fix this. Just go to:&lt;/p&gt;

&lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;~/Library/Application Support/Plex Home Theater/userdata/keymaps
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;and create a new file called keyboard.xml. Paste in:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-xml&quot; data-lang=&quot;xml&quot;&gt;&lt;span class=&quot;nt&quot;&gt;&amp;lt;keymap&amp;gt;&lt;/span&gt;
  &lt;span class=&quot;nt&quot;&gt;&amp;lt;global&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;nt&quot;&gt;&amp;lt;keyboard&amp;gt;&lt;/span&gt;
			&lt;span class=&quot;nt&quot;&gt;&amp;lt;b&amp;gt;&lt;/span&gt;AudioDelayMinus&lt;span class=&quot;nt&quot;&gt;&amp;lt;/b&amp;gt;&lt;/span&gt;
			&lt;span class=&quot;nt&quot;&gt;&amp;lt;n&amp;gt;&lt;/span&gt;AudioDelayPlus&lt;span class=&quot;nt&quot;&gt;&amp;lt;/n&amp;gt;&lt;/span&gt;
		&lt;span class=&quot;nt&quot;&gt;&amp;lt;/keyboard&amp;gt;&lt;/span&gt;
	&lt;span class=&quot;nt&quot;&gt;&amp;lt;/global&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;/keymap&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;Restart PHT and now the b and n keys will reduce and add 25 milliseconds of audio delay, respectively.&lt;/p&gt;
</description>
				<pubDate>Wed, 07 May 2014 07:52:33 +0000</pubDate>
				<link>http://www.silvamerica.com/plex/2014/05/07/add-audio-delay-keyboard-shortcuts-to-plex.html</link>
				<guid isPermaLink="true">http://www.silvamerica.com/plex/2014/05/07/add-audio-delay-keyboard-shortcuts-to-plex.html</guid>
			</item>
		
			<item>
				<title>Open Links From Mac Terminal</title>
				<description>&lt;p&gt;From &lt;a href=&quot;http://stackoverflow.com/questions/2338765/is-there-a-way-to-make-a-link-clickable-in-the-osx-terminal&quot;&gt;this SO post&lt;/a&gt;, ⌘-DblClick on a link will open.&lt;/p&gt;

</description>
				<pubDate>Sun, 04 May 2014 20:54:33 +0000</pubDate>
				<link>http://www.silvamerica.com/mac,/terminal/2014/05/04/open-links-from-mac-terminal.html</link>
				<guid isPermaLink="true">http://www.silvamerica.com/mac,/terminal/2014/05/04/open-links-from-mac-terminal.html</guid>
			</item>
		
			<item>
				<title>Force Dig to Not Cache</title>
				<description>&lt;p&gt;I found &lt;a href=&quot;http://serverfault.com/questions/372066/force-dig-to-resolve-without-using-cache&quot;&gt;this post&lt;/a&gt; particularly helpful in debugging a DNS cache issue. The gist of it was:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;	dig @ns1.dynadot.com www.silvamerica.com&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt;to force dig to not use the cache when asking for domain records. You have to specify an authoritative name server with an @.&lt;/p&gt;

</description>
				<pubDate>Sat, 26 Apr 2014 12:19:56 +0000</pubDate>
				<link>http://www.silvamerica.com/dns/2014/04/26/force-dig-to-not-cache.html</link>
				<guid isPermaLink="true">http://www.silvamerica.com/dns/2014/04/26/force-dig-to-not-cache.html</guid>
			</item>
		
			<item>
				<title>First Post</title>
				<description>&lt;p&gt;This is my first blog post! I’m intending this to be a searchable repository of information that I want to refer back to, like step-by-step instructions on how to install random software that I use. Maybe someone else might find it useful.&lt;/p&gt;
</description>
				<pubDate>Sat, 26 Apr 2014 11:29:34 +0000</pubDate>
				<link>http://www.silvamerica.com/2014/04/26/first-post.html</link>
				<guid isPermaLink="true">http://www.silvamerica.com/2014/04/26/first-post.html</guid>
			</item>
		
	</channel>
</rss>