<?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>pamiętnik programisty &#187; Inne</title>
	<atom:link href="http://piotr.doniec.eu/devlog/category/inne/feed/" rel="self" type="application/rss+xml" />
	<link>http://piotr.doniec.eu/devlog</link>
	<description></description>
	<lastBuildDate>Wed, 28 Dec 2011 23:52:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>GMail as relayhost in Postfix &#8211; without certs</title>
		<link>http://piotr.doniec.eu/devlog/2011/12/gmail-as-realyhost-in-postfix-without-certs/</link>
		<comments>http://piotr.doniec.eu/devlog/2011/12/gmail-as-realyhost-in-postfix-without-certs/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 23:23:04 +0000</pubDate>
		<dc:creator>pejotr</dc:creator>
				<category><![CDATA[Inne]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VoIP]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[problem-rozwiazanie]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://piotr.doniec.eu/devlog/?p=643</guid>
		<description><![CDATA[There are many articles describing how to setup GMail as a relayhost in Postfix mail server. Most of them involve creating local CA certificate and generation of client certificate. There is absolutely no need to! Just think, how GMail would be able to validate your own certificate created by your own CA available only on [...]]]></description>
			<content:encoded><![CDATA[<p>There are many articles describing how to setup GMail as a relayhost in Postfix mail server. Most of them involve creating local CA certificate and generation of client certificate. There is absolutely no need to! Just think, how GMail would be able to validate your own certificate created by your own CA available only on your local drive? What would be a purpose?</p>
<p>To make Postfix work with GMail you just need to add these lines to main.cf:<br />
<code><br />
relayhost = [smtp.gmail.com]:587</p>
<p># SASL<br />
smtp_sasl_auth_enable=yes<br />
smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd</p>
<p># TLS<br />
smtp_use_tls = yes<br />
smtp_tls_CAfile=/etc/pki/tls/cert.pem  # CentOS path<br />
smtp_tls_loglevel=2<br />
smtp_sasl_tls_security_options = noanonymous<br />
tls_random_source = dev:/dev/urandom<br />
</code></p>
<p>And put just one line in sasl_passwd<br />
<code><br />
[smtp.gmail.com]:587  username@gmail.com:password<br />
</code></p>
<p>After issuing following commands a connection between GMail and Postfix should work fine. You can test it using <code>mail</code> or <code>sendmail</code> program:<br />
<code><br />
$ postmap hash:/etc/postfix/sasl_passwd<br />
$ /etc/init.d/postfix restart<br />
$ mail test@example.com<br />
Subject: Test main<br />
Test message<br />
.<br />
Cc:<br />
</code></p>
<p>You should have something like this in your /var/log/maillog file:<br />
<code><br />
Dec 29 00:49:48 localhost postfix/smtp[5942]: setting up TLS connection to smtp.gmail.com<br />
Dec 29 00:49:48 localhost postfix/smtp[5942]: certificate verification depth=2 subject=/C=US/O=Equifax/OU=Equifax Secure Certificate Authority<br />
<strong>Dec 29 00:49:48 localhost postfix/smtp[5942]: verify return: 1</strong><br />
Dec 29 00:49:48 localhost postfix/smtp[5942]: certificate verification depth=1 subject=/C=US/O=Google Inc/CN=Google Internet Authority<br />
<strong>Dec 29 00:49:48 localhost postfix/smtp[5942]: verify return: 1</strong><br />
Dec 29 00:49:48 localhost postfix/smtp[5942]: certificate verification depth=0 subject=/C=US/ST=California/L=Mountain View/O=Google Inc/CN=smtp.gmail.com<br />
<strong>Dec 29 00:49:48 localhost postfix/smtp[5942]: verify return: 1</strong><br />
Dec 29 00:49:48 localhost postfix/smtp[5942]: SSL_connect:SSLv3 read server certificate A<br />
Dec 29 00:49:48 localhost postfix/smtp[5942]: SSL_connect:error in SSLv3 read server key exchange A<br />
Dec 29 00:49:48 localhost postfix/smtp[5942]: SSL_connect:error in SSLv3 read server key exchange A<br />
Dec 29 00:49:48 localhost postfix/smtp[5942]: SSL_connect:SSLv3 read server done A<br />
Dec 29 00:49:48 localhost postfix/smtp[5942]: SSL_connect:SSLv3 write client key exchange A<br />
Dec 29 00:49:48 localhost postfix/smtp[5942]: SSL_connect:SSLv3 write change cipher spec A<br />
Dec 29 00:49:48 localhost postfix/smtp[5942]: SSL_connect:SSLv3 write finished A<br />
Dec 29 00:49:48 localhost postfix/smtp[5942]: SSL_connect:SSLv3 flush data<br />
Dec 29 00:49:48 localhost postfix/smtp[5942]: SSL_connect:error in SSLv3 read finished A<br />
Dec 29 00:49:48 localhost last message repeated 3 times<br />
Dec 29 00:49:48 localhost postfix/smtp[5942]: SSL_connect:SSLv3 read finished A<br />
<strong>Dec 29 00:49:48 localhost postfix/smtp[5942]: Verified: subject_CN=smtp.gmail.com, issuer=Google Internet Authority</strong><br />
<strong>Dec 29 00:49:48 localhost postfix/smtp[5942]: TLS connection established to smtp.gmail.com: TLSv1 with cipher RC4-SHA (128/128 bits)</strong><br />
Dec 29 00:49:50 localhost postfix/smtp[5942]: 955CE3D48A06: to=
<piotr@example.com>, relay=smtp.gmail.com[74.125.79.108]:587, delay=2.2, delays=0.12/0.03/0.9/1.2, dsn=2.0.0, status=sent (250 2.0.0 OK 1325116190 t59sm126911139eeh.10)<br />
Dec 29 00:49:50 localhost postfix/qmgr[5923]: 955CE3D48A06: removed<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://piotr.doniec.eu/devlog/2011/12/gmail-as-realyhost-in-postfix-without-certs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>git cherry-pick is awesome</title>
		<link>http://piotr.doniec.eu/devlog/2011/11/git-cherry-pick-is-awesome/</link>
		<comments>http://piotr.doniec.eu/devlog/2011/11/git-cherry-pick-is-awesome/#comments</comments>
		<pubDate>Sun, 06 Nov 2011 12:51:44 +0000</pubDate>
		<dc:creator>pejotr</dc:creator>
				<category><![CDATA[Inne]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programowanie]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[problem-rozwiazanie]]></category>
		<category><![CDATA[problem-solution]]></category>
		<category><![CDATA[useful]]></category>

		<guid isPermaLink="false">http://piotr.doniec.eu/devlog/?p=634</guid>
		<description><![CDATA[Today I used git cherry-pick command for the first time, and I am really impressed. In my current project I&#8217;ve few branches, just for fixing/delopment. There are also a few common files like documentation, TODO &#8211; simple text files. Sometimes I came up with a genius idea and I want to put it in TODO [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_635" class="wp-caption alignleft" style="width: 202px"><a href="http://piotr.doniec.eu/devlog/wp-content/uploads/2011/11/git-logo.png"><img class="size-medium wp-image-635  " title="git-logo" src="http://piotr.doniec.eu/devlog/wp-content/uploads/2011/11/git-logo-300x74.png" alt="git cherry-pick logo" width="192" height="47" /></a><p class="wp-caption-text">GIT</p></div>
<p>Today I used git cherry-pick command for the first time, and I am really impressed. In my current project I&#8217;ve few branches, just for fixing/delopment. There are also a few common files like documentation, TODO &#8211; simple text files. Sometimes I came up with a genius idea and I want to put it in TODO file just not to forget. The problem is that I can&#8217;t guarantee that I will be working on <code>'master'</code> branch at that time. Using <code>cherry-pick</code> I was able to update &#8216;master&#8217; branch just with this one commit from other branch.<br />
One might say that instead of using <code>cherry-pick</code>I could first switch to &#8216;master&#8217; and made a change. But this have to be done immediatly, while cherry-picking can be deferred in time:</p>
<pre class="brush: cpp">
$ git checkout master
$ git cherry-pick -x aac5f43
</pre>
<p>where &#8222;aac5f43&#8243; is a part of commit SHA1 that should be picked. Commits information can be retrived using <code>git log</code> command.</p>
]]></content:encoded>
			<wfw:commentRss>http://piotr.doniec.eu/devlog/2011/11/git-cherry-pick-is-awesome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tag icons in AwesomeWM</title>
		<link>http://piotr.doniec.eu/devlog/2011/11/tag-icons-in-awesomewm/</link>
		<comments>http://piotr.doniec.eu/devlog/2011/11/tag-icons-in-awesomewm/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 23:31:19 +0000</pubDate>
		<dc:creator>pejotr</dc:creator>
				<category><![CDATA[Inne]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://piotr.doniec.eu/devlog/?p=623</guid>
		<description><![CDATA[AwesomeWM is so called &#8222;tiling window manager&#8221;. It aranges windows using certain policy. Usually windows are organized in a such way that none of them overlapped another one. Most of the commands can be invoked directly from keybord, there is no need to use a mouse at all. Screen is organized into tags, on each [...]]]></description>
			<content:encoded><![CDATA[<p>AwesomeWM is so called &#8222;tiling window manager&#8221;. It aranges windows using certain policy. Usually windows are organized in a such way that none of them overlapped another one. Most of the commands can be invoked directly from keybord, there is no need to use a mouse at all. Screen is organized into tags, on each tag there can be diffrent set of windows, and this tag can have a small graphicall icon. It took me some time to figure out how to use a graphical image instead of font with embedded icons, but it is possible with just a single line of script per tag added to section where tags are created:</p>
<pre class="brush: cpp">
-- {{{ Tags
-- Define a tag table which hold all screen tags.
tags = {}
for s = 1, screen.count() do
    -- Each screen has its own tag table.
    tags[s] = awful.tag({ &quot;WEB&quot;, &quot;MAIL/IM&quot;, &quot;TERM&quot;, &quot;DEV&quot;, &quot;NOTES&quot;, &quot;WORK&quot;, 7, 8, 9 }, s, layouts[1])

    awful.tag.seticon(&quot;/home/pejotr/awesomeicons/INTERNET_16x16-32_b.png&quot;, tags[s][1])
    awful.tag.seticon(&quot;/home/pejotr/awesomeicons/CHAT_16x16-32_b.png&quot;, tags[s][2])
    awful.tag.seticon(&quot;/home/pejotr/awesomeicons/SHELL_16x16_b.png&quot;, tags[s][3])
    awful.tag.seticon(&quot;/home/pejotr/awesomeicons/BUG_16x16_b.png&quot;, tags[s][4])
    awful.tag.seticon(&quot;/home/pejotr/awesomeicons/ADDRESSBOOK_16x16-32_b.png&quot;, tags[s][5])
    awful.tag.seticon(&quot;/home/pejotr/awesomeicons/TOOLS_16x16-32_b.png&quot;, tags[s][6])
end
-- }}}
</pre>
<p>And the result is:<br />
<a href="http://piotr.doniec.eu/devlog/wp-content/uploads/2011/11/awesome_icons.jpg"><img src="http://piotr.doniec.eu/devlog/wp-content/uploads/2011/11/awesome_icons.jpg" alt="" title="awesome_icons" width="424" height="26" class="aligncenter size-full wp-image-632" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://piotr.doniec.eu/devlog/2011/11/tag-icons-in-awesomewm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to migrate from Mambo 4.5.1 to Joomla 1.6</title>
		<link>http://piotr.doniec.eu/devlog/2011/03/how-to-migrate-from-mambo-4-5-1-to-joomla-1-6/</link>
		<comments>http://piotr.doniec.eu/devlog/2011/03/how-to-migrate-from-mambo-4-5-1-to-joomla-1-6/#comments</comments>
		<pubDate>Sat, 26 Mar 2011 22:39:33 +0000</pubDate>
		<dc:creator>pejotr</dc:creator>
				<category><![CDATA[Inne]]></category>
		<category><![CDATA[Programowanie]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[tricky]]></category>

		<guid isPermaLink="false">http://piotr.doniec.eu/devlog/?p=584</guid>
		<description><![CDATA[My task was to migrate database from Mambo 4.5.1 to newest Joomla version which is now 1.6. I didn&#8217;t have to migrate any additional components data, just core functionality. At first I thought I will be an easy task, but then a few difficulties showed. Below I provide step which took me to happy end. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://piotr.doniec.eu/devlog/wp-content/uploads/2011/03/joomla-logo.png"><img class="alignleft size-medium wp-image-604" title="joomla-logo" src="http://piotr.doniec.eu/devlog/wp-content/uploads/2011/03/joomla-logo-300x205.png" alt="" width="210" height="144" /></a>My task was to migrate database from Mambo 4.5.1 to newest Joomla version which is now 1.6. I didn&#8217;t have to migrate any additional components data, just core functionality. At first I thought I will be an easy task, but then a few difficulties showed. Below I provide step which took me to happy end.<br />
<span id="more-584"></span></p>
<ol>
<li><strong>1. Copy database tables and Mambo code from remote server to local system</strong>. I used WAMP to do all migration. By doing that the site was still online, while I was doing some research. If for some reason you don&#8217;t have access to phpMyAdmin or any other database client, use <a href="http://sidu.sourceforge.net/sidu/">SIDU 3.2 DB Web GUI</a></li>
<li><strong>2. Convert SQL file to UTF8 encoding.</strong>You can do this using i.e. Notepad++ &#8211; use Convert to UTF8 (without BOM).<br />
Also change tables encoding to UTF8. This operation will cause problems with &#8216;ocp_core_acl_aro&#8217; table <code>"#1071, Specified key was too long; max key length is 1000 bytes"</code>. Rewrite it as below
<pre class="brush: sql">
CREATE TABLE `ocp_core_acl_aro` (
`aro_id` int(11) NOT NULL auto_increment,
`section_value` varchar(240) NOT NULL default &#039;0&#039;,
`value` varchar(240) NOT NULL default &#039;&#039;,
`order_value` int(11) NOT NULL default &#039;0&#039;,
`name` varchar(255) NOT NULL default &#039;&#039;,
`hidden` int(11) NOT NULL default &#039;0&#039;,
PRIMARY KEY  (`aro_id`),
UNIQUE KEY `ocp_gacl_section_value_value_aro` (`section_value`(100),`value`(75)),
UNIQUE KEY `section_value_value_aro` (`section_value`(100),`value`(75)),
KEY `hidden_aro` (`hidden`),
KEY `ocp_gacl_hidden_aro` (`hidden`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8
</pre>
</li>
<li><strong>3. Migrate to Mambo 4.5.2</strong> Create local database for Mambo 4.5.2 and use utf8_general_ci for connection and comparison.  Download and extract Mambo 4.5.2 to webserver directory. Change db settings in configuration.php and apply sql script upgrade451to452.sql from installation\sql direcotry</li>
<li><strong>4. Install Joomla 1.5 but do not load sample data</strong></li>
<li><strong>5. Install mtwmigrator for Joomla 1.5</strong> You can download it here <a href="http://www.matware.com.ar/downloads/joomla/mtwmigrator/mtwmigrator-v0-2-1.html">mtwmigrator-v0-2-1</a>. Run component and go to Preference. Set db name, location, login and password. Select data you want to migrate and launch migration process. After this step you should have all data from Joomla 1.0 availbale in new installation on Joomla 1.5</li>
<li><strong>6. Migrate to Joomla 1.6 using jUpgrade. </strong>You can download it here <a href="http://www.matware.com.ar/downloads/joomla/jupgrade.html">jUpgrade</a>. All you have to do is to install it within Joomla 1.5 and start. If some problem occurs try enabling Debuging in jUpgrade</li>
<p>Now, you should have new installation of Joomla 1.6 created for you and available in jUpgrade dir in Joomla 1.5 directory. New tables were created in same database as Joomla 1.5, so depending on needs, final step might be to dump those tables and move to new, dedicated location.</ol>
]]></content:encoded>
			<wfw:commentRss>http://piotr.doniec.eu/devlog/2011/03/how-to-migrate-from-mambo-4-5-1-to-joomla-1-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ustawienie sieci wewnętrznej VirtualBox</title>
		<link>http://piotr.doniec.eu/devlog/2010/11/ustawienie-sieci-wewnetrznej-virtualbox/</link>
		<comments>http://piotr.doniec.eu/devlog/2010/11/ustawienie-sieci-wewnetrznej-virtualbox/#comments</comments>
		<pubDate>Tue, 16 Nov 2010 22:18:17 +0000</pubDate>
		<dc:creator>pejotr</dc:creator>
				<category><![CDATA[Inne]]></category>
		<category><![CDATA[common error]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[virtual]]></category>
		<category><![CDATA[wirtualność]]></category>

		<guid isPermaLink="false">http://piotr.doniec.eu/devlog/?p=556</guid>
		<description><![CDATA[Korzystając z okazji że pozbywam się Oracle VirtualBox na rzecz VM Player&#8217;a wrzucam stworzony przeze mnie dawno dawno filmik pokazujący w jaki sposób stworzyć sieć wewnętrzną w VirtualBox wraz z automatycznym przydzielaniem adresów. Przedstawiona przykładzie systemu Windows XP i QNX. Enjoy. www.youtube.com/watch?v=iDzcELJisHs]]></description>
			<content:encoded><![CDATA[<p>Korzystając z okazji że pozbywam się Oracle VirtualBox na rzecz VM Player&#8217;a wrzucam stworzony przeze mnie dawno dawno filmik pokazujący w jaki sposób stworzyć sieć wewnętrzną w VirtualBox wraz z automatycznym przydzielaniem adresów. Przedstawiona przykładzie systemu Windows XP i QNX. Enjoy.<br />
<center><span class="youtube">
<iframe title="YouTube video player" class="youtube-player" type="text/html" width="480" height="295" src="http://www.youtube.com/embed/iDzcELJisHs?color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;modestbranding=1&amp;loop=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=1&amp;hd=1" frameborder="0" allowfullscreen></iframe>
</span><p><a href="http://www.youtube.com/watch?v=iDzcELJisHs&fmt=18">www.youtube.com/watch?v=iDzcELJisHs</a></p></center></p>
]]></content:encoded>
			<wfw:commentRss>http://piotr.doniec.eu/devlog/2010/11/ustawienie-sieci-wewnetrznej-virtualbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scons &#8211; alternatywa dla Make, Qmake i podobnych</title>
		<link>http://piotr.doniec.eu/devlog/2010/01/scons-alternatywa-dla-make-qmake-i-podobnych/</link>
		<comments>http://piotr.doniec.eu/devlog/2010/01/scons-alternatywa-dla-make-qmake-i-podobnych/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 12:35:20 +0000</pubDate>
		<dc:creator>pejotr</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Inne]]></category>
		<category><![CDATA[Programowanie]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://piotr.doniec.eu/devlog/?p=404</guid>
		<description><![CDATA[Scons jest oprogramowaniem którego zadaniem jest ułatwienie budowania binarnej wersji napisanego kodu. Twórcy zachwalają swoje dzieło jako między platformowe, łatwiejsze w użyciu i szybsze. Bazuje na Pythonie i dlatego postanowiłem się nim trochę zainteresować. Pierwsze próby zakończyłem sukcesem. Co mi się bardzo spodobało to możliwość wyboru kompilatora. Mając do dyspozycji g++ z MinGW oraz Visual [...]]]></description>
			<content:encoded><![CDATA[<p>Scons jest oprogramowaniem którego zadaniem jest ułatwienie budowania binarnej wersji napisanego kodu. Twórcy zachwalają swoje dzieło jako między platformowe, łatwiejsze w użyciu i szybsze. Bazuje na Pythonie i dlatego postanowiłem się nim trochę zainteresować.<br />
Pierwsze próby zakończyłem sukcesem. Co mi się bardzo spodobało to możliwość wyboru kompilatora. Mając do dyspozycji g++ z MinGW oraz Visual C++ Compiler, można zadecydować który z nich ma zostać użyty.<br />
Najprostszy plik z instrukcją zdudowania programu to 1 linia:</p>
<pre class="brush: python">
Program(&#039;main.cpp&#039;)
</pre>
<p>Na Windows domyślnie zostanie wykorzystany (o ile dostępny) kompilator Microsoftu. Jeśli jednak chcemy użyć g++, wystarczy dopisać jeszcze jedną linię:</p>
<pre class="brush: python">
env = Environment(tools = [&#039;mingw&#039;], CC = &#039;gcc&#039;, CCFLAGS = &#039;-O2&#039;)
env.Program(&#039;main.cpp&#039;)
</pre>
<p>Piewsze lody przełamane, kolejne próby będą sprawdzały łatwość dołączania zewnętrzych bibliotek jak boost czy qt.</p>
]]></content:encoded>
			<wfw:commentRss>http://piotr.doniec.eu/devlog/2010/01/scons-alternatywa-dla-make-qmake-i-podobnych/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Style do Notepad++</title>
		<link>http://piotr.doniec.eu/devlog/2009/03/style-do-notepad/</link>
		<comments>http://piotr.doniec.eu/devlog/2009/03/style-do-notepad/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 10:20:09 +0000</pubDate>
		<dc:creator>pejotr</dc:creator>
				<category><![CDATA[Inne]]></category>

		<guid isPermaLink="false">http://piotr.doniec.eu/devlog/?p=106</guid>
		<description><![CDATA[Notepad++ świetnym edytorem jest, to każdy wie. U mnie zagościł już kilka lat temu i jest genialnym zamiennikiem dla Windowsowego Notatnika. Oprócz przeglądania plików w kartach ma też kolorowanie składni dla kilkudziesięciu języków konwersję między typami kodowania znaków oraz bardzo przydatną funkcję usuwania Microsoftowego BOM&#8217;a z plików UTF. Jednak standardowe kolory nie są zbyt oszołamiające, [...]]]></description>
			<content:encoded><![CDATA[<p>Notepad++ świetnym edytorem jest, to każdy wie. U mnie zagościł już kilka lat temu i jest genialnym zamiennikiem dla Windowsowego Notatnika. Oprócz przeglądania plików w kartach ma też kolorowanie składni dla kilkudziesięciu języków konwersję między typami kodowania znaków oraz bardzo przydatną funkcję usuwania Microsoftowego BOM&#8217;a z plików UTF. <span id="more-106"></span><br />
Jednak standardowe kolory nie są zbyt oszołamiające, więc twórcy udostępnili możliwość samodzielnego definiowania styli, co bądź co bądź też jest trochę żmudne i trudne. Na szczęście znaleźli się fani którzy napisali skrypt przerabiający style textmate&#8217;a(Macowy super notatki ) na schemat kolorystyczny Notepad++. Konwerter jest dostępny pod adresem:<a href=" http://framework.lojcomm.com.br/tmTheme2nppStyler/"> http://framework.lojcomm.com.br/tmTheme2nppStyler</a>.<br />
Efekt:<br />
<img src="http://piotr.doniec.eu/devlog/wp-content/uploads/2009/03/notepad1.png" alt="notepad1" title="notepad1" width="778" height="585" class="aligncenter size-full wp-image-110" /></p>
]]></content:encoded>
			<wfw:commentRss>http://piotr.doniec.eu/devlog/2009/03/style-do-notepad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Witaj świecie!</title>
		<link>http://piotr.doniec.eu/devlog/2009/02/witaj-swiecie/</link>
		<comments>http://piotr.doniec.eu/devlog/2009/02/witaj-swiecie/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 15:00:44 +0000</pubDate>
		<dc:creator>pejotr</dc:creator>
				<category><![CDATA[Inne]]></category>

		<guid isPermaLink="false">http://piotr.doniec.eu/devlog/?p=1</guid>
		<description><![CDATA[Jak każdy &#8222;rasowy&#8221; programista na nowym polu boju zaczyna od &#8222;Hello World&#8221; tak i i ja rozpoczynając tego bloga korzystam z tej fundamentalnej sentencji. Mimo że jest to tylko ( albo aż ) bardziej sensowna kontynuacja poprzedniego pamiętnika to ja w swoim przekonaniu zaczynam przygodę od nowa. Kilka doświadczeń zostało z poprzedniej edycji obym uniknął [...]]]></description>
			<content:encoded><![CDATA[<p>Jak każdy &#8222;rasowy&#8221; programista na nowym polu boju zaczyna od &#8222;Hello World&#8221; tak i i ja rozpoczynając tego bloga korzystam z tej fundamentalnej sentencji. Mimo że jest to tylko ( albo aż ) bardziej sensowna kontynuacja poprzedniego pamiętnika to ja w swoim przekonaniu zaczynam przygodę od nowa. Kilka doświadczeń zostało z poprzedniej edycji obym uniknął podobnych błędów tutaj i oby w jakiś sposób udało mi się zachęcić internatów do wypowiadania się na temat moich wpisów.<span id="more-1"></span></p>
<p>Postanowiłem skupić się tylko i wyłącznie na Java&#8217;ie ( j2se, j2ee, raczej nie j2me ), C++, na Windowsie 2008 bo nadarzyła się okazja poadministrowania takim systemem oraz na moich skromnych osiągnięciach w zakresie elektroniki &#8211; ogólnie rzecz ujmując wszystkim czym będę się zajmował. Różnice w stosunku do poprzedniego bloga? Wpisy bardziej do rzeczy, więcej szczegółów, więcej sensu, więcej treści, i multimediów.</p>
<p>Kolorowanie kodu powinno działać:</p>
<pre class="brush: java">
class PolskiAlfabetMorsea extends JFrame {
  public static void main(String[] args) {
    System.out.println(&quot;Witaj świecie&quot;);
  }
}
</pre>
<pre class="brush: cpp">
#include &lt;iostream&gt;
#include &lt;fstream&gt;

class XmlTokenizer
{
public:
  void tokenize(const std::ifstream&amp;amp;amp;amp;amp;amp; strumien);
};
</pre>
<p>Kilka najsensowniejszych wpisów z poprzedniego bloga zapewne odpowiednio obrobię aby spełniały moje nowe kryteria i tu umieszczę. Dla zainteresowanych, stara wersja jest cały czas dostępna pod adresem:  www.piotr.doniec.eu/blog/</p>
<p>Test eg-attachments:<br />
<div class="attachments"><h4>eg-attachments plugin</h4><dl class="attachments attachments-large"><dt class="icon"><a title="eg-attachments120" href="?aid=88&amp;sa=1" ><img src="http://piotr.doniec.eu/devlog/wp-content/plugins/eg-attachments/img/flags/zip.png" width="48" height="48" alt="eg-attachments120" /></a></dt><dd class="caption"><strong>Title</strong> : <a title="eg-attachments120" href="?aid=88&amp;sa=1" >eg-attachments120</a><br /><strong>Caption</strong> : <br /><strong>File name</strong> : eg-attachments120.zip<br /><strong>Size</strong> : 339 kB</dd></dl></div></p>
]]></content:encoded>
			<wfw:commentRss>http://piotr.doniec.eu/devlog/2009/02/witaj-swiecie/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

