<?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>Windows - Linux - Mac OSX Guides</title>
	<atom:link href="http://techmix.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://techmix.net/blog</link>
	<description>Tips &#38; Tricks ...</description>
	<lastBuildDate>Thu, 02 Feb 2012 08:38:30 +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>Apple released Lion 10.7.3 Update</title>
		<link>http://techmix.net/blog/2012/02/02/apple-released-lion-10-7-3-update/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=apple-released-lion-10-7-3-update</link>
		<comments>http://techmix.net/blog/2012/02/02/apple-released-lion-10-7-3-update/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 08:38:25 +0000</pubDate>
		<dc:creator>number.0</dc:creator>
				<category><![CDATA[MACOSX]]></category>
		<category><![CDATA[NEWS]]></category>
		<category><![CDATA[lion]]></category>
		<category><![CDATA[macos]]></category>
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://techmix.net/blog/?p=978</guid>
		<description><![CDATA[Apple has officially released update 10.7.3 for Lion. The new update fixes some bugs related to file sharing with Windows, access Directory, wifi connection disconnected after sleep state The detail...]]></description>
			<content:encoded><![CDATA[<p>Apple has officially released update 10.7.3 for Lion. The new update fixes some bugs related to file sharing with Windows, access Directory, wifi connection disconnected after sleep state</p>
<p><img title="mac-osx-10.7.3.png" src="http://techmix.net/blog/wp-content/uploads/2012/02/mac-osx-10.7.3.png" border="0" alt="Mac osx 10 7 3" width="511" height="600" /></p>
<p>The detail for the Update you can read from <a href="http://support.apple.com/kb/HT5048">http://support.apple.com/kb/HT5048</a></p>
<p>Apart from that, Apple also makes update for Safari to 5.1.3 and provides many bug fixes &amp; security fixes for Snow Leopard.</p>
<p>For now, you can run Software Update and get the latest Lion 10.7.3</p>
<p> </p>
<p> </p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechmix.net%2Fblog%2F2012%2F02%2F02%2Fapple-released-lion-10-7-3-update%2F&amp;title=Apple%20released%20Lion%2010.7.3%20Update" id="wpa2a_2"><img src="http://techmix.net/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div id="wp_fb_like_button" style="margin: 0; float: none"><iframe src="http://www.facebook.com/plugins/like.php?href=http://techmix.net/blog/2012/02/02/apple-released-lion-10-7-3-update/&amp;layout=standard&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;width=450&amp;height=100" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width: 450px; height: 100px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://techmix.net/blog/2012/02/02/apple-released-lion-10-7-3-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to verify MD5/SHA-1 on Mac</title>
		<link>http://techmix.net/blog/2012/01/31/how-to-verify-md5sha-1-on-mac/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-verify-md5sha-1-on-mac</link>
		<comments>http://techmix.net/blog/2012/01/31/how-to-verify-md5sha-1-on-mac/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 02:10:00 +0000</pubDate>
		<dc:creator>number.0</dc:creator>
				<category><![CDATA[MACOSX]]></category>
		<category><![CDATA[TIPS & TRICKS]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[macos]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[utility]]></category>

		<guid isPermaLink="false">http://techmix.net/blog/?p=973</guid>
		<description><![CDATA[Sometime you might want to verify MD5 or SHA-1 hash on Mac. Luckily, it&#8217;s easy to do without any extra software to be installed 1. Open Terminal 2. Verify MD5...]]></description>
			<content:encoded><![CDATA[<p>Sometime you might want to verify MD5 or SHA-1 hash on Mac. Luckily, it&#8217;s easy to do without any extra software to be installed</p>
<p>1. Open <strong>Terminal</strong></p>
<p>2. Verify <strong>MD5</strong></p>
<blockquote>
<p>openssl md5 path/to/file</p>
</blockquote>
<p>OR</p>
<p>2. Verify <strong>SHA-1</strong></p>
<blockquote>
<p>openssl sha1 path/to/file</p>
</blockquote>
<p>For big file, it will take some time, so be patient!</p>
<p> </p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechmix.net%2Fblog%2F2012%2F01%2F31%2Fhow-to-verify-md5sha-1-on-mac%2F&amp;title=How%20to%20verify%20MD5%2FSHA-1%20on%20Mac" id="wpa2a_4"><img src="http://techmix.net/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div id="wp_fb_like_button" style="margin: 0; float: none"><iframe src="http://www.facebook.com/plugins/like.php?href=http://techmix.net/blog/2012/01/31/how-to-verify-md5sha-1-on-mac/&amp;layout=standard&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;width=450&amp;height=100" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width: 450px; height: 100px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://techmix.net/blog/2012/01/31/how-to-verify-md5sha-1-on-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One click to customize Dashboard, Mission Control, Launchpad and Login</title>
		<link>http://techmix.net/blog/2012/01/25/one-click-to-customize-dashboard-mission-control-launchpad-and-login/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=one-click-to-customize-dashboard-mission-control-launchpad-and-login</link>
		<comments>http://techmix.net/blog/2012/01/25/one-click-to-customize-dashboard-mission-control-launchpad-and-login/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 10:51:41 +0000</pubDate>
		<dc:creator>number.0</dc:creator>
				<category><![CDATA[MACOSX]]></category>
		<category><![CDATA[dashboard]]></category>
		<category><![CDATA[lion]]></category>
		<category><![CDATA[softwares]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://techmix.net/blog/?p=971</guid>
		<description><![CDATA[Lion Designer is the right tool for you to quickly customize your Dashboard, Mission Control, LaunchPad and Login in Mac Lion with simple poin &#38; click. &#160; &#160; &#160; This...]]></description>
			<content:encoded><![CDATA[<p>Lion Designer is the right tool for you to quickly customize your Dashboard, Mission Control, LaunchPad and Login in Mac Lion with simple poin &amp; click.</p>
<p>&#160;</p>
<p>&#160;<a href="http://techmix.net/blog/wp-content/uploads/2012/01/lion_designer.jpg"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="lion_designer" border="0" alt="lion_designer" src="http://techmix.net/blog/wp-content/uploads/2012/01/lion_designer_thumb.jpg" width="644" height="404" /></a> </p>
<p>&#160;</p>
<p>This little free tool allows you to change the background of Dashboard, Mission Control, LaunchPad, Login screen, Apple icon when logging in, size of icon in LaunchPad or make the sidebar icons in Finder more colorful.</p>
<p>&#160;</p>
<p>If you don’t like those changes, it’s easy to switch back with only one click on Reset button.</p>
<p>&#160;</p>
<p>You can download from <a href="http://www.moritzwette.com/liondesigner/" target="_blank"><strong>HERE</strong></a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechmix.net%2Fblog%2F2012%2F01%2F25%2Fone-click-to-customize-dashboard-mission-control-launchpad-and-login%2F&amp;title=One%20click%20to%20customize%20Dashboard%2C%20Mission%20Control%2C%20Launchpad%20and%20Login" id="wpa2a_6"><img src="http://techmix.net/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div id="wp_fb_like_button" style="margin: 0; float: none"><iframe src="http://www.facebook.com/plugins/like.php?href=http://techmix.net/blog/2012/01/25/one-click-to-customize-dashboard-mission-control-launchpad-and-login/&amp;layout=standard&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;width=450&amp;height=100" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width: 450px; height: 100px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://techmix.net/blog/2012/01/25/one-click-to-customize-dashboard-mission-control-launchpad-and-login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get parameters from your query string with XPages</title>
		<link>http://techmix.net/blog/2012/01/14/how-to-get-parameters-from-your-query-string-with-xpages/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-get-parameters-from-your-query-string-with-xpages</link>
		<comments>http://techmix.net/blog/2012/01/14/how-to-get-parameters-from-your-query-string-with-xpages/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 10:45:27 +0000</pubDate>
		<dc:creator>number.0</dc:creator>
				<category><![CDATA[PROGRAMMING]]></category>
		<category><![CDATA[domino]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ssjs]]></category>
		<category><![CDATA[xpages]]></category>

		<guid isPermaLink="false">http://techmix.net/blog/?p=963</guid>
		<description><![CDATA[So how to get parameters from your query string with SSJS in XPages? Quick &#38; Easy, here&#8217;s the solution, for example: I want to get the value of parameter SelectionMode...]]></description>
			<content:encoded><![CDATA[<p>So how to get parameters from your query string with SSJS in XPages?</p>
<p><img title="lotus_notes_domino.gif" src="http://techmix.net/blog/wp-content/uploads/2012/01/lotus_notes_domino1.gif" border="0" alt="Lotus notes domino" width="275" height="200" /></p>
<p>Quick &amp; Easy, here&#8217;s the solution, for example: I want to get the value of parameter <strong>SelectionMode</strong></p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">context.<span style="color: #660066;">getUrlParameter</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;SelectionMode&quot;</span><span style="color: #009900;">&#41;</span></pre></div></div>

<p>There&#8217;s another way if you want to try</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">param.<span style="color: #660066;">SelectionMode</span></pre></div></div>

<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechmix.net%2Fblog%2F2012%2F01%2F14%2Fhow-to-get-parameters-from-your-query-string-with-xpages%2F&amp;title=How%20to%20get%20parameters%20from%20your%20query%20string%20with%20XPages" id="wpa2a_8"><img src="http://techmix.net/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div id="wp_fb_like_button" style="margin: 0; float: none"><iframe src="http://www.facebook.com/plugins/like.php?href=http://techmix.net/blog/2012/01/14/how-to-get-parameters-from-your-query-string-with-xpages/&amp;layout=standard&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;width=450&amp;height=100" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width: 450px; height: 100px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://techmix.net/blog/2012/01/14/how-to-get-parameters-from-your-query-string-with-xpages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Play ping pong game in Terminal</title>
		<link>http://techmix.net/blog/2012/01/09/play-ping-pong-game-in-terminal/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=play-ping-pong-game-in-terminal</link>
		<comments>http://techmix.net/blog/2012/01/09/play-ping-pong-game-in-terminal/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 14:38:34 +0000</pubDate>
		<dc:creator>number.0</dc:creator>
				<category><![CDATA[MACOSX]]></category>
		<category><![CDATA[TIPS & TRICKS]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tips and tricks]]></category>

		<guid isPermaLink="false">http://techmix.net/blog/?p=960</guid>
		<description><![CDATA[Terminal is not boring, in this post I will show you how to play an easy game pingpong with Terminal only Open up Terminal (from Launchpad -&#62; Utilities -&#62; Terminal...]]></description>
			<content:encoded><![CDATA[<p>Terminal is not boring, in this post I will show you how to play an easy game pingpong with Terminal only</p>
<p><img title="Screen Shot 2012-01-09 at 9.36.17 PM.png" src="http://techmix.net/blog/wp-content/uploads/2012/01/Screen-Shot-2012-01-09-at-9.36.17-PM.png" border="0" alt="Screen Shot 2012 01 09 at 9 36 17 PM" width="600" height="473" /></p>
<p>Open up Terminal (from <strong>Launchpad</strong> -&gt; <strong>Utilities</strong> -&gt; <strong>Terminal</strong> or from <strong>Spotlight</strong></p>
<p>Type <strong>emacs</strong>, press <strong>Enter</strong>, and press <strong>Enter</strong> again, continue to press <strong>ESC</strong> and press <strong>X</strong>. Now type in <strong>pong</strong> and press <strong>Enter</strong>.</p>
<p>You will see your old-time favorite game now <img src='http://techmix.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Use Up/Down Arrow for the right bar and Left/Right Arrow for the left bar</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechmix.net%2Fblog%2F2012%2F01%2F09%2Fplay-ping-pong-game-in-terminal%2F&amp;title=Play%20ping%20pong%20game%20in%20Terminal" id="wpa2a_10"><img src="http://techmix.net/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div id="wp_fb_like_button" style="margin: 0; float: none"><iframe src="http://www.facebook.com/plugins/like.php?href=http://techmix.net/blog/2012/01/09/play-ping-pong-game-in-terminal/&amp;layout=standard&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;width=450&amp;height=100" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width: 450px; height: 100px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://techmix.net/blog/2012/01/09/play-ping-pong-game-in-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to delete a file using SSJS in XPages</title>
		<link>http://techmix.net/blog/2012/01/02/how-to-delete-a-file-using-ssjs-in-xpages/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-delete-a-file-using-ssjs-in-xpages</link>
		<comments>http://techmix.net/blog/2012/01/02/how-to-delete-a-file-using-ssjs-in-xpages/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 02:26:32 +0000</pubDate>
		<dc:creator>number.0</dc:creator>
				<category><![CDATA[PROGRAMMING]]></category>
		<category><![CDATA[domino]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[javascripts]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ssjs]]></category>
		<category><![CDATA[xpages]]></category>

		<guid isPermaLink="false">http://techmix.net/blog/?p=957</guid>
		<description><![CDATA[It&#8217;s easy to do file deletion operation using java.io.File class because the class provides us a delete() method, but unfortunately you can&#8217;t use that method inside Domino Designer&#8217;s SSJS editor,...]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s easy to do file deletion operation using java.io.File class because the class provides us a delete() method, but unfortunately you can&#8217;t use that method inside Domino Designer&#8217;s SSJS editor, you will get a syntax error if you try to do so.</p>
<p><img title="lotus_notes_domino.gif" src="http://techmix.net/blog/wp-content/uploads/2012/01/lotus_notes_domino.gif" border="0" alt="Lotus notes domino" width="275" height="200" /></p>
<p>So, here&#8217;s a workaround (credited to <a href="http://www.openntf.org/Internal/home.nsf/profile.xsp?name=Mark%20Leusink">Mark Leusink</a>) I put here for my own reference</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> f<span style="color: #339933;">:</span>java.<span style="color: #660066;">io</span>.<span style="color: #660066;">File</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> java.<span style="color: #660066;">io</span>.<span style="color: #660066;">File</span><span style="color: #009900;">&#40;</span> <span style="color: #3366CC;">&quot;path&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> deleteMethod <span style="color: #339933;">=</span> f.<span style="color: #660066;">getClass</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">getDeclaredMethod</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;delete&quot;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
deleteMethod.<span style="color: #660066;">invoke</span><span style="color: #009900;">&#40;</span> f <span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">new</span> java.<span style="color: #660066;">lang</span>.<span style="color: #660066;">Object</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p> </p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechmix.net%2Fblog%2F2012%2F01%2F02%2Fhow-to-delete-a-file-using-ssjs-in-xpages%2F&amp;title=How%20to%20delete%20a%20file%20using%20SSJS%20in%20XPages" id="wpa2a_12"><img src="http://techmix.net/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div id="wp_fb_like_button" style="margin: 0; float: none"><iframe src="http://www.facebook.com/plugins/like.php?href=http://techmix.net/blog/2012/01/02/how-to-delete-a-file-using-ssjs-in-xpages/&amp;layout=standard&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;width=450&amp;height=100" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width: 450px; height: 100px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://techmix.net/blog/2012/01/02/how-to-delete-a-file-using-ssjs-in-xpages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hide/Load components depends on User role in XPages</title>
		<link>http://techmix.net/blog/2011/12/30/hideload-components-depends-on-user-role-in-xpages/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hideload-components-depends-on-user-role-in-xpages</link>
		<comments>http://techmix.net/blog/2011/12/30/hideload-components-depends-on-user-role-in-xpages/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 02:45:08 +0000</pubDate>
		<dc:creator>number.0</dc:creator>
				<category><![CDATA[PROGRAMMING]]></category>
		<category><![CDATA[domino]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[xpages]]></category>

		<guid isPermaLink="false">http://techmix.net/blog/?p=954</guid>
		<description><![CDATA[Sometime you may want to load the component or make the component visible depends on the current user&#8217;s role. Here&#8217;s a quick tip to do in SSJS 1. Check if...]]></description>
			<content:encoded><![CDATA[<p>Sometime you may want to load the component or make the component visible depends on the current user&#8217;s role.</p>
<p><img title="lotus_notes_domino.gif" src="http://techmix.net/blog/wp-content/uploads/2011/12/lotus_notes_domino.gif" border="0" alt="Lotus notes domino" width="275" height="200" /></p>
<p>Here&#8217;s a quick tip to do in SSJS</p>
<p>1. Check if it requires user to have a single role</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> r<span style="color: #339933;">:</span>Array <span style="color: #339933;">=</span> database.<span style="color: #660066;">queryAccessRoles</span><span style="color: #009900;">&#40;</span>session.<span style="color: #660066;">getEffectiveUserName</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">@</span>IsMember<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;[ROLE]&quot;</span><span style="color: #339933;">,</span> r<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>2. Check if it requires user to have multiple roles</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> r<span style="color: #339933;">:</span>Array <span style="color: #339933;">=</span> database.<span style="color: #660066;">queryAccessRoles</span><span style="color: #009900;">&#40;</span>session.<span style="color: #660066;">getEffectiveUserName</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> a<span style="color: #339933;">:</span>Array <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Array<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;[ROLE1]&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;[ROLE2]&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">@</span>IsMember<span style="color: #009900;">&#40;</span>a<span style="color: #339933;">,</span> r<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechmix.net%2Fblog%2F2011%2F12%2F30%2Fhideload-components-depends-on-user-role-in-xpages%2F&amp;title=Hide%2FLoad%20components%20depends%20on%20User%20role%20in%20XPages" id="wpa2a_14"><img src="http://techmix.net/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div id="wp_fb_like_button" style="margin: 0; float: none"><iframe src="http://www.facebook.com/plugins/like.php?href=http://techmix.net/blog/2011/12/30/hideload-components-depends-on-user-role-in-xpages/&amp;layout=standard&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;width=450&amp;height=100" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width: 450px; height: 100px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://techmix.net/blog/2011/12/30/hideload-components-depends-on-user-role-in-xpages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The following artifacts could not be resolved: javax.jms:jms:jar:1.1</title>
		<link>http://techmix.net/blog/2011/12/01/the-following-artifacts-could-not-be-resolved-javax-jmsjmsjar1-1/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-following-artifacts-could-not-be-resolved-javax-jmsjmsjar1-1</link>
		<comments>http://techmix.net/blog/2011/12/01/the-following-artifacts-could-not-be-resolved-javax-jmsjmsjar1-1/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 01:56:34 +0000</pubDate>
		<dc:creator>number.0</dc:creator>
				<category><![CDATA[PROGRAMMING]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://techmix.net/blog/?p=947</guid>
		<description><![CDATA[PROBLEM Building a project with maven and have the problem with POM configuration that result in error when compiling The following artifacts could not be resolved: javax.jms:jms:jar:1.1, javax.media:jai-core:jar:1.1.3, com.sun.media:jai-codec:jar:1.1.3: Could...]]></description>
			<content:encoded><![CDATA[<h2>PROBLEM</h2>
<p>Building a project with maven and have the problem with POM configuration that result in error when compiling</p>
<blockquote><p>The following artifacts could not be resolved: javax.jms:jms:jar:1.1, javax.media:jai-core:jar:1.1.3, com.sun.media:jai-codec:jar:1.1.3: Could not transfer artifact javax.jms:jms:jar:1.1 from/to java.net (https://maven-repository.dev.java.net/nonav/repository): No connector available to access repository java.net (https://maven-repository.dev.java.net/nonav/repository) of type legacy using the available factories WagonRepositoryConnectorFactory</p></blockquote>
<h2><img title="apache-maven-project-2.png.jpg" src="http://techmix.net/blog/wp-content/uploads/2011/12/apache-maven-project-2.png.jpg" alt="Apache maven project 2 png" width="437" height="93" border="0" /></h2>
<h2>SOLUTION</h2>
<p>You need to add the JBoss Nexus repository that does have the artifacts</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;repository<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;id<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>repository.jboss.org-public<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/id<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>JBoss repository<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;url<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>https://repository.jboss.org/nexus/content/groups/public<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/url<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/repository<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechmix.net%2Fblog%2F2011%2F12%2F01%2Fthe-following-artifacts-could-not-be-resolved-javax-jmsjmsjar1-1%2F&amp;title=The%20following%20artifacts%20could%20not%20be%20resolved%3A%20javax.jms%3Ajms%3Ajar%3A1.1" id="wpa2a_16"><img src="http://techmix.net/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div id="wp_fb_like_button" style="margin: 0; float: none"><iframe src="http://www.facebook.com/plugins/like.php?href=http://techmix.net/blog/2011/12/01/the-following-artifacts-could-not-be-resolved-javax-jmsjmsjar1-1/&amp;layout=standard&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;width=450&amp;height=100" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width: 450px; height: 100px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://techmix.net/blog/2011/12/01/the-following-artifacts-could-not-be-resolved-javax-jmsjmsjar1-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Content Slider &#8211; Diapo: Mobile ready!</title>
		<link>http://techmix.net/blog/2011/11/21/jquery-content-slider-diapo-mobile-ready/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jquery-content-slider-diapo-mobile-ready</link>
		<comments>http://techmix.net/blog/2011/11/21/jquery-content-slider-diapo-mobile-ready/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 04:32:19 +0000</pubDate>
		<dc:creator>number.0</dc:creator>
				<category><![CDATA[PROGRAMMING]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[slideshow]]></category>
		<category><![CDATA[sliding boxes]]></category>

		<guid isPermaLink="false">http://techmix.net/blog/?p=944</guid>
		<description><![CDATA[WHAT IS DIAPO? Diapo is jQuery Slideshow or Content Slider. Diapo slideshow is an open source project. You can suggest changes or improvements if you want. You can download it and...]]></description>
			<content:encoded><![CDATA[<h2>WHAT IS DIAPO?</h2>
<p><a href="http://www.pixedelic.com/plugins/diapo/">Diapo</a> is jQuery Slideshow or Content Slider. Diapo slideshow is an open source project. You can suggest changes or improvements if you want. You can download it and use for free, you can also include it in your projects and sell it as part of a bigger work</p>
<p>Diapo works on most of new browsers. Diapo slideshow requires jQuery 1.4+ and other jQuery plugins are necessary if you want to use some functionalities: jQuery Easing (<a style="outline-style: none; outline-width: initial; outline-color: initial; color: #999999; text-decoration: underline;" title="jQuery Easing plugin" href="http://gsgd.co.uk/sandbox/jquery/easing/" target="_blank">http://gsgd.co.uk/sandbox/jquery/easing/</a>), jQuery HoverIntent (<a style="outline-style: none; outline-width: initial; outline-color: initial; color: #999999; text-decoration: underline;" title="jQuery HoverIntent plugin" href="http://cherne.net/brian/resources/jquery.hoverIntent.html" target="_blank">http://cherne.net/brian/resources/jquery.hoverIntent.html</a>), jQuery Mobile (<a style="outline-style: none; outline-width: initial; outline-color: initial; color: #999999; text-decoration: underline;" title="jQuery Mobile" href="http://jquerymobile.com/" target="_blank">http://jquerymobile.com/</a>, but not all the plugins)</p>
<h2>DEMO</h2>
<p><a href="http://www.pixedelic.com/plugins/diapo/"><img title="Screen Shot 2011-11-21 at 11.29.32 AM.png" src="http://techmix.net/blog/wp-content/uploads/2011/11/Screen-Shot-2011-11-21-at-11.29.32-AM.png" border="0" alt="Screen Shot 2011 11 21 at 11 29 32 AM" width="600" height="335" /></a></p>
<h2>HOW IT WORK</h2>
<p>1. Include all the dependencies</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;scripts/jquery.min.js&quot;</span><span style="color: #339933;">&gt;&lt;!--</span>mce<span style="color: #339933;">:</span><span style="color: #CC0000;">0</span><span style="color: #339933;">--&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;scripts/jquery.mobile-1.0b2.min.js&quot;</span><span style="color: #339933;">&gt;&lt;!--</span>mce<span style="color: #339933;">:</span><span style="color: #CC0000;">1</span><span style="color: #339933;">--&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;scripts/jquery.easing.1.3.js&quot;</span><span style="color: #339933;">&gt;&lt;!--</span>mce<span style="color: #339933;">:</span><span style="color: #CC0000;">2</span><span style="color: #339933;">--&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;scripts/jquery.hoverIntent.minified.js&quot;</span><span style="color: #339933;">&gt;&lt;!--</span>mce<span style="color: #339933;">:</span><span style="color: #CC0000;">3</span><span style="color: #339933;">--&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;scripts/diapo.js&quot;</span><span style="color: #339933;">&gt;&lt;!--</span>mce<span style="color: #339933;">:</span><span style="color: #CC0000;">4</span><span style="color: #339933;">--&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;</span>p<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;/</span>p<span style="color: #339933;">&gt;</span></pre></div></div>

<p>2. Call Diapo</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">jQuery<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'selector'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">diapo</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #006600; font-style: italic;">// or more options</span>
	<span style="color: #006600; font-style: italic;">// $('selector').diapo({fx: 'scrollHorz', time: '5000'});</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechmix.net%2Fblog%2F2011%2F11%2F21%2Fjquery-content-slider-diapo-mobile-ready%2F&amp;title=jQuery%20Content%20Slider%20%26%238211%3B%20Diapo%3A%20Mobile%20ready%21" id="wpa2a_18"><img src="http://techmix.net/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div id="wp_fb_like_button" style="margin: 0; float: none"><iframe src="http://www.facebook.com/plugins/like.php?href=http://techmix.net/blog/2011/11/21/jquery-content-slider-diapo-mobile-ready/&amp;layout=standard&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;width=450&amp;height=100" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width: 450px; height: 100px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://techmix.net/blog/2011/11/21/jquery-content-slider-diapo-mobile-ready/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Plus Theme for PyroCMS2</title>
		<link>http://techmix.net/blog/2011/11/18/google-plus-theme-for-pyrocms2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=google-plus-theme-for-pyrocms2</link>
		<comments>http://techmix.net/blog/2011/11/18/google-plus-theme-for-pyrocms2/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 13:25:51 +0000</pubDate>
		<dc:creator>number.0</dc:creator>
				<category><![CDATA[NEWS]]></category>
		<category><![CDATA[PROGRAMMING]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[pyrocms]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://techmix.net/blog/?p=934</guid>
		<description><![CDATA[A new update for previous Google Plus Theme (PyroCMS v1.x) to work with PyroCMS v2 It might not be perfect, but can be a good start for you to customize...]]></description>
			<content:encoded><![CDATA[<p>A new update for <a title="Google Plus Theme for PyroCMS" href="http://techmix.net/blog/2011/10/30/google-plus-theme-for-pyrocms/" target="_blank">previous Google Plus Theme (PyroCMS v1.x)</a> to work with PyroCMS v2</p>
<p>It might not be perfect, but can be a good start for you to customize your own</p>
<p><img title="google_plus_pyrocms_theme.png" src="http://techmix.net/blog/wp-content/uploads/2011/11/google_plus_pyrocms_theme.png" border="0" alt="Google plus pyrocms theme" width="539" height="480" /></p>
<h2>DOWNLOAD</h2>
<p><a href="http://techmix.net/blog/wp-content/uploads/2011/11/googleplus.zip">Google Plus Theme for PyroCMS v2</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechmix.net%2Fblog%2F2011%2F11%2F18%2Fgoogle-plus-theme-for-pyrocms2%2F&amp;title=Google%20Plus%20Theme%20for%20PyroCMS2" id="wpa2a_20"><img src="http://techmix.net/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div id="wp_fb_like_button" style="margin: 0; float: none"><iframe src="http://www.facebook.com/plugins/like.php?href=http://techmix.net/blog/2011/11/18/google-plus-theme-for-pyrocms2/&amp;layout=standard&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;width=450&amp;height=100" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width: 450px; height: 100px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://techmix.net/blog/2011/11/18/google-plus-theme-for-pyrocms2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 2.047 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-06 00:10:50 -->
<!-- Compression = gzip -->
