<?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>7deeds &#187; utilities</title>
	<atom:link href="http://blog.7deeds.com/tag/utilities/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.7deeds.com</link>
	<description>Petros Amiridis - A humble programmer's seven noteworthy actions for the community</description>
	<lastBuildDate>Mon, 31 May 2010 12:09:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ruby helper classes for barcodes</title>
		<link>http://blog.7deeds.com/2009/12/23/ruby-barcodes/</link>
		<comments>http://blog.7deeds.com/2009/12/23/ruby-barcodes/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 14:06:32 +0000</pubDate>
		<dc:creator>Petros</dc:creator>
				<category><![CDATA[2-deed]]></category>
		<category><![CDATA[algorithms]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[utilities]]></category>

		<guid isPermaLink="false">http://blog.7deeds.com/?p=385</guid>
		<description><![CDATA[In my day job, I work a lot with barcodes. We develop Windows Mobile software for devices with barcode readers. From time to time, I need to do file manipulation chores. That is: colleagues give me text files that contain barcodes and ask me to transform these.

Yesterday, a colleague of mine asked me to take [...]]]></description>
			<content:encoded><![CDATA[<p>In my day job, I work a lot with barcodes. We develop Windows Mobile software for devices with barcode readers. From time to time, I need to do file manipulation chores. That is: colleagues give me text files that contain barcodes and ask me to transform these.</p>
<p><span id="more-385"></span></p>
<p>Yesterday, a colleague of mine asked me to take as input a file with 12 characters long barcodes and add a check digit assuming the barcodes are EAN13. I decided to do it and also start maintaining a set of barcode helper classes written in Ruby. I haven&#8217;t created a gem yet, cause the functionality is &#8230; lets say limited <img src='http://blog.7deeds.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> , but I plan to do so later.</p>
<p>You can go to</p>
<p><a href="http://github.com/amiridis/rbarcode">http://github.com/amiridis/rbarcode</a> </p>
<p>and just download the barcode.rb file.</p>
<p>Here is how I used the barcode.rb file in order to transform the file:</p>
<pre class="brush: ruby;">
require &quot;barcode&quot;

file = File.open(&quot;apog.txt&quot;)

file.each do |line|
  bc = line.slice(0..11)
  bc13 = Barcode.new(bc).get_ean_13
  puts bc13 + line.slice(12..line.length)
end

file.close
</pre>
<p>The file had the following format:</p>
<pre class="brush: plain;">
520532435284;1;09
520532435285;1;09
520532463580;1;09
</pre>
<p>and for the three lines above it produces:</p>
<pre class="brush: plain;">
5205324352841;1;09
5205324352858;1;09
5205324635807;1;09
</pre>
<p><strong>Update</strong>: I have changed this project to a gem. You can read about it in my <a href="http://blog.7deeds.com/2009/12/30/pabarcode-gem/">PAbarcode gem</a> post.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.7deeds.com/2009/12/23/ruby-barcodes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Using Jing while working remotely</title>
		<link>http://blog.7deeds.com/2009/06/24/using-jing-while-working-remotely/</link>
		<comments>http://blog.7deeds.com/2009/06/24/using-jing-while-working-remotely/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 11:07:27 +0000</pubDate>
		<dc:creator>Petros</dc:creator>
				<category><![CDATA[remote-work]]></category>
		<category><![CDATA[utilities]]></category>
		<category><![CDATA[devexpress]]></category>
		<category><![CDATA[telework]]></category>
		<category><![CDATA[XAF]]></category>

		<guid isPermaLink="false">http://blog.7deeds.com/?p=291</guid>
		<description><![CDATA[One of the tools I really appreciate because it helps me enhance my communication is Jing. Jing has a free edition that supports both screen captures with annotations and video captures with voice!

What I really like about this tool is the ease of use and the lack of unneeded options and clicks to get your [...]]]></description>
			<content:encoded><![CDATA[<p>One of the tools I really appreciate because it helps me enhance my communication is <a href="http://www.jingproject.com/">Jing</a>. Jing has a free edition that supports both screen captures with annotations and video captures with voice!</p>
<p><span id="more-291"></span></p>
<p>What I really like about this tool is the ease of use and the lack of unneeded options and clicks to get your job done.</p>
<p>I use Jing whenever I want to create a new case using FogBugz. For example whenever I want to report a bug or ask for an enhancement, I may capture the part of the screen of the application, annotate and save it to attach it then to a new case in <a href="http://www.fogcreek.com/FogBugz/">FogBugz</a> or send it directly using Skype to the remote programmer.</p>
<p>Sometimes, I even capture a video showing how to reproduce a bug. Capturing a video with Jing is <strong>very</strong> easy because it does exactly what you need, nothing more and nothing less.</p>
<p>Here is an example FogBugz case with a Jing screen capture with annotations for one of our internal projects. We develop this application using <a href="http://www.devexpress.com/">DevExpress</a> <a href="http://www.devexpress.com/Products/NET/Application_Framework/">XAF</a> which is a very good framework for developing intranet applications.</p>
<div id="attachment_290" class="wp-caption aligncenter" style="width: 310px"><a rel="attachment wp-att-290" href="http://blog.7deeds.com/2009/06/24/using-jing-while-working-remotely/2009-06-24_1330-fogbugzcase/"><img class="size-medium wp-image-290" title="FogBugz Case" src="http://blog.7deeds.com/wp-content/2009-06-24_1330-FogBugzCase-300x161.png" alt="FogBugz Case" width="300" height="161" /></a><p class="wp-caption-text">FogBugz Case</p></div>
<p>This way, I can write fewer words than if I hadn&#8217;t prepared the screen capture. I will also try to post a video capture example in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.7deeds.com/2009/06/24/using-jing-while-working-remotely/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Regular expression online tool</title>
		<link>http://blog.7deeds.com/2008/04/10/regular-expression-online-tool/</link>
		<comments>http://blog.7deeds.com/2008/04/10/regular-expression-online-tool/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 09:22:44 +0000</pubDate>
		<dc:creator>Petros</dc:creator>
				<category><![CDATA[utilities]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://blog.7deeds.com/?p=32</guid>
		<description><![CDATA[I think regular expressions is something every programmer should be familiar with. I am not saying, every programmer should write three lines of regexp strings, in three seconds without a cheat sheet. I am just saying that we should all know at least that they exist and what they are useful for.
The truth is, if [...]]]></description>
			<content:encoded><![CDATA[<p>I think regular expressions is something every programmer should be familiar with. I am not saying, every programmer should write three lines of regexp strings, in three seconds without a cheat sheet. I am just saying that we should all know at least that they exist and what they are useful for.</p>
<p>The truth is, if it is the first you encounter regular expressions, you might have some difficulty remembering all those hieroglyphic expressions. There are cheat sheets and they can be handy, but I found something today that in my opinion is quite better: <a title="RegExpr online testing tool" href="http://gskinner.com/RegExr/" target="_blank">Online Regular Expression Testing Tool</a></p>
<p>Do you know any similar offline/online tool?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.7deeds.com/2008/04/10/regular-expression-online-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
