<?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/"
    xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" >
<channel>
    
    <title>GizmoLA.com - Comments</title>
    <link>http://www.gizmola.com/blog/</link>
    <description>GizmoLA.com - </description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.7 - http://www.s9y.org/</generator>
    <managingEditor>webmaster@gizmola.com</managingEditor>
<webMaster>webmaster@gizmola.com</webMaster>
<pubDate>Thu, 01 Jan 1970 00:00:00 GMT</pubDate>

    <image>
        <url>http://www.gizmola.com/blog/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: GizmoLA.com - Comments - GizmoLA.com - </title>
        <link>http://www.gizmola.com/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Eric Tamo: Finding &quot;Next Monday&quot; using MySQL Dates</title>
    <link>http://www.gizmola.com/blog/archives/99-Finding-Next-Monday-using-MySQL-Dates.html#c130834</link>
            <category></category>
    
    <comments>http://www.gizmola.com/blog/archives/99-Finding-Next-Monday-using-MySQL-Dates.html#comments</comments>
    <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=99</wfw:comment>

    

    <author>nospam@example.com (Eric Tamo)</author>
    <content:encoded>
    Thanks for Jade. your code gave me an idea on how to get the following friday of a given day.&lt;br /&gt;
&lt;br /&gt;
SELECT DATE_ADD(CURDATE() , INTERVAL( ( 6 - IF( DAYOFWEEK( CURDATE() ) in(6,7), DAYOFWEEK(CURDATE()),DAYOFWEEK(CURDATE())) ) )&lt;br /&gt;
DAY as FRIDAY_OF_DATE 
    </content:encoded>

    <pubDate>Mon, 27 May 2013 21:53:41 -0700</pubDate>
    <guid isPermaLink="false">http://www.gizmola.com/blog/archives/99-guid.html#c130834</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Stas Ustimenko: XDebug for developing, debugging and profiling PHP</title>
    <link>http://www.gizmola.com/blog/archives/112-XDebug-for-developing,-debugging-and-profiling-PHP.html#c130815</link>
            <category></category>
    
    <comments>http://www.gizmola.com/blog/archives/112-XDebug-for-developing,-debugging-and-profiling-PHP.html#comments</comments>
    <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=112</wfw:comment>

    

    <author>nospam@example.com (Stas Ustimenko)</author>
    <content:encoded>
    my choice is Codelobster PHP Edition - http://www.codelobster.com&lt;br /&gt;
It has very good free PHP debugger 
    </content:encoded>

    <pubDate>Tue, 29 Jan 2013 05:56:36 -0800</pubDate>
    <guid isPermaLink="false">http://www.gizmola.com/blog/archives/112-guid.html#c130815</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>David: XDebug for developing, debugging and profiling PHP</title>
    <link>http://www.gizmola.com/blog/archives/112-XDebug-for-developing,-debugging-and-profiling-PHP.html#c130813</link>
            <category></category>
    
    <comments>http://www.gizmola.com/blog/archives/112-XDebug-for-developing,-debugging-and-profiling-PHP.html#comments</comments>
    <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=112</wfw:comment>

    

    <author>nospam@example.com (David)</author>
    <content:encoded>
    This article was originally written for flingbits.com and published in 2010. 
    </content:encoded>

    <pubDate>Fri, 11 Jan 2013 23:04:46 -0800</pubDate>
    <guid isPermaLink="false">http://www.gizmola.com/blog/archives/112-guid.html#c130813</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Jim: Linux shell scripting: bad interpreter: No such file or directory</title>
    <link>http://www.gizmola.com/blog/archives/87-Linux-shell-scripting-bad-interpreter-No-such-file-or-directory.html#c130811</link>
            <category></category>
    
    <comments>http://www.gizmola.com/blog/archives/87-Linux-shell-scripting-bad-interpreter-No-such-file-or-directory.html#comments</comments>
    <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=87</wfw:comment>

    

    <author>nospam@example.com (Jim)</author>
    <content:encoded>
    Thank you for posting this.  I spent two days of frustration and desperation trying to get a simple cron working.  You saved me from losing my mind! :-) 
    </content:encoded>

    <pubDate>Thu, 06 Dec 2012 15:10:27 -0800</pubDate>
    <guid isPermaLink="false">http://www.gizmola.com/blog/archives/87-guid.html#c130811</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>zz: Linux shell scripting: bad interpreter: No such file or directory</title>
    <link>http://www.gizmola.com/blog/archives/87-Linux-shell-scripting-bad-interpreter-No-such-file-or-directory.html#c130810</link>
            <category></category>
    
    <comments>http://www.gizmola.com/blog/archives/87-Linux-shell-scripting-bad-interpreter-No-such-file-or-directory.html#comments</comments>
    <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=87</wfw:comment>

    

    <author>nospam@example.com (zz)</author>
    <content:encoded>
    Thanks for posting this fix!&lt;br /&gt;
