<?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>Blog.Project13.pl &#187; hack</title>
	<atom:link href="http://www.blog.project13.pl/index.php/tag/hack/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blog.project13.pl</link>
	<description>The Blog of a Coder</description>
	<lastBuildDate>Sun, 05 Feb 2012 02:28:52 +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>git-hacking: pre-commit hook and custom command</title>
		<link>http://www.blog.project13.pl/index.php/fun/1076/git-hacking-pre-commit-hook-and-custom-command/</link>
		<comments>http://www.blog.project13.pl/index.php/fun/1076/git-hacking-pre-commit-hook-and-custom-command/#comments</comments>
		<pubDate>Sun, 21 Nov 2010 02:07:39 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[terminal heroes]]></category>
		<category><![CDATA[#eclipse]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[intellij]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[SCM]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[xsolve]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=1076</guid>
		<description><![CDATA[As my team is using a kinda weird source eclipse code formatter setup, that other IDEs can&#8217;t emulate in 100% I sometimes found myself committing in a file with only a few changed spaces. Of course, I could use &#8220;external-formatter&#8221; plugins etc but that&#8217;s no good. Running eclipse&#8217;s formatter each time I want to format [...]]]></description>
			<content:encoded><![CDATA[<p>As my team is using a kinda weird source eclipse code formatter setup, that other IDEs can&#8217;t emulate in 100% I sometimes found myself committing in a file with only a few changed spaces. Of course, I could use &#8220;external-formatter&#8221; plugins etc but that&#8217;s no good. Running eclipse&#8217;s formatter each time I want to format my source (_very_ often) proved to be too slow and really getting on my nerves.</p>
<p>So&#8230; Since I&#8217;ve started using <strong>git</strong>-svn at work, I do have an possibility to make things better now! The answer lies in client-side-<strong>hooks</strong> and <strong>git aliases</strong> (&#8220;custom commands&#8221;). First let&#8217;s write this as an simple bash script, that we&#8217;ll locate in the <strong>.git/hooks/</strong> folder:<br />
<script src="https://gist.github.com/708972.js?file=gistfile1.sh"></script> It&#8217;s a fairly simple script, so I wont bore you explaining it in detail &#8211; if in doubt, feel free to ask. We only need to place this script as &#8220;<strong>.git/hooks/pre-commit</strong>&#8221; and make it executable and git will take care of the rest for us. Oh and in case you&#8217;re wondering where that <strong>org.eclipse.jdt.core.prefs</strong> came from. It&#8217;s created by eclipse into the .settings folder when you check some option to &#8220;use formatter per project&#8221; &#8211; that&#8217;s the only time I had to fire up and click around in eclipse to get it&#8217;s formatter running &#8220;headless&#8221;. Ok, let&#8217;s check if it works&#8230; <script src="https://gist.github.com/708982.js?file=gistfile1.java"></script><br />
<script src="https://gist.github.com/708976.js?file=gistfile1.sh"></script> <script src="https://gist.github.com/708981.js?file=gistfile1.java"></script><br />
Yup, you can agree or not with the formatting rules &#8211; but what matters is that the whole team decided on it and that we keep it consistent throughout the whole project. This hook will definitely help with this. :-)  Step two for me was changing this into a git command, so that I wouldn&#8217;t launch eclipse each time I just do some quick local commiting. The solution is to drop the hook idea (although it&#8217;s quite nice) and create an custom git command. We do this by doing an alias like that:</p>
<pre>git config --global alias.eclipse-formatter '!~/git-hook-eclipse-formatter'</pre>
<p>The <strong>!command </strong>alias<strong> </strong>support is with us in git since 1.5.0 and it enables us to launch any program/script as an git command. Great, just what I wanted! Let&#8217;s now see what this command really did:</p>
<p><script src="https://gist.github.com/708977.js?file=gistfile1.sh"></script><br />
As you can see, adding an alias is as simple as adding it to your<strong> ~/.gitconfig</strong> or, if you want to setup the alias &#8220;per project&#8221;, to <strong>.git/config</strong> &#8211; pretty cool, ay? Also, this command will be included in bash-autocompletition suggestions! :-)</p>
<p>That&#8217;s it for today&#8230; <em>happy hacking!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/fun/1076/git-hacking-pre-commit-hook-and-custom-command/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Git@JavaCamp: fix-1: When does git &#8220;see&#8221; an rename explicitly?</title>
		<link>http://www.blog.project13.pl/index.php/fun/1069/gitjavacamp-fix-1-when-does-git-see-an-rename-explicitly/</link>
		<comments>http://www.blog.project13.pl/index.php/fun/1069/gitjavacamp-fix-1-when-does-git-see-an-rename-explicitly/#comments</comments>
		<pubDate>Sun, 07 Nov 2010 01:37:56 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[git add]]></category>
		<category><![CDATA[git move]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[move]]></category>
		<category><![CDATA[mv]]></category>
		<category><![CDATA[pitfall]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=1069</guid>
		<description><![CDATA[Yup, it&#8217;s time for two follow ups to problems we encountered during my life examples. Why didn&#8217;t git see our &#8220;rename&#8221; as rename? Although yes it is true just as I said during the presentation that &#8220;git mv is just an alias&#8221; I&#8217;ve forgotten about that it&#8217;s an little bit bigger alias: git mv oldname [...]]]></description>
			<content:encoded><![CDATA[<p>Yup, it&#8217;s time for two follow ups to problems we encountered during my life examples. Why didn&#8217;t git see our &#8220;rename&#8221; as rename? Although yes it is true just as I said during the presentation that &#8220;git mv is just an alias&#8221; I&#8217;ve forgotten about that it&#8217;s an little bit bigger alias:</p>
<pre><code>
git mv oldname newname
        =
mv oldname newname
git add newname
git rm oldname</code></pre>
<p>Note that last line, git rm oldname is what we fotgot to do in our example, thus git was seeing an just the &#8220;new file&#8221; version of our operation. One line wrong, yet very important :-) Let&#8217;s check if it works this way:</p>
<p><code>[ktoso@homunculus test]$ ls<br />
jeden  typescript<br />
[ktoso@homunculus test]$ git init .<br />
Reinitialized existing Git repository in /home/ktoso/test/.git/<br />
[ktoso@homunculus test]$ cat jeden<br />
drugi pliczek<br />
[ktoso@homunculus test]$ echo 'dwadwa' &gt; dwa<br />
[ktoso@homunculus test]$ cat dwa<br />
dwadwa<br />
[ktoso@homunculus test]$ git add .<br />
[ktoso@homunculus test]$ git commit -m 'dodanie ich'<br />
[master (root-commit) a430782] dodanie ich<br />
2 files changed, 2 insertions(+), 0 deletions(-)<br />
create mode 100644 dwa<br />
create mode 100644 jeden<br />
create mode 100644 typescript<br />
[ktoso@homunculus test]$ git mv<br />
dwa         .git/       jeden       typescript<br />
[ktoso@homunculus test]$ <strong>git mv jeden nowy-jeden</strong><br />
[ktoso@homunculus test]$ git status<br />
# On branch master<br />
# Changes to be committed:<br />
#   (use "git reset HEAD &lt;file&gt;..." to unstage)<br />
#<br />
<strong>#       renamed:    jeden -&gt; nowy-jeden</strong><br />
#<br />
[ktoso@homunculus test]$ mv<br />
dwa         .git/       nowy-jeden  typescript<br />
[ktoso@homunculus test]$ <strong>mv dwa nowe-dwa</strong><br />
[ktoso@homunculus test]$ <strong>git add nowe-dwa</strong><br />
[ktoso@homunculus test]$ <strong>git rm dwa</strong><br />
rm 'dwa'<br />
[ktoso@homunculus test]$ git status<br />
# On branch master<br />
# Changes to be committed:<br />
#   (use "git reset HEAD &lt;file&gt;..." to unstage)<br />
#<br />
#       <strong>renamed:    dwa -&gt; nowe-dwa</strong><br />
#       renamed:    jeden -&gt; nowy-jeden<br />
#<br />
[ktoso@homunculus test]$ echo "problem Solved... :-)"<br />
</code>problem Solved&#8230; :-)</p>
<p>Yup, it actually detects the renames proppery. Even more, it would detect an &#8220;copy&#8221; action (this works even easier):</p>
<p><code>[ktoso@homunculus test]$ <strong>cp nowy-jeden nowy-jeden-jeden</strong><br />
[ktoso@homunculus test]$ <strong>git add .</strong><br />
[ktoso@homunculus test]$ git status<br />
# On branch master<br />
# Changes to be committed:<br />
#   (use "git reset HEAD &lt;file&gt;..." to unstage)<br />
#<br />
#       renamed:    dwa -&gt; nowe-dwa<br />
#       <strong>copied:     jeden -&gt; nowy-jeden</strong><br />
#       renamed:    jeden -&gt; nowy-jeden-jeden<br />
#       modified:   typescript<br />
#</code></p>
<p>I&#8217;m already converting all the presentations to MP4 files and they&#8217;ll be online soon I hope :-) Then I&#8217;ll also write an usual &#8220;review&#8221; as I always do with any confernce/meering. For now just a quick summary: An amazing attandee count, nice presentations and an very very nice crowd :-) Thanks a lot for all the talks, but let&#8217;s wair for my &#8220;review&#8221; with more informations about JC5&#8230; :-) (Oh, yes we&#8217;re allready planing JC6&#8230; ;-))</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/fun/1069/gitjavacamp-fix-1-when-does-git-see-an-rename-explicitly/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>GitHub Diff in Gmail</title>
		<link>http://www.blog.project13.pl/index.php/fun/724/github-diff-in-gmail/</link>
		<comments>http://www.blog.project13.pl/index.php/fun/724/github-diff-in-gmail/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 14:32:14 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[webdeveloper]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=724</guid>
		<description><![CDATA[Hi there, below is the (horribly trashy and chaotic &#8211; as it was hacked up in about 2/3 hours) source for my Google Gmail Contextual Gadget. It extends Gmail by parsing all links passed in an email, and if an github commit link is found it displays the diff for this commit. With coloring etc [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://github.com/ktoso/GitHubDiff/raw/master/screenshot.png" onclick="urchinTracker('/outgoing/github.com/ktoso/GitHubDiff/raw/master/screenshot.png?referer=');"><img class="aligncenter" title="github diff in gmail" src="http://github.com/ktoso/GitHubDiff/raw/master/screenshot.png" alt="" width="500" /></a></p>
<p style="text-align: left;">Hi there, below is the (horribly trashy and chaotic &#8211; as it was hacked up<strong> in about 2/3 hours</strong>) source for my <em>Google Gmail Contextual Gadget</em>.</p>
<p>It<strong> extends Gmail </strong>by <em>parsing all links passed in an email, and if an github commit link is found it displays the diff for this commit.</em> <strong>With coloring</strong> etc &#8211; just as github would. It&#8217;s really fairly easy to get this kind of things going, and if your working with Google Apps (using gmail in your domain etc) you can use this, and many more gadgets (though I didn&#8217;t find much of them really useful &#8211; that&#8217;s why I&#8217;ve written this one).</p>
<p>The source can be downloaded, and fixed (which I hopefuly will have time to do! As it&#8217;s a mess, let&#8217;s say, &#8220;proof of concept&#8221;): <a href="http://github.com/ktoso/GitHubDiff" onclick="urchinTracker('/outgoing/github.com/ktoso/GitHubDiff?referer=');">http://github.com/ktoso/GitHubDiff</a> (It&#8217;s on the <strong>MIT license</strong>).</p>
<p><span class="youtube">
<object width="425" height="355">
<param name="movie" value="http://www.youtube.com/v/bJIhKxNDNKg&amp;color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0?rel=1" />
<param name="allowFullScreen" value="true" />
<embed wmode="transparent" src="http://www.youtube.com/v/bJIhKxNDNKg&amp;color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0?rel=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="355"></embed>
<param name="wmode" value="transparent" />
</object>
</span><p><a href="http://www.youtube.com/watch?v=bJIhKxNDNKg" onclick="urchinTracker('/outgoing/www.youtube.com/watch?v=bJIhKxNDNKg&amp;referer=');"><img src="http://img.youtube.com/vi/bJIhKxNDNKg/default.jpg" width="130" height="97" border=0></a></p></p>
<p>Read the full story to see instalation instructions as well as documentation links&#8230;<br />
<span id="more-724"></span></p>
<p><strong>HOW TO INSTALL:</strong><br />
It can be installed by your own into gmail, if you&#8217;re running on Google Apps -just by creating an new Application on the Market and then adding it to your Account. If you&#8217;d like me to polish and publish this to the Google Enterprise Market &#8211; you&#8217;d have to fund me the publish fee, 100$&#8230; ;-)</p>
<p><strong>DOCUMENTATION:</strong><br />
Contextual Gadgets: <a href="http://code.google.com/apis/gmail/gadgets/contextual/" onclick="urchinTracker('/outgoing/code.google.com/apis/gmail/gadgets/contextual/?referer=');">http://code.google.com/apis/gmail/gadgets/contextual/</a></p>
<p>jQuery &#8211; getJSON: <a href="http://api.jquery.com/jQuery.getJSON/" onclick="urchinTracker('/outgoing/api.jquery.com/jQuery.getJSON/?referer=');">http://api.jquery.com/jQuery.getJSON/</a><br />
GitHub API &#8211; <a href="http://develop.github.com/p/commits.html" onclick="urchinTracker('/outgoing/develop.github.com/p/commits.html?referer=');">http://develop.github.com/p/commits.html</a></p>
<p><strong>LICENSE:</strong><br />
The source is MIT licensed, feel free to use it as a base for your own projects etc. It&#8217;s nothing particularly well written etc ;-)</p>
<p>Enjoy<strong> github</strong> in your <strong>gmail</strong> &#8211; two amazing webapps in one&#8230; :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/fun/724/github-diff-in-gmail/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>MySQLIntegra: dbfiller &amp; wiki</title>
		<link>http://www.blog.project13.pl/index.php/null/401/mysqlintegra-dbfiller-wiki/</link>
		<comments>http://www.blog.project13.pl/index.php/null/401/mysqlintegra-dbfiller-wiki/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 23:06:21 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[null]]></category>
		<category><![CDATA[agh]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[gnu/linux]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[jmeter]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mariadb]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=401</guid>
		<description><![CDATA[I passed all my exams at my first attempt and should have now some time to relax, right? Well something like that, I&#8217;m actually doing quite a lot these days. We&#8217;re on the roll with MySQL Integra. Our server &#8220;Kopiec&#8221; is somewhat online (running CentOS off course) &#8211; we&#8217;re able to start/stop if thanks to [...]]]></description>
			<content:encoded><![CDATA[<p>I passed all my exams at my first attempt and should have now some time to relax, right? Well something like that, I&#8217;m actually doing quite a lot these days. We&#8217;re on the roll with MySQL Integra.</p>
<p>Our server &#8220;<strong>Kopiec</strong>&#8221; is somewhat online (running <strong>CentOS</strong> off course) &#8211; we&#8217;re able to start/stop if thanks to a tool that&#8217;s called &#8220;remote insight&#8221;, and I&#8217;ve put 3 databases on there. <strong>MariaDB</strong>, <strong>InfiniDB</strong> and a clean <strong>MySQL</strong> instalation. We&#8217;re somewhat having problems with <strong>TokuDB</strong>, but that&#8217;s going to be our 4th database of interest. If you want to keep track of our test&#8217;s you can take a look at: <a href="http://mysqlintegra.project13.pl/" onclick="urchinTracker('/outgoing/mysqlintegra.project13.pl/?referer=');">http://mysqlintegra.project13.pl/</a>.</p>
<p>The first step in getting things tested is filling those db&#8217;s with some data, and I mean a LOT of data. So we hacked up a <em>more or less quick and dirty</em> <strong>python</strong> script called <strong>dbfiller</strong> (<a href="http://github.com/barthez/mysql.integra.dbfiller" onclick="urchinTracker('/outgoing/github.com/barthez/mysql.integra.dbfiller?referer=');"><strong>source code </strong>avaiable on github</a>) that would simulate a very simple table generation scheme (people working on shifts and checking in when they&#8217;re finished or start some activity). If you&#8217;re interested, our task is specyfied in the /doc/Opis.pdf file (sorry, only in polish). After a few days it&#8217;s up and running and we&#8217;re moving on to filling up those databases with some gigabytes of data.</p>
<p>Next we&#8217;re going to write some SQL Views/Procedures and then we&#8217;ll use <a href="http://mysqlintegra.project13.pl/index.php/Apache_JMeter" onclick="urchinTracker('/outgoing/mysqlintegra.project13.pl/index.php/Apache_JMeter?referer=');">Apache<strong> JMeter</strong></a> to run some<strong> performance</strong> benchmarks of some interesting <strong>data storage engines</strong>.</p>
<p>PS: If you&#8217;re wondering about my GWT-Crossword project &#8211; yeah, it&#8217;s still actual, and I&#8217;ll get right on it when done with some of the stuff here.<br />
PPS: Yes, an Linux powered phone AT LAST in my hands! The HTC HERO is comming to me really soon &#8211; never again shall I use a ShitOS like WindowsMobile 6.5.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/null/401/mysqlintegra-dbfiller-wiki/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(Almost) Automatically convert files into PDF</title>
		<link>http://www.blog.project13.pl/index.php/fun/285/almost-automatically-convert-files-into-pdf/</link>
		<comments>http://www.blog.project13.pl/index.php/fun/285/almost-automatically-convert-files-into-pdf/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 00:56:55 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[terminal heroes]]></category>
		<category><![CDATA[cool]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[gnu/linux]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[trick]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=285</guid>
		<description><![CDATA[I&#8217;m learning Numerical Analysis right now and a friend of mine found some really nice PS files by dr Marian Bubek ( http://www.icsr.agh.edu.pl/~mownit/mownit.html ). I was really happy to see some *.ps but some people from my fellow students started complaining that they&#8217;d rather have pdf&#8217;s and not ghostscript files (who knows why they&#8217;d do..?). [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m learning Numerical Analysis right now and a friend of mine found some really nice PS files by dr Marian Bubek ( <a href="http://www.icsr.agh.edu.pl/~mownit/mownit.html" onclick="urchinTracker('/outgoing/www.icsr.agh.edu.pl/_mownit/mownit.html?referer=');">http://www.icsr.agh.edu.pl/~mownit/mownit.html</a> ). I was really happy to see some *.ps but some people from my fellow students started complaining that they&#8217;d rather have pdf&#8217;s and not ghostscript files <em>(who knows why they&#8217;d do..?)</em>. Anyways, they all had &#8220;manual&#8221; repetitious methods for converting the files &#8211; even uploading to somewebsite to have them converted over there &#8220;in the cloud&#8221;&#8230; I though of a slightly quicker and more efficient way, here it is, hope you&#8217;ll like it. Ah, there is One &#8220;non standard&#8221; requirement for this to work, you have to install <strong>cups-pdf</strong> :-)</p>
<div class="geshi no bash">
<div class="head">wget http://www.icsr.agh.edu.pl/~mownit/mownit.html -r &#8211;level 1 -A.ps &#8211;cut-dirs 4</div>
<ol>
<li class="li1">
<div class="de1"><span class="kw2">mv</span> www.icsr.agh.edu.pl<span class="sy0">/*</span> .</div>
</li>
<li class="li1">
<div class="de1"><span class="kw2">rm</span> -rf www.icsr.agh.edu.pl<span class="sy0">/</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">for</span> <span class="kw2">file</span> <span class="kw1">in</span> `<span class="kw2">dir</span> -f <span class="sy0">*</span>` ; <span class="kw1">do</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp;<span class="kw2">lpr</span> -P <span class="st0">&#39;cups-PDF&#39;</span> <span class="re1">$file</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp;<span class="kw3">echo</span> <span class="st0">&quot;press enter when cups is done printing&#8230;&quot;</span> <span class="co0">#yeah, i got lazy here, one could watch lpq for changes etc.</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp;<span class="kw2">read</span> oczekiwanie;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp;<span class="kw2">mv</span> <span class="sy0">/</span>home<span class="sy0">/</span>ktoso<span class="sy0">/</span>Pulpit<span class="sy0">/</span>cups-pdf<span class="sy0">/</span>template.pdf .<span class="sy0">/</span><span class="re1">$file</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">done</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="co0"># ________________ </span></div>
</li>
<li class="li1">
<div class="de1"><span class="co0">#&lt; Happy hacking! &gt;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="co0"># &#8212;&#8212;&#8212;&#8212;&#8212;- </span></div>
</li>
<li class="li1">
<div class="de1"><span class="co0"># &nbsp; &nbsp; &nbsp; &nbsp;\ &nbsp; ^__^</span></div>
</li>
<li class="li1">
<div class="de1"><span class="co0"># &nbsp; &nbsp; &nbsp; &nbsp; \ &nbsp;(oo)\_______</span></div>
</li>
<li class="li1">
<div class="de1"><span class="co0"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(__)\ &nbsp; &nbsp; &nbsp; )\/\</span></div>
</li>
<li class="li1">
<div class="de1"><span class="co0"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;||&#8212;-w |</span></div>
</li>
<li class="li1">
<div class="de1"><span class="co0"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|| &nbsp; &nbsp; ||</span></div>
</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/fun/285/almost-automatically-convert-files-into-pdf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vim Hacking &#8211; 1 &#8211; vis</title>
		<link>http://www.blog.project13.pl/index.php/coding/233/vim-hacking-1-vis/</link>
		<comments>http://www.blog.project13.pl/index.php/coding/233/vim-hacking-1-vis/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 18:33:42 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[terminal heroes]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[gnu/linux]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=233</guid>
		<description><![CDATA[Vim is a really amazing text editor (though I&#8217;d like to learn Emacs too soon&#8230; :-)) and it can be easily expanded to be even more useful. One super cool extension I found is: vis -- it allows powerful sed-like line modification (you could use sed from inside vim, but that&#8217;s not really &#8220;handy&#8221;). Vis [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Vi</strong>m is a really amazing text editor (though I&#8217;d like to learn <strong>Emacs</strong> too soon&#8230; :-)) and it can be easily expanded to be even more useful. One super cool extension I found is: <strong>vis</strong> -- it allows powerful sed-like line modification<em> (you could use sed from inside vim, but that&#8217;s not really &#8220;handy&#8221;)</em>. Vis is a vim plugin, and as such, it has to be installed before use, here is how to do this (asuming you have <strong>vim 7.0+</strong>):<br />
<code>echo 'read some about the plugin at:  http://vim.sourceforge.net/scripts/script.php?script_id=1195'<br />
vim /home/script/location/vis.vba<br />
:source %</code><br />
With this done you can doo stuff like in this video i did:</p>
<p style="text-align:center;"><span class="youtube">
<object width="480" height="360">
<param name="movie" value="http://www.youtube.com/v/MzxEt9sK5eM&amp;color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0?rel=1&amp;hd=1" />
<param name="allowFullScreen" value="true" />
<embed wmode="transparent" src="http://www.youtube.com/v/MzxEt9sK5eM&amp;color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0?rel=1&amp;hd=1" type="application/x-shockwave-flash" allowfullscreen="true" width="480" height="360"></embed>
<param name="wmode" value="transparent" />
</object>
</span><p><a href="http://www.youtube.com/watch?v=MzxEt9sK5eM&fmt=18" onclick="urchinTracker('/outgoing/www.youtube.com/watch?v=MzxEt9sK5eM_fmt=18&amp;referer=');"><img src="http://img.youtube.com/vi/MzxEt9sK5eM/default.jpg" width="130" height="97" border=0></a></p></p>
<p><a href="http://www.youtube.com/watch?v=MzxEt9sK5eM" onclick="urchinTracker('/outgoing/www.youtube.com/watch?v=MzxEt9sK5eM&amp;referer=');">Watch it on youtube</a> to see useful <strong>annotations</strong>! If your still new to vim you might want to start with simple editing as shown here: <a href="http://www.youtube.com/watch?v=71YTkxUNwmg&amp;NR=1" onclick="urchinTracker('/outgoing/www.youtube.com/watch?v=71YTkxUNwmg_amp_NR=1&amp;referer=');">http://www.youtube.com/watch?v=71YTkxUNwmg&amp;NR=1</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/coding/233/vim-hacking-1-vis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Terminal Heroes &#8211; 6 &#8211; Track X events</title>
		<link>http://www.blog.project13.pl/index.php/fun/236/terminal-heroes-6-track-x-events/</link>
		<comments>http://www.blog.project13.pl/index.php/fun/236/terminal-heroes-6-track-x-events/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 22:53:33 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[terminal heroes]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[command line fu]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[gnu/linux]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=236</guid>
		<description><![CDATA[Another Command Line Fu oneliner I&#8217;ve sumbited today: #show X window events in chosen window $ xev -id `xwininfo &#124; grep &#39;Window id&#39; &#124; awk &#39;{print $4}&#39;` EnterNotify event, serial 13, synthetic NO, window 0&#215;6400053, &#160; &#160; root 0x13c, subw 0x640005b, time 42431610, &#40;367,0&#41;, root:&#40;369,63&#41;, &#160; &#160; mode NotifyNormal, detail NotifyVirtual, same_screen YES, &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>Another Command Line Fu oneliner I&#8217;ve sumbited today:</p>
<div class="geshi no bash">
<div class="head">#show X window events in chosen window</div>
<ol>
<li class="li1">
<div class="de1">$ xev -<span class="kw2">id</span> `xwininfo <span class="sy0">|</span> <span class="kw2">grep</span> <span class="st0">&#39;Window id&#39;</span> <span class="sy0">|</span> <span class="kw2">awk</span> <span class="st0">&#39;{print $4}&#39;</span>`</div>
</li>
<li class="li1">
<div class="de1">EnterNotify event, serial <span class="nu0">13</span>, synthetic NO, window 0&#215;6400053,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; root 0x13c, subw 0x640005b, <span class="kw1">time</span> <span class="nu0">42431610</span>, <span class="br0">&#40;</span><span class="nu0">367</span>,<span class="nu0">0</span><span class="br0">&#41;</span>, root:<span class="br0">&#40;</span><span class="nu0">369</span>,<span class="nu0">63</span><span class="br0">&#41;</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; mode NotifyNormal, detail NotifyVirtual, same_screen YES,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; focus NO, state <span class="nu0">16</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">MotionNotify event, serial <span class="nu0">13</span>, synthetic NO, window 0&#215;6400053,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; root 0x13c, subw 0x640005b, <span class="kw1">time</span> <span class="nu0">42431610</span>, <span class="br0">&#40;</span><span class="nu0">367</span>,<span class="nu0">0</span><span class="br0">&#41;</span>, root:<span class="br0">&#40;</span><span class="nu0">369</span>,<span class="nu0">63</span><span class="br0">&#41;</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; state 0&#215;10, is_hint <span class="nu0">0</span>, same_screen YES</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">MotionNotify event, serial <span class="nu0">13</span>, synthetic NO, window 0&#215;6400053,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; root 0x13c, subw 0x640005b, <span class="kw1">time</span> <span class="nu0">42431618</span>, <span class="br0">&#40;</span><span class="nu0">366</span>,<span class="nu0">0</span><span class="br0">&#41;</span>, root:<span class="br0">&#40;</span><span class="nu0">368</span>,<span class="nu0">63</span><span class="br0">&#41;</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; state 0&#215;10, is_hint <span class="nu0">0</span>, same_screen YES</div>
</li>
</ol>
</div>
<p>After executing this, click on a window you want to track X Window events in. You could &#8220;read&#8221; this command like this: &#8220;<em>xev will track events in the window with the following -id, which we get by greping window information obtained by xwininfo</em>&#8221; :-)</p>
<p>Ok, but why did I need such weird information? Well, I wanted to make a simple video showing vis, a vim plugin etc. But as it is always in vim, keypresses are essential &#8211; so I wanted to &#8220;show what i type&#8221; bigger :-) I&#8217;ll post it really soon btw&#8230; :-)</p>
<p>The command was <a href="http://www.commandlinefu.com/commands/view/3547/track-x-window-events-in-chosen-window#comment" onclick="urchinTracker('/outgoing/www.commandlinefu.com/commands/view/3547/track-x-window-events-in-chosen-window_comment?referer=');">posted on commandlinefu</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/fun/236/terminal-heroes-6-track-x-events/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Terminal Heroes &#8211; 4 &#8211; regexpias lair</title>
		<link>http://www.blog.project13.pl/index.php/fun/176/terminal-heroes-4-regexpias-lair/</link>
		<comments>http://www.blog.project13.pl/index.php/fun/176/terminal-heroes-4-regexpias-lair/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 00:24:11 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[terminal heroes]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[gnu/linux]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=176</guid>
		<description><![CDATA[Let&#8217;s drop a little humor in this time&#8230; You, brave Terminal Hero, shall kill -9 the daemon that has hidden itself in one of those files! We don&#8217;t know in which file you can find it though! We&#8217;re running out of time! The kingdom of GNU will be rm -rf&#8216;d if you won&#8217;t make it [...]]]></description>
			<content:encoded><![CDATA[<p><em>Let&#8217;s drop a little humor in this time&#8230; </em></p>
<p>You, brave <strong>Terminal</strong> Hero, shall <strong>kill -9</strong> the <strong>daemon</strong> that has hidden itself in one of those files! We don&#8217;t know in <strong>which</strong> file you can <strong>find</strong> it though! We&#8217;re running out of <strong>time</strong>! The kingdom of <strong>GNU</strong> will be <strong>rm -rf</strong>&#8216;d if you won&#8217;t <strong>make</strong> it in time!!! Luckily as a <strong>level 99 human root</strong>, have all the <strong>tools</strong> to <strong>find</strong> and ex<strong>term</strong>inate the dragon in no time! So let&#8217;s get <strong>grep</strong>ing.</p>
<div class="geshi no bash">
<div class="head">[ktoso@lairs ~]$ ls</div>
<ol>
<li class="li1">
<div class="de1">lair1 lair2 lair3 &#8230;&#8230;. lair1336</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#91;</span>ktoso<span class="sy0">@</span>lairs ~<span class="br0">&#93;</span>$ <span class="kw2">ls</span> -l <span class="sy0">|</span> <span class="kw2">wc</span> -l</div>
</li>
<li class="li1">
<div class="de1"><span class="nu0">1337</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#91;</span>ktoso<span class="sy0">@</span>lairs ~<span class="br0">&#93;</span>$ <span class="kw2">find</span> . -<span class="kw3">exec</span> <span class="kw2">grep</span> <span class="st0">&quot;Regexpia&quot;</span> <span class="st0">&#39;{}&#39;</span> \; -print</div>
</li>
<li class="li1">
<div class="de1">Regexpia is <span class="kw1">in</span> this <span class="kw2">file</span></div>
</li>
<li class="li1">
<div class="de1">.<span class="sy0">/</span>lair1270</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#91;</span>ktoso<span class="sy0">@</span>lairs ~<span class="br0">&#93;</span>$ kill_dragon_inside lair1270</div>
</li>
</ol>
</div>
<p>Ok, enough joking&#8230;This post is all about this one-liner:<code>find . -exec grep "Onyxia" '{}' \; -print</code><br />
It allows you to search all files (including sub directories) for the ones with the specified string inside them. It proved helpful to me as i had to get one *.php file from a <strong>photorec</strong> recovered bunch of files (some thousands of them&#8230;)&#8230; </p>
<p>Hope you had as much fun reading this as I had posting, and also that it might prove usefull to you. I found this on snipplr by the way, I really recommend this website!</p>
<p><em>PS: The title just sounds too awesome i think&#8230; If you didn&#8217;t get it, it&#8217;s about <a href="http://www.wowwiki.com/Onyxia" target="_blank" onclick="urchinTracker('/outgoing/www.wowwiki.com/Onyxia?referer=');">Onyxia&#8217;s Lair</a> from World of Warcraft :-)<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/fun/176/terminal-heroes-4-regexpias-lair/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Smart webpage migration</title>
		<link>http://www.blog.project13.pl/index.php/coding/163/smart-webpage-mirgating/</link>
		<comments>http://www.blog.project13.pl/index.php/coding/163/smart-webpage-mirgating/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 18:15:15 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[trick]]></category>
		<category><![CDATA[web dev]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=163</guid>
		<description><![CDATA[I recently had to migrate a big website &#8211; about 5GB &#8211; to a new server. That could take a while to do, right? Well, maybe if you did it like that (the not smart way): Thanks goodness I&#8217;m not really keen on doing stuff the slow &#8220;not_smart&#8221; way, and the new server is a [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had to migrate a big website &#8211; about 5GB &#8211; to a new server. That could take a while to do, right? Well, maybe if you did it like that (the not smart way):</p>
<div class="wp-caption aligncenter" style="width: 335px"><img class=" " title="not smart way" src="http://farm3.static.flickr.com/2491/3862842718_76b41e0cf2.jpg" alt="Oh man, that would take sooo much time..." width="325" height="118" /><p class="wp-caption-text">Oh man, that would take sooo much time...</p></div>
<p>Thanks goodness I&#8217;m not really keen on doing stuff the slow &#8220;not_smart&#8221; way, and the new server is a dedicated CentOS machine! :-) So, what did I do?</p>
<div class="wp-caption aligncenter" style="width: 335px"><img class=" " title="the SMART way" src="http://farm3.static.flickr.com/2522/3862839920_37aeabf31a.jpg" alt="Yeah, no time wasted here!" width="325" height="132" /><p class="wp-caption-text">Yeah, no time wasted here!</p></div>
<p>There&#8217;s a lot of ways to accomplish this if you have shell access. You could:</p>
<ol>
<li>
<pre>wget -r --user=login --password='pass' ftp://admin:example.com/folder/</pre>
</li>
<li>
<pre>ncftp #normal ftp should also work the same way
open ftp://example.com
login
pass
mget -r folder</pre>
</li>
<li>Yes, SCP is a great tool for this kind of situation, but i couldn&#8217;t use it since the old server didn&#8217;t have ssh acces :-( Here is how it could be used in such a situation:
<pre>scp -r login@old.example.com:/home/folder login@new.example.com:/home/folder</pre>
</li>
</ol>
<p>I used the second method and am quite satisvied with it, as the servers did all the migrating i set up the database and did some other project related stuff&#8230; :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/coding/163/smart-webpage-mirgating/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Analytics GUI fix</title>
		<link>http://www.blog.project13.pl/index.php/coding/136/google-analytics-gui-fix/</link>
		<comments>http://www.blog.project13.pl/index.php/coding/136/google-analytics-gui-fix/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 03:00:13 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=136</guid>
		<description><![CDATA[I really like the google analytics tool, yet it doesn&#8217;t seem that all it&#8217;s styles where writen carefuly&#8230; Take a look at this: So&#8230; Which button is the confirm one&#8230;? Yup, the colors are screwed up! I guess that&#8217;s becouse they didn&#8217;t think that someone could have a dark OS skin that would also skin [...]]]></description>
			<content:encoded><![CDATA[<p>I really like the google analytics tool, yet it doesn&#8217;t seem that all it&#8217;s styles where writen carefuly&#8230; Take a look at this:<img class="aligncenter size-full wp-image-135" title="broken google anal" src="http://www.blog.project13.pl/wp-content/uploads/2009/08/zrzut_ekranu-3.png" alt="broken google anal" width="198" height="68" /></p>
<p>So&#8230; Which button is the confirm one&#8230;? Yup, <em>the colors are screwed up</em>! I guess that&#8217;s becouse they didn&#8217;t think that someone could have a <strong>dark OS skin</strong> that would also skin the buttons dark. Ah wel&#8230; Thankfully I use <a href="http://www.mozilla-europe.org/pl/firefox/" onclick="urchinTracker('/outgoing/www.mozilla-europe.org/pl/firefox/?referer=');">Firefox 3.5</a> and the <a href="https://addons.mozilla.org/pl/firefox/addon/2108" onclick="urchinTracker('/outgoing/addons.mozilla.org/pl/firefox/addon/2108?referer=');">Stylish</a> extension! Using this extension you can override a websites CSS styles, and that&#8217;s just what i did. The following code can be used to fix all the input button colors:</p>
<div class="geshi no css">
<div class="head">@namespace url(http://www.w3.org/1999/xhtml);</div>
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="co1">@-moz-document url-prefix(&quot;https://www.google.com/analytics&quot;) { /* using url-prefix*/</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp;input<span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; <span class="kw1">color</span><span class="sy0">:</span> <span class="kw2">white</span> !important<span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp;<span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp;select<span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; <span class="kw1">color</span><span class="sy0">:</span> <span class="kw2">white</span> !important<span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp;<span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p>Notice the !important at the end of the color attribute, that&#8217;s what forces this setting to be &#8220;final&#8221;. Let&#8217;s check if the changes fixed our problem&#8230;<img class="aligncenter size-full wp-image-137" title="fixed google anal" src="http://www.blog.project13.pl/wp-content/uploads/2009/08/zrzut_ekranu-4.png" alt="fixed google anal" width="209" height="58" /></p>
<p>Ahh&#8230; much better!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/coding/136/google-analytics-gui-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

