<?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/"
	>

<channel>
	<title>Rustam&#039;s techno-feed</title>
	<atom:link href="http://blog.avangardo.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.avangardo.com</link>
	<description>Navigation and Programming</description>
	<lastBuildDate>Tue, 29 Nov 2011 21:02:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<div id='fb-root'></div>
					<script type='text/javascript'>
						window.fbAsyncInit = function()
						{
							FB.init({appId: null, status: true, cookie: true, xfbml: true});
						};
						(function()
						{
							var e = document.createElement('script'); e.async = true;
							e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
							document.getElementById('fb-root').appendChild(e);
						}());
					</script>	
						<item>
		<title>Team Foundation Server (TFS)?</title>
		<link>http://blog.avangardo.com/2011/11/team-foundation-server-tfs/</link>
		<comments>http://blog.avangardo.com/2011/11/team-foundation-server-tfs/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 21:02:49 +0000</pubDate>
		<dc:creator>Rustam Kulenov</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Miscrosoft]]></category>
		<category><![CDATA[MSBuild]]></category>
		<category><![CDATA[Svn]]></category>
		<category><![CDATA[TFS]]></category>

		<guid isPermaLink="false">http://blog.avangardo.com/?p=435</guid>
		<description><![CDATA[TFS? No, thank you&#8230;. I prefer Git\Svn + NUnit + Cruise Control]]></description>
			<content:encoded><![CDATA[<p>TFS? No, thank you&#8230;.<br />
I prefer Git\Svn + NUnit + Cruise Control
<div class='wpfblike' style='height: 40px;'><fb:like href='http://blog.avangardo.com/2011/11/team-foundation-server-tfs/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.avangardo.com/2011/11/team-foundation-server-tfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forward Contract Tenor and Futures Deliery Month Symbols</title>
		<link>http://blog.avangardo.com/2011/11/forward-contract-tenor-and-futures-deliery-month-symbols/</link>
		<comments>http://blog.avangardo.com/2011/11/forward-contract-tenor-and-futures-deliery-month-symbols/#comments</comments>
		<pubDate>Fri, 25 Nov 2011 14:42:11 +0000</pubDate>
		<dc:creator>Rustam Kulenov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Finance]]></category>
		<category><![CDATA[FIX/FAST]]></category>
		<category><![CDATA[Forward]]></category>
		<category><![CDATA[Futures]]></category>
		<category><![CDATA[tenor]]></category>

		<guid isPermaLink="false">http://blog.avangardo.com/?p=427</guid>
		<description><![CDATA[What Does Tenor Mean? The amount of time left for the repayment of a loan or contract or the initial term length of a loan. Tenor can be expressed in years, months or days. Investopedia explains Tenor: For example, if a bank loan is initially extended with a five-year tenor, after three years, the loan [...]]]></description>
			<content:encoded><![CDATA[<p><strong>What Does Tenor Mean?</strong><br />
The amount of time left for the repayment of a loan or contract or the initial term length of a loan. Tenor can be expressed in years, months or days.<br />
<strong>Investopedia explains Tenor:</strong><br />
For example, if a bank loan is initially extended with a five-year tenor, after three years, the loan will be said to have a tenor of two years.</p>
<p>Tenor is sometimes used interchangeably with &#8220;maturity&#8221;, although tenor is not often used to describe the terms of fixed-income instruments such as government bonds and corporate bonds. Instead, non-standardized contracts like insurance policies and bank loans tend to be described in terms of tenor.<br />
<span id="more-427"></span><br />
&nbsp;<br />
<h2>Tenor symbols</h2>
<p>&nbsp;</p>
<p>In finance, a <strong>forward contract</strong> or simply a <strong>forward</strong> is a non-standardized contract between two parties to buy or sell an asset at a specified future time at a price agreed today. The following symbols are used to specify amount of time between transaction and expiration:</p>
<p>&nbsp;</p>
<table>
<tbody>
<tr>
<td><strong>Symbol</strong></td>
<td><strong>Description</strong></td>
</tr>
<tr>
<td><strong>TOM</strong></td>
<td>Tomorrow; this Value Date is not available for the USD/CAD currency pair.</td>
</tr>
<tr>
<td><strong>Spot</strong></td>
<td>Transaction date (today) + 2 business days.</p>
<p>If CAD is the base currency, transaction date (today) +1 business day.</td>
</tr>
<tr>
<td><strong>T3</strong></td>
<td>Transaction date (today) + 3 business days.</td>
</tr>
<tr>
<td><strong>TN</strong></td>
<td>1 day.</td>
</tr>
<tr>
<td><strong>ON</strong></td>
<td>Overnight (1 day).</td>
</tr>
<tr>
<td><strong>SN</strong></td>
<td>?</td>
</tr>
<tr>
<td><strong>1D</strong></td>
<td>1 day from the transaction date (today).</td>
</tr>
<tr>
<td><strong>2D</strong></td>
<td>2 days from the transaction date (today).</td>
</tr>
<tr>
<td><strong>3D</strong></td>
<td>3 days from the transaction date (today).</td>
</tr>
<tr>
<td><strong>1W</strong></td>
<td>1 week from the transaction date (today).</td>
</tr>
<tr>
<td><strong>1M</strong></td>
<td>1 month from the transaction date (today).</td>
</tr>
<tr>
<td><strong>2M</strong></td>
<td>2 months from the transaction date (today).</td>
</tr>
<tr>
<td><strong>3M</strong></td>
<td>3 months from the transaction date (today).</td>
</tr>
<tr>
<td><strong>6M</strong></td>
<td>6 months from the transaction date (today).</td>
</tr>
<tr>
<td><strong>9M</strong></td>
<td>9 months from the transaction date (today).</td>
</tr>
<tr>
<td><strong>1Y</strong></td>
<td>1 year from the transaction date (today).</td>
</tr>
<tr>
<td><strong>IMM1</strong></td>
<td>The nearest International Monetary Market delivery date.</td>
</tr>
<tr>
<td><strong>IMM2</strong></td>
<td>The subsequent International Monetary Market delivery date.</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h2>Month Codes</h2>
<p>&nbsp;</p>
<p>For futures contracts specifying physical delivery, the delivery month is the month in which the seller must deliver, and the buyer must accept and pay for, the underlying. For contracts specifying cash settlement, the delivery month is the month of a final mark-to-market. The exact dates of acceptable delivery vary considerably and will be specified by the exchange in the contract specifications.</p>
<p>&nbsp;</p>
<table>
<tbody>
<tr>
<td><strong>Month</strong></td>
<td><strong>Code</strong></td>
</tr>
<tr>
<td>January</td>
<td>F</td>
</tr>
<tr>
<td>February</td>
<td>G</td>
</tr>
<tr>
<td>March</td>
<td>H</td>
</tr>
<tr>
<td>April</td>
<td>J</td>
</tr>
<tr>
<td>May</td>
<td>K</td>
</tr>
<tr>
<td>June</td>
<td>M</td>
</tr>
<tr>
<td>July</td>
<td>N</td>
</tr>
<tr>
<td>August</td>
<td>Q</td>
</tr>
<tr>
<td>September</td>
<td>U</td>
</tr>
<tr>
<td>October</td>
<td>V</td>
</tr>
<tr>
<td>November</td>
<td>X</td>
</tr>
<tr>
<td>December</td>
<td>Z</td>
</tr>
</tbody>
</table>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://blog.avangardo.com/2011/11/forward-contract-tenor-and-futures-deliery-month-symbols/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.avangardo.com/2011/11/forward-contract-tenor-and-futures-deliery-month-symbols/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu update 11.10 Oneric</title>
		<link>http://blog.avangardo.com/2011/10/ubuntu-update-11-10-oneric/</link>
		<comments>http://blog.avangardo.com/2011/10/ubuntu-update-11-10-oneric/#comments</comments>
		<pubDate>Sat, 15 Oct 2011 15:46:57 +0000</pubDate>
		<dc:creator>Rustam Kulenov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Update]]></category>

		<guid isPermaLink="false">http://blog.avangardo.com/?p=429</guid>
		<description><![CDATA[Today KUbuntu informed me that it is ready to update up to 11.10: It is going to download almost 1.3Gb and remove 22 packages. I hope that after that everything will still be working&#8230;]]></description>
			<content:encoded><![CDATA[<p>Today KUbuntu informed me that it is ready to update up to 11.10:<br />
<div id="attachment_430" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.avangardo.com/wp-content/uploads/2011/10/ubuntu_update.png"><img src="http://blog.avangardo.com/wp-content/uploads/2011/10/ubuntu_update-300x290.png" alt="" title="ubuntu update 11.10" width="300" height="290" class="size-medium wp-image-430" /></a><p class="wp-caption-text">ubuntu update 11.10</p></div></p>
<p>It is going to download almost 1.3Gb and remove 22 packages. I hope that after that everything will still be working&#8230;
<div class='wpfblike' style='height: 40px;'><fb:like href='http://blog.avangardo.com/2011/10/ubuntu-update-11-10-oneric/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.avangardo.com/2011/10/ubuntu-update-11-10-oneric/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hoppity hop! Facebook puzzle solution</title>
		<link>http://blog.avangardo.com/2011/09/hoppity-hop-facebook-puzzle-solution/</link>
		<comments>http://blog.avangardo.com/2011/09/hoppity-hop-facebook-puzzle-solution/#comments</comments>
		<pubDate>Fri, 23 Sep 2011 12:14:34 +0000</pubDate>
		<dc:creator>Rustam Kulenov</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[Computer science]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Puzzle]]></category>

		<guid isPermaLink="false">http://blog.avangardo.com/?p=419</guid>
		<description><![CDATA[Hoppity Hop puzzle description Hoppity Hop! is the simplest Facebook puzzle. Input specifications The input file will contain a single positive integer (in base 10) expressed as a string using standard ASCII text (e.g. for example, the number &#8220;15&#8243; but without the double quotes). This number may or may not be padded on either side [...]]]></description>
			<content:encoded><![CDATA[<h1>Hoppity Hop puzzle description</h1>
<p>
<a href="http://www.facebook.com/careers/puzzles.php?puzzle_id=7" target="_blank">Hoppity Hop!</a> is the simplest Facebook puzzle.</p>
<h2>Input specifications</h2>
<p>The input file will contain a single positive integer (in base 10) expressed as a string using standard ASCII text (e.g. for example, the number &#8220;15&#8243; but without the double quotes). This number may or may not be padded on either side with white space. There will be no commas, periods, or any other non-numeric characters present within the number. The file may or may not terminate in a single new line character (&#8220;\n&#8221;). An example input file is below:</p>
<pre>15</pre>
<p><h2>Output specifications</h2>
<p>The program should iterate over all integers (inclusive) from 1 to the number expressed by the input file. For example, if the file contained the number 10, the submission should iterate over 1 through 10. At each integer value in this range, the program may possibly (based upon the following rules) output a single string terminating with a newline. </p>
<p>For integers that are evenly divisible by three, output the exact string <strong>Hoppity</strong>, followed by a newline.<br />
For integers that are evenly divisible by five, output the exact string <strong>Hophop</strong>, followed by a newline.<br />
For integers that are evenly divisible by both three <strong>and </strong>five, do not do any of the above, but instead output the exact string <strong>Hop</strong>, followed by a newline.</p>
<p>Example output (newline at end of every line):</p>
<pre>Hoppity
Hophop
Hoppity
Hoppity
Hophop
Hoppity
Hop</pre>
<p><span id="more-419"></span></p>
<h1>Puzzle solution</h1>
<h2>C Code</h2>
<pre class="brush:c; collapse:false; gutter: false;">#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;
#include &lt;errno.h&gt;

#define D3D5_PREFIX "Hop"
#define D3_SUFFIX "pity"
#define D5_SUFFIX "hop"

void solve(int param);

int main(int argc, char** argv) {

    if (argc != 2){
        printf("Usage: hoppity &lt;file_name&gt;\r\n");
        return (EXIT_FAILURE);
    }

    // Open file and read parameter from it.
    FILE* f = fopen(argv[1], "r");
    if (f == NULL){
        printf("Failed to open file (%d)", errno);
        return (EXIT_FAILURE);
    }

    int p;
    if (fscanf(f, "%d", &amp;p) != 1){
        printf("Failed to read data from file (%d)", errno);
        fclose(f);
        return (EXIT_FAILURE);
    }

    fclose(f);
    solve(p);
    return (EXIT_SUCCESS);
}

/**
 * see http://www.facebook.com/careers/puzzles.php?puzzle_id=7
 */
void solve(int param){
    for (int i=1; i&lt;=param; i++){

        char d3 = i%3 == 0;
        char d5 = i%5 == 0;

        if (d3 || d5){
            printf(D3D5_PREFIX);
            if (d3 &amp;&amp; !d5){
                printf(D3_SUFFIX);
            }
            else if (d5 &amp;&amp; !d3)
            {
                printf(D5_SUFFIX);
            }
            printf("\n");
        }
    }
}</pre>
<p>
This file can be compiled by gcc compiler using the following command line:</p>
<pre>gcc -o hoppity -std=c99 main.c</pre>
<h2>Proof of the correctness</h2>
<p>The algorithm implemented by solve() method is very simple and it is clear that it is correct:<br />
1. We have FOR cycle which iterates from 1 to param (inclusive). Since we don&#8217;t change value of i inside the cycle then the cycle is not infinite.<br />
2. We have 4 cases according to our requirements (divide i by 3 and 5). We can check what the program prints in each case. As we can see, it prints expected values.
<div class='wpfblike' style='height: 40px;'><fb:like href='http://blog.avangardo.com/2011/09/hoppity-hop-facebook-puzzle-solution/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.avangardo.com/2011/09/hoppity-hop-facebook-puzzle-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GPS Generator PRO &#8211; a must-have for all developers of GPS-related hardware and software</title>
		<link>http://blog.avangardo.com/2011/07/gps-generator-pro-a-must-have-for-all-developers-of-gps-related-hardware-and-software/</link>
		<comments>http://blog.avangardo.com/2011/07/gps-generator-pro-a-must-have-for-all-developers-of-gps-related-hardware-and-software/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 11:39:57 +0000</pubDate>
		<dc:creator>Rustam Kulenov</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[NMEA]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[Simulation]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.avangardo.com/?p=407</guid>
		<description><![CDATA[If you are developing a program or device that uses satellite GPS data, you definitely need a reliable and stable source of this data. Apparently, you can use an actual GPS receiver, but what if you can’t? For instance, if your office is located in an area with bad or no reception at all, efficient [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="GPS Simulator box" src="http://avangardo.com/images/boxes/gpsgen/gps_gen_box_150x150.jpg" alt="" width="150" height="150" />If you are developing a program or device that uses satellite GPS data, you definitely need a reliable and stable source of this data. Apparently, you can use an actual GPS receiver, but what if you can’t? For instance, if your office is located in an area with bad or no reception at all, efficient development of a product that relies on accurate GPS coordinates may be quite problematic. Fortunately, there is a solution for this problem that will help you keep working even if no satellite signal is available.<span id="more-407"></span></p>
<p><a href="http://avangardo.com/software/gps-generator-pro.html" target="_blank">GPS Generator PRO</a> is a software GPS simulator intended for hardware and software developers who need a stable source of realistic GPS data for testing and debugging their products. The program supports the NMEA-0183 protocol and can be efficiently used in locations where no actual GPS signal is available. GPS data generated by the program can be either saved to a file, forwarded to a COM port or broadcast over UDP. You can also use GPS Generator PRO in combination with a null-modem cable or a virtual serial port created by third-party software. Programs and devices working with the NMEA-0183 protocol will recognize the data generated by this tool as authentic GPS data. To make it realistic, you can configure the program to generate data with a certain fraction of CRC errors to simulate real life reception quality.</p>
<p>Supporting Packet, Map and Route operation modes, several output options and an ability to save GPS data as repeatable test scenarios, GPS Generator PRO is an invaluable tool for all kinds of developers working with GPS-enabled products.</p>
<p>Source: <a title="GPS Si,ulator review" href="http://3d2f.com/smartreviews/1-474-gps-generator-pro-a-must-have-for-all-developers-of-gps-related-hardware-and-software-read.shtml" target="_blank">3d2f.com review</a>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://blog.avangardo.com/2011/07/gps-generator-pro-a-must-have-for-all-developers-of-gps-related-hardware-and-software/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.avangardo.com/2011/07/gps-generator-pro-a-must-have-for-all-developers-of-gps-related-hardware-and-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solar 3D printer</title>
		<link>http://blog.avangardo.com/2011/06/solar-3d-printer/</link>
		<comments>http://blog.avangardo.com/2011/06/solar-3d-printer/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 17:10:39 +0000</pubDate>
		<dc:creator>Rustam Kulenov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.avangardo.com/?p=403</guid>
		<description><![CDATA[In a world increasingly concerned with questions of energy production and raw material shortages, this project explores the potential of desert manufacturing, where energy and material occur in abundance. In this experiment sunlight and sand are used as raw energy and material to produce glass objects using a 3D printing process, that combines natural energy [...]]]></description>
			<content:encoded><![CDATA[<p>In a world increasingly concerned with questions of energy production and raw material shortages, this project explores the potential of desert manufacturing, where energy and material occur in abundance.<br />
In this experiment sunlight and sand are used as raw energy and material to produce glass objects using a 3D printing process, that combines natural energy and material with high-tech production technology.<br />
<span id="more-403"></span><br />
Solar-sintering aims to raise questions about the future of manufacturing and trigger dreams of the full utilisation of the production potential of the world&#8217;s most efficient energy resource &#8211; the sun. Whilst not providing definitive answers this experiment aims to provide a point of departure for fresh thinking.</p>
<p><object width="400" height="225"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=25401444&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=25401444&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="225"></embed></object>
<p><a href="http://vimeo.com/25401444">Markus Kayser &#8211; Solar Sinter Project</a> from <a href="http://vimeo.com/user4229723">Markus Kayser</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://blog.avangardo.com/2011/06/solar-3d-printer/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.avangardo.com/2011/06/solar-3d-printer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connecting from Ubuntu to Cisco VPN</title>
		<link>http://blog.avangardo.com/2011/06/connecting-from-ubuntu-to-cisco-vpn/</link>
		<comments>http://blog.avangardo.com/2011/06/connecting-from-ubuntu-to-cisco-vpn/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 20:50:54 +0000</pubDate>
		<dc:creator>Rustam Kulenov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[VPNC]]></category>

		<guid isPermaLink="false">http://blog.avangardo.com/?p=385</guid>
		<description><![CDATA[On Windows I work remotely using Cisco VPN Client. I tried Cisco Client on Linux but was unable to build and install it. So I decided to use alternative way: VPNC. First of all, I installed VPNC using this command: $ sudo apt-get install vpnc When you try to connect to a cisco VPN by [...]]]></description>
			<content:encoded><![CDATA[<p>On Windows I work remotely using Cisco VPN Client. I tried Cisco Client on Linux but was unable to build and install it. So I decided to use alternative way: <strong>VPNC</strong>.<br />
First of all, I installed VPNC using this command:</p>
<pre>$ sudo apt-get install vpnc</pre>
<p>When you try to connect to a cisco VPN by typing :</p>
<pre>$ sudo vpnc</pre>
<p>vpnc will look for the files /etc/vpnc.conf or /etc/vpnc/default.conf. If it does not find such files, vpnc will default to the interactive mode.<br />
However, vpnc can support different configuration files and be called with the name of the file as an argument. For instance, if you create the configuration file /etc/vpnc/myconf.conf, you will be able to call vpnc like this:</p>
<pre>$ sudo vpnc myconf</pre>
<p>I already had office.pcf file with all required settings and I found out that I can convert this Cisco Client profile file to *.cfg file for VPNC. It can be performed by <a href="http://svn.unix-ag.uni-kl.de/vpnc/trunk/pcf2vpnc" target="_blank">pcf2vpnc</a> script. Steps to run it:</p>
<p>Download cisco-decrypt file which will be used to decrypt the group password from your pcf file:</p>
<pre>$ wget <a href="http://www.unix-ag.uni-kl.de/~massar/soft/cisco-decrypt.c" target="_blank">http://www.unix-ag.uni-kl.de/~massar/soft/cisco-decrypt.c</a>
$ sudo apt-get install libgcrypt11-dev
$ gcc -Wall -o cisco-decrypt cisco-decrypt.c $(libgcrypt-config <code>--</code>libs <code>--</code>cflags)
$ chmod +x cisco-decrypt
$ sudo cp cisco-decrypt /usr/bin</pre>
<p>After these steps we have <strong>cisco-decript</strong> compiled. Next we need to download pcf2vpnc to convert pcf files into vpnc configuration format:</p>
<pre>$ wget http://svn.unix-ag.uni-kl.de/vpnc/trunk/pcf2vpnc
$ chmod +x pcf2vpnc
$ sudo cp pcf2vpnc /usr/bin</pre>
<p>Now we have <strong>cisco-decript</strong> and <strong>pcf2vpnc</strong> in /usr/bin. Let&#8217;s convert existing pcf file to conf:</p>
<pre>$ pcf2vpnc office.pcf &gt; office.conf
$ sudo cp office.conf  /etc/vpnc/</pre>
<p>Now we can connect to office VPN:</p>
<pre>$ sudo vpnc office</pre>
<p>To disconnect enter:</p>
<pre>$ sudo vpnc-disconnect</pre>
<p>Unfortunately, there is problem with resolving hosts by names (DNS), so I have to connect by IP addresses.
<div class='wpfblike' style='height: 40px;'><fb:like href='http://blog.avangardo.com/2011/06/connecting-from-ubuntu-to-cisco-vpn/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.avangardo.com/2011/06/connecting-from-ubuntu-to-cisco-vpn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kamikadze ice creem &amp; grapes</title>
		<link>http://blog.avangardo.com/2011/06/kamikadze-ice-creem/</link>
		<comments>http://blog.avangardo.com/2011/06/kamikadze-ice-creem/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 09:03:29 +0000</pubDate>
		<dc:creator>Rustam Kulenov</dc:creator>
				<category><![CDATA[My Pictures]]></category>
		<category><![CDATA[My pictures]]></category>

		<guid isPermaLink="false">http://blog.avangardo.com/?p=367</guid>
		<description><![CDATA[Would you like some ice creem? &#160;]]></description>
			<content:encoded><![CDATA[<p>Would you like some ice creem?</p>
<div id="attachment_368" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.avangardo.com/wp-content/uploads/2011/05/kamikadze_icecreem.jpg"><img class="size-medium wp-image-368" title="kamikadze ice creem" src="http://blog.avangardo.com/wp-content/uploads/2011/05/kamikadze_icecreem-279x300.jpg" alt="kamikadze ice creem" width="500" /></a><p class="wp-caption-text">kamikadze ice creem</p></div>
<p>&nbsp;</p>
<p><div id="attachment_377" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.avangardo.com/wp-content/uploads/2011/06/grapes.jpg"><img class="size-medium wp-image-377" title="Grapes" src="http://blog.avangardo.com/wp-content/uploads/2011/06/grapes-300x266.jpg" alt="Grapes" width="500" /></a><p class="wp-caption-text">Grapes</p></div>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://blog.avangardo.com/2011/06/kamikadze-ice-creem/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.avangardo.com/2011/06/kamikadze-ice-creem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Control GPS simulator from external application</title>
		<link>http://blog.avangardo.com/2011/05/control-gps-simulator-from-external-application/</link>
		<comments>http://blog.avangardo.com/2011/05/control-gps-simulator-from-external-application/#comments</comments>
		<pubDate>Mon, 30 May 2011 19:55:51 +0000</pubDate>
		<dc:creator>Rustam Kulenov</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[Gaming wheel]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[NMEA]]></category>
		<category><![CDATA[Simulation]]></category>

		<guid isPermaLink="false">http://blog.avangardo.com/?p=359</guid>
		<description><![CDATA[Recently I was asked about the possibility to control GPS simulator using gaming wheel. Yes, it is possible. I created simple C# application to  demostrate this. Here is video: This small application interacts with GPS Simulator and sends control signals for changing course. So, it is possible to simulate object moving along a curve.]]></description>
			<content:encoded><![CDATA[<p>Recently I was asked about the possibility to control <strong>GPS simulator</strong> using <strong>gaming wheel</strong>. Yes, it is possible. I created simple C# application to  demostrate this.</p>
<p>Here is video:</p>
<p><object style="width: 500px height;" width="500" height="400"><param name="movie" value="http://www.youtube.com/v/LMU9mN0SMKw?version=3" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><embed type="application/x-shockwave-flash" width="500" height="400" src="http://www.youtube.com/v/LMU9mN0SMKw?version=3" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>This small application interacts with GPS Simulator and sends control signals for changing course. So, it is possible to simulate object moving along a curve.
<div class='wpfblike' style='height: 40px;'><fb:like href='http://blog.avangardo.com/2011/05/control-gps-simulator-from-external-application/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.avangardo.com/2011/05/control-gps-simulator-from-external-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Somebody is in your bedroom</title>
		<link>http://blog.avangardo.com/2011/05/somebody-is-in-your-bedroom/</link>
		<comments>http://blog.avangardo.com/2011/05/somebody-is-in-your-bedroom/#comments</comments>
		<pubDate>Thu, 26 May 2011 19:46:25 +0000</pubDate>
		<dc:creator>Rustam Kulenov</dc:creator>
				<category><![CDATA[My Pictures]]></category>
		<category><![CDATA[My pictures]]></category>

		<guid isPermaLink="false">http://blog.avangardo.com/?p=354</guid>
		<description><![CDATA[Good night&#8230;]]></description>
			<content:encoded><![CDATA[<p>Good night&#8230;<br />
<div id="attachment_355" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.avangardo.com/wp-content/uploads/2011/05/smb_in_your_bedroom.jpg"><img src="http://blog.avangardo.com/wp-content/uploads/2011/05/smb_in_your_bedroom-300x234.jpg" alt="Somebody is in your bedroom" title="Somebody is in your bedroom" width="500" class="size-medium wp-image-355" /></a><p class="wp-caption-text">Somebody is in your bedroom</p></div>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://blog.avangardo.com/2011/05/somebody-is-in-your-bedroom/' layout='default' show_faces='true' width='400' action='like' colorscheme='light' send='false' /></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.avangardo.com/2011/05/somebody-is-in-your-bedroom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  blog.avangardo.com/feed/ ) in 0.31436 seconds, on Feb 23rd, 2012 at 1:18 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 23rd, 2012 at 2:18 pm UTC -->