&lt;br /&gt;
Haven&#039;t used *nix in a while but it&#039;s now slowly becomming a bigger part of my life...&lt;br /&gt;
&lt;br /&gt;
(lots of memory work) 
    </content:encoded>

    <pubDate>Sun, 11 Nov 2012 20:03:08 -0800</pubDate>
    <guid isPermaLink="false">http://www.gizmola.com/blog/archives/87-guid.html#c130810</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>fuzzycheck: Linux shell scripting: bad interpreter: No such file or directory</title>
    <link>http://www.gizmola.com/blog/archives/87-Linux-shell-scripting-bad-interpreter-No-such-file-or-directory.html#c130803</link>
            <category></category>
    
    <comments>http://www.gizmola.com/blog/archives/87-Linux-shell-scripting-bad-interpreter-No-such-file-or-directory.html#comments</comments>
    <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=87</wfw:comment>

    

    <author>nospam@example.com (fuzzycheck)</author>
    <content:encoded>
    Hi, &lt;br /&gt;
 the procedure didn&#039;t work for me, but I found the reason: the file must not have a BOM, in addition to being in Unix format.&lt;br /&gt;
&lt;br /&gt;
 I create my scripts in Notepad++, and it gives the option of saving files in UTF8 format with a BOM, or without a BOM. The BOM adds a few characters at the beginning of the file.&lt;br /&gt;
&lt;br /&gt;
 You can check with hexdump:&lt;br /&gt;
a file with BOM:&lt;br /&gt;
hexdump -C compile_gtk.sh &lt;br /&gt;
00000000  ef bb bf 23 21 2f 62 69  6e 2f 73 68 0a 0a 46 49  |...#!/bin/sh..FI|&lt;br /&gt;
&lt;br /&gt;
same file without BOM:&lt;br /&gt;
&gt; hexdump -C compile_gtk.sh &lt;br /&gt;
00000000  23 21 2f 62 69 6e 2f 73  68 0a 0a 46 49 4c 45 3d  |#!/bin/sh..FILE=|&lt;br /&gt;
&lt;br /&gt;
The difference is the first 3 bytes &quot;ef bb bf&quot;.&lt;br /&gt;
&lt;br /&gt;
 In VI, to check if the file has a BOM, type &quot;:set bomb?&quot;. A message &quot;bomb&quot; or &quot;nobomb&quot; should appear.&lt;br /&gt;
&lt;br /&gt;
 To remove the BOM, type &quot;:set nobomb&quot;, then save the file. Check again with hexdump that the BOM was removed. 
    </content:encoded>

    <pubDate>Thu, 09 Aug 2012 06:19:27 -0700</pubDate>
    <guid isPermaLink="false">http://www.gizmola.com/blog/archives/87-guid.html#c130803</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Katai: Finding &quot;Next Monday&quot; using MySQL Dates</title>
    <link>http://www.gizmola.com/blog/archives/99-Finding-Next-Monday-using-MySQL-Dates.html#c130801</link>
            <category></category>
    
    <comments>http://www.gizmola.com/blog/archives/99-Finding-Next-Monday-using-MySQL-Dates.html#comments</comments>
    <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=99</wfw:comment>

    

    <author>nospam@example.com (Katai)</author>
    <content:encoded>
    Actually, you can change the result of &#039;dayofweek()&#039; to some degree, with modulo.&lt;br /&gt;
