<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Adrenalin's Experience</title>
	<atom:link href="http://adrenalinexp.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://adrenalinexp.wordpress.com</link>
	<description>Sharing, hope it will be easier for you, hope you'll share too</description>
	<lastBuildDate>Thu, 06 Jan 2011 23:14:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='adrenalinexp.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Adrenalin's Experience</title>
		<link>http://adrenalinexp.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://adrenalinexp.wordpress.com/osd.xml" title="Adrenalin&#039;s Experience" />
	<atom:link rel='hub' href='http://adrenalinexp.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Unix tools I start using in 2010</title>
		<link>http://adrenalinexp.wordpress.com/2011/01/07/unix-tools-i-start-using-in-2010/</link>
		<comments>http://adrenalinexp.wordpress.com/2011/01/07/unix-tools-i-start-using-in-2010/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 23:14:18 +0000</pubDate>
		<dc:creator>Adrenalin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://adrenalinexp.wordpress.com/?p=55</guid>
		<description><![CDATA[dstat htop<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=55&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>dstat<br />
htop</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adrenalinexp.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adrenalinexp.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adrenalinexp.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adrenalinexp.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adrenalinexp.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adrenalinexp.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adrenalinexp.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adrenalinexp.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adrenalinexp.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adrenalinexp.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adrenalinexp.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adrenalinexp.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adrenalinexp.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adrenalinexp.wordpress.com/55/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=55&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adrenalinexp.wordpress.com/2011/01/07/unix-tools-i-start-using-in-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/88f225d9d64d501561b86e7037fb9158?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Adrenalin</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux CentOS how to force 1000megabits ifconfig eth0</title>
		<link>http://adrenalinexp.wordpress.com/2011/01/06/linux-centos-how-to-force-1000megabits-ifconfig-eth0/</link>
		<comments>http://adrenalinexp.wordpress.com/2011/01/06/linux-centos-how-to-force-1000megabits-ifconfig-eth0/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 19:11:16 +0000</pubDate>
		<dc:creator>Adrenalin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://adrenalinexp.wordpress.com/?p=53</guid>
		<description><![CDATA[ethtool -s eth0 speed 1000 duplex full autoneg off In my case it's peth0. Other commands: lspci &#124;grep Ethernet dmesg &#124;grep eth0 ethtool eth0 ethtool -k eth0 ethtool -S eth0 To make the changes permanent, edit /etc/sysconfig/network-scripts/ifcfg-eth0 add ETHTOOL_OPTS="speed 1000 duplex full autoneg off" Ref: http://www.cyberciti.biz/tips/howto-linux-add-ethtool-duplex-settings-permanent.html http://www.centos.org/modules/newbb/viewtopic.php?topic_id=19544&#038;forum=40 http://www.dslreports.com/forum/r22221731-Gigabit-NIC-only-working-as-100meg-in-CentOS<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=53&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><code><br />
ethtool -s eth0 speed 1000 duplex full autoneg off<br />
In my case it's peth0.</p>
<p>Other commands:<br />
lspci |grep Ethernet<br />
dmesg |grep eth0<br />
ethtool eth0<br />
ethtool -k eth0<br />
ethtool -S eth0</p>
<p>To make the changes permanent, edit<br />
/etc/sysconfig/network-scripts/ifcfg-eth0<br />
add<br />
ETHTOOL_OPTS="speed 1000 duplex full autoneg off"<br />
</code><br />
Ref:</p>
<p>http://www.cyberciti.biz/tips/howto-linux-add-ethtool-duplex-settings-permanent.html</p>
<p>http://www.centos.org/modules/newbb/viewtopic.php?topic_id=19544&#038;forum=40</p>
<p>http://www.dslreports.com/forum/r22221731-Gigabit-NIC-only-working-as-100meg-in-CentOS</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adrenalinexp.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adrenalinexp.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adrenalinexp.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adrenalinexp.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adrenalinexp.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adrenalinexp.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adrenalinexp.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adrenalinexp.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adrenalinexp.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adrenalinexp.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adrenalinexp.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adrenalinexp.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adrenalinexp.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adrenalinexp.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=53&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adrenalinexp.wordpress.com/2011/01/06/linux-centos-how-to-force-1000megabits-ifconfig-eth0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/88f225d9d64d501561b86e7037fb9158?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Adrenalin</media:title>
		</media:content>
	</item>
		<item>
		<title>Zend Framework Gdata API and Cakephp insert a new row to Google spreadsheet</title>
		<link>http://adrenalinexp.wordpress.com/2009/11/07/zend-framework-gdata-api-and-cakephp-insert-a-new-row-to-google-spreadsheet/</link>
		<comments>http://adrenalinexp.wordpress.com/2009/11/07/zend-framework-gdata-api-and-cakephp-insert-a-new-row-to-google-spreadsheet/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 21:54:03 +0000</pubDate>
		<dc:creator>Adrenalin</dc:creator>
				<category><![CDATA[cakephp]]></category>
		<category><![CDATA[google spreadsheet]]></category>
		<category><![CDATA[api]]></category>

		<guid isPermaLink="false">http://adrenalinexp.wordpress.com/?p=40</guid>
		<description><![CDATA[To setup Zend Framework Gdata, see this post on Using the Zend Framework in CakePHP , this helped too. As reference use: Google Spreadsheets APIs and Tools Developer&#8217;s Guide: PHP In this doc you will see functions like printFeed, that can be found in Spreadsheet-ClientLogin.php it&#8217;s a SimpleCRUD implementation for google spreadsheet. The document key [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=40&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To setup Zend Framework Gdata, see this post on <a href="http://britg.com/2008/07/07/using-the-zend-framework-in-cakephp/">Using the Zend Framework in CakePHP </a>, <a href="http://techmike.wordpress.com/2009/07/03/zend-framework-gdata-in-cakephp-contacts-api/">this</a> helped too.</p>
<p>As reference use: <a href="http://code.google.com/apis/spreadsheets/data/1.0/developers_guide_php.html">Google Spreadsheets APIs and Tools Developer&#8217;s Guide: PHP</a><br />
In this doc you will see functions like printFeed, that can be found in <a href="http://framework.zend.com/svn/framework/standard/trunk/demos/Zend/Gdata/Spreadsheet-ClientLogin.php">Spreadsheet-ClientLogin.php</a> it&#8217;s a SimpleCRUD implementation for google spreadsheet.</p>
<p>The document key is http://spreadsheets.google.com/ccc?key=<strong>HERE</strong>&amp;hl=en, you will need it to point to the spreadsheet you want to edit.<br />
Also spreadsheets can have multiple worksheets, you will need the key of the worksheet you want to edit, this key can be get by calling the promptForWorksheet() function.<br />
Also, when adding a new row, you need to give a list of header-row=&gt;value, so the tricky part here is to get the &#8220;header-row&#8221;. The <a href="http://code.google.com/apis/spreadsheets/data/1.0/developers_guide_php.html#listFeedExample">documentation</a> describe it as:<br />
&#8220;the first row of the worksheet as a header row&#8221;<br />
&#8220;column headers will be converted into valid XML namespaces&#8221;<br />
I did just listGetAction() and look up the names of the header-row to use.</p>
<p>So here is the code, hopefully this will give you a fast start and save you time.</p>
<pre class="brush: php;">
class SomeController extends AppController {
var $uses = null; // Don't use any model
function index() {
	App::import('Vendor', 'zend_include_path');
	App::import('Vendor', 'Zend_Gdata', true, false, 'Zend/Gdata.php');

	Zend_Loader::loadClass('Zend_Http_Client');
	Zend_Loader::loadClass('Zend_Gdata');
	Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
	Zend_Loader::loadClass('Zend_Gdata_Spreadsheets');

	$authService = Zend_Gdata_Spreadsheets::AUTH_SERVICE_NAME;
	$user = 'username';
	$pass = 'password';
	$this-&gt;currKey = 'thesheetkey';

	try {
		$httpClient = Zend_Gdata_ClientLogin::getHttpClient($user, $pass, $authService);
		$this-&gt;gdClient = new Zend_Gdata_Spreadsheets($httpClient);

		$this-&gt;promptForWorksheet(0); // Put the 0th worksheet of our sheet to $this-&gt;currWkshtId
		$this-&gt;listGetAction(); // Will list all the rows inside the worksheet

		$row = array('column1'=&gt;'value','column2'=&gt;'value','columnN'=&gt;'value');
		$this-&gt;listInsertAction($row);
		} catch ( Exception $e )  {
		echo $e-&gt;getMessage();
	}
}

public function promptForWorksheet($wordSheetI=0)
{
	$query = new Zend_Gdata_Spreadsheets_DocumentQuery();
	$query-&gt;setSpreadsheetKey($this-&gt;currKey);
	$feed = $this-&gt;gdClient-&gt;getWorksheetFeed($query);
	print &quot;== Available Worksheets ==\n&quot;;
	$this-&gt;printFeed($feed);
	$input = $wordSheetI;
	$currWkshtId = split('/', $feed-&gt;entries[$input]-&gt;id-&gt;text);
	$this-&gt;currWkshtId = $currWkshtId[8];
}
public function listGetAction()
{
	$query = new Zend_Gdata_Spreadsheets_ListQuery();
	$query-&gt;setSpreadsheetKey($this-&gt;currKey);
	$query-&gt;setWorksheetId($this-&gt;currWkshtId);
	$this-&gt;listFeed = $this-&gt;gdClient-&gt;getListFeed($query);
	print &quot;entry id | row-content in column A | column-header: cell-content\n&quot;.
	&quot;Please note: The 'dump' command on the list feed only dumps data until the first blank row is encountered.\n\n&quot;;

	$this-&gt;printFeed($this-&gt;listFeed);
	print &quot;\n&quot;;
}
public function printFeed($feed)
{
	$i = 0;
	foreach($feed-&gt;entries as $entry) {
		if ($entry instanceof Zend_Gdata_Spreadsheets_CellEntry) {
			print $entry-&gt;title-&gt;text .' '. $entry-&gt;content-&gt;text . &quot;\n&quot;;
			} else if ($entry instanceof Zend_Gdata_Spreadsheets_ListEntry) {
			print $i .' '. $entry-&gt;title-&gt;text .' | '. $entry-&gt;content-&gt;text . &quot;\n&quot;;
			} else {
			print $i .' '. $entry-&gt;title-&gt;text . &quot;\n&quot;;
		}
		$i++;
	}
}
public function listInsertAction($rowArray)
{
	//$rowArray = $this-&gt;stringToArray($rowData);
	$entry = $this-&gt;gdClient-&gt;insertRow($rowArray, $this-&gt;currKey,
	$this-&gt;currWkshtId);

	if ($entry instanceof Zend_Gdata_Spreadsheets_ListEntry) {
		foreach ($rowArray as $column_header =&gt; $value) {
			echo &quot;Success! Inserted '$value' in column '$column_header' at row &quot;.
			substr($entry-&gt;getTitle()-&gt;getText(), 5) .&quot;\n&quot;;
		}
	}
}
}
</pre>
<p>The same code in the pastebin http://pastebin.com/f12021eb.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adrenalinexp.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adrenalinexp.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adrenalinexp.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adrenalinexp.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adrenalinexp.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adrenalinexp.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adrenalinexp.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adrenalinexp.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adrenalinexp.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adrenalinexp.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adrenalinexp.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adrenalinexp.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adrenalinexp.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adrenalinexp.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=40&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adrenalinexp.wordpress.com/2009/11/07/zend-framework-gdata-api-and-cakephp-insert-a-new-row-to-google-spreadsheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/88f225d9d64d501561b86e7037fb9158?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Adrenalin</media:title>
		</media:content>
	</item>
		<item>
		<title>PrestaShop activate templates debug</title>
		<link>http://adrenalinexp.wordpress.com/2009/11/06/prestashop-activate-templates-debug/</link>
		<comments>http://adrenalinexp.wordpress.com/2009/11/06/prestashop-activate-templates-debug/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 08:36:36 +0000</pubDate>
		<dc:creator>Adrenalin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://adrenalinexp.wordpress.com/?p=36</guid>
		<description><![CDATA[PrestaShop seem to be a good e-commerce software, full of features, but with missing dev documention. To activate templates debug, edit config/smarty.config.inc.php And make $smarty-&#62;debugging = true; After you will refresh a page, themes/debug.tpl will be rendered.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=36&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>PrestaShop seem to be a good e-commerce software, full of features, but with missing dev documention.</p>
<p>To activate templates debug, edit <strong>config/smarty.config.inc.php</strong></p>
<p>And make</p>
<p><strong>$smarty-&gt;debugging		= true;</strong></p>
<p>After you will refresh a page, <strong>themes/debug.tpl</strong> will be rendered.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adrenalinexp.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adrenalinexp.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adrenalinexp.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adrenalinexp.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adrenalinexp.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adrenalinexp.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adrenalinexp.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adrenalinexp.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adrenalinexp.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adrenalinexp.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adrenalinexp.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adrenalinexp.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adrenalinexp.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adrenalinexp.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=36&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adrenalinexp.wordpress.com/2009/11/06/prestashop-activate-templates-debug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/88f225d9d64d501561b86e7037fb9158?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Adrenalin</media:title>
		</media:content>
	</item>
		<item>
		<title>How to convert unicode code point to the character (binary) with PHP</title>
		<link>http://adrenalinexp.wordpress.com/2009/10/18/how-to-convert-unicode-code-point-to-the-character-binary-with-php/</link>
		<comments>http://adrenalinexp.wordpress.com/2009/10/18/how-to-convert-unicode-code-point-to-the-character-binary-with-php/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 12:02:27 +0000</pubDate>
		<dc:creator>Adrenalin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[converting]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[unicode]]></category>

		<guid isPermaLink="false">http://adrenalinexp.wordpress.com/?p=27</guid>
		<description><![CDATA[You want to display a unicode code point as the char it actually represent ? For example, display for U+00CE the Î character it represent. (here is the list of all romanian special characters) Quite strange, I didn&#8217;t find a ready to work code for that instantly (as I usually do) For our task, we [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=27&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You want to display a unicode code point as the char it actually represent ?</p>
<p>For example, display for <a href="http://www.eki.ee/letter/chardata.cgi?ucode=00CE">U+00CE</a> the Î character it represent. (here is the list of all <a href="http://www.eki.ee/letter/chardata.cgi?lang=ro+Romanian&amp;script=latin">romanian special characters</a>)</p>
<p>Quite strange, I didn&#8217;t find a ready to work code for that instantly (as I usually do) <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>For our task, we will need the berlioz&#8217;s <a href="http://php.net/manual/en/function.unicode-encode.php#79829">unicode2utf8</a> (that support 4 bytes utf, initialy I got a function that supported only 3 bytes and got errors, if you need 6 bytes support, see the <a href="http://php.net/manual/en/function.utf8-encode.php">Unicode_to_UTF function</a>) function.</p>
<p>Here is the trick, unicode2utf8 requires as argument an integers, 00CE in our example (and the unicode notation) is hex, everything we need to do is to apply the hexdec function.</p>
<p>Php code:</p>
<pre class="brush: php;">
echo unicode2utf8(hexdec(&quot;00CE&quot;)); // Result: Î

// Or the function that will recognize U+ in front of string, and will skip it to show the character
function unicodeCodePointToChar($str) {
	if (substr($str,0,2) != &quot;U+&quot;) return $str;
	$str = substr($str,2); // Skip U+
	return unicode_to_utf8(array(hexdec($str)));
}
echo unicodeCodePointToChar(&quot;U+00CE&quot;); // Result: Î
</pre>
<p>Why I would ever need that, you will ask, well I need to implement sphinx&#8217;s charset_table convert logic on the user&#8217;s string. Here&#8217;s the map I used, kindly provided by <a href="http://beginrescue.blogspot.com/2008/05/sphinx-charsettable-with-unicode.html">someone</a> on a pastebin.</p>
<p>So if a user search for &#8220;bălan&#8221;, he will actually find both &#8220;bălan&#8221; and &#8220;balan&#8221;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adrenalinexp.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adrenalinexp.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adrenalinexp.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adrenalinexp.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adrenalinexp.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adrenalinexp.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adrenalinexp.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adrenalinexp.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adrenalinexp.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adrenalinexp.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adrenalinexp.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adrenalinexp.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adrenalinexp.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adrenalinexp.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=27&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adrenalinexp.wordpress.com/2009/10/18/how-to-convert-unicode-code-point-to-the-character-binary-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/88f225d9d64d501561b86e7037fb9158?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Adrenalin</media:title>
		</media:content>
	</item>
		<item>
		<title>Screen cum de schimbat combinatia ctrl+a pe altceva</title>
		<link>http://adrenalinexp.wordpress.com/2009/10/03/screen-cum-de-schimbat-combinatia-ctrla-pe-altceva/</link>
		<comments>http://adrenalinexp.wordpress.com/2009/10/03/screen-cum-de-schimbat-combinatia-ctrla-pe-altceva/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 09:17:03 +0000</pubDate>
		<dc:creator>Adrenalin</dc:creator>
				<category><![CDATA[unix]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[screen]]></category>

		<guid isPermaLink="false">http://adrenalinexp.wordpress.com/?p=20</guid>
		<description><![CDATA[În screen, by default, ctrl+a e folosit pentru a accesa &#8220;modul de comandă&#8221;, de exemplu pentru a trece la alt screen. În bash (a preluat stilul emacs), ctrl+a este folosit pentru a sări la primul caracter, iar ctrl+e la ultimul caracter (tastele end si home nu funciclează chiar bine). Așa deci are loc un conflict [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=20&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>În screen, by default, ctrl+a e folosit pentru a accesa &#8220;modul de comandă&#8221;, de exemplu pentru a trece la alt screen.<br />
În bash (a preluat stilul emacs), ctrl+a este folosit pentru a sări la primul caracter, iar ctrl+e la ultimul caracter (tastele end si home nu funciclează chiar bine).<br />
Așa deci are loc un conflict de taste, si cele din bash nu mai lucreaza, ca sa lucreze trebuie de schimbat tastele p/u screen.</p>
<p>În <em>~/.screenrc</em><br />
adăugați</p>
<blockquote><p>escape ^Ee</p></blockquote>
<p>Acum dacă veți lansa screen, ca să accesați modul de comandă, veți utiliza ctrl+e</p>
<p>Referință: <a href="http://answers.google.com/answers/threadview?id=76663">http://answers.google.com/answers/threadview?id=76663</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adrenalinexp.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adrenalinexp.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adrenalinexp.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adrenalinexp.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adrenalinexp.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adrenalinexp.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adrenalinexp.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adrenalinexp.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adrenalinexp.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adrenalinexp.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adrenalinexp.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adrenalinexp.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adrenalinexp.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adrenalinexp.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=20&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adrenalinexp.wordpress.com/2009/10/03/screen-cum-de-schimbat-combinatia-ctrla-pe-altceva/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/88f225d9d64d501561b86e7037fb9158?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Adrenalin</media:title>
		</media:content>
	</item>
		<item>
		<title>Velib Paris pushpins for Microsoft Autoroute 2002</title>
		<link>http://adrenalinexp.wordpress.com/2008/06/01/velib-paris-pushpins-for-microsoft-autoroute-2002/</link>
		<comments>http://adrenalinexp.wordpress.com/2008/06/01/velib-paris-pushpins-for-microsoft-autoroute-2002/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 20:28:23 +0000</pubDate>
		<dc:creator>Adrenalin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://adrenalinexp.wordpress.com/?p=14</guid>
		<description><![CDATA[Yesterday walking around the Paris and searching for velib I thought it were a good idea to have all the points on mine Autoroute map.. Today didn&#8217;t found a 2 clicks way to import something, but I still found all the station with latitude and longitude data from http://www.velib.paris.fr/service/carto, but in XML format. Unfortunately autoroute [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=14&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday walking around the Paris and searching for velib I thought it were a good idea to have all the points on mine Autoroute map..<br />
Today didn&#8217;t found a 2 clicks way to import something, but I still found all the station with latitude and longitude data from <a href="http://www.velib.paris.fr/service/carto">http://www.velib.paris.fr/service/carto</a>, but in XML format.<br />
Unfortunately autoroute 2002 seem to be too old for xml, anyway, didn&#8217;t take too much with a regular expression I extracted interested columns separated by tabulator character and constructed a cvs file.</p>
<p>Copy it from here <a href="http://pastebin.com/pastebin.php?dl=f441c1181">http://pastebin.com/pastebin.php?dl=f441c1181</a></p>
<p>Save this into a velib_pushs.csv, after On the Data menu, click Import Data Wizard, importing from a plain-text file (*.txt, *.csv) select the velib_pushs.csv file, click Next, first column is name, second Address, third Latitude fourth Longitude click finish, now look at the Paris, you should see a lot of pushpins, like here:</p>
<p><a href="http://adrenalinexp.files.wordpress.com/2008/06/velib_pushpins.jpg"><img src="http://adrenalinexp.files.wordpress.com/2008/06/velib_pushpins.jpg?w=300&#038;h=217" alt="" width="300" height="217" class="alignnone size-medium wp-image-16" /></a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/adrenalinexp.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/adrenalinexp.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adrenalinexp.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adrenalinexp.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adrenalinexp.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adrenalinexp.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adrenalinexp.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adrenalinexp.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adrenalinexp.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adrenalinexp.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adrenalinexp.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adrenalinexp.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adrenalinexp.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adrenalinexp.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adrenalinexp.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adrenalinexp.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=14&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adrenalinexp.wordpress.com/2008/06/01/velib-paris-pushpins-for-microsoft-autoroute-2002/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/88f225d9d64d501561b86e7037fb9158?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Adrenalin</media:title>
		</media:content>

		<media:content url="http://adrenalinexp.files.wordpress.com/2008/06/velib_pushpins.jpg?w=300" medium="image" />
	</item>
		<item>
		<title>Remove FreeBSD non-root process port &lt;1024 limit</title>
		<link>http://adrenalinexp.wordpress.com/2008/03/24/remove-freebsd-non-root-process-port-1024-limit/</link>
		<comments>http://adrenalinexp.wordpress.com/2008/03/24/remove-freebsd-non-root-process-port-1024-limit/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 20:02:27 +0000</pubDate>
		<dc:creator>Adrenalin</dc:creator>
				<category><![CDATA[freebsd]]></category>

		<guid isPermaLink="false">http://adrenalinexp.wordpress.com/?p=13</guid>
		<description><![CDATA[Under FreeBSD is easy to remove this limit by changing net.inet.ip.portrange.reservedlow and net.inet.ip.portrange.reservedhigh<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=13&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Under FreeBSD is easy to remove this limit by changing net.inet.ip.portrange.reservedlow and net.inet.ip.portrange.reservedhigh</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/adrenalinexp.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/adrenalinexp.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adrenalinexp.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adrenalinexp.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adrenalinexp.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adrenalinexp.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adrenalinexp.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adrenalinexp.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adrenalinexp.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adrenalinexp.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adrenalinexp.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adrenalinexp.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adrenalinexp.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adrenalinexp.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adrenalinexp.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adrenalinexp.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=13&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adrenalinexp.wordpress.com/2008/03/24/remove-freebsd-non-root-process-port-1024-limit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/88f225d9d64d501561b86e7037fb9158?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Adrenalin</media:title>
		</media:content>
	</item>
		<item>
		<title>FreeBsd tracd &#8220;rc.d&#8221; script</title>
		<link>http://adrenalinexp.wordpress.com/2008/03/23/freebsd-tracd-rcd-script/</link>
		<comments>http://adrenalinexp.wordpress.com/2008/03/23/freebsd-tracd-rcd-script/#comments</comments>
		<pubDate>Sun, 23 Mar 2008 16:13:40 +0000</pubDate>
		<dc:creator>Adrenalin</dc:creator>
				<category><![CDATA[freebsd]]></category>
		<category><![CDATA[rc.d]]></category>
		<category><![CDATA[tracd]]></category>

		<guid isPermaLink="false">http://adrenalinexp.wordpress.com/?p=12</guid>
		<description><![CDATA[If you want to run trac as a standalone server for startup you&#8217;ll need a /usr/local/etc/rc.d script, by default it is missing. First google search gave me this http://freebsd.amazingdev.com/blog/archives/000798.html I have slightly modified this script to play better with pids: #!/bin/sh # # tracd.sh for rc.d usage (c) 2006 Jonathan Arnold, 2008 Nicolae Namolovan # [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=12&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you want to run trac as a standalone server for startup you&#8217;ll need a /usr/local/etc/rc.d script, by default it is missing.</p>
<p>First google search gave me this http://freebsd.amazingdev.com/blog/archives/000798.html</p>
<p>I have slightly modified this script to play better with pids:</p>
<blockquote><p>
#!/bin/sh<br />
#<br />
# tracd.sh for rc.d usage (c) 2006 Jonathan Arnold, 2008 Nicolae Namolovan<br />
# $Id$</p>
<p># PROVIDE: tracd<br />
# REQUIRE: DAEMON<br />
# BEFORE: LOGIN<br />
# KEYWORD: shutdown<br />
#<br />
# Add the following line to /etc/rc.conf to enable Tracd:<br />
#<br />
#  tracd_enable=&quot;YES&quot;<br />
#  # optional<br />
#  tracd_flags=&quot;&#45;d &#45;&#45;listen&#45;port=3690&quot;<br />
#  tracd_data=&quot;/usr/local/path/to/project&quot;</p>
<p>. &quot;/etc/rc.subr&quot;</p>
<p># Set some defaults<br />
tracd_enable=${tracd_enable:&#45;&quot;NO&quot;}<br />
tracd_flags=${tracd_flags:&#45;&quot;&#45;d &#45;&#45;port=8080 &quot;}<br />
tracd_data=${tracd_data:&#45;&quot;/usr/local/trac&quot;}<br />
tracd_pidfile=${tracd_pidfile&#45;&quot;/var/run/tracd.pid&quot;}</p>
<p>name=&quot;tracd&quot;<br />
rcvar=`set_rcvar`<br />
load_rc_config $name</p>
<p>command=/usr/local/bin/tracd<br />
command_args=&quot; &#45;&#45;pidfile=${tracd_pidfile} ${tracd_data}&quot;<br />
command_interpreter=&quot;/usr/local/bin/python&quot;<br />
pidfile=&quot;${tracd_pidfile}&quot;</p>
<p>run_rc_command &quot;$1&quot;
</p></blockquote>
<p>And your vars in /etc/rc.conf should look smth. like:</p>
<blockquote><p>
tracd_enable=&quot;YES&quot;<br />
tracd_data=&quot;/usr/local/trac/project/&quot;<br />
tracd_flags=&quot;&#45;dsp 8080 &#45;&#45;auth=project,/usr/local/trac/project/conf/users.htdigest, ProjectRealm&quot;
</p></blockquote>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/adrenalinexp.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/adrenalinexp.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adrenalinexp.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adrenalinexp.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adrenalinexp.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adrenalinexp.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adrenalinexp.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adrenalinexp.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adrenalinexp.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adrenalinexp.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adrenalinexp.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adrenalinexp.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adrenalinexp.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adrenalinexp.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adrenalinexp.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adrenalinexp.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=12&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adrenalinexp.wordpress.com/2008/03/23/freebsd-tracd-rcd-script/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/88f225d9d64d501561b86e7037fb9158?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Adrenalin</media:title>
		</media:content>
	</item>
		<item>
		<title>Csup nor cvsup through proxy doesn’t work ? When ssh forward facility come in handy..</title>
		<link>http://adrenalinexp.wordpress.com/2008/02/14/csup-cvsup-through-proxy-when-need-to-use-ssh-forward-facility/</link>
		<comments>http://adrenalinexp.wordpress.com/2008/02/14/csup-cvsup-through-proxy-when-need-to-use-ssh-forward-facility/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 14:28:50 +0000</pubDate>
		<dc:creator>Adrenalin</dc:creator>
				<category><![CDATA[freebsd]]></category>
		<category><![CDATA[Csup]]></category>
		<category><![CDATA[cvsup]]></category>
		<category><![CDATA[forward]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://adrenalinexp.wordpress.com/?p=11</guid>
		<description><![CDATA[Let&#8217;s say you have two machines, one with internet, and one without. On the machine with internet, you have a proxy and a ssh account. Unfortunately csup nor cvsup cannot work through a proxy, so here where ssh forward facility will come in handy. Let&#8217;s say your csup is configured to update from cvsup4.FreeBSD.org. Ssh [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=11&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s say you have two machines, one with internet, and one without.<br />
On the machine with internet, you have a proxy and a ssh account.<br />
Unfortunately csup nor cvsup cannot work through a proxy, so here where ssh forward facility will come in handy.</p>
<p>Let&#8217;s say your csup is configured to update from cvsup4.FreeBSD.org.</p>
<p>Ssh is a magic tool, it can listen a local port, and forward everything through it&#8217;s protocol to another machine and there connect to some remote host..</p>
<p>ssh -L 5999:cvsup4.FreeBSD.org:5999 user@machine_with_internet</p>
<p>And we&#8217;re done ! %)</p>
<p>Now just run csup with -h 127.0.0.1</p>
<p>Tada !</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/adrenalinexp.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/adrenalinexp.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adrenalinexp.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adrenalinexp.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adrenalinexp.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adrenalinexp.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adrenalinexp.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adrenalinexp.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adrenalinexp.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adrenalinexp.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adrenalinexp.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adrenalinexp.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adrenalinexp.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adrenalinexp.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adrenalinexp.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adrenalinexp.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adrenalinexp.wordpress.com&amp;blog=2687848&amp;post=11&amp;subd=adrenalinexp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adrenalinexp.wordpress.com/2008/02/14/csup-cvsup-through-proxy-when-need-to-use-ssh-forward-facility/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/88f225d9d64d501561b86e7037fb9158?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Adrenalin</media:title>
		</media:content>
	</item>
	</channel>
</rss>
