<?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; webmaster</title>
	<atom:link href="http://www.blog.project13.pl/index.php/tag/webmaster/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>def recent = [python, grails, netbeans platform, hibernate, spring, vaadin, google guava]</title>
		<link>http://www.blog.project13.pl/index.php/project13/606/def-recent-python-grails-netbeans-platform-hibernate-spring-vaadin-google-guava/</link>
		<comments>http://www.blog.project13.pl/index.php/project13/606/def-recent-python-grails-netbeans-platform-hibernate-spring-vaadin-google-guava/#comments</comments>
		<pubDate>Sat, 08 May 2010 20:24:15 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Project13]]></category>
		<category><![CDATA[agh]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[google guava]]></category>
		<category><![CDATA[grails]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[netbeans platform]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[spring]]></category>
		<category><![CDATA[vaadin]]></category>
		<category><![CDATA[webmaster]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=606</guid>
		<description><![CDATA[Just an quick summary of what I&#8217;ve been coding lately: http://github.com/barthez/mysql.integra.dbfiller &#8211; an simple Python app that is able to generate SQL code with inserts that we need to fill up our database for load testing. It&#8217;s doing an simple simulation of people checking in and out from various activities at some job and calculates [...]]]></description>
			<content:encoded><![CDATA[<p>Just an quick summary of what I&#8217;ve been coding lately:</p>
<p><a href="http://github.com/barthez/mysql.integra.dbfiller" onclick="urchinTracker('/outgoing/github.com/barthez/mysql.integra.dbfiller?referer=');">http://github.com/barthez/mysql.integra.dbfiller</a> &#8211; an<strong> </strong>simple Python app that is able to generate SQL code with inserts that we need to fill up our database for load testing. It&#8217;s doing an simple simulation of people checking in and out from various activities at some job and calculates when who should cone and do their shift&#8230; My friend Bartek is by far more into python, and has coded most of this app (just check the impact charts ;-)), so much of the kudos for this goes to him.</p>
<p>Noticed an <strong>gigantic hardware problem </strong>our student groups server&#8230; Some didn&#8217;t believe me in the beginning&#8230; This week we went to see how much of the harddrives &#8220;went bye bye&#8221; in real life, as there was nothing that could be done remotely. I&#8217;ve been battling with the read-only / filesystem some evenings before, and concluded that it&#8217;s not just a small hdd failure &#8211; it had to be something BIG&#8230; And boy, BIG it was&#8230; Something between all the drives and the rest of the server seems to have died. My best guess is the SCSI controller&#8230; It&#8217;s not really worth it to replace the parts as the server was very very old, well, let&#8217;s hope we get some (anything) machine to finally run our tests on. <strong><a href="http://www.youtube.com/watch?v=htKY2oD85rs" onclick="urchinTracker('/outgoing/www.youtube.com/watch?v=htKY2oD85rs&amp;referer=');">SCSI Controllers on fire&#8230;</a></strong></p>
<p><a href="http://www.netbeans.edu.pl" onclick="urchinTracker('/outgoing/www.netbeans.edu.pl?referer=');">netbeans.edu.pl</a> &#8211; was written by me in <strong>Grails</strong>. I have yet to release the sources, but will do so for sure &#8211; after I polish them a little, because they&#8217;ve been written under immense time pressure etc. It&#8217;s a quite nice framework, but <strong>obviously it&#8217;s an overkill for such an simple site</strong> as netbeans.edu.pl&#8230; It was quite fun to write <strong>my own taglib for the twitter integration</strong> and also I&#8217;ve also used the<strong> GoogleData API</strong> to serve images directly from Picasa Web Albums&#8230; Of course there are PHP lib&#8217;s that could do this, but it just seemed &#8220;nicer&#8221; to me to write this in Groovy&#8230;</p>
<p>After the NBPTraining me and two friends started developing an simple <a href="http://github.com/ktoso/TravelingSalesman-NBP" onclick="urchinTracker('/outgoing/github.com/ktoso/TravelingSalesman-NBP?referer=');"><strong>Traveling Salesman Visualization</strong> using the <strong>NetBeans Platform</strong> &#8211; solving the problem with<strong> Genetic Algorithms</strong></a>. We&#8217;ve decided to use prefuse for the graph visualization stuff&#8230; Let&#8217;s hope it was a good decision &#8211; of course I know that it&#8217;s not being developed since a long time, and the API isn&#8217;t even Generic, but it looks quite nice and the workflow with grapghs is really neat &#8211; the &#8220;actions&#8221; stuff&#8230; I&#8217;ll be trying to write our own renderer for this program so keep your fingers crossed &#8211; hope it&#8217;s turn out well. Sadly, were presenting an pre-alpha of this program on Wednesday and I won&#8217;t be able to come to the uni as at that time I&#8217;ll be taking the Gradle Training at GeeCON. :-)</p>
<p>Inspired by both <a href="http://koziolekweb.pl/2010/03/28/songs-of-vaadin/" onclick="urchinTracker('/outgoing/koziolekweb.pl/2010/03/28/songs-of-vaadin/?referer=');">koziołek&#8217;</a>s post about <a href="http://vaadin.com/" onclick="urchinTracker('/outgoing/vaadin.com/?referer=');">vaadin</a> + spring and the nice tutorial that <a href="http://darekzon.com/" onclick="urchinTracker('/outgoing/darekzon.com/?referer=');">Darek Zoń has been writing lately</a> I decided to take another look at Vaadin. I&#8217;d describe it best as&#8230; <em>&#8220;GWT that looks and feels good right from the start&#8221;&#8230; ;-)</em> The sources of what might become an simple rss reader app can be found on github: <strong><a href="http://github.com/ktoso/RssR" onclick="urchinTracker('/outgoing/github.com/ktoso/RssR?referer=');">RssR &#8211; vaadin rss reader</a></strong>. I&#8217;ve had some experience with GWT while trying to create an online <a href="http://github.com/ktoso/gwt-crossword" onclick="urchinTracker('/outgoing/github.com/ktoso/gwt-crossword?referer=');">crossword solving</a> system, but I have to admit &#8211; it&#8217;s not really near it&#8217;s final stages&#8230; And I somehow dont have the willpower to go back to it at this moment &#8211; while starting out with it I hoped that I could easily just drop my existing crossword stuff into GWT and add some simple frontend &#8211; turned out that this isn&#8217;t so easy. Ah well. Vaadin on the other side looks much nicer for some &#8220;real, even if generic, webapp&#8221;, so I chose to try implementing an simple rssreader based on it. Loging in and basic hibernate setup (not finished yet) is already in place. Oh, and I&#8217;m also <strong>using maven on this one</strong>. If you&#8217;re interested in it, or are just abour ti start an Vaadin project, <a href="http://github.com/ktoso/RssR" onclick="urchinTracker('/outgoing/github.com/ktoso/RssR?referer=');">check out the sources</a> and maby they&#8217;ll help you out figuring out what all this is about :-) It&#8217;s able to run on jetty by calling <strong>mvn jetty:run-war</strong> :-) <em>(lol just found an google code project about exactly the same stuff only written in pure spring <a href="http://code.google.com/p/rsser/source/browse/trunk/rsser/src/main/resources/messages.properties" onclick="urchinTracker('/outgoing/code.google.com/p/rsser/source/browse/trunk/rsser/src/main/resources/messages.properties?referer=');">http://code.google.com/p/rsser</a> Kudos to the coder! :-))</em></p>
<p>Oh and just an minor mention about <a href="http://code.google.com/p/guava-libraries" onclick="urchinTracker('/outgoing/code.google.com/p/guava-libraries?referer=');"><strong>Google Guava</strong></a>, I&#8217;ve been looking at it&#8217;s API lately and it&#8217;s quite nice I think. It&#8217;s <strong>not as magic filled as op4j</strong>, but this might be just the good thing about it. As I had to do an presentation to pass an class about presentations at school, I&#8217;ve done this <a href="http://www.slideshare.net/ktoso/guava" onclick="urchinTracker('/outgoing/www.slideshare.net/ktoso/guava?referer=');">super simple presentation about a very basic subset of Guava&#8217;s features</a>. While doing it I&#8217;ve learned how to use the <a href="http://pl.wikipedia.org/wiki/Beamer_(LaTeX)" onclick="urchinTracker('/outgoing/pl.wikipedia.org/wiki/Beamer_LaTeX?referer=');">LaTeX Beamer class,</a> and yup, it&#8217;s really very nice indeed! Notice the coloured Java syntax? Nice trick, ain&#8217;t it :-)</p>
<p>Oh, and while doing all this I also created an very simple website <a href="http://www.kemerling.pl/" onclick="urchinTracker('/outgoing/www.kemerling.pl/?referer=');">www.kemerling.pl</a>. The graphics where done by another friend of mine. It was quite hell to get all this to display properly (the while part, with bazylion transparent layers&#8230; ;-)), but I hope it looks all right :-)</p>
<p>Hmm&#8230; back to coding! Gotta improve the NBP Traveling Salesman now :-)</p>
<p>PS: It seems that this blog has been added to <a href="http://www.dworld.pl/blogEntry/blog/113" onclick="urchinTracker('/outgoing/www.dworld.pl/blogEntry/blog/113?referer=');">www.dworld.pl/blogEntry/blog/113</a>! Whoa that&#8217;s really really awesome and I&#8217;m really really grateful to be aggregated together with Poland&#8217;s most active Java bloggers :-) I don&#8217;t know whom I should thank for adding me there, so I&#8217;ll thank that the whole community and <a href="http://www.dworld.pl/page/show/Grzegorz_Duda" onclick="urchinTracker('/outgoing/www.dworld.pl/page/show/Grzegorz_Duda?referer=');">Grzegorz Duda</a> as dworlds author :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/project13/606/def-recent-python-grails-netbeans-platform-hibernate-spring-vaadin-google-guava/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OVH&#8217;s &#8220;main domain&#8221; concept</title>
		<link>http://www.blog.project13.pl/index.php/null/497/ovhs-serverdomain-concept/</link>
		<comments>http://www.blog.project13.pl/index.php/null/497/ovhs-serverdomain-concept/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 13:59:54 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[null]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web dev]]></category>
		<category><![CDATA[webmaster]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=497</guid>
		<description><![CDATA[This will be an short explaination about how OVH treats domains/servers (virtual servers) as @pwesolek asked me on twitter to expand about this a little. What I don&#8217;t &#8220;like&#8221; there is that an server is bound to one special domain that they call the server&#8217;s &#8220;main domain&#8220;. Fair enough, he ought to have some &#8220;main&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>This will be an short explaination about how OVH treats domains/servers (virtual servers) as <a href="http://twitter.com/pwesolek" onclick="urchinTracker('/outgoing/twitter.com/pwesolek?referer=');"><strong>@pwesolek</strong></a> asked me on twitter to expand about this a little.</p>
<p>What I don&#8217;t &#8220;like&#8221; there is that an server is <strong>bound to </strong>one special domain that they call the server&#8217;s &#8220;<strong>main domain</strong>&#8220;. Fair enough, he ought to have some &#8220;main&#8221; thing right? Basically, the domain is identified 1 to 1 with the server, and this one, has some special stuff it can do. It&#8217;s like &#8220;I&#8217;ll call this server example.com&#8221; and then you work with example.com, kinda not caring wtah server it is. And that&#8217;s not harmful at all but:</p>
<p>The problem comes up if you host multiple domains &#8211; each of which would like to be &#8220;mainish&#8221; &#8211; be able to setup email accounts easily etc.</p>
<p>The part with multiple websites is simple: you set it up using what they call &#8220;multidomains&#8221; (weird name&#8230;) &#8211; it&#8217;s basically like httpd&#8217;s VirtualHost stuff. &#8220;Ok, nice.&#8221;  &#8211; you think and then want to setup mail adresses for those domains you&#8217;ve hooked up to this server. Should be easy &#8211; right? You could just enter some <strong><em>[login]@[domain]</em> </strong>and be done with it. But it&#8217;s not that simple since all you can do is add emails inside the servers &#8220;main domain&#8221; (if you&#8217;d try to youd get into <strong>relay domain</strong> <strong>denial</strong> stuff). You&#8217;re forced to buy some sucky (25MB POP accounts) extra &#8220;MX pack&#8221;&#8230; I&#8217;ve encountered this while using an domain <em>not registered in OVH</em>, so it&#8217;s possible that this is easier with domains bought &#8220;from them&#8221;, but I doubt it (nothing suggesting this in sight on their website).</p>
<p><em>To sum it up: You can only easily set up email accounts for an domain that is the servers &#8220;main domain&#8221; &#8211; it&#8217;s 2 clicks. Setting the same stuff up for an &#8220;not main domain&#8221; &#8211; will cost you a little extra.</em></p>
<p>Another weirdity is that<em> if you want to change an servers main domain &#8211; it&#8217;ll cost you a little (not much).</em></p>
<p>That said &#8211; <strong><a href="http://ovh.pl" onclick="urchinTracker('/outgoing/ovh.pl?referer=');">ovh</a> </strong>is an<strong> reiable</strong> hosting company and does not try to &#8220;rob&#8221; the user from every penny he&#8217;s got like nazwa.pl does on their &#8220;WOWOWO FREEEE* domains&#8221; &#8211; you can guess what for the * there is&#8230; ;-) I&#8217;ve seen lot&#8217;s of hosting operators and ovh is certainly one of the best when it comes to &#8220;techy stuff&#8221;. I also often recommend (and have used) <a href="http://linuxpl.com" onclick="urchinTracker('/outgoing/linuxpl.com?referer=');"><strong>linuxpl.com</strong></a> it&#8217;s also very nice for <strong>virtual hosting</strong> &#8211; I&#8217;ve seen an VPS there and it was horrible &#8211; many &#8220;magical&#8221; things were happening there (it was <strong>openvz</strong> based if I recall propperly) but Virtual Hosting is top class there (svn, python, rails, ssh, synfony, all preinstalled :-))</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/null/497/ovhs-serverdomain-concept/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>jQuery tricks 1: automatic-wslider</title>
		<link>http://www.blog.project13.pl/index.php/coding/345/jquery-tricks-1-automatic-wslider/</link>
		<comments>http://www.blog.project13.pl/index.php/coding/345/jquery-tricks-1-automatic-wslider/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 22:19:12 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web dev]]></category>
		<category><![CDATA[webdeveloper]]></category>
		<category><![CDATA[webmaster]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=345</guid>
		<description><![CDATA[This time I&#8217;ll post some actual code. A client wanted me to write an &#8220;image slider&#8221;. You&#8217;ve probably seen lot&#8217;s of them online &#8211; and a whole lot of them is in flash &#8211; why? There is no need to involve flash in such a trivial task, and jQuery is more than up to the [...]]]></description>
			<content:encoded><![CDATA[<p>This time I&#8217;ll post some actual code. A client wanted me to write an &#8220;image slider&#8221;. You&#8217;ve probably seen lot&#8217;s of them online &#8211; and a whole lot of them is in flash &#8211; why? There is no need to involve flash in such a trivial task, and jQuery is more than up to the job :-) I used <strong>jQuery</strong> with the <strong>wslide plugin</strong>, it&#8217;s simple and quite neat. But it does not slide on it&#8217;s own. But thanks to it&#8217;s simplicity I was able add the functionality I needed in just a few lines of clean code. I used the <strong>timer</strong> plugin to &#8220;click&#8221; on the slider at some interval and voila &#8211; the birth of an automatic jquery image slider. Anyways, here&#8217;s thecode:</p>
<div class="geshi no javascript">
<ol>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> canDo = <span class="kw2">true</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="coMULTI">/** plugin @author: http://www.webinventif.fr/wslide-plugin/ */</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; $<span class="br0">&#40;</span>document<span class="br0">&#41;</span>.<span class="me1">ready</span><span class="br0">&#40;</span><span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$<span class="br0">&#40;</span><span class="st0">&#39;#slidermenu, #slider, .cube&#39;</span><span class="br0">&#41;</span>.<span class="me1">mouseover</span><span class="br0">&#40;</span><span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; canDo = <span class="kw2">false</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><span class="br0">&#41;</span>.<span class="me1">mouseout</span><span class="br0">&#40;</span><span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; canDo = <span class="kw2">true</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<span class="br0">&#40;</span><span class="st0">&#39;#slider&#39;</span><span class="br0">&#41;</span>.<span class="me1">wslide</span><span class="br0">&#40;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; width: <span class="nu0">900</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; height: <span class="nu0">200</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pos: <span class="nu0">1</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fade: <span class="kw2">true</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; horiz: <span class="kw2">true</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; autolink: <span class="st0">&#39;slidermenu&#39;</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; speed:<span class="nu0">300</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $.<span class="me1">timer</span><span class="br0">&#40;</span><span class="nu0">5000</span>, <span class="kw2">function</span> <span class="br0">&#40;</span>timer<span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span>canDo<span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span>$<span class="br0">&#40;</span><span class="st0">&#39;#slidermenu a:last&#39;</span><span class="br0">&#41;</span>.<span class="me1">hasClass</span><span class="br0">&#40;</span><span class="st0">&#39;wactive&#39;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<span class="br0">&#40;</span><span class="st0">&#39;#slidermenu a:first&#39;</span><span class="br0">&#41;</span>.<span class="me1">click</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><span class="kw1">else</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<span class="br0">&#40;</span><span class="st0">&#39;#slidermenu .wactive&#39;</span><span class="br0">&#41;</span>.<span class="me1">next</span><span class="br0">&#40;</span><span class="br0">&#41;</span>.<span class="me1">click</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><span class="br0">&#41;</span>;</div>
</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/coding/345/jquery-tricks-1-automatic-wslider/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Terminal Heroes &#8211; 1 &#8211; mysql backup insert</title>
		<link>http://www.blog.project13.pl/index.php/coding/143/terminal-heroes-part-1/</link>
		<comments>http://www.blog.project13.pl/index.php/coding/143/terminal-heroes-part-1/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 20:39:15 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[terminal heroes]]></category>
		<category><![CDATA[gnu/linux]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[web dev]]></category>
		<category><![CDATA[webmaster]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=143</guid>
		<description><![CDATA[Just a quick note while dumping a 70MB database&#8230; ;-) Let&#8217;s say i got my database backup from phpmyadmin, compressed with gz (zip&#8217;s also fine), while getting the backup,even if it&#8217;s BIG ain&#8217;t really a problem, putting it into the database can be troublesome becouse timeout&#8217;s etc, especially if it&#8217;s a BIG file ;-) My [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick note while dumping a 70MB database&#8230; ;-) Let&#8217;s say i got my database backup from phpmyadmin, compressed with gz (zip&#8217;s also fine), while getting the backup,even if it&#8217;s <strong>BIG</strong> ain&#8217;t really a problem, putting it into the database can be troublesome becouse timeout&#8217;s etc, especially if it&#8217;s a <strong>BIG</strong> file ;-) My tip here is:</p>
<p>Download the compressed backup<br />
Put it onto your target server, by FTP, SFTP or SCP, doesn&#8217;t really matter<br />
Launch SSH and use your terminal hero skillzorz:</p>
<p><code>cd where/i/put/the/file<br />
gunzip backup.sql.gz #or unzip backup.sql.zip<br />
mysql-u username -D database_name -pPASSWD &lt; backup.sql<br />
cowsay "data imported, yay!"</code></p>
<p>It&#8217;s pretty self explanatory I guess, and MUCH faster and more reliable than any other way of doing this :-)</p>
<p>My backup should finish downloading any second now, so&#8230; cya soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/coding/143/terminal-heroes-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wymuszanie przedrostka www.</title>
		<link>http://www.blog.project13.pl/index.php/coding/15/wymuszanie-przedrostka-www/</link>
		<comments>http://www.blog.project13.pl/index.php/coding/15/wymuszanie-przedrostka-www/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 11:05:30 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[webmaster]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=15</guid>
		<description><![CDATA[W razie jakby ktoś potrzebował wymuszać dodawanie przedsrostka www do adresu swojej strony (co może ułatwić życie użytkownikom i wyszukiwarkom, bo nie będzie jakby &#8220;kopii&#8221; jest samej strony pod innym adresem (bez www.)). Wystarczy zastosować poniższy kawałek kodu w pliku .htaccess: RewriteEngine On #wymuś adres z przedrostkiem www. RewriteCond %{HTTP_HOST} ^blog.project13.pl [NC] RewriteRule ^(.*)$ http://www.blog.project13.pl/$1 [...]]]></description>
			<content:encoded><![CDATA[<p>W razie jakby ktoś potrzebował wymuszać dodawanie przedsrostka www do adresu swojej strony (co może ułatwić życie użytkownikom i wyszukiwarkom, bo nie będzie jakby &#8220;kopii&#8221; jest samej strony pod innym adresem (bez www.)). Wystarczy zastosować poniższy kawałek kodu w pliku <span class="code">.htaccess</span>:<br />
<code>RewriteEngine On<br />
#wymuś adres z przedrostkiem www.<br />
RewriteCond %{HTTP_HOST} ^blog.project13.pl [NC]<br />
RewriteRule ^(.*)$ http://www.blog.project13.pl/$1 [L,R=301]</code></p>
<p>Czemu o tym piszę? Ponieważ pierwszym wynikiem w google, jest strona gdzie za tą informację trzeba sowicie zapłacić&#8230; Co dość irytuje, zważywszy na to jakie to łatwe jeżeli się rozumie choćby podstawy <a href="http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html" target="_blank" onclick="urchinTracker('/outgoing/httpd.apache.org/docs/2.0/mod/mod_rewrite.html?referer=');">mod_rewrite</a> i <a href="http://www.grabun.com/wyrazenia-regularne/" target="_blank" onclick="urchinTracker('/outgoing/www.grabun.com/wyrazenia-regularne/?referer=');">wyrażeń regularnych</a>. Pozdrawiam i odradzam płaceniu za ogólnie dostępną wiedzę ;-)</p>
<p>Przy okazji chciałem polecić bardzo fajną &#8220;ściągawkę&#8221; do mod_rewrite (oraz innych rzeczy, np. wyrażeń regularnych), którą przygotował <span class="fn url">Dave Child na swoim blogu: <a href="http://www.ilovejackdaniels.com/cheat-sheets/" target="_blank" onclick="urchinTracker('/outgoing/www.ilovejackdaniels.com/cheat-sheets/?referer=');">ILoveJackDaniel&#8221;s.com</a>. Ogólnie to czuję że dogadałbym się z nim, również w kwestiach wyboru napoju ;-)<span class="comment"> /**Nie bez powodu mam kalendarz wujka Jack&#8221;a na ścianie ;-)*/</span><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/coding/15/wymuszanie-przedrostka-www/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