&lt;br /&gt;
You need that a lot if you want a format like &#039;0=monday, etc&#039; instead of sunday.&lt;br /&gt;
&lt;br /&gt;
To make monday == 0, just add &#039;-1, +6, %7&#039;&lt;br /&gt;
&lt;br /&gt;
Example: SELECT ((DAYOFWEEK(&#039;2012-07-16&#039;) - 1) + 6)% 7 &lt;br /&gt;
&lt;br /&gt;
this returns last monday, as 0&lt;br /&gt;
&lt;br /&gt;
SELECT ((DAYOFWEEK(&#039;2012-07-22&#039;) - 1) + 6) % 7 &lt;br /&gt;
&lt;br /&gt;
this returns next sunday as 6 
    </content:encoded>

    <pubDate>Thu, 19 Jul 2012 02:09:16 -0700</pubDate>
    <guid isPermaLink="false">http://www.gizmola.com/blog/archives/99-guid.html#c130801</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Alvin567: Calculate a person's age in a MySQL query</title>
    <link>http://www.gizmola.com/blog/archives/107-Calculate-a-persons-age-in-a-MySQL-query.html#c130800</link>
            <category></category>
    
    <comments>http://www.gizmola.com/blog/archives/107-Calculate-a-persons-age-in-a-MySQL-query.html#comments</comments>
    <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=107</wfw:comment>

    

    <author>nospam@example.com (Alvin567)</author>
    <content:encoded>
    I have found the answer to date mth year column in mysql 
    </content:encoded>

    <pubDate>Mon, 16 Jul 2012 23:36:40 -0700</pubDate>
    <guid isPermaLink="false">http://www.gizmola.com/blog/archives/107-guid.html#c130800</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>David: Linux shell scripting: bad interpreter: No such file or directory</title>
    <link>http://www.gizmola.com/blog/archives/87-Linux-shell-scripting-bad-interpreter-No-such-file-or-directory.html#c130799</link>
            <category></category>
    
    <comments>http://www.gizmola.com/blog/archives/87-Linux-shell-scripting-bad-interpreter-No-such-file-or-directory.html#comments</comments>
    <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=87</wfw:comment>

    

    <author>nospam@example.com (David)</author>
    <content:encoded>
    Awesome! Thanks for this article. Saved me some headache. 
    </content:encoded>

    <pubDate>Tue, 10 Jul 2012 23:51:03 -0700</pubDate>
    <guid isPermaLink="false">http://www.gizmola.com/blog/archives/87-guid.html#c130799</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Mike: Linux shell scripting: bad interpreter: No such file or directory</title>
    <link>http://www.gizmola.com/blog/archives/87-Linux-shell-scripting-bad-interpreter-No-such-file-or-directory.html#c130798</link>
            <category></category>
    
    <comments>http://www.gizmola.com/blog/archives/87-Linux-shell-scripting-bad-interpreter-No-such-file-or-directory.html#comments</comments>
    <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=87</wfw:comment>

    

    <author>nospam@example.com (Mike)</author>
    <content:encoded>
    Great, works perfectly thank-you! 
    </content:encoded>

    <pubDate>Sat, 30 Jun 2012 17:03:28 -0700</pubDate>
    <guid isPermaLink="false">http://www.gizmola.com/blog/archives/87-guid.html#c130798</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Bazzard: Linux shell scripting: bad interpreter: No such file or directory</title>
    <link>http://www.gizmola.com/blog/archives/87-Linux-shell-scripting-bad-interpreter-No-such-file-or-directory.html#c130797</link>
            <category></category>
    
    <comments>http://www.gizmola.com/blog/archives/87-Linux-shell-scripting-bad-interpreter-No-such-file-or-directory.html#comments</comments>
    <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=87</wfw:comment>

    

    <author>nospam@example.com (Bazzard)</author>
    <content:encoded>
    Very helpful. tnx 
    </content:encoded>

    <pubDate>Sun, 24 Jun 2012 18:49:21 -0700</pubDate>
    <guid isPermaLink="false">http://www.gizmola.com/blog/archives/87-guid.html#c130797</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>jaffa: Load the Url symfony helper in a model or form class </title>
    <link>http://www.gizmola.com/blog/archives/105-Load-the-Url-symfony-helper-in-a-model-or-form-class.html#c130795</link>
            <category></category>
    
    <comments>http://www.gizmola.com/blog/archives/105-Load-the-Url-symfony-helper-in-a-model-or-form-class.html#comments</comments>
    <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=105</wfw:comment>

    

    <author>nospam@example.com (jaffa)</author>
    <content:encoded>
    Great blog. 
    </content:encoded>

    <pubDate>Thu, 31 May 2012 05:16:34 -0700</pubDate>
    <guid isPermaLink="false">http://www.gizmola.com/blog/archives/105-guid.html#c130795</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Linux n00b: Install Xwindows and Gnome on Centos with Yum</title>
    <link>http://www.gizmola.com/blog/archives/74-Install-Xwindows-and-Gnome-on-Centos-with-Yum.html#c130790</link>
            <category></category>
    
    <comments>http://www.gizmola.com/blog/archives/74-Install-Xwindows-and-Gnome-on-Centos-with-Yum.html#comments</comments>
    <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=74</wfw:comment>

    

    <author>nospam@example.com (Linux n00b)</author>
    <content:encoded>
    Not helping :(. i already installed gnome, but i can&#039;t open it? when i do gnome-session it says WARNING: ** Cannot open display. Any help?? 
    </content:encoded>

    <pubDate>Tue, 01 May 2012 06:15:08 -0700</pubDate>
    <guid isPermaLink="false">http://www.gizmola.com/blog/archives/74-guid.html#c130790</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Robert: Linux shell scripting: bad interpreter: No such file or directory</title>
    <link>http://www.gizmola.com/blog/archives/87-Linux-shell-scripting-bad-interpreter-No-such-file-or-directory.html#c130789</link>
            <category></category>
    
    <comments>http://www.gizmola.com/blog/archives/87-Linux-shell-scripting-bad-interpreter-No-such-file-or-directory.html#comments</comments>
    <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=87</wfw:comment>

    

    <author>nospam@example.com (Robert)</author>
    <content:encoded>
    I had big problems trying to run python script written under Windows on Debian. I&#039;ve searched many sites and finally I&#039;ve found your solution. It is working like a charm. Thank you very much. 
    </content:encoded>

    <pubDate>Wed, 25 Apr 2012 16:12:01 -0700</pubDate>
    <guid isPermaLink="false">http://www.gizmola.com/blog/archives/87-guid.html#c130789</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>3l4d2: Linux shell scripting: bad interpreter: No such file or directory</title>
    <link>http://www.gizmola.com/blog/archives/87-Linux-shell-scripting-bad-interpreter-No-such-file-or-directory.html#c130788</link>
            <category></category>
    
    <comments>http://www.gizmola.com/blog/archives/87-Linux-shell-scripting-bad-interpreter-No-such-file-or-directory.html#comments</comments>
    <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=87</wfw:comment>

    

    <author>nospam@example.com (3l4d2)</author>
    <content:encoded>
    thanks! works like a charm! 
    </content:encoded>

    <pubDate>Mon, 26 Mar 2012 00:31:46 -0700</pubDate>
    <guid isPermaLink="false">http://www.gizmola.com/blog/archives/87-guid.html#c130788</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>

</channel>
</rss>
