<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Gl.ib.ly - Computers</title>
    <link>http://gl.ib.ly/</link>
    <description>(glibly); Just another techie blog.</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.3.1 - http://www.s9y.org/</generator>
    <pubDate>Mon, 27 Jul 2009 20:05:08 GMT</pubDate>

    <image>
        <url>http://gl.ib.ly/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Gl.ib.ly - Computers - (glibly); Just another techie blog.</title>
        <link>http://gl.ib.ly/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Doing OCR on linux/Mac</title>
    <link>http://gl.ib.ly/archives/35-Doing-OCR-on-linuxMac.html</link>
            <category>Programming</category>
            <category>Tidbits</category>
    
    <comments>http://gl.ib.ly/archives/35-Doing-OCR-on-linuxMac.html#comments</comments>
    <wfw:comment>http://gl.ib.ly/wfwcomment.php?cid=35</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://gl.ib.ly/rss.php?version=2.0&amp;type=comments&amp;cid=35</wfw:commentRss>
    

    <author>nospam@example.com (Tariq)</author>
    <content:encoded>
    Yesterday somebody gave me a USB key with ~1000 JPEGs on it. Each JPEG was a scanned page, ugh, and the task was to find some useful information about topic X. Now each JPEG was about 1-2mb and I needed to do something useful with these images quickly. So what follows is quick walk through of how to do &lt;a href=&quot;http://gl.ib.ly/exit.php?url_id=83&amp;amp;entry_id=35&quot; title=&quot;http://en.wikipedia.org/wiki/Optical_character_recognition&quot;  onmouseover=&quot;window.status=&#039;http://en.wikipedia.org/wiki/Optical_character_recognition&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Optical Character Recognition&lt;/a&gt; (OCR, that means taking silly image files and ripping out any text identified in them) on Linux or in my case a Mac.&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://gl.ib.ly/archives/35-Doing-OCR-on-linuxMac.html#extended&quot;&gt;Continue reading &quot;Doing OCR on linux/Mac&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 27 Jul 2009 12:03:45 -0600</pubDate>
    <guid isPermaLink="false">http://gl.ib.ly/archives/35-guid.html</guid>
    <category>bash</category>
<category>computer forensics</category>
<category>dictionary</category>
<category>forensics</category>
<category>imagemagick</category>
<category>linux</category>
<category>mac</category>
<category>ocr</category>
<category>password</category>
<category>programming</category>
<category>scanned</category>
<category>script</category>
<category>strings</category>
<category>tesseract</category>
<category>tidbits</category>
<category>unpaper</category>

</item>
<item>
    <title>Encoding audio and removing file extensions from files</title>
    <link>http://gl.ib.ly/archives/34-Encoding-audio-and-removing-file-extensions-from-files.html</link>
            <category>One liners</category>
            <category>Tidbits</category>
    
    <comments>http://gl.ib.ly/archives/34-Encoding-audio-and-removing-file-extensions-from-files.html#comments</comments>
    <wfw:comment>http://gl.ib.ly/wfwcomment.php?cid=34</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://gl.ib.ly/rss.php?version=2.0&amp;type=comments&amp;cid=34</wfw:commentRss>
    

    <author>nospam@example.com (Tariq)</author>
    <content:encoded>
    Earlier today I got a massive SCORM object that contained lots of mp3 files. They were all high quality files, so I wanted to cut them down in size for web use. For this purpose I am using &lt;a href=&quot;http://gl.ib.ly/exit.php?url_id=80&amp;amp;entry_id=34&quot; title=&quot;http://ffmpeg.org/&quot;  onmouseover=&quot;window.status=&#039;http://ffmpeg.org/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;ffmpeg&lt;/a&gt; which you can easily get for Windows, Linux or Mac. I tried the following on a Mac, but it should also work on Linux (paths permitting) and on Windows if you are using something like &lt;a href=&quot;http://gl.ib.ly/exit.php?url_id=81&amp;amp;entry_id=34&quot; title=&quot;http://www.cygwin.com/&quot;  onmouseover=&quot;window.status=&#039;http://www.cygwin.com/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;cygwin&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
I &lt;em&gt;highly&lt;/em&gt; recommend you get familiar with ffmpeg as it is amazingly useful. Just check out the &lt;a href=&quot;http://gl.ib.ly/exit.php?url_id=82&amp;amp;entry_id=34&quot; title=&quot;http://linux.die.net/man/1/ffmpeg&quot;  onmouseover=&quot;window.status=&#039;http://linux.die.net/man/1/ffmpeg&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;man pages&lt;/a&gt;; swf to avi, avi to something that works on ipods, all a breeze!&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://gl.ib.ly/archives/34-Encoding-audio-and-removing-file-extensions-from-files.html#extended&quot;&gt;Continue reading &quot;Encoding audio and removing file extensions from files&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 24 Jul 2009 09:51:59 -0600</pubDate>
    <guid isPermaLink="false">http://gl.ib.ly/archives/34-guid.html</guid>
    <category>ffmpeg</category>
