<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments for www.chengfu.net</title>
	<link>http://www.chengfu.net</link>
	<description>Coding for fun</description>
	<pubDate>Sat, 04 Feb 2012 23:52:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>

	<item>
		<title>Comment on Rip audio cd to mp3 with GNOME sound juicer by pacman</title>
		<link>http://www.chengfu.net/2006/07/rip-mp3-sound-juicer/#comment-26938</link>
		<author>pacman</author>
		<pubDate>Thu, 02 Jun 2011 03:10:42 +0000</pubDate>
		<guid>http://www.chengfu.net/2006/07/rip-mp3-sound-juicer/#comment-26938</guid>
		<description>hey very handy tool!</description>
		<content:encoded><![CDATA[<p>hey very handy tool!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on phpWatermark 0.3 by iceman</title>
		<link>http://www.chengfu.net/2002/10/phpwatermark-03/#comment-23376</link>
		<author>iceman</author>
		<pubDate>Thu, 31 Mar 2011 04:45:12 +0000</pubDate>
		<guid>http://www.chengfu.net/2002/10/phpwatermark-03/#comment-23376</guid>
		<description>Hi chengfu :

 I dont know to use this scrip .. you more detailed instructions are not</description>
		<content:encoded><![CDATA[<p>Hi chengfu :</p>
<p> I dont know to use this scrip .. you more detailed instructions are not</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Freudian typo by Shaakunthala</title>
		<link>http://www.chengfu.net/2008/02/freudian-typo/#comment-14786</link>
		<author>Shaakunthala</author>
		<pubDate>Tue, 07 Sep 2010 05:43:25 +0000</pubDate>
		<guid>http://www.chengfu.net/2008/02/freudian-typo/#comment-14786</guid>
		<description>There's a small security issue with your site. Could you please provide an email address to contact?</description>
		<content:encoded><![CDATA[<p>There&#8217;s a small security issue with your site. Could you please provide an email address to contact?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on phpWatermark 0.3 by mrBuG</title>
		<link>http://www.chengfu.net/2002/10/phpwatermark-03/#comment-13078</link>
		<author>mrBuG</author>
		<pubDate>Thu, 08 Jul 2010 11:19:05 +0000</pubDate>
		<guid>http://www.chengfu.net/2002/10/phpwatermark-03/#comment-13078</guid>
		<description>Transparent in .*png mark type TEXT
Insert after:
--
		// Create marked image (original + watermark)
	$this-&#62;marked_image = imagecreatetruecolor($this-&#62;width, $this-&#62;height);
	imagecopy($this-&#62;marked_image, $this-&#62;image, 0, 0, 0, 0, $this-&#62;width, $this-&#62;height);
		if ($type == 'TEXT') {
--
This:
--
			// Add for transparent watemark PNG
			$this-&#62;marked_image = $this-&#62;image;
			imagealphablending($img_mark, true);
			imagealphablending($this-&#62;marked_image, true);
			imagesavealpha($img_mark,true);
			imagesavealpha($this-&#62;marked_image,true);
--</description>
		<content:encoded><![CDATA[<p>Transparent in .*png mark type TEXT<br />
Insert after:<br />
&#8211;<br />
		// Create marked image (original + watermark)<br />
	$this-&gt;marked_image = imagecreatetruecolor($this-&gt;width, $this-&gt;height);<br />
	imagecopy($this-&gt;marked_image, $this-&gt;image, 0, 0, 0, 0, $this-&gt;width, $this-&gt;height);<br />
		if ($type == &#8216;TEXT&#8217;) {<br />
&#8211;<br />
This:<br />
&#8211;<br />
			// Add for transparent watemark PNG<br />
			$this-&gt;marked_image = $this-&gt;image;<br />
			imagealphablending($img_mark, true);<br />
			imagealphablending($this-&gt;marked_image, true);<br />
			imagesavealpha($img_mark,true);<br />
			imagesavealpha($this-&gt;marked_image,true);<br />
&#8211;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Freudian typo by Reg from Postal Gold</title>
		<link>http://www.chengfu.net/2008/02/freudian-typo/#comment-12939</link>
		<author>Reg from Postal Gold</author>
		<pubDate>Tue, 29 Jun 2010 15:49:55 +0000</pubDate>
		<guid>http://www.chengfu.net/2008/02/freudian-typo/#comment-12939</guid>
		<description>Hahaa brilliant...you should get a t-shirt with something like this printed on it!</description>
		<content:encoded><![CDATA[<p>Hahaa brilliant&#8230;you should get a t-shirt with something like this printed on it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hot or not for websites by Sue Rencontre</title>
		<link>http://www.chengfu.net/2008/01/hot-or-not-for-websites/#comment-10786</link>
		<author>Sue Rencontre</author>
		<pubDate>Tue, 17 Nov 2009 12:26:40 +0000</pubDate>
		<guid>http://www.chengfu.net/2008/01/hot-or-not-for-websites/#comment-10786</guid>
		<description>Great concept, I love it !</description>
		<content:encoded><![CDATA[<p>Great concept, I love it !</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Freudian typo by Lyra</title>
		<link>http://www.chengfu.net/2008/02/freudian-typo/#comment-10742</link>
		<author>Lyra</author>
		<pubDate>Thu, 29 Oct 2009 14:32:59 +0000</pubDate>
		<guid>http://www.chengfu.net/2008/02/freudian-typo/#comment-10742</guid>
		<description>Ha ha, yes, I suppose too much blogging HAS been done! Not a bad thing necessarily!</description>
		<content:encoded><![CDATA[<p>Ha ha, yes, I suppose too much blogging HAS been done! Not a bad thing necessarily!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on No loopback device in OpenVZ/Virtuozzo servers by Robert Poehler</title>
		<link>http://www.chengfu.net/2007/11/no-loopback-device-in-openvzvirtuozzo-servers/#comment-10623</link>
		<author>Robert Poehler</author>
		<pubDate>Tue, 26 May 2009 07:32:02 +0000</pubDate>
		<guid>http://www.chengfu.net/2007/11/no-loopback-device-in-openvzvirtuozzo-servers/#comment-10623</guid>
		<description>vi /etc/vz/dists/scripts/debian-add_ip.sh

LOOPBACK=lo   #add if missing

remove #

auto ${LOOPBACK}                    #add
auto ${VENET_DEV}                   
iface ${LOOPBACK} inet loopback     #add
iface ${VENET_DEV} inet static
 address 127.0.0.1
 netmask 255.255.255.255
 broadcast 0.0.0.0

done 

:)</description>
		<content:encoded><![CDATA[<p>vi /etc/vz/dists/scripts/debian-add_ip.sh</p>
<p>LOOPBACK=lo   #add if missing</p>
<p>remove #</p>
<p>auto ${LOOPBACK}                    #add<br />
auto ${VENET_DEV}<br />
iface ${LOOPBACK} inet loopback     #add<br />
iface ${VENET_DEV} inet static<br />
 address 127.0.0.1<br />
 netmask 255.255.255.255<br />
 broadcast 0.0.0.0</p>
<p>done </p>
<p> <img src='http://www.chengfu.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on No loopback device in OpenVZ/Virtuozzo servers by daffy</title>
		<link>http://www.chengfu.net/2007/11/no-loopback-device-in-openvzvirtuozzo-servers/#comment-10598</link>
		<author>daffy</author>
		<pubDate>Tue, 05 May 2009 09:29:33 +0000</pubDate>
		<guid>http://www.chengfu.net/2007/11/no-loopback-device-in-openvzvirtuozzo-servers/#comment-10598</guid>
		<description>hi!

I'm looking for doing exactly the same thing. (DRBD on Virtuozzo containers). 

Did you find another solution to solved the problem ?

Do you know if there is a solution to add another virtual hard drive (vzfs) to a virtuozzo container ?

Thanks

Daffy</description>
		<content:encoded><![CDATA[<p>hi!</p>
<p>I&#8217;m looking for doing exactly the same thing. (DRBD on Virtuozzo containers). </p>
<p>Did you find another solution to solved the problem ?</p>
<p>Do you know if there is a solution to add another virtual hard drive (vzfs) to a virtuozzo container ?</p>
<p>Thanks</p>
<p>Daffy</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on phpWatermark 0.3 by Pitt</title>
		<link>http://www.chengfu.net/2002/10/phpwatermark-03/#comment-10544</link>
		<author>Pitt</author>
		<pubDate>Thu, 02 Apr 2009 04:22:07 +0000</pubDate>
		<guid>http://www.chengfu.net/2002/10/phpwatermark-03/#comment-10544</guid>
		<description>how to write file better this code
ob_start();
imagepng($im);
$image=ob_get_contents();
ob_end_clean();
$file=fopen("data/$filename2" ,'x');
fwrite($file ,$image);</description>
		<content:encoded><![CDATA[<p>how to write file better this code<br />
ob_start();<br />
imagepng($im);<br />
$image=ob_get_contents();<br />
ob_end_clean();<br />
$file=fopen(&#8221;data/$filename2&#8243; ,&#8217;x');<br />
fwrite($file ,$image);</p>
]]></content:encoded>
	</item>
</channel>
</rss>

