<?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>zsitro.com</title>
	<atom:link href="http://zsitro.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://zsitro.com</link>
	<description>Rawwwrrrrr!</description>
	<lastBuildDate>Fri, 10 May 2013 11:55:46 +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>AMD Module boilerplate with global fallback</title>
		<link>http://zsitro.com/amd-module-boilerplate-with-global-fallback/</link>
		<comments>http://zsitro.com/amd-module-boilerplate-with-global-fallback/#comments</comments>
		<pubDate>Fri, 10 May 2013 11:55:46 +0000</pubDate>
		<dc:creator>zsitro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AMD]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[requireJS]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://zsitro.com/?p=447</guid>
		<description><![CDATA[(function (window, undefined) { var PoniesModule = { info: "Yeeey" }; // node if (typeof module === "object" &#038;&#038; typeof module.exports === "object") { module.exports = PoniesModule; } // window else { window.PoniesModule = PoniesModule; // requireJS if (typeof define === "function" &#038;&#038; define.amd) { define("poniesmodule", [], function () { return PoniesModule; }); } } [...]]]></description>
			<content:encoded><![CDATA[<pre class="linenums prettyprint">
(function (window, undefined) {

    var PoniesModule = {
        info: "Yeeey"
    };

    // node
    if (typeof module === "object" &#038;&#038; typeof module.exports === "object") {
        module.exports = PoniesModule;
    }
    // window
    else {
        window.PoniesModule = PoniesModule;
        // requireJS
        if (typeof define === "function" &#038;&#038; define.amd) {
            define("poniesmodule", [], function () {
                return PoniesModule;
            });
        }
    }

})(this);
</pre>
<p>Usage example</p>
<pre class="linenums prettyprint">
require.config({
    paths: {
        "poniesmodule": "http://jsbin.com/uyucoq/latest.js"
    }
});

require(['poniesmodule'], function (poniesmodule) {
    console.log('app.init..', poniesmodule);
});
</pre>
<p>Demos: <a href="http://jsbin.com/uyucoq/6/edit">definition</a> | <a href="http://jsbin.com/omahic/2/edit">usage</a></p>
<p>I think one thing is missing: delete global after loading module with requireJS..</p>
]]></content:encoded>
			<wfw:commentRss>http://zsitro.com/amd-module-boilerplate-with-global-fallback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LESS: Whitespaces in math operations</title>
		<link>http://zsitro.com/less-whitespaces-in-math-operations/</link>
		<comments>http://zsitro.com/less-whitespaces-in-math-operations/#comments</comments>
		<pubDate>Wed, 08 May 2013 20:54:43 +0000</pubDate>
		<dc:creator>zsitro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Fail]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[LESS]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://zsitro.com/?p=443</guid>
		<description><![CDATA[/* * AFAIK: */ @iconsize: 200px; .my-class{ ... left: (@iconsize + 100px); // Okay left: (@iconsize+100px); // Okay left: (@iconsize+ 100px); // Fail left: (@iconsize +100px); // Fail top: -@iconsize* 1.2; // Doesn't give a shit ... }]]></description>
			<content:encoded><![CDATA[<pre class="prettyprint linenums">
/*
 * AFAIK:
 */
@iconsize: 200px;

.my-class{
	...
	left: (@iconsize + 100px); // Okay
	left: (@iconsize+100px); // Okay
	left: (@iconsize+ 100px); // Fail
	left: (@iconsize +100px); // Fail
	top: -@iconsize* 1.2; // Doesn't give a shit
	...
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://zsitro.com/less-whitespaces-in-math-operations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>do fucking care your url&#8217;s letter case</title>
		<link>http://zsitro.com/do-fucking-care-your-urls-letter-case/</link>
		<comments>http://zsitro.com/do-fucking-care-your-urls-letter-case/#comments</comments>
		<pubDate>Sun, 28 Apr 2013 16:53:49 +0000</pubDate>
		<dc:creator>zsitro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fail]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Node]]></category>
		<category><![CDATA[PhoneGap]]></category>
		<category><![CDATA[WebView]]></category>

		<guid isPermaLink="false">http://zsitro.com/?p=439</guid>
		<description><![CDATA[Had a half-hour debug inside a WebView on android when I realized that I &#8220;mis-cased&#8221; one of my css&#8217; name. Related: It&#8217;s a bit strange that Node did not care about this by default (like an apache server on windows).]]></description>
			<content:encoded><![CDATA[<p>Had a half-hour debug inside a <a href="http://developer.android.com/reference/android/webkit/WebView.html">WebView </a>on android when I realized that I &#8220;mis-cased&#8221; one of my css&#8217; name.</p>
<p>Related: It&#8217;s a bit strange that Node did not care about this by default (like an apache server on windows).</p>
]]></content:encoded>
			<wfw:commentRss>http://zsitro.com/do-fucking-care-your-urls-letter-case/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5 localstorage &#8216;illegal access&#8217; bugfix</title>
		<link>http://zsitro.com/html5-localstorage-illegal-access-bugfix/</link>
		<comments>http://zsitro.com/html5-localstorage-illegal-access-bugfix/#comments</comments>
		<pubDate>Sat, 06 Apr 2013 10:46:55 +0000</pubDate>
		<dc:creator>zsitro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[illegal access]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[localStorage]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://zsitro.com/?p=432</guid>
		<description><![CDATA[/* * This will cause 'illegal access' exception * on Android ~2.3 inbuilt browsers if getItem() returns 'null' * cuz JSON.parse can not handle null as a parameter */ var a = JSON.parse(localStorage.getItem(_key)); /* * Possible easy solution */ var a = localStorage.getItem(_key) ? JSON.parse(localStorage.getItem(_key)) : null;]]></description>
			<content:encoded><![CDATA[<pre class="linenums prettyprint">
/*
 * This will cause 'illegal access' exception
 * on Android ~2.3 inbuilt browsers if getItem() returns 'null'
 * cuz JSON.parse can not handle null as a parameter
*/
var  a = JSON.parse(localStorage.getItem(_key));

/*
 * Possible easy solution
*/
var  a = localStorage.getItem(_key) ? JSON.parse(localStorage.getItem(_key)) : null;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://zsitro.com/html5-localstorage-illegal-access-bugfix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make jQuery plugins work with Zepto</title>
		<link>http://zsitro.com/make-jquery-plugins-work-with-zepto/</link>
		<comments>http://zsitro.com/make-jquery-plugins-work-with-zepto/#comments</comments>
		<pubDate>Sun, 10 Mar 2013 17:17:42 +0000</pubDate>
		<dc:creator>zsitro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[workaround]]></category>
		<category><![CDATA[zepto]]></category>

		<guid isPermaLink="false">http://zsitro.com/?p=426</guid>
		<description><![CDATA[Just replace the last line to match something like this: (function($){ $.fn.MyUselessPlugin = function (...) { [...] return this; }; })(this.jQuery &#124;&#124; this.Zepto); Please keep in mind that this hack will only work with plugins that use jQuery methods also implemented in Zepto.]]></description>
			<content:encoded><![CDATA[<p>Just replace the last line to match something like this:</p>
<pre class="prettyprint linenums">
(function($){
  $.fn.MyUselessPlugin = function (...) {
        [...]
    return this;
  };
})(this.jQuery || this.Zepto);
</pre>
<p>Please keep in mind that this hack will only work with plugins that use jQuery methods also implemented in Zepto.</p>
]]></content:encoded>
			<wfw:commentRss>http://zsitro.com/make-jquery-plugins-work-with-zepto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to extend Adobe Brackets language support based on file extension</title>
		<link>http://zsitro.com/how-to-extend-adobe-brackets-language-support-based-on-file-extension/</link>
		<comments>http://zsitro.com/how-to-extend-adobe-brackets-language-support-based-on-file-extension/#comments</comments>
		<pubDate>Wed, 06 Feb 2013 11:12:16 +0000</pubDate>
		<dc:creator>zsitro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Brackets]]></category>
		<category><![CDATA[extend]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[JSP]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://zsitro.com/?p=423</guid>
		<description><![CDATA[1. Go To: Brackets\www\editor\EditorUtils.js 2. Edit the corresponding line. For example to support .JSP files: switch (ext) { ... case "jsp": return "htmlmixed"; ...]]></description>
			<content:encoded><![CDATA[<p>1. Go To: Brackets\www\editor\EditorUtils.js</p>
<p>2. Edit the corresponding line. For example to support .JSP files:</p>
<pre class="prettyprint linenums">
switch (ext) {
	...
	case "jsp":
		return "htmlmixed";
	...
</pre>
]]></content:encoded>
			<wfw:commentRss>http://zsitro.com/how-to-extend-adobe-brackets-language-support-based-on-file-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CoffeeScript compiler setup for WebStorm</title>
		<link>http://zsitro.com/coffeescript-compiler-setup-for-webstorm/</link>
		<comments>http://zsitro.com/coffeescript-compiler-setup-for-webstorm/#comments</comments>
		<pubDate>Fri, 04 Jan 2013 09:08:18 +0000</pubDate>
		<dc:creator>zsitro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CoffeeScript]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jetBrains]]></category>
		<category><![CDATA[PhpStorm]]></category>
		<category><![CDATA[WebStorm]]></category>

		<guid isPermaLink="false">http://zsitro.com/?p=404</guid>
		<description><![CDATA[0. Try to configure Node.js with coffe compiler parameters at &#8220;Run&#8221; &#62; &#8220;Edit Configurations..&#8221; &#62; &#8220;Node.js&#8221;. If you fail, move on to step 1. 1. Set up a compiler as an External Tool in Settings. Name the tool as whatever you want. In &#8220;Tool Settings&#8221; &#62; &#8220;Parameters&#8221; add compiler parameters as you can see in [...]]]></description>
			<content:encoded><![CDATA[<p>0. Try to configure Node.js with coffe compiler parameters at &#8220;Run&#8221; &gt; &#8220;Edit Configurations..&#8221; &gt; &#8220;Node.js&#8221;. If you fail, move on to step 1.</p>
<p>1. Set up a compiler as an External Tool in Settings. Name the tool as whatever you want. In &#8220;Tool Settings&#8221; &gt; &#8220;Parameters&#8221; add compiler parameters as you can see in fig#1. &#8220;Insert macro..&#8221; button opens a helpful window to choose between different directory parameters. If you want to compile only the opened file, choose <code>$FilePath$</code>. For all <code>.coffee</code> files in current directory choose <code>$FileDir$</code>. If you want to compile all <code>.coffee</code> files in the whole project directory select <code>$ProjectFileDir$</code></p>
<p><a href="http://zsitro.com/coffeescript-compiler-setup-for-webstorm/cofffecompiler1/" rel="attachment wp-att-405"><img class="aligncenter size-full wp-image-405" title="cofffecompiler1 webstorm phpstorm jetbrains" src="http://zsitro.com/wp-content/uploads/2013/01/cofffecompiler1.jpg" alt="cofffecompiler1 webstorm phpstorm jetbrains" width="654" height="404" /></a></p>
<p>2. Bind this compiler to a key that you love most or hit a random one for fun.</p>
<p><a href="http://zsitro.com/coffeescript-compiler-setup-for-webstorm/cofffecompiler2/" rel="attachment wp-att-406"><img class="aligncenter size-full wp-image-406" title="cofffecompiler2 webstorm phpstorm jetbrains" src="http://zsitro.com/wp-content/uploads/2013/01/cofffecompiler2.jpg" alt="cofffecompiler2 webstorm phpstorm jetbrains" width="656" height="281" /></a></p>
<p>3. Hit F5 to compile.. Yaay!</p>
<p><a href="http://zsitro.com/coffeescript-compiler-setup-for-webstorm/cofffecompiler3/" rel="attachment wp-att-407"><img class="aligncenter size-full wp-image-407" title="cofffecompiler3" src="http://zsitro.com/wp-content/uploads/2013/01/cofffecompiler3.jpg" alt="" width="1085" height="auto" /></a></p>
<p style="font-size:1.2em">
<strong style="color:red">Update:</strong> this article has been requested to be part of <br /> the official documentation at jetbrains.com (<a title="Ticket WEB-6121" href="http://youtrack.jetbrains.com/issue/WEB-6121">WEB-6121</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://zsitro.com/coffeescript-compiler-setup-for-webstorm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebStorm: Enable Zen Coding in JSP and other files</title>
		<link>http://zsitro.com/webstorm-enable-zen-coding-in-jsp-and-other-files/</link>
		<comments>http://zsitro.com/webstorm-enable-zen-coding-in-jsp-and-other-files/#comments</comments>
		<pubDate>Wed, 02 Jan 2013 14:40:41 +0000</pubDate>
		<dc:creator>zsitro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[jetBrains]]></category>
		<category><![CDATA[PhpStorm]]></category>
		<category><![CDATA[WebStorm]]></category>
		<category><![CDATA[workaround]]></category>
		<category><![CDATA[Zen Coding]]></category>

		<guid isPermaLink="false">http://zsitro.com/?p=397</guid>
		<description><![CDATA[Zen Coding expand event only fires inside &#8220;HTML File Type&#8221; files. You can change this setting on each snippet (which could last a day fig#1) or you can change this &#8220;HTML File Type&#8221; definition and include a *.JSP wildcard to it fig#2.]]></description>
			<content:encoded><![CDATA[<p>Zen Coding expand event only fires inside &#8220;HTML File Type&#8221; files. You can change this setting on each snippet (which could last a day fig#1) or you can change this &#8220;HTML File Type&#8221; definition and include a *.JSP wildcard to it fig#2.
</p>
<p><a href="http://zsitro.com/webstorm-enable-zen-coding-in-jsp-and-other-files/zen1/" rel="attachment wp-att-398"><img src="http://zsitro.com/wp-content/uploads/2013/01/zen1.jpg" alt="" title="zen1" width="714" height="608" class="aligncenter size-full wp-image-398" /></a></p>
<p><a href="http://zsitro.com/webstorm-enable-zen-coding-in-jsp-and-other-files/zen2/" rel="attachment wp-att-399"><img src="http://zsitro.com/wp-content/uploads/2013/01/zen2.jpg" alt="" title="zen2" width="718" height="618" class="aligncenter size-full wp-image-399" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://zsitro.com/webstorm-enable-zen-coding-in-jsp-and-other-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ongoing smartTV project w/ 8tracks API</title>
		<link>http://zsitro.com/ongoing-smarttv-project/</link>
		<comments>http://zsitro.com/ongoing-smarttv-project/#comments</comments>
		<pubDate>Fri, 14 Dec 2012 18:21:27 +0000</pubDate>
		<dc:creator>zsitro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Samsung]]></category>
		<category><![CDATA[smartTV]]></category>

		<guid isPermaLink="false">http://zsitro.com/?p=370</guid>
		<description><![CDATA[More screenshots, demo video after alpha verison&#8230;]]></description>
			<content:encoded><![CDATA[<p><a href="http://zsitro.com/ongoing-smarttv-project/_dsc03698/" rel="attachment wp-att-371"><img src="http://zsitro.com/wp-content/uploads/2012/12/DSC03698-730x438.jpg" alt="smart tv samsung dev" title="_DSC03698" width="730" height="438" class="aligncenter size-medium wp-image-371" /></a></p>
<p>More screenshots, demo video after alpha verison&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://zsitro.com/ongoing-smarttv-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quotes On Design Webapp [prototype preview]</title>
		<link>http://zsitro.com/quotes-on-design-webapp-prototype-preview/</link>
		<comments>http://zsitro.com/quotes-on-design-webapp-prototype-preview/#comments</comments>
		<pubDate>Mon, 03 Dec 2012 17:52:11 +0000</pubDate>
		<dc:creator>zsitro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zsitro.com/?p=363</guid>
		<description><![CDATA[Quotes On Design Webapp [prototype preview] from Zsitro (Gabor Zsoter) on Vimeo.]]></description>
			<content:encoded><![CDATA[<p><iframe style="margin:auto;display:block"  src="http://player.vimeo.com/video/54784443?badge=0" width="500" height="889" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
<p><a href="http://vimeo.com/54784443">Quotes On Design Webapp [prototype preview]</a> from <a href="http://vimeo.com/zsitro">Zsitro (Gabor Zsoter)</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://zsitro.com/quotes-on-design-webapp-prototype-preview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