<category>find</category>
<category>moving</category>
<category>one liners</category>
<category>optimisation</category>
<category>renaming</category>
<category>sed</category>
<category>sh</category>
<category>tidbits</category>

</item>
<item>
    <title>Searching compressed Apache logs</title>
    <link>http://gl.ib.ly/archives/27-Searching-compressed-Apache-logs.html</link>
            <category>One liners</category>
            <category>Tidbits</category>
    
    <comments>http://gl.ib.ly/archives/27-Searching-compressed-Apache-logs.html#comments</comments>
    <wfw:comment>http://gl.ib.ly/wfwcomment.php?cid=27</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://gl.ib.ly/rss.php?version=2.0&amp;type=comments&amp;cid=27</wfw:commentRss>
    

    <author>nospam@example.com (Tariq)</author>
    <content:encoded>
    From time to time things tend to go wrong and &lt;a href=&quot;http://gl.ib.ly/exit.php?url_id=65&amp;amp;entry_id=27&quot; title=&quot;http://gl.ib.ly/archives/10-Deleting-specific-emails-from-the-postfix-mail-queue.html&quot;  onmouseover=&quot;window.status=&#039;http://gl.ib.ly/archives/10-Deleting-specific-emails-from-the-postfix-mail-queue.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;systems tend to go crazy&lt;/a&gt;. Sometimes these errors are more of nuisance than anything else, an intermittent annoyance you&#039;d prefer not to investigate -- trawling through logs is a pain in the backside. Now you need to take a peak at those compressed Apache error log files, ugh! Well before you look for suitable places to hang some rope try running some expressions across a certain number of files. Normally you&#039;d only want to look at logs for the last 7 days, so lets give that a go.   &lt;br /&gt;&lt;a href=&quot;http://gl.ib.ly/archives/27-Searching-compressed-Apache-logs.html#extended&quot;&gt;Continue reading &quot;Searching compressed Apache logs&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 23 Jun 2009 15:50:46 -0600</pubDate>
    <guid isPermaLink="false">http://gl.ib.ly/archives/27-guid.html</guid>
    <category>apache</category>
<category>bunzip2</category>
<category>compressed</category>
<category>find</category>
<category>grep</category>
<category>gzip</category>
<category>logs</category>
<category>one liners</category>
<category>tidbits</category>
<category>xargs</category>

</item>
<item>
    <title>The command prompt has been disabled by your administrator?</title>
    <link>http://gl.ib.ly/archives/22-The-command-prompt-has-been-disabled-by-your-administrator.html</link>
            <category>One liners</category>
            <category>Security</category>
    
    <comments>http://gl.ib.ly/archives/22-The-command-prompt-has-been-disabled-by-your-administrator.html#comments</comments>
    <wfw:comment>http://gl.ib.ly/wfwcomment.php?cid=22</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://gl.ib.ly/rss.php?version=2.0&amp;type=comments&amp;cid=22</wfw:commentRss>
    

    <author>nospam@example.com (Tariq)</author>
    <content:encoded>
    I came across an old enough post on Didier&#039;s blog about &lt;a href=&quot;http://gl.ib.ly/exit.php?url_id=46&amp;amp;entry_id=22&quot; title=&quot;http://blog.didierstevens.com/2007/11/28/quickpost-disableamd-disableregistryfools/trackback/&quot;  onmouseover=&quot;window.status=&#039;http://blog.didierstevens.com/2007/11/28/quickpost-disableamd-disableregistryfools/trackback/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Group policies that have disabled cmd.exe from running&lt;/a&gt;. Didier mentions a few ways to get cmd.exe to run. The suggestion I like the most is to find the &lt;i&gt;DisableCMD&lt;/i&gt; string in cmd.exe and change it to &lt;i&gt;DisableAMD&lt;/i&gt; using a hex editor. Thankfully there is a tool which will allow us to patch cmd.exe in one tiny line.  &lt;br /&gt;&lt;a href=&quot;http://gl.ib.ly/archives/22-The-command-prompt-has-been-disabled-by-your-administrator.html#extended&quot;&gt;Continue reading &quot;The command prompt has been disabled by your administrator?&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 05 Feb 2009 08:10:00 -0700</pubDate>
    <guid isPermaLink="false">http://gl.ib.ly/archives/22-guid.html</guid>
    <category>cmd.exe</category>
<category>gpo</category>
<category>one liners</category>
<category>patch</category>
<category>security</category>
<category>sfk</category>
<category>swiss file knife</category>
<category>windows</category>
<category>xxd</category>

