<?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"
	>

<channel>
	<title>Elegando</title>
	<atom:link href="http://www.elegando.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.elegando.com</link>
	<description>elegant &#187; being unusually effective and simple...</description>
	<pubDate>Tue, 18 Nov 2008 20:20:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>XP Network Montior</title>
		<link>http://www.elegando.com/2008/11/xp-network-montior/</link>
		<comments>http://www.elegando.com/2008/11/xp-network-montior/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 20:20:42 +0000</pubDate>
		<dc:creator>Jason G.</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.elegando.com/2008/11/xp-network-montior/</guid>
		<description><![CDATA[Free download Axence NetTools includes a network scanner, inbound/outbound connection monitor (NetStat), port scanner, and other network and bandwidth measuring tools.
Also worthwhile is the Daily Cup of Tech&#8217;s PC System Repair System on a USB Key.
]]></description>
			<content:encoded><![CDATA[<p>Free download <a href="http://www.axencesoftware.com/index.php?action=FreeNT">Axence NetTools</a> includes a network scanner, inbound/outbound connection monitor (NetStat), port scanner, and other network and bandwidth measuring tools.</p>
<p>Also worthwhile is the <a href="http://dailycupoftech.com/usb-drive-systems/3/">Daily Cup of Tech&#8217;s PC System Repair System on a USB Key</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elegando.com/2008/11/xp-network-montior/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tail for Windows</title>
		<link>http://www.elegando.com/2008/11/tail-for-windows/</link>
		<comments>http://www.elegando.com/2008/11/tail-for-windows/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 22:03:00 +0000</pubDate>
		<dc:creator>Jason G.</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.elegando.com/2008/11/tail-for-windows/</guid>
		<description><![CDATA[The command line &#8220;tail -f&#8221; is so useful, it&#8217;s frustrating when you work on a Windows server that has no built-in equivalent. BareTail might be a reasonable download to use in its stead.
]]></description>
			<content:encoded><![CDATA[<p>The command line &#8220;tail -f&#8221; is so useful, it&#8217;s frustrating when you work on a Windows server that has no built-in equivalent. <a href="http://www.baremetalsoft.com/baretail/index.php">BareTail</a> might be a reasonable download to use in its stead.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elegando.com/2008/11/tail-for-windows/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BIRT Date Formatting</title>
		<link>http://www.elegando.com/2008/10/birt-date-formatting/</link>
		<comments>http://www.elegando.com/2008/10/birt-date-formatting/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 15:47:19 +0000</pubDate>
		<dc:creator>Jason G.</dc:creator>
		
		<category><![CDATA[Commentary]]></category>

		<category><![CDATA[BIRT]]></category>

		<guid isPermaLink="false">http://www.elegando.com/2008/10/birt-date-formatting/</guid>
		<description><![CDATA[To output a date in your BIRT HTML, you can nicely format it using the value-of xml tag&#8230;
&#60;value-of format="MM/dd/yyyy hh:mm:ss"&#62;new Date()&#60;/value-of&#62;
More tips here.
]]></description>
			<content:encoded><![CDATA[<p>To output a date in your BIRT HTML, you can nicely format it using the value-of xml tag&#8230;</p>
<pre class="xml" name="code">&lt;value-of format="MM/dd/yyyy hh:mm:ss"&gt;new Date()&lt;/value-of&gt;</pre>
<p>More tips <a href="http://marklorenz.blogspot.com/2006/02/birt-tips-for-java-developers.html">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elegando.com/2008/10/birt-date-formatting/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MediaWiki - Prevent Edit Unless Logged In</title>
		<link>http://www.elegando.com/2008/10/mediawiki-prevent-edit-unless-logged-in/</link>
		<comments>http://www.elegando.com/2008/10/mediawiki-prevent-edit-unless-logged-in/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 19:22:10 +0000</pubDate>
		<dc:creator>Jason G.</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.elegando.com/2008/10/mediawiki-prevent-edit-unless-logged-in/</guid>
		<description><![CDATA[As Tim Joh found it is quite easy to change MediaWiki&#8217;s behavior. Just edit the file LocalSettings.php in the root directory and add the following line at the bottom (or anywhere else):
$wgGroupPermissions['*']['edit'] = false;

This will remove the edit-permissions from users who have not yet logged in.
]]></description>
			<content:encoded><![CDATA[<p>As <a href="http://timjoh.com/how-to-restrict-editing-by-non-logged-in-users-in-mediawiki/">Tim Joh found</a> it is quite easy to change MediaWiki&#8217;s behavior. Just edit the file LocalSettings.php in the root directory and add the following line at the bottom (or anywhere else):</p>
<pre name="code" class="java">$wgGroupPermissions['*']['edit'] = false;</pre>
<p></p>
<p>This will remove the edit-permissions from users who have not yet logged in.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elegando.com/2008/10/mediawiki-prevent-edit-unless-logged-in/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Disable Windows-L</title>
		<link>http://www.elegando.com/2008/09/disable-windows-l/</link>
		<comments>http://www.elegando.com/2008/09/disable-windows-l/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 22:51:52 +0000</pubDate>
		<dc:creator>Jason G.</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.elegando.com/2008/09/disable-windows-l/</guid>
		<description><![CDATA[As per this article I found&#8230; you can disable the Windows-L = Lock Windows behavior on windows with a registry hack.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
Add DisableLockWorkstation = 1 to disable.
]]></description>
			<content:encoded><![CDATA[<p>As per <a href="http://www.howtogeek.com/howto/windows-vista/disableenable-lock-workstation-functionality-windows-l/">this article I found</a>&#8230; you can disable the Windows-L = Lock Windows behavior on windows with a registry hack.</p>
<p>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System</p>
<p>Add DisableLockWorkstation = 1 to disable.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elegando.com/2008/09/disable-windows-l/feed/</wfw:commentRss>
		</item>
		<item>
		<title>@SuppressWarnings</title>
		<link>http://www.elegando.com/2008/09/suppresswarnings/</link>
		<comments>http://www.elegando.com/2008/09/suppresswarnings/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 15:36:17 +0000</pubDate>
		<dc:creator>Jason G.</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.elegando.com/2008/09/suppresswarnings/</guid>
		<description><![CDATA[A full list of @SuppressWarnings options (per environment) are available here.
In Eclipse&#8230; The list of tokens that can be used inside an SuppressWarning annotation is:

all to suppress all warnings
boxing to suppress warnings relative to boxing/unboxing operations
cast to suppress warnings relative to cast operations
dep-ann to suppress warnings relative to deprecated annotation
deprecation to suppress warnings relative to [...]]]></description>
			<content:encoded><![CDATA[<p>A full list of @SuppressWarnings options (per environment) <a href="http://knol.google.com/k/alex-miller/suppresswarnings-annotation-in-java/1f092vcri65lh/3#">are available here</a>.</p>
<p><a href="http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.jdt.doc.isv/guide/jdt_api_compile.htm">In Eclipse&#8230;</a> The list of tokens that can be used inside an SuppressWarning annotation is:</p>
<ul>
<li><strong><span style="font-weight: normal;"><strong>all</strong> to suppress all warnings</span></strong></li>
<li><span style="font-weight: normal;"><strong>boxing</strong> to suppress warnings relative to boxing/unboxing operations</span></li>
<li><span style="font-weight: normal;"><strong>cast</strong> to suppress warnings relative to cast operations</span></li>
<li><span style="font-weight: normal;"><strong>dep-an</strong><strong>n</strong> to suppress warnings relative to deprecated annotation</span></li>
<li><span style="font-weight: normal;"><strong>deprecation</strong> to suppress warnings relative to deprecation</span></li>
<li><span style="font-weight: normal;"><strong>fallthrough</strong> to suppress warnings relative to missing breaks in switch statements</span></li>
<li><span style="font-weight: normal;"><strong>finally</strong> to suppress warnings relative to finally block that don&#8217;t return</span></li>
<li><span style="font-weight: normal;"><strong>hiding</strong> to suppress warnings relative to locals that hide variable</span></li>
<li><span style="font-weight: normal;"><strong>incomplete-switch</strong> to suppress warnings relative to missing entries in a switch statement (enum case)</span></li>
<li><span style="font-weight: normal;"><strong>nls</strong> to suppress warnings relative to non-nls string literals</span></li>
<li><span style="font-weight: normal;"><strong>null</strong> to suppress warnings relative to null analysis</span></li>
<li><span style="font-weight: normal;"><strong>restriction</strong> to suppress warnings relative to usage of discouraged or forbidden references</span></li>
<li><span style="font-weight: normal;"><strong>serial</strong> to suppress warnings relative to missing serialVersionUID field for a serializable class</span></li>
<li><span style="font-weight: normal;"><strong>static-access</strong> to suppress warnings relative to incorrect static access</span></li>
<li><span style="font-weight: normal;"><strong>synthetic-access</strong> to suppress warnings relative to unoptimized access from inner classes</span></li>
<li><span style="font-weight: normal;"><strong>unchecked</strong> to suppress warnings relative to unchecked operations</span></li>
<li><span style="font-weight: normal;"><strong>unqualified-field-access</strong> to suppress warnings relative to field access unqualified</span></li>
<li><span style="font-weight: normal;"><strong>unused</strong> to suppress warnings relative to unused code</span></li>
</ul>
<p>The Sun JDK has seven categories (<a href="http://tech.puredanger.com/2007/01/05/suppresswarnings/">as mentioned here</a>): all, deprecation, unchecked, fallthrough, path, serial, and finally.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elegando.com/2008/09/suppresswarnings/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Remove Non-ASCII Chars</title>
		<link>http://www.elegando.com/2008/08/remove-non-ascii-chars/</link>
		<comments>http://www.elegando.com/2008/08/remove-non-ascii-chars/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 12:40:53 +0000</pubDate>
		<dc:creator>Jason G.</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.elegando.com/2008/08/remove-non-ascii-chars/</guid>
		<description><![CDATA[Quick snippet to remove non-ascii characters from a java string:

String clean = dirty.replaceAll("\\P{ASCII}+", "");

]]></description>
			<content:encoded><![CDATA[<p>Quick snippet to remove non-ascii characters from a java string:</p>
<p><pre name="code" class="java">
String clean = dirty.replaceAll("\\P{ASCII}+", "");
</pre></p>
]]></content:encoded>
			<wfw:commentRss>http://www.elegando.com/2008/08/remove-non-ascii-chars/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mail from Java</title>
		<link>http://www.elegando.com/2008/08/mail-from-java/</link>
		<comments>http://www.elegando.com/2008/08/mail-from-java/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 04:53:35 +0000</pubDate>
		<dc:creator>Jason G.</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.elegando.com/2008/08/mail-from-java/</guid>
		<description><![CDATA[Sometimes you gotta send mail from outside an app server, in which case, this will get you started:
Sending Mail with the JavaMail API
You will need the JavaMail library (mail.jar) as well as the Java Activation Framework (activation.jar) to get it running&#8230;


	public MailSender() {
	    Properties props = new Properties();
	    props.put("mail.smtp.host", [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you gotta send mail from outside an app server, in which case, this will get you started:</p>
<p><a href="http://java.sun.com/developer/JDCTechTips/2001/tt1023.html#tip2">Sending Mail with the JavaMail API</a></p>
<p>You will need the <a href="http://java.sun.com/products/javamail/index.jsp">JavaMail library</a> (mail.jar) as well as the <a href="http://java.sun.com/javase/technologies/desktop/javabeans/jaf/index.jsp">Java Activation Framework</a> (activation.jar) to get it running&#8230;</p>
<p><span id="more-68"></span></p>
<pre name="code" class="java">
	public MailSender() {
	    Properties props = new Properties();
	    props.put("mail.smtp.host", "mail.yourhostnamehere.com");
	    session = Session.getDefaultInstance(props, null);
	}

	public boolean sendEmail( String to, String from, String subject, String body ) {
		try {
			Message message = new MimeMessage( session );
			message.setFrom( new InternetAddress( from ) );
			message.addRecipient( RecipientType.TO, new InternetAddress( to ) );
			message.setSubject( subject );
			message.setText( body );

			Transport.send( message );
			return true;
		} catch( AddressException e ) {
			log.error( "ERROR Occurred:", e );
			e.printStackTrace();
		} catch( MessagingException e ) {
			log.error( "ERROR Occurred:", e );
			e.printStackTrace();
		}
		return false;
	}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.elegando.com/2008/08/mail-from-java/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Instructions Required</title>
		<link>http://www.elegando.com/2008/08/instructions/</link>
		<comments>http://www.elegando.com/2008/08/instructions/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 00:27:15 +0000</pubDate>
		<dc:creator>Jason G.</dc:creator>
		
		<category><![CDATA[Asides]]></category>

		<guid isPermaLink="false">http://www.elegando.com/2008/08/instructions/</guid>
		<description><![CDATA[Found on the internets somewhere&#8230;
If you need information on how to unzip files, go away and learn before you go anywhere near a development environment or the Internet in general. Seriously.
]]></description>
			<content:encoded><![CDATA[<p>Found on <a href="http://www.opensymphony.com/quartz/wikidocs/QuickStart.html">the internets somewhere</a>&#8230;</p>
<blockquote><p>If you need information on how to unzip files, go away and learn before you go anywhere near a development environment or the Internet in general. Seriously.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.elegando.com/2008/08/instructions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Netstat</title>
		<link>http://www.elegando.com/2008/08/netstat/</link>
		<comments>http://www.elegando.com/2008/08/netstat/#comments</comments>
		<pubDate>Sat, 02 Aug 2008 19:53:18 +0000</pubDate>
		<dc:creator>Jason G.</dc:creator>
		
		<category><![CDATA[One Liners]]></category>

		<guid isPermaLink="false">http://www.elegando.com/2008/08/netstat/</guid>
		<description><![CDATA[Ever wonder what network activity is happening on your machine? Use netstat.
The most useful command line options:

-a = show all network access
-b = shows the process, or on windows the process id that is using the network (the process id can be matched up to a process via the task manager)
-n = don&#8217;t do a [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wonder what network activity is happening on your machine? Use netstat.</p>
<p>The most useful command line options:</p>
<ul>
<li>-a = show all network access</li>
<li>-b = shows the process, or on windows the process id that is using the network (the process id can be matched up to a process via the task manager)</li>
<li>-n = don&#8217;t do a dns lookup</li>
</ul>
<p>You can obviously chain this command together with grep:</p>
<ul>
<li>netstat -anb | grep 80</li>
</ul>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.elegando.com/2008/08/netstat/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
