<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for CodeWord: Apokalyptik</title>
	<atom:link href="http://blog.apokalyptik.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.apokalyptik.com</link>
	<description>The random things that spew forth from my brain...</description>
	<lastBuildDate>Fri, 25 Jan 2013 23:59:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6-beta2-24222</generator>
	<item>
		<title>Comment on colorizing php cli scripts by Amos Batto</title>
		<link>http://blog.apokalyptik.com/2007/11/20/colorizing-php-cli-scripts/comment-page-2/#comment-15043</link>
		<dc:creator>Amos Batto</dc:creator>
		<pubDate>Fri, 25 Jan 2013 23:59:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/2007/11/20/colorizing-php-cli-scripts/#comment-15043</guid>
		<description><![CDATA[What I do is include this file: 
&lt;?php 
//file: terminalcolores.php 
//Bash Terminal Color Codes: 
$BLACK       = &quot;33[30m&quot;; 
$RED         = &quot;33[31m&quot;; 
$GREEN       = &quot;33[32m&quot;; 
$BROWN       = &quot;33[33m&quot;; 
$BLUE        = &quot;33[34m&quot;; 
$PURPLE      = &quot;33[35m&quot;; 
$CYAN        = &quot;33[36m&quot;; 
$LIGHTGREY   = &quot;33[37m&quot;;  
 
$DARKGREY    = &quot;33[1;30m&quot;;  
$LIGHTBLUE   = &quot;33[1;34m&quot;;  
$LIGHTGREEN  = &quot;33[1;32m&quot;;  
$LIGHTCYAN   = &quot;33[1;36m&quot;;  
$LIGHTRED    = &quot;33[1;31m&quot;;  
$LIGHTPURPLE = &quot;33[1;35m&quot;;  
$YELLOW      = &quot;33[1;33m&quot;;  
$WHITE       = &quot;33[1;37m&quot;; 
 
$BLACKBACKGROUND   = &quot;33[40&quot;; 
$REDBACKGROUND     = &quot;33[41&quot;; 
$GREENBACKGROUND   = &quot;33[42&quot;; 
$YELLOWBACKGROUND  = &quot;33[43&quot;; 
$BLUEBACKGROUND    = &quot;33[44&quot;; 
$MAGENTABACKGROUND = &quot;33[45&quot;; 
$CYANBACKGROUND    = &quot;33[46&quot;; 
$WHITEBACKGROUND   = &quot;33[47&quot;; 
 
$COLOROFF    = &quot;33[0m&quot;;  
 
?&gt; 
 
then I use it like this: 
 
require(&quot;terminalcolors.php&quot;); 
echo &quot;{$RED}this is some red text{$COLOROFF}&quot;; 
 ]]></description>
		<content:encoded><![CDATA[<p>What I do is include this file:<br />
&lt;?php<br />
//file: terminalcolores.php<br />
//Bash Terminal Color Codes:<br />
$BLACK       = &quot;33[30m&quot;;<br />
$RED         = &quot;33[31m&quot;;<br />
$GREEN       = &quot;33[32m&quot;;<br />
$BROWN       = &quot;33[33m&quot;;<br />
$BLUE        = &quot;33[34m&quot;;<br />
$PURPLE      = &quot;33[35m&quot;;<br />
$CYAN        = &quot;33[36m&quot;;<br />
$LIGHTGREY   = &quot;33[37m&quot;;  </p>
<p>$DARKGREY    = &quot;33[1;30m&quot;;<br />
$LIGHTBLUE   = &quot;33[1;34m&quot;;<br />
$LIGHTGREEN  = &quot;33[1;32m&quot;;<br />
$LIGHTCYAN   = &quot;33[1;36m&quot;;<br />
$LIGHTRED    = &quot;33[1;31m&quot;;<br />
$LIGHTPURPLE = &quot;33[1;35m&quot;;<br />
$YELLOW      = &quot;33[1;33m&quot;;<br />
$WHITE       = &quot;33[1;37m&quot;; </p>
<p>$BLACKBACKGROUND   = &quot;33[40&quot;;<br />
$REDBACKGROUND     = &quot;33[41&quot;;<br />
$GREENBACKGROUND   = &quot;33[42&quot;;<br />
$YELLOWBACKGROUND  = &quot;33[43&quot;;<br />
$BLUEBACKGROUND    = &quot;33[44&quot;;<br />
$MAGENTABACKGROUND = &quot;33[45&quot;;<br />
$CYANBACKGROUND    = &quot;33[46&quot;;<br />
$WHITEBACKGROUND   = &quot;33[47&quot;; </p>
<p>$COLOROFF    = &quot;33[0m&quot;;  </p>
<p>?&gt; </p>
<p>then I use it like this: </p>
<p>require(&quot;terminalcolors.php&quot;);<br />
echo &quot;{$RED}this is some red text{$COLOROFF}&quot;; </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on As Close to A Real Daemon As Bash Scripts Get by Anthony Bouch</title>
		<link>http://blog.apokalyptik.com/2008/05/09/as-close-to-a-real-daemon-as-bash-scripts-get/comment-page-1/#comment-15042</link>
		<dc:creator>Anthony Bouch</dc:creator>
		<pubDate>Wed, 23 Jan 2013 04:02:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/?p=284#comment-15042</guid>
		<description><![CDATA[Excellent - thanks. 
 
The only change I made was  
 
start) 
if [ -f $MY_PIDFILE ]; then 
echo &quot;Daemon is already running.&quot; 
exit 0 
fi 
... 
 
In cases where we want to be sure that there is only one instance of the daemon running. ]]></description>
		<content:encoded><![CDATA[<p>Excellent &#8211; thanks. </p>
<p>The only change I made was  </p>
<p>start)<br />
if [ -f $MY_PIDFILE ]; then<br />
echo &quot;Daemon is already running.&quot;<br />
exit 0<br />
fi<br />
&#8230; </p>
<p>In cases where we want to be sure that there is only one instance of the daemon running. </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bash Tip: Closing File Descriptors by none</title>
		<link>http://blog.apokalyptik.com/2007/10/24/bash-tip-closing-file-descriptors/comment-page-1/#comment-15038</link>
		<dc:creator>none</dc:creator>
		<pubDate>Mon, 26 Nov 2012 13:59:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/2007/10/24/bash-tip-closing-file-descriptors/#comment-15038</guid>
		<description><![CDATA[You should be redirecting stdin, stdout, and stderr to /dev/null....... instead of just closing them. ]]></description>
		<content:encoded><![CDATA[<p>You should be redirecting stdin, stdout, and stderr to /dev/null&#8230;&#8230;. instead of just closing them. </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bash Tip: Closing File Descriptors by nobody</title>
		<link>http://blog.apokalyptik.com/2007/10/24/bash-tip-closing-file-descriptors/comment-page-1/#comment-13449</link>
		<dc:creator>nobody</dc:creator>
		<pubDate>Sun, 14 Oct 2012 08:49:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/2007/10/24/bash-tip-closing-file-descriptors/#comment-13449</guid>
		<description><![CDATA[Should closing stdio be: 
 
exec 0&lt;&amp;- # close stdin 
 
instead? 
 ]]></description>
		<content:encoded><![CDATA[<p>Should closing stdio be: </p>
<p>exec 0&lt;&amp;- # close stdin </p>
<p>instead? </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Logging post data by apokalyptik</title>
		<link>http://blog.apokalyptik.com/2008/03/25/logging-post-data/comment-page-1/#comment-12077</link>
		<dc:creator>apokalyptik</dc:creator>
		<pubDate>Fri, 21 Sep 2012 16:37:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/?p=277#comment-12077</guid>
		<description><![CDATA[Nope. That was just the blog/me messing up the text when it was entered. Urldecoding it is the proper thing to do (otherwise it wouldn&#039;t run.)  Glad it helped. ]]></description>
		<content:encoded><![CDATA[<p>Nope. That was just the blog/me messing up the text when it was entered. Urldecoding it is the proper thing to do (otherwise it wouldn&#039;t run.)  Glad it helped. </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Logging post data by Dave O&#039;Meara</title>
		<link>http://blog.apokalyptik.com/2008/03/25/logging-post-data/comment-page-1/#comment-10707</link>
		<dc:creator>Dave O&#039;Meara</dc:creator>
		<pubDate>Sat, 01 Sep 2012 13:10:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/?p=277#comment-10707</guid>
		<description><![CDATA[Great script.  Exactly what I needed after studying the log files to find dozens of attempted posts to pages in the Joomla core, but not being able to see what the bad guy was trying to post. We&#039;re not running mod_php so I wasn&#039;t able to use .htaccess.  Instead I used the .user.ini file (user-level add-on for php.ini).  Once I got all the files in place, it worked great.   
I changed gmdate() to date() to get the log entries in my time zone.  Also, for some reason the sample code was urlencoded.  I  changed it back to simple php &lt;?php instead of &lt;?php , and it worked fine. If there&#039;s a reason to actually use the urlencoded version, please advise. ]]></description>
		<content:encoded><![CDATA[<p>Great script.  Exactly what I needed after studying the log files to find dozens of attempted posts to pages in the Joomla core, but not being able to see what the bad guy was trying to post. We&#039;re not running mod_php so I wasn&#039;t able to use .htaccess.  Instead I used the .user.ini file (user-level add-on for php.ini).  Once I got all the files in place, it worked great.<br />
I changed gmdate() to date() to get the log entries in my time zone.  Also, for some reason the sample code was urlencoded.  I  changed it back to simple php &lt;?php instead of &amp;lt;?php , and it worked fine. If there&#039;s a reason to actually use the urlencoded version, please advise. </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sockets and PHP &#8212; Part II: Working with our connection by apokalyptik</title>
		<link>http://blog.apokalyptik.com/2007/04/29/sockets-and-php-part-ii-working-with-our-connection/comment-page-1/#comment-10651</link>
		<dc:creator>apokalyptik</dc:creator>
		<pubDate>Fri, 15 Jun 2012 18:42:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/sockets-and-php-part-ii-working-with-our-connection/#comment-10651</guid>
		<description><![CDATA[Wow to find this I had to go WAAAAAY back...   
  &lt;a href=&quot;http://web.archive.org/web/20020802063303/http://www.phpbeginner.com/columns/demitrious&quot; rel=&quot;nofollow&quot;&gt;http://web.archive.org/web/20020802063303/http://...&lt;/a&gt; 
   
I&#039;ll get this up on the site some time. I can&#039;t believe how long ago this all was. I&#039;d probably be very embarrassed by the code if I went back and read any of it now :)   
   
Cheers!   
DK ]]></description>
		<content:encoded><![CDATA[<p>Wow to find this I had to go WAAAAAY back&#8230;<br />
  <a href="http://web.archive.org/web/20020802063303/http://www.phpbeginner.com/columns/demitrious" rel="nofollow"></a><a href="http://web.archive.org/web/20020802063303/http://" rel="nofollow">http://web.archive.org/web/20020802063303/http://</a>&#8230; </p>
<p>I&#039;ll get this up on the site some time. I can&#039;t believe how long ago this all was. I&#039;d probably be very embarrassed by the code if I went back and read any of it now <img src='http://blog.apokalyptik.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />    </p>
<p>Cheers!<br />
DK </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sockets and PHP &#8212; Part II: Working with our connection by apokalyptik</title>
		<link>http://blog.apokalyptik.com/2007/04/29/sockets-and-php-part-ii-working-with-our-connection/comment-page-1/#comment-10650</link>
		<dc:creator>apokalyptik</dc:creator>
		<pubDate>Fri, 15 Jun 2012 18:16:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/sockets-and-php-part-ii-working-with-our-connection/#comment-10650</guid>
		<description><![CDATA[Thanks.  That page is, indeed, gone. I&#039;ll see if I can locate it. It&#039;s been gone for a long time -- You&#039;re the first to notice :)  ]]></description>
		<content:encoded><![CDATA[<p>Thanks.  That page is, indeed, gone. I&#039;ll see if I can locate it. It&#039;s been gone for a long time &#8212; You&#039;re the first to notice <img src='http://blog.apokalyptik.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Debian, ProFTPD,  FTPS, TLS, SSL, and SSL23_GET_SERVER_HELLO:unknown protocol by Jay</title>
		<link>http://blog.apokalyptik.com/2011/12/27/debian-proftpd-ftps-tls-ssl-and-ssl23_get_server_hellounknown-protocol/comment-page-1/#comment-10649</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Fri, 15 Jun 2012 04:17:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/?p=953#comment-10649</guid>
		<description><![CDATA[Excellent, Very useful ! ]]></description>
		<content:encoded><![CDATA[<p>Excellent, Very useful ! </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sockets and PHP &#8212; Part II: Working with our connection by Annuello</title>
		<link>http://blog.apokalyptik.com/2007/04/29/sockets-and-php-part-ii-working-with-our-connection/comment-page-1/#comment-10648</link>
		<dc:creator>Annuello</dc:creator>
		<pubDate>Tue, 15 May 2012 05:52:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/sockets-and-php-part-ii-working-with-our-connection/#comment-10648</guid>
		<description><![CDATA[This is a great walk-through for sockets, but I can&#039;t find the first half.  Your post &quot;Published Articles-n-Stuff&quot; has a link to &quot;Sockets and PHP &#8211; Part I: Moving data from one place to another&quot; but the link ( &lt;a href=&quot;http://blog.apokalyptik.com/?page_id=220&quot; rel=&quot;nofollow&quot;&gt;http://blog.apokalyptik.com/?page_id=220&lt;/a&gt; ) is broken. 
 ]]></description>
		<content:encoded><![CDATA[<p>This is a great walk-through for sockets, but I can&#039;t find the first half.  Your post &quot;Published Articles-n-Stuff&quot; has a link to &quot;Sockets and PHP &ndash; Part I: Moving data from one place to another&quot; but the link ( <a href="http://blog.apokalyptik.com/?page_id=220" rel="nofollow">http://blog.apokalyptik.com/?page_id=220</a> ) is broken. </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/25 queries in 0.008 seconds using memcached
Object Caching 680/766 objects using memcached

 Served from: blog.apokalyptik.com @ 2013-05-21 02:55:39 by W3 Total Cache -->