</item>
<item>
    <title>Programmatically creating cool images</title>
    <link>http://gl.ib.ly/archives/18-Programmatically-creating-cool-images.html</link>
            <category>Programming</category>
    
    <comments>http://gl.ib.ly/archives/18-Programmatically-creating-cool-images.html#comments</comments>
    <wfw:comment>http://gl.ib.ly/wfwcomment.php?cid=18</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://gl.ib.ly/rss.php?version=2.0&amp;type=comments&amp;cid=18</wfw:commentRss>
    

    <author>nospam@example.com (Tariq)</author>
    <content:encoded>
    One of the elective courses in the final year of my undergraduate degree course in software engineering was Graphics I (and later followed by Graphics II). For our Graphics I project we were first shown Pixar&#039;s famous lamps short. After it had played we were told our project would be to do our own 3d animation greater than 1 minute in duration. The only restriction was that all objects needed to be generated in the program, so no loading up really complicated open source stuff. I wrote a 3d animation of fighting stick men which was way more than I could chew at the time so they ended up shooting each other from a distance :-p. Anyway since then I have been in love with generating all types of images using pure code.  &lt;br /&gt;&lt;a href=&quot;http://gl.ib.ly/archives/18-Programmatically-creating-cool-images.html#extended&quot;&gt;Continue reading &quot;Programmatically creating cool images&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 09 Jan 2009 09:52:01 -0700</pubDate>
    <guid isPermaLink="false">http://gl.ib.ly/archives/18-guid.html</guid>
    <category>graphics</category>
<category>images</category>
<category>java</category>
<category>processing</category>
<category>programming</category>
<category>towers of hanoi</category>

</item>
<item>
    <title>My experiences with Google Chrome</title>
    <link>http://gl.ib.ly/archives/16-My-experiences-with-Google-Chrome.html</link>
            <category>Computers</category>
    
    <comments>http://gl.ib.ly/archives/16-My-experiences-with-Google-Chrome.html#comments</comments>
    <wfw:comment>http://gl.ib.ly/wfwcomment.php?cid=16</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://gl.ib.ly/rss.php?version=2.0&amp;type=comments&amp;cid=16</wfw:commentRss>
    

    <author>nospam@example.com (Tariq)</author>
    <content:encoded>
    On September 1, 2008 Google announced a &lt;a href=&quot;http://gl.ib.ly/exit.php?url_id=18&amp;amp;entry_id=16&quot; title=&quot;http://googleblog.blogspot.com/2008/09/fresh-take-on-browser.html&quot;  onmouseover=&quot;window.status=&#039;http://googleblog.blogspot.com/2008/09/fresh-take-on-browser.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;A fresh take on the browser&lt;/a&gt;. I greeted this news enthusiasticly; some people believed that google was mobilizing to crush Microsoft in an all out internet browser war. At the same time Firefox crackpots (I am nearly one :op) riled at how inferior Google Chrome was or still *is* -- what no browser extensions? I decided to hold back on what I thought and give it a fair chance.  &lt;br /&gt;&lt;a href=&quot;http://gl.ib.ly/archives/16-My-experiences-with-Google-Chrome.html#extended&quot;&gt;Continue reading &quot;My experiences with Google Chrome&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 08 Jan 2009 16:19:07 -0700</pubDate>
    <guid isPermaLink="false">http://gl.ib.ly/archives/16-guid.html</guid>
    <category>chrome</category>
<category>computers</category>
<category>firefox</category>
<category>google</category>
<category>html</category>
<category>netbook</category>
<category>rants</category>

</item>
<item>
    <title>Deleting specific emails from the postfix mail queue</title>
    <link>http://gl.ib.ly/archives/10-Deleting-specific-emails-from-the-postfix-mail-queue.html</link>
            <category>Computers</category>
            <category>One liners</category>
    
    <comments>http://gl.ib.ly/archives/10-Deleting-specific-emails-from-the-postfix-mail-queue.html#comments</comments>
    <wfw:comment>http://gl.ib.ly/wfwcomment.php?cid=10</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://gl.ib.ly/rss.php?version=2.0&amp;type=comments&amp;cid=10</wfw:commentRss>
    

    <author>nospam@example.com (Tariq)</author>
    <content:encoded>
    A week ago a development database server lost power, which is usually no big deal only that I have some reporting scripts that run every 5 minutes for each database. When these databases became unavailable they (the scripts) like to send me a quick mail telling me what went wrong. The network switch also was out of action so there was no route to the outside world from this small development network. The server lost power for three days and a massive amount of mail built up in the mail queue. When power was restored the SPAM started pouring in. &lt;br /&gt;&lt;a href=&quot;http://gl.ib.ly/archives/10-Deleting-specific-emails-from-the-postfix-mail-queue.html#extended&quot;&gt;Continue reading &quot;Deleting specific emails from the postfix mail queue&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 08 Jan 2009 12:34:18 -0700</pubDate>
    <guid isPermaLink="false">http://gl.ib.ly/archives/10-guid.html</guid>
    <category>computers</category>
