<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Juje007 » Blog</title>
	
	<link>http://blog.juje007.be</link>
	<description>A official blog about Juje007</description>
	<lastBuildDate>Wed, 08 Feb 2012 16:01:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Juje007" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="juje007" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Foundation</title>
		<link>http://blog.juje007.be/2012/02/08/foundation/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.juje007.be/2012/02/08/foundation/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 16:01:08 +0000</pubDate>
		<dc:creator>Juje007</dc:creator>
		
		<guid isPermaLink="false">http://blog.juje007.be/?p=160</guid>
		<description><![CDATA[After discovering a wonderful web framework called Foundation I decided to use it to upgrade my website. After a couple hours of work I completed the first version. And a short while later I fully succeeded. And the result can now be seen on the website. Now that I discovered Foundation I definitely want to [...]]]></description>
			<content:encoded><![CDATA[<p>After discovering a wonderful web framework called <a href="http://foundation.zurb.com/">Foundation</a> I decided to use it to upgrade my website.<br />
After a couple hours of work I completed the first version.<br />
And a short while later I fully succeeded.</p>
<p>And the result can now be seen on the website.</p>
<p>Now that I discovered <a href="http://foundation.zurb.com/">Foundation</a> I definitely want to use it in future web projects.<br />
So if you are an Web Developer and you&#8217;re designing skills aren&#8217;t the best like mine than <a href="http://foundation.zurb.com/">Foundation</a> is the way to go.</p>
<p>~Juje007</p>
<img src="http://feeds.feedburner.com/~r/Juje007/~4/6h5UA0l5Cdc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.juje007.be/2012/02/08/foundation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A malicious IFRAME</title>
		<link>http://blog.juje007.be/2011/10/10/a-malicious-iframe/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.juje007.be/2011/10/10/a-malicious-iframe/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 14:34:47 +0000</pubDate>
		<dc:creator>Juje007</dc:creator>
		
		<guid isPermaLink="false">http://blog.juje007.be/?p=144</guid>
		<description><![CDATA[A few days ago I get a Email from Google saying that my website was blocked from the search results because of some malicious code. First I though it was sitting in the comments so I deleted a lot of comments (because they were not normal looking). But when I discovered the site was still [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago I get a Email from Google saying that my website was blocked from the search results because of some malicious code.<br />
First I though it was sitting in the comments so I deleted a lot of comments (because they were not normal looking).<br />
But when I discovered the site was still blocked I started searching in the code and I founded some weird looking IFRAMEs.<br />
And after searching deeper and deeper I discovered they were sitting in the MySQL database. How they came there I sill don&#8217;t know, but my best guess is a malicious WordPress plugin.<br />
After deleting them out of the database the problem was gone. Now I hope they will not come back but now I know where to look.</p>
<p>Thanks for reading,</p>
<p>~Juje007</p>
<img src="http://feeds.feedburner.com/~r/Juje007/~4/rAdjEcVV_Nw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.juje007.be/2011/10/10/a-malicious-iframe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Radio button fun</title>
		<link>http://blog.juje007.be/2011/09/16/radio-button-fun/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.juje007.be/2011/09/16/radio-button-fun/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 19:39:35 +0000</pubDate>
		<dc:creator>Juje007</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.juje007.be/?p=94</guid>
		<description><![CDATA[Sometimes when you code and you are thinking &#8220;What if?&#8221;. And today I had that question myself &#8220;What if you used Radio Buttons for a LED wall&#8221;. And this is the answer. (Watch out: high CPU usage). Because modern browsers are not meant for very high performance usages the browser starts to lag. So using [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes when you code and you are thinking &#8220;What if?&#8221;. And today I had that question myself &#8220;What if you used Radio Buttons for a LED wall&#8221;.</p>
<p><a title="RadioFun" href="http://www.juje007.be/radiofun.php">And this is the answer.</a> (Watch out: high CPU usage).</p>
<p>Because modern browsers are not meant for very high performance usages the browser starts to lag.<br />
So using RadioButtonWalls on websites is not going to be the best idea at this point. But maybe trough another way it is.</p>
<p>Ps. You are free to use the code and to modify it without my permission (Because the web should be free and open).</p>
<img src="http://feeds.feedburner.com/~r/Juje007/~4/g6kpNF8vLkU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.juje007.be/2011/09/16/radio-button-fun/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHPIpsum</title>
		<link>http://blog.juje007.be/2011/08/13/phpipsum/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.juje007.be/2011/08/13/phpipsum/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 23:39:44 +0000</pubDate>
		<dc:creator>Juje007</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.juje007.be/?p=84</guid>
		<description><![CDATA[A long time ago I discovered a website called http://html-ipsum.com. Immediately I started searching for a PHP version but I couldn&#8217;t find it. So I started developing on the PHP version which was going to call PHPIpsum. But the passion for creating a PHP version started to go away, so I stopped with it. And [...]]]></description>
			<content:encoded><![CDATA[<p>A long time ago I discovered a website called <a href="http://html-ipsum.com">http://html-ipsum.com</a>. Immediately I started searching for a PHP version but I couldn&#8217;t find it. So I started developing on the PHP version which was going to call PHPIpsum. But the passion for creating a PHP version started to go away, so I stopped with it.</p>
<p>And today (August 12, 2011) because of some event I rediscovered it again. And I started working on PHPIpsum again. And after 2 or 3 hours of coding I completed PHPIpsum.</p>
<p>You can visit it under the domain <a href="http://phpipsum.juje007.be">http://phpipsum.juje007.be</a>.</p>
<p>A domain name will maybe come depending on the traffic.</p>
<img src="http://feeds.feedburner.com/~r/Juje007/~4/IAgVmRto5_A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.juje007.be/2011/08/13/phpipsum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first Python script</title>
		<link>http://blog.juje007.be/2011/05/24/my-first-python-script/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.juje007.be/2011/05/24/my-first-python-script/#comments</comments>
		<pubDate>Tue, 24 May 2011 15:16:01 +0000</pubDate>
		<dc:creator>Juje007</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.juje007.be/?p=77</guid>
		<description><![CDATA[After a tutorial about Python on NetTuts I decided to create my first python script: a simple calculator. And here is the result: print &#34;Welcome to the calculator&#34;; nr1 = raw_input(&#34;The first number: &#34;); what = raw_input(&#34;What do you want to do (+, -, *, /): &#34;); nr2 = raw_input(&#34;The second number: &#34;); print &#34;&#34;; [...]]]></description>
			<content:encoded><![CDATA[<p>After a tutorial about Python on <a title="Python from Scratch: Getting Started" href="http://net.tutsplus.com/tutorials/other/python-from-scratch-getting-started/">NetTuts</a> I decided to create my first python script: a simple calculator.<br />
And here is the result:</p>
<pre class="brush: python; ">

print &quot;Welcome to the calculator&quot;;
nr1 = raw_input(&quot;The first number: &quot;);
what = raw_input(&quot;What do you want to do (+, -, *, /): &quot;);
nr2 = raw_input(&quot;The second number: &quot;);

print &quot;&quot;;
print &quot;The outcome is:&quot;;

if what == &quot;+&quot;:
	print int(nr1) + int(nr2);
elif what == &quot;-&quot;:
	print int(nr1) - int(nr2);
elif what == &quot;*&quot;:
	print int(nr1) * int(nr2);
elif what == &quot;/&quot;:
	print int(nr1) / int(nr2);
</pre>
<img src="http://feeds.feedburner.com/~r/Juje007/~4/aSKhLIalzok" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.juje007.be/2011/05/24/my-first-python-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bash: find out PI</title>
		<link>http://blog.juje007.be/2011/03/25/bash-pi/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.juje007.be/2011/03/25/bash-pi/#comments</comments>
		<pubDate>Fri, 25 Mar 2011 22:27:18 +0000</pubDate>
		<dc:creator>Juje007</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.juje007.be/?p=70</guid>
		<description><![CDATA[A long time ago I wrote a script to find out the numbers behind the number PI but that was written in VBS. And today I wanted to recreate that script but than in Bash. I succeeded completely and here is the code: #!/bin/bash x=4; endNr=$x; lastUsed=&#34;+&#34;; counter=3; while [[ $counter -lt 1000000 ]]; do [...]]]></description>
			<content:encoded><![CDATA[<p>A long time ago I wrote a script to find out the numbers behind the number PI but that was written in VBS. And today I wanted to recreate that script but than in Bash. I succeeded completely and here is the code:</p>
<pre class="brush: bash; ">

#!/bin/bash
x=4;
endNr=$x;
lastUsed=&quot;+&quot;;
counter=3;
while [[ $counter -lt 1000000 ]];
do
    if [[ $lastUsed == &quot;+&quot; ]];
    then
        newNr=$(echo &quot;scale=30; $x/$counter&quot; | bc);
        endNr=$(echo &quot;scale=30; $endNr-$newNr&quot; | bc);
        lastUsed=&quot;-&quot;;
    else
        newNr=$(echo &quot;scale=30; $x/$counter&quot; | bc);
        endNr=$(echo &quot;scale=30; $endNr+$newNr&quot; | bc);
        lastUsed=&quot;+&quot;;
    fi;
    counter=$[$counter+2];
    echo $endNr;
done;
</pre>
<p>Usage (Linux):</p>
<p>Step 1: Put the code inside a file and save it as a .sh file.<br />
Step 2: In command line give the file a chmod of +x (eg. chmod +x fileName.sh)<br />
Step 3: Than run the file (eg. ./fileName.sh)</p>
<p>And here you go.</p>
<p>Have fun!!</p>
<img src="http://feeds.feedburner.com/~r/Juje007/~4/uOiAWEWlQds" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.juje007.be/2011/03/25/bash-pi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LinkedIn</title>
		<link>http://blog.juje007.be/2010/10/12/linkedin/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.juje007.be/2010/10/12/linkedin/#comments</comments>
		<pubDate>Tue, 12 Oct 2010 20:45:47 +0000</pubDate>
		<dc:creator>Juje007</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.juje007.be/?p=64</guid>
		<description><![CDATA[Hey everyone, Today I registered on LinkedIn and that&#8217;s why I added it to my contact page. So if you want to be a friend than just ask it . My LinkedIn link is: http://be.linkedin.com/in/juje007 ~Juje007]]></description>
			<content:encoded><![CDATA[<p>Hey everyone,</p>
<p>Today I registered on <a title="LinkedIn" href="http://www.linkedin.com">LinkedIn</a> and that&#8217;s why I added it to my <a title="Contact" href="http://www.juje007.be/contact">contact</a> page. So if you want to be a friend than just ask it <img src='http://blog.juje007.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>My <a title="LinkedIn" href="http://www.linkedin.com">LinkedIn</a> link is: <a title="View public profile" name="webProfileURL" href="http://be.linkedin.com/in/juje007"></a>http://be.linkedin.com/in/juje007</p>
<p>~Juje007</p>
<img src="http://feeds.feedburner.com/~r/Juje007/~4/PB-_jp2p75g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.juje007.be/2010/10/12/linkedin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP: Table Class</title>
		<link>http://blog.juje007.be/2010/10/01/php-table-class/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.juje007.be/2010/10/01/php-table-class/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 19:49:07 +0000</pubDate>
		<dc:creator>Juje007</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.juje007.be/?p=52</guid>
		<description><![CDATA[After some playing with PHP, I wanted to create a new class but I didn&#8217;t really know what. So after some time I founded a nice task to do . So here is my &#8220;Table Class&#8221;. It&#8217;s a easy way to create a HTML table from a PHP array. The code: &#60;?php class Table { [...]]]></description>
			<content:encoded><![CDATA[<p>After some playing with PHP, I wanted to create a new class but I didn&#8217;t really know what. So after some time I founded a nice task to do <img src='http://blog.juje007.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . So here is my &#8220;Table Class&#8221;. It&#8217;s a easy way to create a HTML table from a PHP array.</p>
<p>The code:</p>
<pre class="brush: php; ">

&lt;?php

class Table {
    function __construct() {
        $this-&gt;output = &quot;&lt;table&gt;\r&quot;;
    }

    function addSingleRow($arr) {
        if(is_array($arr)){
            $output = &quot;\t&lt;tr&gt;\r&quot;;
            foreach($arr as $item) {
                $output .= &quot;\t\t&lt;td&gt;&quot; . $item . &quot;&lt;/td&gt;\r&quot;;
            }
            $this-&gt;output .= $output . &quot;\t&lt;/tr&gt;\r&quot;;
        } else {
            $this-&gt;output .= &quot;\t&lt;tr&gt;\r\t\t&lt;td&gt;&quot; . $arr . &quot;&lt;/td&gt;\r\t&lt;/tr&gt;\r&quot;;
        }
    }

    function addMultiRow($arr) {
        foreach($arr as $item) {
        if(is_array($item)){
            $output = &quot;\t&lt;tr&gt;\r&quot;;
            foreach($item as $sItem) {
                $output .= &quot;\t\t&lt;td&gt;&quot; . $sItem . &quot;&lt;/td&gt;\r&quot;;
            }
            $this-&gt;output .= $output . &quot;\t&lt;/tr&gt;\r&quot;;
        } else {
            $this-&gt;output .= &quot;\t&lt;tr&gt;\r\t\t&lt;td&gt;&quot; . $item . &quot;&lt;/td&gt;\r\t&lt;/tr&gt;\r&quot;;
        }
        }
    }

    function render() {
        echo $this-&gt;output . &quot;&lt;/table&gt;&quot;;
    }
}

?&gt;
</pre>
<p>Usage:</p>
<pre class="brush: php; ">

&lt;?php

require(&quot;Table.class.php&quot;); // Get the class (the name may be different)

$table = new Table; // Load the Table Class

$table-&gt;addSingleRow(&quot;1 row&quot;); // Adds 1 row and column
$table-&gt;addSingleRow(Array(&quot;First column&quot;, &quot;Second column&quot;); // Adds 1 row and 2 columns

$table-&gt;addMultiRow(Array(&quot;First row&quot;, &quot;Second row&quot;)); // Adds 2 rows with 1 column
$table-&gt;addMultiRow(Array(Array(&quot;First row and column&quot;, &quot;second column&quot;), Array(Array(&quot;Second row and first column&quot;, &quot;second column&quot;); // Adds 2 rows and 2 columns

echo $table-&gt;render(); // Output everything

?&gt;
</pre>
<p>This is a very simple Table Class because you can&#8217;t define attributes like title, class, id, etc. But you are free to use and to change off course <img src='http://blog.juje007.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>~Juje007</p>
<img src="http://feeds.feedburner.com/~r/Juje007/~4/5qOb9sS9WYk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.juje007.be/2010/10/01/php-table-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5 and JavaScript</title>
		<link>http://blog.juje007.be/2010/07/02/html5-and-javascript/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.juje007.be/2010/07/02/html5-and-javascript/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 12:31:50 +0000</pubDate>
		<dc:creator>Juje007</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.juje007.be/?p=41</guid>
		<description><![CDATA[After reading a post about canvas at http://carsonified.com/blog/dev/html-5-dev/how-to-draw-with-html-5-canvas/ I wanted to create something with it. So I came up the idea to create a RGB color selector without the selecting part, because that will be to much work . But here is the result: If you want to see the live version you can go [...]]]></description>
			<content:encoded><![CDATA[<p>After reading a post about canvas at <a href="http://carsonified.com/blog/dev/html-5-dev/how-to-draw-with-html-5-canvas/" target="_blank">http://carsonified.com/blog/dev/html-5-dev/how-to-draw-with-html-5-canvas/</a> I wanted to create something with it. So I came up the idea to create a RGB color selector without the selecting part, because that will be to much work <img src='http://blog.juje007.be/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> . But here is the result:</p>
<p><img class="alignnone size-full wp-image-42" title="jsAndHtml5 RGB Selector" src="http://blog.juje007.be/wp-content/uploads/2010/07/jsAndHtml5.png" alt="jsAndHtml5 RGB Selector" width="340" height="330" /></p>
<p>If you want to see the live version you can go to: <a href="http://www.juje007.be/canvas.html">http://www.juje007.be/canvas.html</a> (you may download and use the source <img src='http://blog.juje007.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
<p>~Juje007</p>
<img src="http://feeds.feedburner.com/~r/Juje007/~4/d5kDMhx3x4w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.juje007.be/2010/07/02/html5-and-javascript/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0</title>
		<link>http://blog.juje007.be/2010/06/18/wordpress-3-0/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.juje007.be/2010/06/18/wordpress-3-0/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 07:54:15 +0000</pubDate>
		<dc:creator>Juje007</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.juje007.be/?p=38</guid>
		<description><![CDATA[Today WordPress 3.0 released so I installed it immediately and it looks quite good at the Admin Control Panel offcourse at the outside you will probably see no difference at all. But if you want to learn all about WordPress 3.0 go than to: http://wordpress.org/development/2010/06/thelonious/. ~Juje007]]></description>
			<content:encoded><![CDATA[<p>Today WordPress 3.0 released so I installed it immediately and it looks quite good at the Admin Control Panel offcourse at the outside you will probably see no difference at all. But if you want to learn all about WordPress 3.0 go than to: <a href="http://wordpress.org/development/2010/06/thelonious/" target="_blank">http://wordpress.org/development/2010/06/thelonious/</a>.</p>
<p>~Juje007</p>
<img src="http://feeds.feedburner.com/~r/Juje007/~4/GsKoZ_EeeHM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.juje007.be/2010/06/18/wordpress-3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

