<?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 - One liners</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>Fri, 24 Jul 2009 17:43:24 GMT</pubDate>

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

<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>4</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>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>3</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>