<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>cygwin &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/cygwin/</link>
	<description>Feed of posts on WordPress.com tagged "cygwin"</description>
	<pubDate>Sun, 20 Jul 2008 06:33:21 +0000</pubDate>

	<generator>http://wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Cygwin, rxvt 화면]]></title>
<link>http://lum7671.wordpress.com/2008/07/17/cygwin-rxvt-%ed%99%94%eb%a9%b4/</link>
<pubDate>Thu, 17 Jul 2008 05:42:00 +0000</pubDate>
<dc:creator>lum7671</dc:creator>
<guid>http://lum7671.wordpress.com/2008/07/17/cygwin-rxvt-%ed%99%94%eb%a9%b4/</guid>
<description><![CDATA[회사가 AD시스템을 도입으로 Windows의 Task Scheduler를 기본으로 &quot;사용안함]]></description>
<content:encoded><![CDATA[<p>회사가 AD시스템을 도입으로 Windows의 Task Scheduler를 기본으로 &#34;사용안함&#34; 해놔서 <a href="http://www.cygwin.com">Cygwin</a>의 crontab을 써볼까? 하는 생각에 오랜만에 <a href="http://www.cygwin.com">Cygwin</a>을 설치해 보았다. </p>
<p>기본 도스창은 Drag도 메뉴에서 선택해야 하고 Text Copy 역시 쉽지가 않아서 Cygwin을 설치하면 rxvt를 설치한다. </p>
<p>Cygwin을 <a href="http://kltp.kldp.org/stories.php?story=02/12/04/5824967">2002년에 사용</a>하고 거의 사용을 안했으니 많이 바뀌었을 것 같다. </p>
<p>가장 눈에 띄는것이 rxvt이다 글꼴이 Monospace, Bistream Vera Sans 인지 잘은 모르겠지만 우선 맘에 든다. 기본 색상 역시 바탕은 짙은 파랑에 글자는 연한 노랑도 맘에 든다.&#160; </p>
<p><a href="http://lh5.ggpht.com/dh.jang/SH7b4GLKtSI/AAAAAAAAAOA/ZmvBcbqc0oo/s1600-h/Cygwin_rxvt01%5B2%5D.png"><img style="border-width:0;" height="154" alt="Cygwin_rxvt01" src="http://lh4.ggpht.com/dh.jang/SH7b4ps_IkI/AAAAAAAAAOE/YoinDvaQ-Tg/Cygwin_rxvt01_thumb.png?imgmax=800" width="244" border="0" /></a></p>
<p>C:\cygwin\cygwin.bat</p>
<p><code>@echo off <br />C: <br />chdir C:\cygwin\bin <br />rxvt.exe -display :0 -e /usr/bin/zsh --login -i <br />REM bash --login -i </code></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA["Hey, Bash. You look funny!"]]></title>
<link>http://joseduardo.wordpress.com/?p=138</link>
<pubDate>Tue, 01 Jul 2008 10:07:29 +0000</pubDate>
<dc:creator>José Martins</dc:creator>
<guid>http://joseduardo.wordpress.com/?p=138</guid>
<description><![CDATA[Há coisas que magoam um bocado os olhos&#8230;  

]]></description>
<content:encoded><![CDATA[<p>Há coisas que magoam um bocado os olhos... :-)</p>
<p><a href="http://joseduardo.wordpress.com/files/2008/07/bashexe.jpg"><img class="alignnone size-full wp-image-140" src="http://joseduardo.wordpress.com/files/2008/07/bashexe.jpg" alt="Hei, bash. You look funny!" width="354" height="153" /></a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Subversion on Cygwin on Japanese Windows XP]]></title>
<link>http://linuxtnt.wordpress.com/?p=288</link>
<pubDate>Mon, 26 May 2008 03:16:03 +0000</pubDate>
<dc:creator>BKB</dc:creator>
<guid>http://linuxtnt.wordpress.com/?p=288</guid>
<description><![CDATA[I&#8217;m having a lot of problems with Subversion on Cygwin on Japanese Windows XP. I want to set u]]></description>
<content:encoded><![CDATA[<p>I'm having a lot of problems with Subversion on Cygwin on Japanese Windows XP. I want to set up the repository on the local shared filesystem, which has Japanese characters in its name. Here is the basic script I've used for testing:</p>
<pre>
#! perl
use warnings;
use strict;
use Encode;
binmode STDOUT,"utf8";
my @envthings = qw/LANG LC_COLLATE LC_CTYPE LC_MESSAGES LC_MONETARY
		   LC_NUMERIC LC_TIME LC_ALL/;
@ENV{@envthings}=('ja_JP.SJIS')x@envthings;
my $svndir = '\'//Shared/Disk/ú{ê/\'';
my $svndirutf8 = decode ('shift-jis', $svndir);
my $svn = '/usr/bin/svn';
my $command = $svn.'admin create '.$svndirutf8;
print "Command to Subversion is:\n'$command'\n";
system ($command);
</pre>
<p>I've tried every possible combination of language, environment settings, and encoding for "$command". I've tried setting it to Shift-JIS, UTF-8, and every other encoding I can think of, but everything I do, I get a message back from Subversion telling me</p>
<pre>
svnadmin: Can't convert string from native encoding to 'UTF-8':
</pre>
<p>then printing the name out as munged characters. I've tried absolutely every combination I'm aware of, and still the thing refuses to convert string from what it thinks my "native encoding" is to 'UTF-8', even in the cases where I've set LANG=C it refuses to work.</p>
<p>I have absolutely no idea what Subversion is doing here.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Fix for cpan bug on Cygwin with spaces in file names]]></title>
<link>http://linuxtnt.wordpress.com/?p=251</link>
<pubDate>Mon, 14 Apr 2008 05:40:19 +0000</pubDate>
<dc:creator>BKB</dc:creator>
<guid>http://linuxtnt.wordpress.com/?p=251</guid>
<description><![CDATA[Sometimes it seems that the cpan which comes with Cygwin can&#8217;t untar files because of the spac]]></description>
<content:encoded><![CDATA[<p>Sometimes it seems that the cpan which comes with Cygwin can't untar files because of the spaces in the name. I've found some other people struggling with this problem on the net, but actually it's dead easy to fix the problem. To fix this bug, go to lines 5813 and 5827 of CPAN.pm, which is in <code>/usr/lib/perl5/5.8</code> in my Cygwin, and add single quotes around $file in both places:</p>
<pre>
        $system = "$CPAN::Config-&#62;{tar} xvf '$file'";
</pre>
<p>This fixes the problem completely on my Cygwin, and I was able to install CPAN modules again.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Compiling and Installing GIT on windows under cygwin]]></title>
<link>http://techblogging.wordpress.com/2008/04/11/installing-git-on-windows/</link>
<pubDate>Fri, 11 Apr 2008 19:56:10 +0000</pubDate>
<dc:creator>techblogger</dc:creator>
<guid>http://techblogging.wordpress.com/2008/04/11/installing-git-on-windows/</guid>
<description><![CDATA[Using GIT was one of the requirements of one of the project that I am doing. Here is how I installed]]></description>
<content:encoded><![CDATA[<p>Using GIT was one of the requirements of one of the project that I am doing. Here is how I installed GIT on Windows.</p>
<h5><span style="text-decoration:underline;">So What is GIT?</span></h5>
<p>The supplied documentation of GIT says that:</p>
<blockquote><p>Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals.</p></blockquote>
<p><a href="http://en.wikipedia.org/wiki/Git_(software)">Here</a> is the link for the wikipedia entry.</p>
<h5><span style="text-decoration:underline;">Where can I download GIT?</span></h5>
<p><a href="http://git.or.cz/">Here</a> is the link.</p>
<p><!--more-->Before following the given steps you will need to install cygwin on your system, and add its bin directory to the system path (so that all the cygwin commands are available from inside the command prompt).</p>
<p>So after installing cygwin run setup.exe inside the cygwin installation folder and make sure the following modules are installed.</p>
<ol>
<li>make</li>
<li>gcc c anc c++ compilers</li>
<li>openssl-devel</li>
<li>curl-devel</li>
<li>Any other dependencies that are missing..</li>
</ol>
<p><a href="http://techblogging.files.wordpress.com/2008/04/image.png"><img style="border-width:0;" src="http://techblogging.files.wordpress.com/2008/04/image-thumb.png" border="0" alt="image" width="576" height="431" /></a></p>
<p>All these packages are located inside the <strong>Devel</strong> branch of the package tree. Required dependencies will be selected automatically.</p>
<p>Click next to install selected packages.</p>
<h5><span style="text-decoration:underline;">Compiling GIT form source</span></h5>
<p>Untar the GIT source you downloaded using the command <strong>"tar xvzf git-1.5.5.tar.gz"</strong> .</p>
<p>Navigate to the untarred directory using a command prompt. Now run the <strong>"make"</strong> command inside the GIT source directory.</p>
<p>If it runs successfully then run <strong>"make install".</strong></p>
<p>Before running the command make sure you have <strong>Perl</strong> (language) installed. You can check it by running the command:</p>
<div style="border-right:gray 1px solid;border-top:gray 1px solid;font-size:8pt;overflow:auto;border-left:gray 1px solid;width:97.5%;cursor:text;max-height:200px;line-height:12pt;border-bottom:gray 1px solid;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;margin:20px 0 10px;padding:4px;">
<div style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">perl -MCPAN -e 'shell'</pre>
</div>
</div>
<p>and then running the following inside the cpan shell:</p>
<div style="border-right:gray 1px solid;border-top:gray 1px solid;font-size:8pt;overflow:auto;border-left:gray 1px solid;width:97.5%;cursor:text;max-height:200px;line-height:12pt;border-bottom:gray 1px solid;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;margin:20px 0 10px;padding:4px;">
<div style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;">install blib</pre>
</div>
</div>
<p>it should show no error. I am not sure if this is the best way to do this as I am not much of a Perl guy.</p>
<p>So as I mentioned before you need to run the following two command to make and install Perl:</p>
<div style="border-right:gray 1px solid;border-top:gray 1px solid;font-size:8pt;overflow:auto;border-left:gray 1px solid;width:97.5%;cursor:text;max-height:200px;line-height:12pt;border-bottom:gray 1px solid;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;margin:20px 0 10px;padding:4px;">
<div style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   1:</span> make</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, 'Courier New', courier, monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   2:</span> make install</pre>
</div>
</div>
<p>If these two steps complete successfully then your GIT is ready to go :). You can test this by running the "git" command. This command is located inside the <strong>"C:/cygwin/home/gaurav/bin"</strong>. You might to add this folder to the system path too.</p>
<h5><span style="text-decoration:underline;">Pre-configured version</span></h5>
<p><a href="http://cid-49208a72e4eb818c.skydrive.live.com/self.aspx/world/FOSS/cygwin_1.5.25-11_git_1.5.5.rar">Here</a> is a cygwin version pre-configured to compile GIT. It is installed on my system and works fine. Cygwin 1.5.25 and GIT 1.5.5 are preinstalled in this archive. Just decompress this archive under folder <strong>"C:\cygwin" </strong>and add <strong>"C:\cygwin\bin" </strong>and <strong>"C:/cygwin/home/gaurav/bin" </strong>to your system path and GIT should work form any command window.</p>
<div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:1487e1d8-ec5e-4ba8-b3a3-1a759709f417" class="wlWriterSmartContent" style="display:inline;float:none;margin:0;padding:0;">del.icio.us Tags: <a rel="tag" href="http://del.icio.us/popular/GIT">GIT</a>,<a rel="tag" href="http://del.icio.us/popular/open%20source">open source</a>,<a rel="tag" href="http://del.icio.us/popular/perl">perl</a>,<a rel="tag" href="http://del.icio.us/popular/vista">vista</a>,<a rel="tag" href="http://del.icio.us/popular/windows">windows</a>,<a rel="tag" href="http://del.icio.us/popular/cygwin">cygwin</a></div>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Funções ZZ - uma coletânea com mini-aplicativos de utilidades diversas]]></title>
<link>http://zoltral.wordpress.com/?p=78</link>
<pubDate>Sun, 20 Jul 2008 02:59:34 +0000</pubDate>
<dc:creator>zoltral</dc:creator>
<guid>http://zoltral.wordpress.com/?p=78</guid>
<description><![CDATA[Hoje em dia já nos acostumamos a entrar na internet para procurar todo tipo de informações ou fer]]></description>
<content:encoded><![CDATA[<p>Hoje em dia já nos acostumamos a entrar na internet para procurar todo tipo de informações ou ferramentas necessárias para nossa vida. No entanto, mesmo com a ajuda dos sites de busca muitas vezes nossas pesquisas não retornam o esperado, principalmente pela infinidade de páginas que podem conter em seus textos os termos usados na busca.</p>
<p>Também temos o caso de que muitas vezes queremos um programa/ferramenta que faça uma pequena coisa para nós, mas acabamos encontrado apenas programas com vários e vários megas de tamanho.</p>
<p>Devido a essas dificuldades, muitos programadores, acabam criando pequenos scripts para agilizar suas atividades.</p>
<p>Exatamente dentro dessa filosofia, um programador da antiga Conectiva, Aurélio Marinho Jargas, criou em 2000 as Funções ZZ. Uma coleção de pequenos scripts, a princípio apenas para agilizar o trabalho da própria Conectiva. Em 2003 ele convidou o Thobias Salazar Trevisan, um colaborador assíduo para se tornar co-autor.</p>
<p>Hoje em dia, na sua versão 8.6, a Funções ZZ agrega 66 funções em apenas 125 kb e se tornou um utilitário que vale a pena ter instalado no seu computador.</p>
<p>Veja abaixo alguns exemplos.</p>
<ul>Resultado da megasena</ul>
<p><code>paulo@tamoio $ zzloteria megasena<br />
megasena:<br />
08 - 17 - 46 - 48 - 56 - 60<br />
Concurso 988 (19/07/2008 )<br />
Acumulado em R$ 30.000.000,00 para 23/07/2008</code></p>
<p>Não foi desta vez. Continuo pobre. Melhor assim, prefiro ganhar os 30 milhões da quarta-feira que vem. :)</p>
<ul>Cotação do dólar</ul>
<p><code>paulo@tamoio $ zzmoeda real<br />
Sigla         Compra        Venda  Var.%        Hora  Moeda<br />
DOLCM              -       1,5890  -0,68  18/07/2008  Real - Dólar comercial<br />
DOLPR              -       1,8100   0,00  18/07/2008  Real - Dólar paralelo<br />
DOLPTAX            -       1,5913  -0,29       00:58  Real - Dólar ptax - bacen<br />
DOLTR              -       1,7100   0,00  18/07/2008  Real - Dólar turismo</code></p>
<ul>Cálculo</ul>
<p><code>paulo@tamoio $ zzcalcula 30000000 / 1,5890<br />
18879798,61</code></p>
<p>O prêmio da megasena de quarta-feira convertido para dólar.</p>
<ul>Tradução</ul>
<p><code>paulo@tamoio $ zzdicbabelfish pt_en rico<br />
rich<br />
paulo@tamoio $ zzdicbabelfish en_pt rich<br />
rico<br />
paulo@tamoio $ zzdicbabelfish pt_fr rico<br />
riche</code></p>
<p>É oque eu serei quando eu ganhar na megasena. :) Otimismo sempre.</p>
<ul>Clima em Curitiba</ul>
<p><code>paulo@tamoio $ zztempo Brazil SBCT</code></p>
<p><code>Curitiba Aeroporto , Brazil</code></p>
<p><code> (SBCT) 25-31S 049-10W 908M</code></p>
<p><code> Conditions at [Jul 19, 2008 - 10:00 PM EDT]<br />
2008.07.20 0200 UTC<br />
Wind from the NNE (020 degrees) at 2 MPH (2 KT)<br />
Visibility 5 mile(s)<br />
Sky conditions clear<br />
Temperature 55 F (13 C)<br />
Dew Point 51 F (11 C)<br />
Relative Humidity 87%<br />
Pressure (altimeter) 30.21 in. Hg (1023 hPa)<br />
ob SBCT 200200Z 02002KT 9000 SKC 13/11 Q1023</code></p>
<p>13 °C - por isso que estou usando pantufas.</p>
<p>As Funções ZZ são uma ferramente que vale a pena ter instalado em seu computador. Se você usa Linux, é só seguir as instruções de instalação. Se você usa Windows, vai precisar instalar o Cygwin antes, para só depois poder instalar o Funções ZZ.</p>
<p>Funções ZZ:<br />
<a href="http://funcoeszz.net/index.html" target="_blank">Site</a><br />
<a href="http://funcoeszz.net/download.html" target="_blank">Download</a><br />
<a href="http://funcoeszz.net/instalacao.html" target="_blank">Instalação</a><br />
<a href="http://funcoeszz.net/historia.html" target="_blank">História</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[*** multiple target patterns using CDT 5.0]]></title>
<link>http://dreamlusion.wordpress.com/?p=77</link>
<pubDate>Sat, 12 Jul 2008 10:09:37 +0000</pubDate>
<dc:creator>dreamlusion</dc:creator>
<guid>http://dreamlusion.wordpress.com/?p=77</guid>
<description><![CDATA[Problem Description
If you want to build a project, using the Cygwin tool chain, that has dependenci]]></description>
<content:encoded><![CDATA[<h4>Problem Description</h4>
<p>If you want to build a project, using the Cygwin tool chain, that has dependencies to a third party library, you might experience a "multiple target patterns" error.</p>
<p>The usual procedure to do build a project that uses a third party library involves two steps.</p>
<ol>
<li>Add the Includes required for compiling in the <a href="http://www.google.com/search?q=site%3Ahelp.eclipse.org+%22paths+and+symbols%22">Project Properties &#62; C/C++ General &#62; Paths and Symbols &#62; Includes</a> dialog.</li>
<li>Add the library directories in the <em>Library Search Path</em> section of the <a href="http://www.google.com/search?q=site%3Ahelp.eclipse.org+%22tool+settings%22+">Project Properties &#62; C/C++ Build &#62; Settings &#62; Tool Settings &#62; Cygwin C++ Linker &#62; Libraries</a> dialog. Then, in the <em>Libraries</em> section of the same dialog add all of your third party libraries.</li>
</ol>
<p><em>NOTE: When adding your third party libraries be aware that you need to specify them with neither the "lib" prefix nor the extension. For example, if you have a library called libboost_regex.a, you should type in just boost_regex.a in the appropriate dialog. This is how the g++ compiler works, the Unix way.</em></p>
<h4>Tools Used/Affected</h4>
<ul>
<li>Eclipse IDE for C/C++ Developers (Eclipse Platform Ganymede (3.4.0), CDT 5.0.200806171202)</li>
<li>Cygwin GCC tool chain (Make 3.81, GCC 3.4.4)</li>
</ul>
<h4>Solution</h4>
<p>The root cause of the problem is that the <a href="http://www.cygwin.com/ml/cygwin/2008-07/msg00087.html">Cygwin GCC tool chain expects paths to be in the unix style</a>, but when Eclipse uses the values you specified for includes, library paths, e.t.c. to automatically generate the appropriate make files, it does not convert these values in Unix style and therefore building fails.</p>
<p>You are going to experience a beautiful build if you change all the paths you entered in Windows format to Unix format (e.g. C:\Cygwin\home to /home).</p>
<p>If you do this though, there is another shortcoming ahead, fortunately smaller than the previous one.</p>
<p>Because Eclipse won't recognize the Unix path style you're going to loose content assist (code completion) for the includes you specified and you'll also get a "Path Entry Problem" warning.</p>
<p>UPDATE: As volador pointed me out, you may use windows paths but with forward slashes.</p>
<h4>Conclusion</h4>
<p>Paths definition, for projects targeting the Cygwin tool chain, seems to have been problematic since long ago for the CDT environment. There's a <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=117013">relevant bug report</a> that has been arround since 2005.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[bash script to check if a process instance is running]]></title>
<link>http://bkpavan.wordpress.com/?p=96</link>
<pubDate>Wed, 09 Jul 2008 00:05:06 +0000</pubDate>
<dc:creator>Pavan</dc:creator>
<guid>http://bkpavan.wordpress.com/?p=96</guid>
<description><![CDATA[#! /bin/bash
if [ $# -ne 2 ]
then
&nbsp;&nbsp;echo &#8220;$0 process_name instances_count&#8221;
]]></description>
<content:encoded><![CDATA[<p><code>#! /bin/bash<br />
if [ $# -ne 2 ]<br />
then<br />
&#160;&#160;echo "$0 process_name instances_count"<br />
&#160;&#160;exit 1<br />
fi<br />
<br><br />
function count_match {<br />
&#160;&#160;echo Count Match  #Your code goes here<br />
}<br />
<br><br />
function count_mismatch {<br />
&#160;&#160;echo Count Mismatch  #Your code goes here<br />
}<br />
<br><br />
process=$1<br />
exp_count=$2<br />
<br><br />
run_count=`ps eax &#124; grep ${process} &#124; grep -v grep &#124; wc -l`<br />
<br><br />
if [ ${exp_count} -eq ${run_count} ]<br />
then<br />
&#160;&#160;count_match<br />
else<br />
&#160;&#160;count_mismatch<br />
fi </code></p>
<p>Please note "grep -v grep" is not be required for cygwin, but even if you retain it, it doesn't alter the behavior.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Include Cygwin in your PowerShell Environment (Vista)]]></title>
<link>http://danpixley.wordpress.com/?p=28</link>
<pubDate>Mon, 07 Jul 2008 00:19:06 +0000</pubDate>
<dc:creator>dantheman13</dc:creator>
<guid>http://danpixley.wordpress.com/?p=28</guid>
<description><![CDATA[Want to include your Cygwin environment in your Windows PowerShell on Vista?
Step 1.

Open PowerShel]]></description>
<content:encoded><![CDATA[<p>Want to include your Cygwin environment in your Windows PowerShell on Vista?</p>
<p><b>Step 1.</b></p>
<p>
Open PowerShell.  Run:
<pre>set-executionpolicy RemoteSigned</pre>
</p>
<p><b>Step 2.</b></p>
<p>Create a directory in your user profile:
<pre>mkdir c:\users\(profile)\Documents\WindowsPowerShell</pre>
</p>
<p><b>Step 3.</b></p>
<p>Navigate to the above created directory, and create a new file called "Microsoft.Powershell_profile.ps1"</p>
<p><b>Step 4.</b></p>
<p>Edit the file in Notepad:
<pre>$env:path=$env:path+";C:\cygwin\bin"</pre>
<p><b>Step 5.</b></p>
<p>Include any other paths if necessary, or include other scripts and add-ons as needed.  Relaunch PowerShell and varify the changes.  Trying running
<pre>c:\cygwin\cygwin.bat</pre>
<p>or more simply
<pre>bash</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Code::Blocks]]></title>
<link>http://enconstruction.wordpress.com/?p=7</link>
<pubDate>Fri, 27 Jun 2008 13:45:27 +0000</pubDate>
<dc:creator>grumot</dc:creator>
<guid>http://enconstruction.wordpress.com/?p=7</guid>
<description><![CDATA[La mission du jour : installer Code::Blocks sur un PC sous windows (Win2k pour moi). Le but est d]]></description>
<content:encoded><![CDATA[<p>La mission du jour : installer <strong>Code::Blocks</strong> sur un PC sous windows (Win2k pour moi). Le but est d'utiliser <strong>WxWidgets</strong>.</p>
<p>Voici une procédure simple <span style="text-decoration:line-through;">qui marche</span> qui ne marche pas encore. Les versions concernées sont celles qui sont téléchargeables à la date d'aujourd'hui (27 juin 2008)</p>
<ul>
<li>Installer Code::Blocks, version incluant MinGW, dans un répertoire sans espace, par exemple c:\tools</li>
<li>On va avoir : Code::Blocks dans le répertoire C:\tools\CodeBlocks ; MinGW sera dans le répertoire C:\tools\CodeBlocks\MinGW</li>
<li>Installer MSYS dans C:\tools également par exemple. En profiter pour installer MSYSDTK (au même endroit), ça peut servir aussi. Spécifier le bon répertoire de MinGW quand il sera demandé.</li>
<li>Lancer la procédure décrite dans "docs\msw\install.txt" du répertoire WxWidgets :<br />
<blockquote><p>cd $WXWIN<br />
mkdir build-debug<br />
cd build-debug<br />
../configure --with-msw --enable-debug --enable-debug_gdb --disable-shared<br />
make<br />
make install</p></blockquote>
</li>
<li>Configurer correctement votre projet WxWidget Code::Blocks (pour les paths). <span style="text-decoration:line-through;">Et ça marche.</span> Pour moi ça ne marche pas. Il doit y avoir un pépin quelque part.</li>
<li>2e essai : on ouvre le wiki de C::B et on tombe sur la page <a href="http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.8.6_to_develop_Code::Blocks_%28MSW%29">Compiling wxWidgets 2.8.6 to develop Code::Blocks</a> et là tout s'arrange.<br />
<blockquote><p>cd $WXWIN<br />
cd build\msw<br />
mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release clean<br />
mingw32-make -f makefile.gcc  MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release</p></blockquote>
<p>Il semblerait que ces options de compilation soient les seules supportées par C::B</li>
<li>Configurer correctement votre projet WxWidget Code::Blocks (pour les paths). <span style="text-decoration:line-through;">Et ça marche.</span> Bullshit. Non, ça ne marche toujours pas. Bon, il doit y avoir une ruse quelque part. Je ne vois pas la grosse dll d'ailleurs...</li>
</ul>
<p><em>Petite remarque en passant, je connaissais Cygwin qui est assez efficace comme console type Linux sous Windows, mais finalement, MSYS est très bien aussi et un petit peu plus esthétique. Je ne suis pas sûr qu'elle ait autant de fonctionalités que Cygwin (entre autres concernant X) mais sinon, ça n'a vraiment pas l'air mal.</em></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[tidy xml]]></title>
<link>http://evadnoob.wordpress.com/?p=22</link>
<pubDate>Tue, 24 Jun 2008 23:23:38 +0000</pubDate>
<dc:creator>evadnoob</dc:creator>
<guid>http://evadnoob.wordpress.com/?p=22</guid>
<description><![CDATA[I found myself needing a simple way to format some xml.  The xml I had was all shoved onto one line]]></description>
<content:encoded><![CDATA[<p>I found myself needing a simple way to format some xml.  The xml I had was all shoved onto one line which is pretty impossible to read.</p>
<p>I thought, nxml-mode should be able to do this, but checking the function names provided with nxml didn'tyield anything useful as far as I could tell.  So I thought tidy should be able to do this.</p>
<p>For example, given this input xml, from a maven pom.xml where I purposefully de-formatted the xml:</p>
<p>[sourcecode language="xml"]</p>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent><groupId>dmb</groupId><artifactId>dev</artifactId><version>{dev.version}</version></parent><modelVersion>4.0.0</modelVersion><groupId>dmb</groupId><artifactId>misc</artifactId></p>
<packaging>jar</packaging><name>miscellaneous</name><url>http://maven.apache.org</url><dependencies><dependency><groupId>org.jboss.cache</groupId><artifactId>jbosscache-core</artifactId><version>2.1.0.CR4</version></dependency><dependency><groupId>joda-time</groupId><artifactId>joda-time</artifactId><version>1.5.2</version></dependency><dependency><groupId>org.springframework</groupId><artifactId>spring-core</artifactId><version>{spring.version}</version></dependency><dependency><groupId>org.springframework</groupId><artifactId>spring-context</artifactId><version>{spring.version}</version></dependency><dependency><groupId>org.springframework</groupId><artifactId>spring-jdbc</artifactId><version>{spring.version}</version></dependency><dependency><groupId>commons-cli</groupId><artifactId>commons-cli</artifactId><version>1.1</version></dependency><dependency><groupId>google.com</groupId><artifactId>collections</artifactId><version>20071022</version><scope>compile</scope></dependency><dependency><groupId>org.apache.lucene</groupId><artifactId>lucene-core</artifactId><version>2.0.0</version></dependency><dependency><groupId>com.sleepycat</groupId><artifactId>je</artifactId><version>3.3.62</version></dependency></dependencies><build></p>
<plugins>
<plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-shade-plugin</artifactId><executions><execution></p>
<phase>package</phase><goals><goal>shade</goal></goals><configuration><artifactSet><excludes><exclude>classworlds:classworlds</exclude><exclude>junit:junit</exclude><exclude>jmock:jmock</exclude><exclude>xml-apis:xml-apis</exclude><exclude>javax.jms:jms</exclude><exclude>org.testng:testng</exclude></excludes></artifactSet></p>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer"/></transformers></configuration></execution></executions></plugin>
<plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-jar-plugin</artifactId><configuration><archive><manifestEntries><mainClass>dmb.Main</mainClass></manifestEntries></archive></configuration></plugin></plugins></build></p>
<profiles>
<profile><id>unit-test</id><activation><activeByDefault>false</activeByDefault></activation><build></p>
<plugins>
<plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-surefire-plugin</artifactId><version>2.4</version><configuration><systemProperties><systemProperty><name>base.directory</name><value>xbasedir</value></systemProperty></systemProperties><useFile>false</useFile></p>
<trimStackTrace>false</trimStackTrace><useSystemClassLoader>true</useSystemClassLoader><groups>unit</groups></configuration></plugin></plugins></build></profile>
<profile><id>system-test</id><activation><activeByDefault>false</activeByDefault></activation><build></p>
<plugins>
<plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-surefire-plugin</artifactId><version>2.4</version><configuration><skip>false</skip><systemProperties><systemProperty><name>base.directory</name><value>xbasedir</value></systemProperty></systemProperties><useFile>false</useFile></p>
<trimStackTrace>false</trimStackTrace><useSystemClassLoader>true</useSystemClassLoader><groups>system</groups></configuration></plugin></plugins></build></profile>
<profile><id>default-tests</id><activation><activeByDefault>true</activeByDefault></activation><build></p>
<plugins>
<plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-surefire-plugin</artifactId><version>2.4</version><configuration><skip>false</skip><systemProperties><systemProperty><name>base.directory</name><value>xbasedir</value></systemProperty></systemProperties><useFile>false</useFile></p>
<trimStackTrace>false</trimStackTrace><useSystemClassLoader>true</useSystemClassLoader></configuration></plugin></plugins></build></profile></profiles><repositories><repository><id>repository.jboss.org</id><url>http://repository.jboss.org/maven2</url></repository><repository><id>snapshots.jboss.org</id><url>http://snapshots.jboss.org/maven2</url></repository><repository><id>java.net</id><url>http://download.java.net/maven/1</url><layout>legacy</layout></repository><repository><releases><enabled>true</enabled><updatePolicy>always</updatePolicy><checksumPolicy>warn</checksumPolicy></releases><snapshots><enabled>true</enabled><updatePolicy>never</updatePolicy><checksumPolicy>fail</checksumPolicy></snapshots><id>oracleReleases</id><name>Oracle Released Java Packages</name><url>http://download.oracle.com/maven</url><layout>default</layout></repository></repositories></p>
<properties><spring.version>2.5.1</spring.version></properties></project>
<p>[/sourcecode]</p>
<p>I ran tidy like this:</p>
<p>[sourcecode language="xml"]</p>
<p>$ tidy -q -i -xml << EOF<br />
</repositories></p>
<properties><spring.version>2.5.1</spring.version></properties></project>
> EOF</p>
<project xmlns="http://maven.apache.org/POM/4.0.0"<br />
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<br />
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>dmb</groupId><br />
<artifactId>dev</artifactId><br />
<version>{dev.version}</version>
</parent>
<modelVersion>4.0.0</modelVersion><br />
<groupId>dmb</groupId><br />
<artifactId>misc</artifactId></p>
<packaging>jar</packaging>
<name>miscellaneous</name><br />
<url>http://maven.apache.org</url><br />
<dependencies><br />
<dependency><br />
<groupId>org.jboss.cache</groupId><br />
<artifactId>jbosscache-core</artifactId><br />
<version>2.1.0.CR4</version><br />
</dependency><br />
<dependency><br />
<groupId>joda-time</groupId><br />
<artifactId>joda-time</artifactId><br />
<version>1.5.2</version><br />
</dependency><br />
<dependency><br />
<groupId>org.springframework</groupId><br />
<artifactId>spring-core</artifactId><br />
<version>{spring.version}</version><br />
</dependency><br />
<dependency><br />
<groupId>org.springframework</groupId><br />
<artifactId>spring-context</artifactId><br />
<version>{spring.version}</version><br />
</dependency><br />
[/sourcecode]</p>
<p><a href="http://picasaweb.google.com/david.boon/MyPictures/photo#5215589573417386898"><img src="http://lh5.ggpht.com/david.boon/SGF_FWnGQ5I/AAAAAAAABIQ/Y5THx8E-XCE/s800/tidyxml.png" /></a></p>
<p>This works even better directly from within emacs by running shell-command-on-region(M-&#124;), tidy -q -i -xml :<br />
<a href="http://picasaweb.google.com/david.boon/MyPictures/photo#5215592341745609266"><img src="http://lh5.ggpht.com/david.boon/SGGBmfb-qjI/AAAAAAAABIo/mO1mh3UGILc/s800/tidy-shell-command-on-region.png" /></a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[generating MS-DOS 8.3 short names list]]></title>
<link>http://navascues.wordpress.com/?p=34</link>
<pubDate>Wed, 28 May 2008 10:40:05 +0000</pubDate>
<dc:creator>navascues</dc:creator>
<guid>http://navascues.wordpress.com/?p=34</guid>
<description><![CDATA[Damn, I hope nobody needs to stress an app by accessing files thru 8.3 filenames. But I did so I fou]]></description>
<content:encoded><![CDATA[<p>Damn, I hope nobody needs to stress an app by accessing files thru <a href="http://en.wikipedia.org/wiki/8.3_filename">8.3 filenames</a>. But I did so I found myself generating a list of files of the whole system in 8.3 format.</p>
<p>Fortunately Cygwin comes to save my ass (one more time)</p>
<p><strong>find /cygdrive/c &#124; cygpath.exe --absolute --dos --file - &#124; gawk '{ print "\"" $1 "\"" }' &#62; list.txt</strong></p>
<p>Eeeecs, these names were, are (and will be?) ugly and annonying.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Counting source lines from command line with Cygwin]]></title>
<link>http://navascues.wordpress.com/?p=32</link>
<pubDate>Mon, 26 May 2008 11:33:20 +0000</pubDate>
<dc:creator>navascues</dc:creator>
<guid>http://navascues.wordpress.com/?p=32</guid>
<description><![CDATA[Very easy answer to very obvious question.
If . is the source dir and we are talking about C we have]]></description>
<content:encoded><![CDATA[<p>Very easy answer to very obvious question.</p>
<p>If . is the source dir and we are talking about C we have...</p>
<p><strong>find . -name "*.[c&#124;h]" &#124; xargs cat &#124; wc -l</strong></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[X Forwarding Using Cygwin]]></title>
<link>http://codedomain.wordpress.com/?p=3</link>
<pubDate>Fri, 23 May 2008 15:26:21 +0000</pubDate>
<dc:creator>anwar</dc:creator>
<guid>http://codedomain.wordpress.com/?p=3</guid>
<description><![CDATA[Say that we want to access the GUI of remote linux machine from local Windows XP/Vista machine, usin]]></description>
<content:encoded><![CDATA[<p>Say that we want to access the GUI of remote linux machine from local Windows XP/Vista machine, using Cygwin in local machine will make it possible. Provided Cygwin is installed with X11 module.</p>
<p><strong>In Cygwin :</strong></p>
<p>1) $<em>startx (X window will appear)<br />
</em></p>
<p><strong>In X window</strong></p>
<p>1) $<em>ssh -X user@ipname</em></p>
<p>2) $gnome-panel</p>
<p>Then the remote linux machine top and bottom panel will appear.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Bash con i shortcut di vim :)]]></title>
<link>http://newmainframe.wordpress.com/?p=50</link>
<pubDate>Sun, 04 May 2008 20:09:56 +0000</pubDate>
<dc:creator>mikybased</dc:creator>
<guid>http://newmainframe.wordpress.com/?p=50</guid>
<description><![CDATA[Di tempo, dopo il post che rappresentava la mia indecisione riguardo all&#8217;editor da utilizzare,]]></description>
<content:encoded><![CDATA[<p>Di tempo, dopo il post che rappresentava la mia indecisione riguardo all'editor da utilizzare, ne è passato, e come vi suggerisce il titolo del post ho scelto vim.</p>
<p>Diciamo che sono arrivato al punto di fare un <em>"esc+dd"</em> dal <span style="text-decoration:line-through;"> rotolo di carta igenica</span> notepad di win :D</p>
<p>Ma ritorniamo a noi, dopo che ci si abitua a vim/vi diventa seccante non poter usare tutti i vari shortcut, o mentre si scrive, o nella shell :) (e perchè no, nella realLife)</p>
<p>Perciò, dopo alcune ricerche, (ahimè senza l'utilizzo della parola shortcut) ho trovato vari documenti interessanti riguardante esattamente quello che volevo fare io: Implementare i comandi di vim nella shell.</p>
<p>Il passo per avere ciò è semplicissimo, modificate il vostro <em>.bashrc</em> aggiungendo:</p>
<p><tt>set -o vi</tt></p>
<p>enjoy.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Postgresql x Mysql: a diferença que faz uma estratégia correta]]></title>
<link>http://blpsilva.wordpress.com/?p=169</link>
<pubDate>Wed, 30 Apr 2008 12:00:18 +0000</pubDate>
<dc:creator>blpsilva</dc:creator>
<guid>http://blpsilva.wordpress.com/?p=169</guid>
<description><![CDATA[Atenção, este blog foi migrado para: http://brunopereira.org
Ontem fui no Tech Talk de MySql aqui ]]></description>
<content:encoded><![CDATA[<p><strong>Atenção, este blog foi migrado para: <a href="http://brunopereira.org" target="_self">http://brunopereira.org</a></strong></p>
<p>Ontem fui no Tech Talk de <a href="http://www.mysql.com" target="_blank">MySql</a> aqui na <a href="http://www.globo.com" target="_blank">Globo.com</a>, que me trouxe algumas idéias interessantes e também fomentou algumas discussões. Não vou falar muito sobre o tech talk especificamente, mas sobre uma discussão paralela.</p>
<p>Algumas pessoas sabem da minha preferência pelo <a href="http://www.postgresql.org" target="_blank">Postgres</a> sobre o MySql. Durante a apresentação ontem o Rafael me perguntou porque tanta gente utiliza o MySql e nem tanta gente usa o Postgres. Ele me perguntou isso porque usa o Postgres em alguns projetos e não viu vantagens em utilizar o MySql em vez do Postgres.</p>
<p>Bom, a resposta pra isso na minha opinião vem da diferença de estratégia. Banco por banco, sou mais o Postgres, embora eu considere que em boa parte dos casos, <a href="http://blpsilva.wordpress.com/2008/03/17/bancos-de-dados-ja-sao-commodities/" target="_blank">qualquer banco atende aos requisitos</a>. Mas porque então o MySql ganhou bem mais adoção do que o Postgres?</p>
<p>Na minha opinião, o fator principal que levou a isso é que o MySql já há muito tempo oferece instalador nativo para o Windows. O MySql foi lançado em 1996 e começou com suporte apenas a Linux, mas <a href="http://lists.mysql.com/community/245" target="_blank">desde 1998 permite instalação nativa no Windows</a>. O Postgres <a href="http://www.postgresql.org/about/history" target="_blank">começou como um projeto acadêmico em 1986</a>, mas em 1996 se tornou um projeto open source com participação da comunidade de software livre. Podemos ver que nesta vertente atual de desenvolvimento, ambos estão disponíveis desde 1996. Enquanto o MySql suporta nativamente o Windows desde 1998, no Postgres isso só foi ocorrer em Janeiro de 2005, com o lançamento da versão 8.0. Anteriormente o Postgres só podia ser instalado no Windows com uso do <a href="http://www.cygwin.com/" target="_blank">Cygwin</a>, que está longe de ser algo prático.</p>
<p>Considerando os recursos que ambos os bancos ofereceram ao longo de sua história, não restam dúvidas de que o Postgres é historicamente superior tecnicamente, e na minha opinião continua sendo. Entretanto, com a enorme quantidade de desenvolvedores que só utilizavam Windows (what a shame!), o fato de poder rodar o banco de dados na mesma máquina de desenvolvimento tornou o MySql muito mais conveniente para quem precisava de um banco de dados gratuito para suas aplicações.</p>
<p>Quando o Postgres lançou a versão 8.0 em Janeiro de 2005, muitos desenvolvedores já utilizavam o MySql há anos, e com isso sua adoção já estava bem grande. Neste ponto podemos ver claramente a diferença que fez uma estratégia correta. O fato de ser limitado tecnicamente em comparação com o Postgres não impactou o sucesso do MySql, porque durante muitos anos ele foi simplesmente muito mais conveniente para o desenvolvedor.</p>
<p>Atualmente, só vejo chances do Postgres aumentar seu sucesso se for comprado por alguma grande empresa e colocado em uma pilha de produtos interessante. Eu gosto muito do banco, e nos meus projetos pessoais ele é minha opção default. Entretanto, temo que ele nunca saia da sua abrangência atual, pelos erros na estratégia. É uma pena, devido à qualidade do projeto. Mas é muito difícil qualquer mérito técnico sobreviver a uma estratégia perdedora.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[registerimage 1.0.1!]]></title>
<link>http://fripp.wordpress.com/?p=144</link>
<pubDate>Sun, 27 Apr 2008 10:34:05 +0000</pubDate>
<dc:creator>fripp</dc:creator>
<guid>http://fripp.wordpress.com/?p=144</guid>
<description><![CDATA[Ho corretto qualche piccolo bug della prima versione del mio software di registrazione di immagini v]]></description>
<content:encoded><![CDATA[<p>Ho corretto qualche piccolo bug della prima versione del mio software di registrazione di immagini virtuali VirtualBox.</p>
<p>A causa di una mia disattenzione, la versione 1.0 prendeva in input 3 argomenti; mi sono ricordato dopo che il terzo argomento poteva esser ricavato automaticamente, senza alcuna interazione con l'utente (che può sempre sbagliare).<br />
Potete scaricare adesso la versione 1.0.1 di <em>registerimage </em>.</p>
<p>I parametri da riga di comando (ho intenzione di scrivere un'interfaccia grafica al più presto) sono:</p>
<ol>
<li>File .xml dell'immagine virtuale che volete aggiungere alla vostra VirtualBox;</li>
<li>File VirtualBox.xml che trovate nella cartella di installazione di VirtualBox;</li>
</ol>
<p>Cliccando <a href="http://www.mediafire.com/?sharekey=07a6fc3509746b717069484bded33bcdbf8e1d8e77f3353b" target="_blank"><span style="text-decoration:line-through;">qui</span></a> potrete scaricare sia i sorgenti che i binari per Windows.</p>
<h4 style="text-align:justify;">Non scaricate questa versione. Scaricate l'ultima versione (la 1.0.3) <a href="http://www.mediafire.com/?sharekey=07a6fc3509746b717069484bded33bcdbf8e1d8e77f3353b" target="_blank">qui</a></h4>
<p>Per qualsiasi problema, non esitate a contattarmi!</p>
<p>PS: naturalmente per usare il mio programma, dovrete scaricare qualcuna delle nostre <a href="http://virtualbox.wordpress.com" target="_self">immagini</a>!!!</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[gitk Not Finding Repos on Cygwin]]></title>
<link>http://kofno.wordpress.com/?p=856</link>
<pubDate>Sat, 26 Apr 2008 16:50:06 +0000</pubDate>
<dc:creator>kofno</dc:creator>
<guid>http://kofno.wordpress.com/?p=856</guid>
<description><![CDATA[I&#8217;m using git on cygwin. For a while, gitk was not able to find any of
my git repos. Everythin]]></description>
<content:encoded><![CDATA[<p>I'm using git on cygwin. For a while, gitk was not able to find any of<br />
my git repos. Everything else was working, so it wasn't a deal<br />
breaker, but it was really annoying. I finally fixed it by removing<br />
tty from the CYGWIN environment variable.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA["Masyadong mabilis ang mga pangyayari" + "I feel bobo"]]></title>
<link>http://2008summer.wordpress.com/?p=89</link>
<pubDate>Wed, 23 Apr 2008 01:32:25 +0000</pubDate>
<dc:creator>raym0end</dc:creator>
<guid>http://2008summer.wordpress.com/?p=89</guid>
<description><![CDATA[Tuesday morning was really stressful, and the long lines and heavy traffic did not help at all (I gu]]></description>
<content:encoded><![CDATA[<p>Tuesday morning was really stressful, and the long lines and heavy traffic did not help at all (I guess I should have left our house the same time as my sister did). Instead of being the first one to arrive at the office (like what happens everyday), I came in second-to-the-last, just a few steps ahead of Denise...</p>
<p><!--more--></p>
<p>We still encountered the same issues as the day before regarding the Friendster API. Fortunately, we understood the problem more as we kept editing codes and checking the results. If I am to explain our problem, it would be something like this (weird comparison coming up):</p>
<p><em>Friendster gives out two people for free to anyone who would like to develop applications. Establishing verbal communication between these two people, who are supposedly from the same country and speak the same language, are crucial in our project because it serves as the foundation. Without it, we wouldn't really be able to continue. However, due to unknown reasons, they actually aren't from the same country, much less speak the same language. It's like one is Filipino and the other is Spanish (they could probably understand each other at first because of the same origin of their language, but along the way, some things get lost in translation and communication is not established).</em></p>
<p>There were moments when I thought that I found the solution, but when I did the appropriate modifications, I realized that I was wrong. Dru and I have one final thing to check that we think would solve the problem. However, unlike our previous tries, we now required the help of Stratpoint's server. Sir Roqs helped us again by showing us the steps that we need to do to set-up the files we need on Stratpoint's server. Again, he did things kind of fast and it became difficult to follow. After his explanations, we went back to our workstations and tried to retrace the steps, starting with the installation (from the internet) of Cygwin and the required packages (which took quite a while... like, i don't know, at least 2 hours). After just a few minutes, we were summoned (summoned?) to the conference room, along with all the other Stratpoint employees, by Maam Luz. Apparently, Dr. Paco Sandejas, one of Stratpoint's managing partners, was present, and he was going to give a speech, a talk, something.</p>
<p><a href="http://2008summer.files.wordpress.com/2008/04/p_sandejas.jpg"><img class="alignnone size-medium wp-image-92" src="http://2008summer.wordpress.com/files/2008/04/p_sandejas.jpg?w=108" alt="Papa Paco, haha" width="108" height="160" /></a></p>
<p>Instead of reading to us the slides he prepared, he decided to give a summary of his life story, from when he was a little kid, to his experiences as a graduate student. He wanted to encourage us listeners to pursue a degree after our undergraduate studies because, according to him, it "matures one's brain" which, again is according to him, is more important than 1.0 grades and medals and awards. I admit that it was inspiring ang thought-provoking, but...</p>
<p>(by the way, the talk was an hour and a half long, it's kind of difficult to remember all the details)</p>
<p>When I got back to my workstation, the Cygwin setup still wasn't finished. Unfortunately, there wasn't enough time left because we were going home soon. Since I arrived at 9, I got out at 6 (for the first time) with Arvin, David and Denise (also for the first time). The way home was still stressful, and the long lines and the heavy traffic still did not help.</p>
<p>P.S.<br />
If our final attempt still doesn't work, I think we're in trouble...</p>
<p><a title="Cygwin" href="http://www.cygwin.com/" target="_self">http://www.narravc.com/<br />
<span class="a">http://www.cygwin.com/</span></a></p>
<p>- Raymond</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[registerimage 1.0 for Windows]]></title>
<link>http://virtualbox.wordpress.com/?p=56</link>
<pubDate>Mon, 21 Apr 2008 22:52:27 +0000</pubDate>
<dc:creator>fripp</dc:creator>
<guid>http://virtualbox.wordpress.com/?p=56</guid>
<description><![CDATA[You can download it here
Don&#8217;t download this version. Please, download the latest software ver]]></description>
<content:encoded><![CDATA[<p>You can download it <span style="text-decoration:line-through;"><a href="http://www.mediafire.com/?twdyz4j49dd" target="_blank">here</a></span></p>
<h4 style="text-align:justify;">Don't download this version. Please, download the latest software version <a href="http://www.mediafire.com/?sharekey=07a6fc3509746b717069484bded33bcdbf8e1d8e77f3353b" target="_blank">here</a></h4>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Kolejny powód aby, korzystać z narzędzi Unix'ów]]></title>
<link>http://soltys.wordpress.com/?p=206</link>
<pubDate>Fri, 11 Apr 2008 21:27:51 +0000</pubDate>
<dc:creator>soltys</dc:creator>
<guid>http://soltys.wordpress.com/?p=206</guid>
<description><![CDATA[Jak nie korzystając z Linuksa mogę nawoływać do korzystania narzędzi
dla Uniksów. Otóż dzię]]></description>
<content:encoded><![CDATA[<p>Jak nie korzystając z Linuksa mogę nawoływać do korzystania narzędzi<br />
dla Uniksów. Otóż dzięki Cygwin staje się to możliwe. Cygwin pozwala<br />
na zainstalowanie popularnych narzędzi które spotykamy w<br />
Linuksach. Korzystam najczęściej z grepa, seda oraz Perla. Dalej<br />
znajdziesz przykład jak je wykorzystałem.</p>
<p>Owe narzędzia przyszły mi z pomocą gdy potrzebowałem ściągnąć obrazki<br />
z serwera http. </p>
<h3>Przypadek 1</h3>
<p>Nazwy obrazków wyglądały mniej więcej tak: nazwa_pliku(numer).gif<br />
Numery były z zakresu 1 do 57.<br />
Skorzystałem z jednolinijkowego polecenia w Perlu.<br />
<code>perl -e "for(1..57){system(\"wget domena.com/obrazki/nazwa_pliku\$_\")}"</code></p>
<p>Wykorzystując pętle for która za każdym cyklem umieszcza w zmiennej<br />
domyślnej "$_" kolejny numer.</p>
<h3>Przypadek 2</h3>
<p>Ten sam serwer a inne nazewnictwo plików uniemożliwiło mi skorzystanie<br />
z poprzedniego sposobu. Trzeba inaczej.</p>
<p>Ściągnąłem źródła HTML'a korzystając z wget'a. Po przez filtrację<br />
grepem zostały mi same znaczniki img. Sed'em usunąłem wszystko poza<br />
wnętrzem src="..." później znów Perl.</p>
<p><code>perl -e -n "system (\"wget domena.com/\$_\")" plik.txt</code></p>
<p>Gdzie w 'plik.txt' znajduje się źródła HTML'a po przeróbce.</p>
]]></content:encoded>
</item>

</channel>
</rss>