<category>email</category>
<category>linux</category>
<category>mailq</category>
<category>one liners</category>
<category>postfix</category>
<category>postsuper</category>
<category>spam</category>

</item>
<item>
    <title>All configuration variables in Moodle code?</title>
    <link>http://gl.ib.ly/archives/8-All-configuration-variables-in-Moodle-code.html</link>
            <category>Moodle</category>
            <category>One liners</category>
    
    <comments>http://gl.ib.ly/archives/8-All-configuration-variables-in-Moodle-code.html#comments</comments>
    <wfw:comment>http://gl.ib.ly/wfwcomment.php?cid=8</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://gl.ib.ly/rss.php?version=2.0&amp;type=comments&amp;cid=8</wfw:commentRss>
    

    <author>nospam@example.com (Tariq)</author>
    <content:encoded>
    Sometimes Moodle introduces some nice new configuration variables and I like to make sure that I know what they are and where they are. So to begin my investigation without heading off to the web  I use the following command to get me a sorted list of the $CFG variables. &lt;br /&gt;&lt;a href=&quot;http://gl.ib.ly/archives/8-All-configuration-variables-in-Moodle-code.html#extended&quot;&gt;Continue reading &quot;All configuration variables in Moodle code?&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 15 Dec 2008 12:15:37 -0700</pubDate>
    <guid isPermaLink="false">http://gl.ib.ly/archives/8-guid.html</guid>
    <category>cfg</category>
<category>configuration variables</category>
<category>grep</category>
<category>linux</category>
<category>moodle</category>
<category>moodle_19</category>
<category>one liners</category>
<category>sort</category>

</item>
<item>
    <title>Creating an HTML file with white space traces</title>
    <link>http://gl.ib.ly/archives/7-Creating-an-HTML-file-with-white-space-traces.html</link>
            <category>One liners</category>
    
    <comments>http://gl.ib.ly/archives/7-Creating-an-HTML-file-with-white-space-traces.html#comments</comments>
    <wfw:comment>http://gl.ib.ly/wfwcomment.php?cid=7</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://gl.ib.ly/rss.php?version=2.0&amp;type=comments&amp;cid=7</wfw:commentRss>
    

    <author>nospam@example.com (Tariq)</author>
    <content:encoded>
    Once upon a time I was comparing some Java files. Now one way to find plagiarism among students who share program code is to look at the white space traces in a file. Students typically try and edit the source code: changing variable names and function names; however, they usually fail to conceal the original author&#039;s white space patterns. White space consists of characters which don&#039;t appear on screen such as spaces, tabs, and new line characters. Anyway you can catch lots of cheaters by looking at the white space patterns in files ... maybe that&#039;s another blog entry, so back to this one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://gl.ib.ly/archives/7-Creating-an-HTML-file-with-white-space-traces.html#extended&quot;&gt;Continue reading &quot;Creating an HTML file with white space traces&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 09 Dec 2008 08:29:00 -0700</pubDate>
    <guid isPermaLink="false">http://gl.ib.ly/archives/7-guid.html</guid>
    <category>html</category>
<category>linux</category>
<category>one liners</category>
<category>sed</category>
<category>whitespace</category>

</item>
<item>
    <title>Getting logins per day in Moodle</title>
    <link>http://gl.ib.ly/archives/6-Getting-logins-per-day-in-Moodle.html</link>
            <category>Moodle</category>
            <category>One liners</category>
    
    <comments>http://gl.ib.ly/archives/6-Getting-logins-per-day-in-Moodle.html#comments</comments>
    <wfw:comment>http://gl.ib.ly/wfwcomment.php?cid=6</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://gl.ib.ly/rss.php?version=2.0&amp;type=comments&amp;cid=6</wfw:commentRss>
    

    <author>nospam@example.com (Tariq)</author>
    <content:encoded>
    Today I got the urge to see how many logins we had on some of our Apache servers in November. We host more than one moodle site on one server and so I wanted the total number of logins we handled. As usual this ended up becoming an &lt;i&gt;awk&lt;/i&gt;ward but useful one liner. &lt;br /&gt;&lt;a href=&quot;http://gl.ib.ly/archives/6-Getting-logins-per-day-in-Moodle.html#extended&quot;&gt;Continue reading &quot;Getting logins per day in Moodle&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 02 Dec 2008 08:59:00 -0700</pubDate>
    <guid isPermaLink="false">http://gl.ib.ly/archives/6-guid.html</guid>
    <category>apache2</category>
<category>chart</category>
<category>csv</category>
<category>loggins</category>
<category>login</category>
<category>logs</category>
<category>moodle</category>
<category>one liners</category>

</item>

</channel>
</rss>