<?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>Antti-Jussi Kovalainen &#187; Blog</title>
	<atom:link href="http://www.ajk.im/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ajk.im</link>
	<description></description>
	<lastBuildDate>Fri, 18 May 2012 22:22:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Sublime Text 2 tips</title>
		<link>http://www.ajk.im/2012/blog/sublime-text-2-tips</link>
		<comments>http://www.ajk.im/2012/blog/sublime-text-2-tips#comments</comments>
		<pubDate>Fri, 18 May 2012 22:22:03 +0000</pubDate>
		<dc:creator>darep</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[How-to]]></category>

		<guid isPermaLink="false">http://ajk.im/?p=2328</guid>
		<description><![CDATA[Sublime Text 2 is an awesome editor. The combination of a big feature set, cross-platform compatibility and extensibility really sells it to me. I've collected here some of my stuff related to Sublime Text 2.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sublimetext.com/2">Sublime Text 2</a> is an awesome editor. The combination of a big feature set, cross-platform compatibility and extensibility really sells it to me. I&#8217;ve collected here some of my stuff related to Sublime Text 2:</p>
<h2>1. Setting it up</h2>
<p>I change some of the default stuff after installation. Paste this into <em>Preferences → Settings &#8211; User</em></p>
<pre><code>"caret_style": "phase",
"color_scheme": "Packages/Color Scheme - Default/Mac Classic.tmTheme",
"font_size": 12.0,
"highlight_active_indent_guide": true,
"highlight_line": true,
"tab_size": 4,
"translate_tabs_to_spaces": true
</code></pre>
<h2>2. Install <a href="http://wbond.net/sublime_packages/package_control">Package Control</a></h2>
<p>Package Control easily and quickly enables you to install plugins (or packages) into Sublime Text 2. Must have even if you just wanna try the plugins :)</p>
<h2>3. Install plugins</h2>
<p>Use Package Control to install these:</p>
<p><strong>Prefixr</strong>: for CSS3 vendor-prefix auto-generation goodness<br />
<strong>SublimeLinter</strong>: Inline lint highlighting for the Sublime Text 2 editor<br />
<strong>CodeIntel</strong>: Full-featured code intelligence and smart autocomplete engine<br />
<strong>Git</strong>: context-menu for some simple Git-actions</p>
<p>Plugins I&#8217;m testing:</p>
<p><strong>Tag</strong>: HTML/XML/etc. indentation and structure fixing</p>
<h2>Extras</h2>
<p>Create <code>subl</code> command-line shortcut:</p>
<pre><code>ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl
</code></pre>
<p>Add <code>$HOME/bin</code> to <code>/etc/paths</code>:</p>
<pre><code>sudo echo \`echo \$HOME/bin\` &gt;&gt; /etc/paths
</code></pre>
<p>Add Sublime Text 2 as default editor for <a href="http://git-scm.com/">git</a>:</p>
<pre><code>git config --global core.editor "subl -w"
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ajk.im/2012/blog/sublime-text-2-tips/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My OSX Tips and Tricks</title>
		<link>http://www.ajk.im/2012/blog/osx-tips-and-tricks</link>
		<comments>http://www.ajk.im/2012/blog/osx-tips-and-tricks#comments</comments>
		<pubDate>Fri, 11 May 2012 16:20:40 +0000</pubDate>
		<dc:creator>darep</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[How-to]]></category>

		<guid isPermaLink="false">http://darep.garde.fi/?p=377</guid>
		<description><![CDATA[Proper finnish keyboard layout, middle-click, terminal tweaks and Finder extensions.]]></description>
			<content:encoded><![CDATA[<h3>1. Proper finnish keyboard layout</h3>
<p>Can&#8217;t remember where I found this or if I made this myself, but the default finnish OSX keyboard layout is horrible. <a href="http://ajk.im/uploads/Finnish-custom.keylayout">Here&#8217;s a better one</a>.</p>
<ol>
<li>Insert it to <code>/Users/&lt;username&gt;/Library/Keyboard Layouts/</code></li>
<li>Go to <code>System Preferences &gt; Language &amp; Text &gt; Input Sources</code></li>
<li>Enable the new &#8220;Finnish&#8221; keyboard on the list</li>
<li>Select the new keyboard layout from the language drop-down in the system menu (top right corner)</li>
<li>You can now hide the language drop-down menu</li>
</ol>
<div><a href="http://ajk.im/wp/../uploads/2012/05/Screen-Shot-2012-05-11-at-19.48.40.png"><img class="aligncenter size-medium wp-image-2878" title="Screen-Shot-2012-05-11-at-19.48.40" src="http://ajk.im/wp/../uploads/2012/05/Screen-Shot-2012-05-11-at-19.48.40-740x657.png" alt="" width="740" height="657" /></a></div>
<div></div>
<h3>2. Middle-click</h3>
<p>This is a must for me. I&#8217;m very accustomed to middle-clicking with the touchpad and a 3-finger tap just feels natural<br />
<a href="http://clement.beffa.org/labs/projects/middleclick/">http://clement.beffa.org/labs/projects/middleclick/</a></p>
<p>PS. There&#8217;s a handy trick in the comments to <a href="http://clement.beffa.org/labs/projects/middleclick/#comment-2124">hide the icon</a>.</p>
<h3>3. Terminal tweaks</h3>
<p>I set the locale in <code>System Preferences &gt; Language &amp; Text</code> to <em>Finnish</em> and Terminal will have the correct UTF-8 locale. Otherwise all the ä and ö letters are all screwed up.</p>
<p>I set &#8220;Pro&#8221; as the default configuration and change home, end, pgup and pgdn to work without shift.</p>
<p><a href="http://ajk.im/wp/../uploads/2012/05/Screen-Shot-2012-05-11-at-19.47.33.png"><img class="aligncenter size-full wp-image-2879" title="Screen-Shot-2012-05-11-at-19.47.33" src="http://ajk.im/wp/../uploads/2012/05/Screen-Shot-2012-05-11-at-19.47.33.png" alt="" width="704" height="648" /></a></p>
<h3>4. Finder extensions</h3>
<p>I want to create new files on the Finder easily, so I found this little <del>script</del> application <a href="http://manas.tungare.name/software/finder-toolbar-scripts/">http://manas.tungare.name/software/finder-toolbar-scripts/</a></p>
<p>I also use the &#8220;Terminal here&#8221; feature regularly.</p>
<h3>5. Other</h3>
<p>Some posts I&#8217;ve found useful when using OSX:</p>
<p><a href="http://www.cantuse.it/2009/09/how-to-prevent-itunes-from-launching-when-playpause-keys-on-keyboard-is-pressed/">http://www.cantuse.it/2009/09/how-to-prevent-itunes-from-launching-when-playpause-keys-on-keyboard-is-pressed/</a></p>
<p><a href="http://www.cantuse.it/2009/09/solution-snow-leopard-hangs-beachballs-frequently-in-safari-and-flash-player/">http://www.cantuse.it/2009/09/solution-snow-leopard-hangs-beachballs-frequently-in-safari-and-flash-player/</a></p>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ajk.im/2012/blog/osx-tips-and-tricks/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Responsive Web Design Demystified</title>
		<link>http://www.ajk.im/2011/blog/responsive-web-design-demystified</link>
		<comments>http://www.ajk.im/2011/blog/responsive-web-design-demystified#comments</comments>
		<pubDate>Wed, 19 Oct 2011 23:08:44 +0000</pubDate>
		<dc:creator>darep</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://ajk.im/?p=2306</guid>
		<description><![CDATA[In this article, you get a gentle introduction to the world of responsive web design. You&#8217;ll: Learn exactly what responsive design is, and why it&#8217;s useful Look at the difference between the terms &#8220;responsive design&#8221; and &#8220;adaptive design&#8221; Take an existing fluid layout and convert it into a responsive layout that looks good on all screens, from mobile to widescreen desktop,&#8230;]]></description>
			<content:encoded><![CDATA[<blockquote><p>In this article, you get a gentle introduction to the world of responsive web design. You&#8217;ll:</p>
<ul>
<li>Learn exactly <strong>what responsive design is</strong>, and why it&#8217;s useful</li>
<li>Look at the difference between the terms <strong>&#8220;responsive design&#8221;</strong> and <strong>&#8220;adaptive design&#8221;</strong></li>
<li>Take an existing fluid layout and <strong>convert it into a responsive layout</strong> that looks good on all screens, from mobile to widescreen desktop, and</li>
<li>See how <strong>media queries</strong> and the <strong><code>viewport</code> <code>meta</code> tag</strong> can help you build responsive layouts.</li>
</ul>
<p>Ready to explore the world of responsive design?</p></blockquote>
<p>Go go!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajk.im/2011/blog/responsive-web-design-demystified/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mock geolocation</title>
		<link>http://www.ajk.im/2011/blog/mock-geolocation</link>
		<comments>http://www.ajk.im/2011/blog/mock-geolocation#comments</comments>
		<pubDate>Tue, 14 Jun 2011 13:26:29 +0000</pubDate>
		<dc:creator>darep</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://ajk.im/?p=1510</guid>
		<description><![CDATA[Useful if you&#8217;re working on a website meant for mobile devices. You bet :)]]></description>
			<content:encoded><![CDATA[<blockquote><p>Useful if you&#8217;re working on a website meant for mobile devices.</p></blockquote>
<p>You bet :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajk.im/2011/blog/mock-geolocation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Folding camera and Tri-X 400, part 2</title>
		<link>http://www.ajk.im/2011/blog/folding-camera-and-tri-x-400-part-2</link>
		<comments>http://www.ajk.im/2011/blog/folding-camera-and-tri-x-400-part-2#comments</comments>
		<pubDate>Sat, 09 Apr 2011 18:14:22 +0000</pubDate>
		<dc:creator>darep</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://ajk.im/?p=1470</guid>
		<description><![CDATA[Second roll of 120 Tri-X 400 shot using my (still unnamed) folding camera. Development notes: No idea. Did not take notes :(]]></description>
			<content:encoded><![CDATA[<p>Second roll of 120 Tri-X 400 shot using my (still unnamed) folding camera.</p>
<p><a href="http://ajk.im/wp/../uploads/2011/04/Scan-101230-0010.jpg"><img class="aligncenter size-medium wp-image-2885" title="Scan-101230-0010" src="http://ajk.im/wp/../uploads/2011/04/Scan-101230-0010-740x495.jpg" alt="" width="740" height="495" /></a></p>
<p><a href="http://ajk.im/wp/../uploads/2011/04/Scan-101230-0012.jpg"><img class="aligncenter size-medium wp-image-2886" title="Scan-101230-0012" src="http://ajk.im/wp/../uploads/2011/04/Scan-101230-0012-740x472.jpg" alt="" width="740" height="472" /></a></p>
<p><a href="http://ajk.im/wp/../uploads/2011/04/Scan-101230-0016.jpg"><img class="aligncenter size-medium wp-image-2884" title="Scan-101230-0016" src="http://ajk.im/wp/../uploads/2011/04/Scan-101230-0016-740x221.jpg" alt="" width="740" height="221" /></a></p>
<p><strong>Development notes:</strong> No idea. Did not take notes :(</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajk.im/2011/blog/folding-camera-and-tri-x-400-part-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Folding camera and Tri-X 400</title>
		<link>http://www.ajk.im/2011/blog/folder-and-trix-400</link>
		<comments>http://www.ajk.im/2011/blog/folder-and-trix-400#comments</comments>
		<pubDate>Wed, 30 Mar 2011 21:32:31 +0000</pubDate>
		<dc:creator>darep</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://ajk.im/?p=1449</guid>
		<description><![CDATA[A good while ago, I got an old folding camera as a present from my father-in-law. I asked Jani for a roll of 120 film so I could test that the camera was working. And indeed it was! After that I bought a handful of Kodak Tri-X 400 120 and started shooting. Below, the first&#8230;]]></description>
			<content:encoded><![CDATA[<p>A good while ago, I got an old folding camera as a present from my father-in-law. I asked <a title="THIRTYFIVE mm" href="http://www.35mmblog.com/">Jani </a>for a roll of 120 film so I could <a title="Dedicated site for the old folding camera" href="http://ajk.im/foldingcamera/">test that the camera was working</a>. And indeed it was! After that I bought a handful of Kodak Tri-X 400 120 and started shooting.</p>
<p>Below, the first shots from the old folding camera.</p>
<p><a href="http://ajk.im/wp/../uploads/2011/03/Scan-101027-0001.jpg"><img class="aligncenter size-medium wp-image-2892" title="Scan-101027-0001" src="http://ajk.im/wp/../uploads/2011/03/Scan-101027-0001-456x700.jpg" alt="" width="456" height="700" /></a></p>
<p><a href="http://ajk.im/wp/../uploads/2011/03/Scan-101027-0002.jpg"><img class="aligncenter size-medium wp-image-2893" title="Scan-101027-0002" src="http://ajk.im/wp/../uploads/2011/03/Scan-101027-0002-580x371.jpg" alt="" width="580" height="371" /></a></p>
<p><a href="http://ajk.im/wp/../uploads/2011/03/Scan-101027-0003.jpg"><img class="aligncenter size-medium wp-image-2890" title="Scan-101027-0003" src="http://ajk.im/wp/../uploads/2011/03/Scan-101027-0003-580x377.jpg" alt="" width="580" height="377" /></a></p>
<p><a href="http://ajk.im/wp/../uploads/2011/03/Scan-101027-0005.jpg"><img class="aligncenter size-medium wp-image-2891" title="Scan-101027-0005" src="http://ajk.im/wp/../uploads/2011/03/Scan-101027-0005-580x380.jpg" alt="" width="580" height="380" /></a></p>
<p>Focusing is not easy with this thing, unless you&#8217;re going for the infinity. Which starts after 15 meters (nearest focusing distance is 1.5 meters, btw).</p>
<p><strong>Development notes:</strong> can&#8217;t remember exactly. It was Rodinal, probably 1+25, 20°C and 7 min &#8211; agi: first 30 sec, then 5 sec every 30 sec.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajk.im/2011/blog/folder-and-trix-400/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bookmark: Spotify Search</title>
		<link>http://www.ajk.im/2010/blog/bookmark-spotify-search</link>
		<comments>http://www.ajk.im/2010/blog/bookmark-spotify-search#comments</comments>
		<pubDate>Thu, 11 Nov 2010 15:15:04 +0000</pubDate>
		<dc:creator>darep</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://ajk.im/?p=1384</guid>
		<description><![CDATA[Drag this Spotify Search to your bookmark bar. Click it to search the currently hilighted text on Spotify. If you sometimes see an artist or song that you want to instantly search for on Spotify, you can use this simple bookmark to do so :) Just hilight the text and click on the bookmark. Update:&#8230;]]></description>
			<content:encoded><![CDATA[<p><strong>Drag this <a href="javascript:function ss(){var c=window.getSelection().getRangeAt(0).cloneContents().textContent;c=c.replace(/[-&#038;/.:]/gi, ' ');document.location.href='spotify:search:'+c;};ss();void(0)" style="background:#82b014;color:#fff;text-decoration:none;padding:5px 10px;font-size:13px;text-shadow:rgba(0,0,0,0.4) 0px 1px 0px;border-radius:19px;-moz-border-radius:19px;-webkit-border-radius:19px;">Spotify Search</a> to your bookmark bar. Click it to search the currently hilighted text on Spotify.</strong></p>
<p>If you sometimes see an artist or song that you want to instantly search for on Spotify, you can use this simple bookmark to do so :) Just hilight the text and click on the bookmark.</p>
<p><ins datetime="2010-11-11T14:24:04+00:00"><strong>Update:</strong> Bookmark will now also replace special characters &#8211; . &#038; and / with a space.</ins></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajk.im/2010/blog/bookmark-spotify-search/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bookmark: Flickr URL converter</title>
		<link>http://www.ajk.im/2010/blog/js-snippet-original-flickr-photo-page-from-flickr-image-url</link>
		<comments>http://www.ajk.im/2010/blog/js-snippet-original-flickr-photo-page-from-flickr-image-url#comments</comments>
		<pubDate>Thu, 28 Oct 2010 06:52:49 +0000</pubDate>
		<dc:creator>darep</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Short]]></category>

		<guid isPermaLink="false">http://ajk.im/?p=1371</guid>
		<description><![CDATA[Drag this Flickr img2page to your bookmark bar. Click it to see the original Flickr photo page for a Flickr image. If you sometimes get an URL like http://farm2.static.flickr.com/1435/5113313258_e96785710d_b.jpg and want to see the original Flickr photo page with all the comments and tags, you can use this simple JavaScript snippet to get there. Drag&#8230;]]></description>
			<content:encoded><![CDATA[<p><strong>Drag this <a style="background: #b90012; color: #fff; text-decoration: none; padding: 5px 10px; font-size: 13px; text-shadow: rgba(0,0,0,0.4) 0px 1px 0px; border-radius: 19px; -moz-border-radius: 19px; -webkit-border-radius: 19px;" href="javascript:function fl(){var x=location.pathname;x=x.split('/');x=x[2].split('_');location='http://flickr.com/photo.gne?id='+x[0];}fl();void(0);">Flickr img2page</a> to your bookmark bar. Click it to see the <a href="http://www.flickr.com/photos/dareppi/4873074980/">original Flickr photo page</a> for a <a href="http://farm5.static.flickr.com/4078/4873074980_3f6c5cc979_b.jpg">Flickr image</a>.</strong></p>
<p>If you sometimes get an URL like <a href="http://farm2.static.flickr.com/1435/5113313258_e96785710d_b.jpg">http://farm2.static.flickr.com/1435/5113313258_e96785710d_b.jpg</a> and want to see the original Flickr photo page with all the comments and tags, you can use this simple JavaScript snippet to get there. Drag it to your bookmarks bar and click it when you want to see all the comments and tags for that Flickr image.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajk.im/2010/blog/js-snippet-original-flickr-photo-page-from-flickr-image-url/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>photos.ajk.im</title>
		<link>http://www.ajk.im/2010/blog/photos-ajk-im</link>
		<comments>http://www.ajk.im/2010/blog/photos-ajk-im#comments</comments>
		<pubDate>Mon, 30 Aug 2010 21:01:41 +0000</pubDate>
		<dc:creator>darep</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://ajk.im/?p=1142</guid>
		<description><![CDATA[I started a photo blog over at photos.ajk.im. I also put a link to it in the menu. For now, it&#8217;s just a simple interface to view photos that I&#8217;ve chosen as some of my best. You can also view some simple metadata about the photos. There is also a possibility to &#8220;Like&#8221; the photos&#8230;]]></description>
			<content:encoded><![CDATA[<p><a href="http://ajk.im/wp/../uploads/2010/08/Superia-400-Developed.jpg"><img class="aligncenter size-medium wp-image-2896" title="Superia-400-Developed" src="http://ajk.im/wp/../uploads/2010/08/Superia-400-Developed-580x353.jpg" alt="" width="580" height="353" /></a></p>
<p>I started a photo blog over at <a href="http://photos.ajk.im/">photos.ajk.im</a>. I also put a link to it in the menu. For now, it&#8217;s just a simple interface to view photos that I&#8217;ve chosen as some of my best. You can also view some simple metadata about the photos. There is also a possibility to &#8220;Like&#8221; the photos via the heart icon, and I intend to add commenting some day.</p>
<p>flickr integration would be great too &#8212; I would like to have the same photos over at the photo blog and on flickr.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajk.im/2010/blog/photos-ajk-im/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Slight Realignment</title>
		<link>http://www.ajk.im/2010/blog/slight-realignment</link>
		<comments>http://www.ajk.im/2010/blog/slight-realignment#comments</comments>
		<pubDate>Fri, 27 Aug 2010 15:56:34 +0000</pubDate>
		<dc:creator>darep</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://ajk.im/?p=1152</guid>
		<description><![CDATA[This is a sort of an announcement: I realigned the website today a bit, removed the frontpage, added a link to my photo blog and did some graphical adjustments. Personally, the site now feels more minimalistic and IMO gets right to the point: blog posts :)]]></description>
			<content:encoded><![CDATA[<p>This is a sort of an announcement: I realigned the website today a bit, removed the frontpage, added a link to my <a href="http://photos.ajk.im/">photo blog</a> and did some graphical adjustments.</p>
<p>Personally, the site now feels more minimalistic and IMO gets right to the point: blog posts :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajk.im/2010/blog/slight-realignment/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.ajk.im @ 2012-05-20 14:12:02 -->
