<?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>Jarls Technical &#187; PHP</title>
	<atom:link href="http://www.jarl-andre.com/tech/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jarl-andre.com/tech</link>
	<description>Where technical stuff blends with personality</description>
	<lastBuildDate>Mon, 24 May 2010 18:10:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Programming is a lifestyle</title>
		<link>http://www.jarl-andre.com/tech/2009/04/15/programming-is-a-lifestyle/</link>
		<comments>http://www.jarl-andre.com/tech/2009/04/15/programming-is-a-lifestyle/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 07:22:45 +0000</pubDate>
		<dc:creator>Jarl André Hübenthal</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.jarl-andre.com/tech/?p=41</guid>
		<description><![CDATA[When I read the article on inter-sections.net I just felt like .. wow .. I could almost go back in time to the interview for my current job and recognize many of the questions they asked me. It was so fun to read, to see that I at least fitted three or more of the [...]]]></description>
			<content:encoded><![CDATA[<p>When I read the article on <a title="How to recognize a good programmer?" href="http://www.inter-sections.net/2007/11/13/how-to-recognise-a-good-programmer/" target="_blank">inter-sections.net</a> I just felt like .. wow .. I could almost go back in time to the interview for my current job and recognize many of the questions they asked me. It was so fun to read, to see that I at least fitted three or more of the core points in the article for how to recognize a good programmer. But even more I am glad to see that it is possible to digg for it, because I have some beliefs that not all programmers are able to loosen their jacket and talk freely in an interview.</p>
<p><span id="more-41"></span></p>
<p>I really like my current language, but at some times in my life it just sucks. I like web development, and Java doesn&#8217;t quite convince me to be a all year round language. For hidden background business logic and patterns where security is a big issue, yeah .. Java is a good starting point. But I really like scripted and parsed languages more, like PHP.</p>
<p>Ovet the last years I have made countless tries on making a blog or home page in PHP, XHTML and CSS. It has mostly always shown me that its really best to use already created solutions, because I can use my skills on other things instead of hacking with one specific thing for a long period of time.</p>
<p>When it comes to Java I must say that it has been really fun to develop all these chat servers and applications that use sockets, web services and the like. But as with most things, they become outdated and you notice that the frameworks does not actually manage to do it quite right. As an example java.io is outdated by java.nio. But then java.nio is so difficult to use. Why? I don&#8217;t know and should really like to see a framework for java.nio that kind of resembles the simplicity of java.io. If I don&#8217;t find it I will make it myself, and license it with GPL. But its all about time, and I get less and less time as my days goes by.</p>
<p>I love to program! Almost as much as I love my wife!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jarl-andre.com/tech/2009/04/15/programming-is-a-lifestyle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A useful program for dropping mysql tables</title>
		<link>http://www.jarl-andre.com/tech/2009/04/13/a-usefull-program-for-dropping-mysql-tables/</link>
		<comments>http://www.jarl-andre.com/tech/2009/04/13/a-usefull-program-for-dropping-mysql-tables/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 13:53:12 +0000</pubDate>
		<dc:creator>Jarl André Hübenthal</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.jarl-andre.com/tech/?p=33</guid>
		<description><![CDATA[I was recently in the need of deleting a set of mysql tables with a shared prefix, and I searched the net to find something that could help me, so that I didnt have to write all the code myself. Yeah programmers are lazy, but its good actually to reuse instead of reinventing.

The jar file [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently in the need of deleting a set of mysql tables with a shared prefix, and I searched the net to find something that could help me, so that I didnt have to write all the code myself. Yeah programmers are lazy, but its good actually to reuse instead of reinventing.</p>
<p><span id="more-33"></span></p>
<p>The jar file linked to in the bottom of this  article should be saved on your desktop or whatever you like, do not run it via some java thing that your browser suggests. Place it somewhere and make it executable. In windows it is most propably already executable, so no worries there. And, make sure you got java.</p>
<p>Open a shell or command window and change into the directory containing the jar file. Run the jar file as follows, replace the variables with your database setup.</p>
<blockquote><p>java -jar dropper.jar url user pass db</p></blockquote>
<p>You will get all the help you need in the program itself. You can delete one specific table or every table that begin with a prefix. The program is built with Java SDK v1.5. If it doesnt work on your setup please give a comment.</p>
<p>Have fun!</p>
<p><a href="http://www.jarl-andre.com/tech/wp-content/uploads/dropper.jar">Download Table Dropper for MySQL v0.1</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jarl-andre.com/tech/2009/04/13/a-usefull-program-for-dropping-mysql-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update chmod on php files only</title>
		<link>http://www.jarl-andre.com/tech/2009/04/12/update-chmod-on-php-files-only/</link>
		<comments>http://www.jarl-andre.com/tech/2009/04/12/update-chmod-on-php-files-only/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 14:17:29 +0000</pubDate>
		<dc:creator>Jarl André Hübenthal</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://localhost/blog/?p=3</guid>
		<description><![CDATA[I am sick and tired of having to search for this every time I need it, so now you&#8217;ll get it for free.

The following is a small script that you can use on any folder you wish&#8230; just pass the folder name to the script.
 #!/bin/bash
die () {
echo &#62;&#38;2 &#8220;$@&#8221;
exit 1
}
[ "$#" -eq 1 ] [...]]]></description>
			<content:encoded><![CDATA[<p>I am sick and tired of having to search for this every time I need it, so now you&#8217;ll get it for free.</p>
<p><span id="more-32"></span></p>
<p>The following is a small script that you can use on any folder you wish&#8230; just pass the folder name to the script.</p>
<blockquote><p><code> #!/bin/bash</code></p>
<p>die () {<br />
echo &gt;&amp;2 &#8220;$@&#8221;<br />
exit 1<br />
}</p>
<p>[ "$#" -eq 1 ] || die &#8220;1 argument required, $# provided&#8221;</p>
<p>find $1 -type f -name &#8216;*.php&#8217;  -exec chmod 600 {} ;</p></blockquote>
<p>Copy and paste into a new file called whatever you like and make it executable with: &#8220;chmod +x scriptname&#8221;</p>
<p>Tada!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jarl-andre.com/tech/2009/04/12/update-chmod-on-php-files-only/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
