<?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>Marius van Witzenburg</title>
	<atom:link href="http://mariusvw.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mariusvw.com</link>
	<description>&#34;Learned my lesson in life, now setting my action to stay in life.&#34;</description>
	<lastBuildDate>Sun, 29 Aug 2010 10:41:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Zalman ZM-NC2000 &amp; Ikea DAVE laptop stand review</title>
		<link>http://mariusvw.com/2010/08/28/zalman-zm-nc2000-ikea-dave-laptop-stand-review/</link>
		<comments>http://mariusvw.com/2010/08/28/zalman-zm-nc2000-ikea-dave-laptop-stand-review/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 06:48:59 +0000</pubDate>
		<dc:creator>mariusvw</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Home]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[Cooling]]></category>
		<category><![CDATA[Ikea]]></category>
		<category><![CDATA[Lap]]></category>
		<category><![CDATA[Laptop]]></category>
		<category><![CDATA[Macbook]]></category>
		<category><![CDATA[Notebook]]></category>
		<category><![CDATA[Temperature]]></category>
		<category><![CDATA[Zalman]]></category>

		<guid isPermaLink="false">http://mariusvw.com/?p=3428</guid>
		<description><![CDATA[Today I bought a Zalman ZM-NC2000 to cool my Macbook Pro 15" and a Ikea DAVE laptop stand to work on instead of having my laptop on my legs all the time. I know people say that lap in laptop means you should be able to use it on your legs, well, true, but I [...]]]></description>
			<content:encoded><![CDATA[<p>Today I bought a Zalman ZM-NC2000 to cool my Macbook Pro 15" and a Ikea DAVE laptop stand to work on instead of having my laptop on my legs all the time.<br />
I know people say that lap in laptop means you should be able to use it on your legs, well, true, but I just dislike the weight in combination with the heat... On the other side, the heat is really bad for your health! For the guys out there who still want kids, don't use your laptop too much on your lap <img src='http://mariusvw.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' title="Zalman ZM NC2000 & Ikea DAVE laptop stand review photo" /> </p>
<p>The laptop stand is quite simple, you just have a pole with a plate on it where your laptop can be placed on, keep in mind that if you have a 17" Macbook Pro you only have space for a mouse on the left or right. So if you intend to place more than that around your Macbook, don't use it <img src='http://mariusvw.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' title="Zalman ZM NC2000 & Ikea DAVE laptop stand review photo" /><br />
You can see two images directly from Ikea below.</p>
<p><a href="http://mariusvw.com/wp-content/uploads/2010/07/Ikea-DAVE-laptop-stand-1.jpg" rel="lightbox[3428]" title="Ikea DAVE laptop stand, 1"><img src="http://mariusvw.com/wp-content/uploads/2010/07/Ikea-DAVE-laptop-stand-1-150x150.jpg" alt="Ikea DAVE laptop stand 1 150x150 Zalman ZM NC2000 & Ikea DAVE laptop stand review" title="Ikea DAVE laptop stand, 1" width="150" height="150" class="alignnone size-thumbnail wp-image-3430" /></a>&nbsp;&nbsp;<a href="http://mariusvw.com/wp-content/uploads/2010/07/Ikea-DAVE-laptop-stand-2.jpg" rel="lightbox[3428]" title="Ikea DAVE laptop stand, 2"><img src="http://mariusvw.com/wp-content/uploads/2010/07/Ikea-DAVE-laptop-stand-2-150x150.jpg" alt="Ikea DAVE laptop stand 2 150x150 Zalman ZM NC2000 & Ikea DAVE laptop stand review" title="Ikea DAVE laptop stand, 2" width="150" height="150" class="alignnone size-thumbnail wp-image-3431" /></a></p>
<p>The laptop cooler is another thing that is really handy to have, not only to cool down your Macbook for your own health but also for the life of your Macbook it self. This one is fully USB powered and works great. The only thing that you need to adjust is two extra rubber carriers for your macbook, since the ones underneath the Macbook are quite small it might completely shut the airflow.</p>
<p><a href="http://mariusvw.com/wp-content/uploads/2010/07/Zalman-ZM-NC2000-1.jpg" rel="lightbox[3428]" title="Zalman ZM-NC2000, 1"><img src="http://mariusvw.com/wp-content/uploads/2010/07/Zalman-ZM-NC2000-1-150x150.jpg" alt="Zalman ZM NC2000 1 150x150 Zalman ZM NC2000 & Ikea DAVE laptop stand review" title="Zalman ZM-NC2000, 1" width="150" height="150" class="alignnone size-thumbnail wp-image-3434" /></a>&nbsp;&nbsp;<a href="http://mariusvw.com/wp-content/uploads/2010/07/Zalman-ZM-NC2000-2.jpg" rel="lightbox[3428]" title="Zalman ZM-NC2000, 2"><img src="http://mariusvw.com/wp-content/uploads/2010/07/Zalman-ZM-NC2000-2-150x150.jpg" alt="Zalman ZM NC2000 2 150x150 Zalman ZM NC2000 & Ikea DAVE laptop stand review" title="Zalman ZM-NC2000, 2" width="150" height="150" class="alignnone size-thumbnail wp-image-3435" /></a>&nbsp;&nbsp;<a href="http://mariusvw.com/wp-content/uploads/2010/07/Zalman-ZM-NC2000-3.jpg" rel="lightbox[3428]" title="Zalman ZM-NC2000, 3"><img src="http://mariusvw.com/wp-content/uploads/2010/07/Zalman-ZM-NC2000-3-150x150.jpg" alt="Zalman ZM NC2000 3 150x150 Zalman ZM NC2000 & Ikea DAVE laptop stand review" title="Zalman ZM-NC2000, 3" width="150" height="150" class="alignnone size-thumbnail wp-image-3436" /></a></p>
<p>For any more questions about these products, just place a comment <img src='http://mariusvw.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' title="Zalman ZM NC2000 & Ikea DAVE laptop stand review photo" /> </p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://mariusvw.com/2010/08/28/zalman-zm-nc2000-ikea-dave-laptop-stand-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating SFTP-only User Accounts to Kill SSH Access</title>
		<link>http://mariusvw.com/2010/08/26/creating-sftp-only-user-accounts-to-kill-ssh-access/</link>
		<comments>http://mariusvw.com/2010/08/26/creating-sftp-only-user-accounts-to-kill-ssh-access/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 10:29:23 +0000</pubDate>
		<dc:creator>mariusvw</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Access]]></category>
		<category><![CDATA[Secure]]></category>
		<category><![CDATA[Sftp]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://mariusvw.com/?p=4984</guid>
		<description><![CDATA[Problem Statement We wanted to create SFTP-only user accounts that cannot SSH into the server to run commands. There is no built-in approach to this problem that we can find so we created a simple shell script to solve it. Here we will discuss how it works. Step 1: Create a shell script to run [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem Statement</strong><br />
We wanted to create SFTP-only user accounts that cannot SSH into the server to run commands. There is no built-in approach to this problem that we can find so we created a simple shell script to solve it. Here we will discuss how it works.</p>
<p><strong>Step 1: Create a shell script to run as the user’s shell</strong></p>
<p>Create a shell script called <em>/sbin/sftp-only</em> as follows:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;$*&quot;</span> <span style="color: #000000; font-weight: bold;">!</span>= <span style="color: #ff0000;">&quot;-c /usr/libexec/sftp-server&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">then</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> “Sorry, <span style="color: #c20cb9; font-weight: bold;">ssh</span> access not allowed.”
    <span style="color: #7a0874; font-weight: bold;">exit</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">exec</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>libexec<span style="color: #000000; font-weight: bold;">/</span>sftp-server</pre></div></div>

<p><strong>Step 2: Edit user accounts to use this shell script as user’s shell</strong></p>
<p>Modify user accounts using <em>usermod</em> to set the shell to <em>/sbin/sftp-only</em> so that when user tries to SSH to the server, the shell script will display the “Sorry, ssh access not allowed.” message. And when the user tries to connect to the server via a SFTP client, the shell script will get executed and it will start the SFTP server for the user.</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://mariusvw.com/2010/08/26/creating-sftp-only-user-accounts-to-kill-ssh-access/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inconsistent line ending (EOL) style</title>
		<link>http://mariusvw.com/2010/08/25/inconsistent-line-ending-eol-style/</link>
		<comments>http://mariusvw.com/2010/08/25/inconsistent-line-ending-eol-style/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 09:56:24 +0000</pubDate>
		<dc:creator>mariusvw</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[CFM]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Ending]]></category>
		<category><![CDATA[EOL]]></category>
		<category><![CDATA[Find]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Inconsistent]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[Line]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PL]]></category>
		<category><![CDATA[Replace]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[TXT]]></category>

		<guid isPermaLink="false">http://mariusvw.com/?p=4967</guid>
		<description><![CDATA[If you work with subversion you might get this error when you got files that have been edited on different operating systems like Windows, Linux, FreeBSD or Mac OS X. Well, the fix is quite simple. You simply replace the wrong line endings with right ones depending of which you want. In my situation I [...]]]></description>
			<content:encoded><![CDATA[<p>If you work with subversion you might get this error when you got files that have been edited on different operating systems like Windows, Linux, <a href='http://www.freebsd.org' rel='external ' title=''>FreeBSD</a> or Mac OS X.</p>
<p>Well, the fix is quite simple. You simply replace the wrong line endings with right ones depending of which you want. In my situation I want unix style line endings.</p>
<p>Replace in <a href='http://www.php.net' rel='external ' title=''>PHP</a> files:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> .<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.php'</span> <span style="color: #660033;">-type</span> f <span style="color: #660033;">-exec</span> <span style="color: #c20cb9; font-weight: bold;">perl</span> <span style="color: #660033;">-i</span> <span style="color: #660033;">-wpe</span> <span style="color: #ff0000;">'s/\r\n/\n/g'</span> <span style="color: #ff0000;">'{}'</span> \;
<span style="color: #c20cb9; font-weight: bold;">find</span> .<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.php'</span> <span style="color: #660033;">-type</span> f <span style="color: #660033;">-exec</span> <span style="color: #c20cb9; font-weight: bold;">perl</span> <span style="color: #660033;">-i</span> <span style="color: #660033;">-wpe</span> <span style="color: #ff0000;">'s/\r/\n/g'</span> <span style="color: #ff0000;">'{}'</span> \;</pre></div></div>

<p>In case you want to replace them in multiple file types you can adjust the command. In this example we want to replace in the following file types:</p>
<ol>
<li>asp</li>
<li>cfm</li>
<li>css</li>
<li>html</li>
<li>js</li>
<li>php</li>
<li>pl</li>
<li>txt</li>
</ol>
<p>Use the following commands:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> .<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.asp'</span> <span style="color: #660033;">-or</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.cfm'</span> <span style="color: #660033;">-or</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.css'</span> <span style="color: #660033;">-or</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.html'</span> <span style="color: #660033;">-or</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.js'</span> <span style="color: #660033;">-or</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.php'</span> <span style="color: #660033;">-or</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.pl'</span> <span style="color: #660033;">-or</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.txt'</span> <span style="color: #660033;">-type</span> f <span style="color: #660033;">-exec</span> <span style="color: #c20cb9; font-weight: bold;">perl</span> <span style="color: #660033;">-i</span> <span style="color: #660033;">-wpe</span> <span style="color: #ff0000;">'s/\r\n/\n/g'</span> <span style="color: #ff0000;">'{}'</span> \;
<span style="color: #c20cb9; font-weight: bold;">find</span> .<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.asp'</span> <span style="color: #660033;">-or</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.cfm'</span> <span style="color: #660033;">-or</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.css'</span> <span style="color: #660033;">-or</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.html'</span> <span style="color: #660033;">-or</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.js'</span> <span style="color: #660033;">-or</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.php'</span> <span style="color: #660033;">-or</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.pl'</span> <span style="color: #660033;">-or</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.txt'</span> <span style="color: #660033;">-type</span> f <span style="color: #660033;">-exec</span> <span style="color: #c20cb9; font-weight: bold;">perl</span> <span style="color: #660033;">-i</span> <span style="color: #660033;">-wpe</span> <span style="color: #ff0000;">'s/\r/\n/g'</span> <span style="color: #ff0000;">'{}'</span> \;</pre></div></div>

<p>Keep in mind, you may use these commands on your own risk. I'm not responsible if you lose your work <img src='http://mariusvw.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' title="Inconsistent line ending (EOL) style photo" /> </p>
<p>Now you should be able to commit your files again <img src='http://mariusvw.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' title="Inconsistent line ending (EOL) style photo" /> </p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://mariusvw.com/2010/08/25/inconsistent-line-ending-eol-style/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My girlfriend changed the classification in our Carausius morosus terrarium&#8230;</title>
		<link>http://mariusvw.com/2010/08/24/my-girlfriend-changed-the-classification-in-our-carausius-morosus-terrarium/</link>
		<comments>http://mariusvw.com/2010/08/24/my-girlfriend-changed-the-classification-in-our-carausius-morosus-terrarium/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 09:24:32 +0000</pubDate>
		<dc:creator>mariusvw</dc:creator>
				<category><![CDATA[Animals]]></category>
		<category><![CDATA[Home]]></category>
		<category><![CDATA[Carausius morosus]]></category>
		<category><![CDATA[Little]]></category>
		<category><![CDATA[Phasmatodea]]></category>
		<category><![CDATA[Terrarium]]></category>
		<category><![CDATA[Tree]]></category>
		<category><![CDATA[Walking]]></category>

		<guid isPermaLink="false">http://mariusvw.com/?p=4950</guid>
		<description><![CDATA[Original post by Little Tree. A couple of weeks she was thinking of how to make the terrarium look nicer. She already has these Indian stick insects (PSG 1, Carausius Morosus) for more than 10 years. And since the look became kinda boring she decided to change it. Last month a lot of eggs came [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Original post by <a href="http://www.little-tree.nl/2010/07/22/nieuwe-inrichting-van-mijn-terrarium/"><a href='http://www.little-tree.nl' rel='external ' title=''>Little Tree</a></a>.</strong></p>
<p>A couple of weeks she was thinking of how to make the terrarium look nicer. She already has these Indian stick insects (PSG 1, Carausius Morosus) for more than 10 years. And since the look became kinda boring she decided to change it.</p>
<p>Last month a lot of eggs came out so she decided to change it sooner <img src='http://mariusvw.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' title="My girlfriend changed the classification in our Carausius morosus terrarium... photo" /><br />
She first had only clean ground and stones lying on the bottom but this became boring after all these years. We went to a garden center Staelduinsebos and bought 3 stumps of wood (2x hard wood and 1x grape branch) and a bag of bio ground (no manure in it).</p>
<p>Once back home we first mixed the ground with some sand. After cleaning the terrarium we placed this on the bottom. In the mean time the stick<br />
insects were in a open box just waiting and waiting. But keep your eyes on them! They might suddenly start walking <img src='http://mariusvw.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' title="My girlfriend changed the classification in our Carausius morosus terrarium... photo" /> </p>
<p>After that she placed the stones and the wood on the bottom as last she added a little glass bottle with water and placed some privet sticks into it (their food). Then she sprayed the leaves a bit with water and she was done... Now the stick insects can be put back into the terrarium.</p>
<p style="text-align: center;"><a href="http://www.little-tree.nl/wp-content/uploads/2010/07/IMGA0037_2.jpg" rel="lightbox[243]" title="Terrarium van links"><img class="alignnone size-thumbnail wp-image-244" title="Terrarium van links" src="http://www.little-tree.nl/wp-content/uploads/2010/07/IMGA0037_2-150x150.jpg" alt="IMGA0037 2 150x150 My girlfriend changed the classification in our Carausius morosus terrarium..." width="150" height="150" /></a> <a href="http://www.little-tree.nl/wp-content/uploads/2010/07/IMG_0040.jpg" rel="lightbox[243]" title="Terrarium"><img class="alignnone size-thumbnail wp-image-245" title="Terrarium" src="http://www.little-tree.nl/wp-content/uploads/2010/07/IMG_0040-150x150.jpg" alt="IMG 0040 150x150 My girlfriend changed the classification in our Carausius morosus terrarium..." width="150" height="150" /></a> <a href="http://www.little-tree.nl/wp-content/uploads/2010/07/IMGA0029_2.jpg" rel="lightbox[243]" title="Terrarium van rechts"><img class="alignnone size-thumbnail wp-image-246" title="Terrarium van rechts" src="http://www.little-tree.nl/wp-content/uploads/2010/07/IMGA0029_2-150x150.jpg" alt="IMGA0029 2 150x150 My girlfriend changed the classification in our Carausius morosus terrarium..." width="150" height="150" /></a></p>
<p style="text-align: center;"><a href="http://www.little-tree.nl/wp-content/uploads/2010/07/IMGA0036_2.jpg" rel="lightbox[243]" title="Wandelende takken"><img class="alignnone size-thumbnail wp-image-247" title="Wandelende takken" src="http://www.little-tree.nl/wp-content/uploads/2010/07/IMGA0036_2-150x150.jpg" alt="Jonge wandelende takken op liguster takjes" width="150" height="150" /></a> <a href="http://www.little-tree.nl/wp-content/uploads/2010/07/IMGA0035.jpg" rel="lightbox[243]" title="Nimf op stronk"><img class="alignnone size-thumbnail wp-image-248" title="Nimf op stronk" src="http://www.little-tree.nl/wp-content/uploads/2010/07/IMGA0035-150x150.jpg" alt="Nimf of druivenstronk" width="150" height="150" /></a></p>
<p>According to me they are this way very satisfied with their new arranged home.</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://mariusvw.com/2010/08/24/my-girlfriend-changed-the-classification-in-our-carausius-morosus-terrarium/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download Xshare.com video&#8217;s with a simple Bash script (Wankers special)</title>
		<link>http://mariusvw.com/2010/08/20/download-xshare-com-videos-with-a-simple-bash-script-wankers-special/</link>
		<comments>http://mariusvw.com/2010/08/20/download-xshare-com-videos-with-a-simple-bash-script-wankers-special/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 07:17:38 +0000</pubDate>
		<dc:creator>mariusvw</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Leech]]></category>
		<category><![CDATA[Movie]]></category>
		<category><![CDATA[Porno]]></category>
		<category><![CDATA[Pussy]]></category>
		<category><![CDATA[Redtube]]></category>
		<category><![CDATA[RIP]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[Siterip]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Xshare]]></category>

		<guid isPermaLink="false">http://mariusvw.com/?p=4939</guid>
		<description><![CDATA[Ok, lets say you are a person that REALLY likes watching offline porn and that you talk with a person like me and say to me that it is impossible to download all movies listed on the website... Well, don't say that... Everything is possible! In about 10 minutes I wrote the following script which [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, lets say you are a person that REALLY likes watching offline porn and that you talk with a person like me and say to me that it is impossible to download all movies listed on the website... Well, don't say that... Everything is possible!</p>
<p>In about 10 minutes I wrote the following script which is able to download completely <a href="http://www.xshare.com">xshare.com</a> their movies.<br />
The script downloads the playlist from the website and then grabs the media url from it. Then, it simply downloads the media and saves it.</p>
<p>The only requirement is Bash and Curl and some minor adjustments to the paths of these binaries.<br />
It should run without a change on Mac OS X.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Save as: XShare_Downloader.sh</span>
&nbsp;
<span style="color: #007800;">limit</span>=<span style="color: #ff0000;">'500k'</span>
&nbsp;
<span style="color: #007800;">START</span>=<span style="color: #000000;">1</span>
<span style="color: #007800;">END</span>=<span style="color: #000000;">99999</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Resume if stopped</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-r</span> _current <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">then</span>
    <span style="color: #007800;">START</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">cat</span> _current<span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
cleanup<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #007800;">$x</span> incomplete, removing: <span style="color: #007800;">$tfile</span>&quot;</span>
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;_files/<span style="color: #007800;">$tfile</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
    <span style="color: #000000; font-weight: bold;">then</span>    
        <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #ff0000;">&quot;_files/<span style="color: #007800;">$tfile</span>&quot;</span>
    <span style="color: #000000; font-weight: bold;">fi</span>
    <span style="color: #7a0874; font-weight: bold;">exit</span>    
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">trap</span> cleanup SIGHUP
<span style="color: #7a0874; font-weight: bold;">trap</span> cleanup SIGINT
<span style="color: #7a0874; font-weight: bold;">trap</span> cleanup SIGTERM 
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> _files
<span style="color: #000000; font-weight: bold;">for</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>x = <span style="color: #007800;">$START</span>; x<span style="color: #000000; font-weight: bold;">&lt;</span>=<span style="color: #007800;">$END</span>; x++<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000; font-weight: bold;">do</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$x</span> <span style="color: #000000; font-weight: bold;">&gt;</span> _current
&nbsp;
    <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Working on file number: <span style="color: #007800;">$x</span>&quot;</span>
&nbsp;
    <span style="color: #007800;">pls</span>=<span style="color: #ff0000;">&quot;http://xshare.com/playlist.php?vid=<span style="color: #007800;">$x</span>&quot;</span>
    curl <span style="color: #660033;">-s</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$pls</span>&quot;</span> <span style="color: #660033;">-o</span> _get.xml
    <span style="color: #000000; font-weight: bold;">for</span> tag <span style="color: #000000; font-weight: bold;">in</span> title location
    <span style="color: #000000; font-weight: bold;">do</span>
        <span style="color: #007800;">OUT</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">grep</span>  <span style="color: #007800;">$tag</span> _get.xml <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">tr</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">'\t'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s/^&lt;.*&gt;\([^&lt;].*\)&lt;.*&gt;$/\1/'</span> <span style="color: #000000; font-weight: bold;">`</span>
        <span style="color: #7a0874; font-weight: bold;">eval</span> <span style="color: #007800;">$tag</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-ne</span> <span style="color: #000000; font-weight: bold;">\&quot;</span><span style="color: #ff0000;">&quot;<span style="color: #007800;">$OUT</span>&quot;</span><span style="color: #000000; font-weight: bold;">\&quot;</span><span style="color: #000000; font-weight: bold;">`</span>
    <span style="color: #000000; font-weight: bold;">done</span>    
    <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> _get.xml
&nbsp;
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">-z</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${location##http*/}</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
    <span style="color: #000000; font-weight: bold;">then</span>    
        <span style="color: #007800;">filename</span>=<span style="color: #800000;">${location##http*/}</span>
        <span style="color: #007800;">extension</span>=<span style="color: #800000;">${location##http*.}</span>
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">-z</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$title</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
        <span style="color: #000000; font-weight: bold;">then</span>    
            <span style="color: #007800;">tfile</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${filename%%.$extension}</span> - <span style="color: #007800;">$title</span>.<span style="color: #007800;">$extension</span>&quot;</span>
        <span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">-z</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$location</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
        <span style="color: #000000; font-weight: bold;">then</span>    
            <span style="color: #007800;">tfile</span>=<span style="color: #007800;">$filename</span>
        <span style="color: #000000; font-weight: bold;">fi</span>      
            <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Saving as: <span style="color: #007800;">$tfile</span>&quot;</span>
        curl <span style="color: #660033;">--limit-rate</span> <span style="color: #007800;">$limit</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$location</span>&quot;</span> <span style="color: #660033;">-o</span> <span style="color: #ff0000;">&quot;_files/<span style="color: #007800;">$tfile</span>&quot;</span>
    <span style="color: #000000; font-weight: bold;">else</span>    
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;No media file found... Next...&quot;</span>
    <span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
    <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span>
<span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #666666; font-style: italic;"># EOF</span></pre></div></div>

<p>To all the wankers out there... Be my guest and use it...<br />
Keep in mind that you might violate the Copyright of <a href="http://www.xshare.com">xshare.com</a></p>
<p>Ps. if you want to donate me for your pleasure. The button is on the right side of this website <img src='http://mariusvw.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' title="Download Xshare.com videos with a simple Bash script (Wankers special) photo" /> </p>
<p><strong>update</strong>:<br />
Added resume support, now it keeps track of the last ID started.</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://mariusvw.com/2010/08/20/download-xshare-com-videos-with-a-simple-bash-script-wankers-special/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FAR, a wonderful site to get free iPhone apps / games</title>
		<link>http://mariusvw.com/2010/08/14/far-a-wonderful-site-to-get-free-iphone-apps-games/</link>
		<comments>http://mariusvw.com/2010/08/14/far-a-wonderful-site-to-get-free-iphone-apps-games/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 20:52:08 +0000</pubDate>
		<dc:creator>mariusvw</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[App]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Free]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://mariusvw.com/?p=4852</guid>
		<description><![CDATA[Lately I have been downloading a LOT of apps for the iPhone via a website a friend of mine told me about. The idea of this website is quite simple, daily there is a new blogpost with new apps that you can download for free in the iTunes AppStore. The most downloads I had so [...]]]></description>
			<content:encoded><![CDATA[<p>Lately I have been downloading a LOT of apps for the iPhone via a website a friend of mine told me about.<br />
The idea of this website is quite simple, daily there is a new blogpost with new apps that you can download for free in the iTunes AppStore.</p>
<p>The most downloads I had so far were games but they are mostly quite fun to play, plus the applications that were on the list were really useful. Not like a lot of websites that have links to free applications but 90% is not useful.</p>
<p>I hope you find this website useful too. You can visit FAR at <a href="http://freeappreport.com/">FreeAppReport</a></p>
<p>Thank you for all the hard work on the website, keep it up! <img src='http://mariusvw.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' title="FAR, a wonderful site to get free iPhone apps / games photo" /> </p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://mariusvw.com/2010/08/14/far-a-wonderful-site-to-get-free-iphone-apps-games/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Castlefest 2010 by Vana Events</title>
		<link>http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/</link>
		<comments>http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 12:45:51 +0000</pubDate>
		<dc:creator>mariusvw</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Clothes]]></category>
		<category><![CDATA[Dreads]]></category>
		<category><![CDATA[Event]]></category>
		<category><![CDATA[Festival]]></category>
		<category><![CDATA[Gothic]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[OMNIA]]></category>
		<category><![CDATA[Pagan]]></category>
		<category><![CDATA[Tattoo]]></category>
		<category><![CDATA[Vana]]></category>

		<guid isPermaLink="false">http://mariusvw.com/?p=4442</guid>
		<description><![CDATA[We have visited Castlefest organized by Vana Events last sunday. It was a wonderful day, nice weather, nice people and not to forget... Great music! First we walked around some to check out the terrain, the first stand where we stopped is by a good friend of ours. Her shop is called Ancient Gaya. She [...]]]></description>
			<content:encoded><![CDATA[<p>We have visited <a href='http://www.castlefest.nl/' rel='external ' title=''>Castlefest</a> organized by <a href='http://www.vana-events.nl/' rel='external ' title=''>Vana Events</a> last sunday. It was a wonderful day, nice weather, nice people and not to forget... Great music! <img src='http://mariusvw.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' title="Castlefest 2010 by Vana Events photo" /> </p>
<p>First we walked around some to check out the terrain, the first stand where we stopped is by a good friend of ours. Her shop is called <a href='http://www.ancientgaia.nl' rel='external ' title=''>Ancient Gaya</a>. She sells Temporary Tattoos, Piercings, Fantasy &#038; Gothic jewelry, Fantasy &#038; Movie Swords and knives (including Kit Rae), Buddha statues, Headdresses and much more... So be sure to check out their webshop too <img src='http://mariusvw.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' title="Castlefest 2010 by Vana Events photo" /> </p>
<p>After a while walking we reminded our selves that <a href='http://www.worldofomnia.com/' rel='external ' title=''>OMNIA</a> was playing at the Forest Podium so we went back there and sit down on the grass to watch their show, it was really nice sitting in the sun on the grass listening to their music. After their show we walked around some more to visit some shops and watch an mediaeval setup of real blacksmith and a leather worker. And a special thing that Marijke liked was card weaving. You can see it in the movie below.</p>
<p>After seeing every tiny bit of the terrain of <a href='http://www.castlefest.nl/' rel='external ' title=''>Castlefest</a> we went to the Village Stage to watch the show of <a href='http://www.keltenzondergrenzen.nl/' rel='external ' title=''>Kelten Zonder Grenzen</a>. When their show was finished we went to home...</p>
<p>You can view a compilation of some recordings in the video's below:</p>
<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=14157495&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=14157495&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object><br /><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=14175532&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=14175532&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object><br /><br />
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=14058303&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=14058303&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object><br /><br />
<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/RkIyLhyjaxE&#038;fs=1" width="425" height="344"><param name="movie" value="http://www.youtube.com/v/RkIyLhyjaxE&#038;fs=1" /><param name="FlashVars" value="playerMode=embedded"/><param name="wmode" value="transparent"/></object></p>
<p>And not to forget, photo's (the last 2 are crew pictures, nice background <img src='http://mariusvw.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' title="Castlefest 2010 by Vana Events photo" /> ):</p>

<a href='http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/imga0001-6/' title='Castlefest 2010, 01'><img width="150" height="150" src="http://mariusvw.com/wp-content/uploads/2010/08/IMGA0001-150x150.jpg" class="attachment-thumbnail" alt="Castlefest 2010, 01" title="Castlefest 2010, 01" /></a>
<a href='http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/imga0005-3/' title='Castlefest 2010, 02'><img width="150" height="150" src="http://mariusvw.com/wp-content/uploads/2010/08/IMGA0005-150x150.jpg" class="attachment-thumbnail" alt="Castlefest 2010, 02" title="Castlefest 2010, 02" /></a>
<a href='http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/imga0010/' title='Castlefest 2010, 03'><img width="150" height="150" src="http://mariusvw.com/wp-content/uploads/2010/08/IMGA0010-150x150.jpg" class="attachment-thumbnail" alt="Castlefest 2010, 03" title="Castlefest 2010, 03" /></a>
<a href='http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/imga0012/' title='Castlefest 2010, 04'><img width="150" height="150" src="http://mariusvw.com/wp-content/uploads/2010/08/IMGA0012-150x150.jpg" class="attachment-thumbnail" alt="Castlefest 2010, 04" title="Castlefest 2010, 04" /></a>
<a href='http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/imga0014/' title='Castlefest 2010, 05'><img width="150" height="150" src="http://mariusvw.com/wp-content/uploads/2010/08/IMGA0014-150x150.jpg" class="attachment-thumbnail" alt="Castlefest 2010, 05" title="Castlefest 2010, 05" /></a>
<a href='http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/imga0019/' title='Castlefest 2010, 06'><img width="150" height="150" src="http://mariusvw.com/wp-content/uploads/2010/08/IMGA0019-150x150.jpg" class="attachment-thumbnail" alt="Castlefest 2010, 06" title="Castlefest 2010, 06" /></a>
<a href='http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/imga0022/' title='Castlefest 2010, 07'><img width="150" height="150" src="http://mariusvw.com/wp-content/uploads/2010/08/IMGA0022-150x150.jpg" class="attachment-thumbnail" alt="Castlefest 2010, 07" title="Castlefest 2010, 07" /></a>
<a href='http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/imga0023/' title='Castlefest 2010, 08'><img width="150" height="150" src="http://mariusvw.com/wp-content/uploads/2010/08/IMGA0023-150x150.jpg" class="attachment-thumbnail" alt="Castlefest 2010, 08" title="Castlefest 2010, 08" /></a>
<a href='http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/imga0024/' title='Castlefest 2010, 09'><img width="150" height="150" src="http://mariusvw.com/wp-content/uploads/2010/08/IMGA0024-150x150.jpg" class="attachment-thumbnail" alt="Castlefest 2010, 09" title="Castlefest 2010, 09" /></a>
<a href='http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/imga0026/' title='Castlefest 2010, 10'><img width="150" height="150" src="http://mariusvw.com/wp-content/uploads/2010/08/IMGA0026-150x150.jpg" class="attachment-thumbnail" alt="Castlefest 2010, 10" title="Castlefest 2010, 10" /></a>
<a href='http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/imga0029/' title='Castlefest 2010, 11'><img width="150" height="150" src="http://mariusvw.com/wp-content/uploads/2010/08/IMGA0029-150x150.jpg" class="attachment-thumbnail" alt="Castlefest 2010, 11" title="Castlefest 2010, 11" /></a>
<a href='http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/imga0031/' title='Castlefest 2010, 12'><img width="150" height="150" src="http://mariusvw.com/wp-content/uploads/2010/08/IMGA0031-150x150.jpg" class="attachment-thumbnail" alt="Castlefest 2010, 12" title="Castlefest 2010, 12" /></a>
<a href='http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/imga0039-2/' title='Castlefest 2010, 13'><img width="150" height="150" src="http://mariusvw.com/wp-content/uploads/2010/08/IMGA0039-150x150.jpg" class="attachment-thumbnail" alt="Castlefest 2010, 13" title="Castlefest 2010, 13" /></a>
<a href='http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/imga0040/' title='Castlefest 2010, 14'><img width="150" height="150" src="http://mariusvw.com/wp-content/uploads/2010/08/IMGA0040-150x150.jpg" class="attachment-thumbnail" alt="Castlefest 2010, 14" title="Castlefest 2010, 14" /></a>
<a href='http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/imga0041/' title='Castlefest 2010, 15'><img width="150" height="150" src="http://mariusvw.com/wp-content/uploads/2010/08/IMGA0041-150x150.jpg" class="attachment-thumbnail" alt="Castlefest 2010, 15" title="Castlefest 2010, 15" /></a>
<a href='http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/imga0046/' title='Castlefest 2010, 16'><img width="150" height="150" src="http://mariusvw.com/wp-content/uploads/2010/08/IMGA0046-150x150.jpg" class="attachment-thumbnail" alt="Castlefest 2010, 16" title="Castlefest 2010, 16" /></a>
<a href='http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/imga0049/' title='Castlefest 2010, 17'><img width="150" height="150" src="http://mariusvw.com/wp-content/uploads/2010/08/IMGA0049-150x150.jpg" class="attachment-thumbnail" alt="Castlefest 2010, 17" title="Castlefest 2010, 17" /></a>
<a href='http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/imga0051-2/' title='Castlefest 2010, 18'><img width="150" height="150" src="http://mariusvw.com/wp-content/uploads/2010/08/IMGA0051-150x150.jpg" class="attachment-thumbnail" alt="Castlefest 2010, 18" title="Castlefest 2010, 18" /></a>

<p>In case you want to use one of the images and you need the high resolution version, don't hesitate to mail me! <img src='http://mariusvw.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' title="Castlefest 2010 by Vana Events photo" /> </p>
<p>Others who I know that were at <a href='http://www.castlefest.nl/' rel='external ' title=''>Castlefest</a>: <a href='http://www.leaf-music.com' rel='external ' title=''>LEAF</a>, <a href='http://www.hatsndreads.com' rel='external ' title=''>Hats &#039;n Dreads</a>, <a href='http://www.senjoclothing.com/' rel='external ' title=''>Senjo Clothing</a> </p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://mariusvw.com/2010/08/11/castlefest-2010-by-vana-events/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>View the Sex Tape of Eva Mendes. The real tape!</title>
		<link>http://mariusvw.com/2010/08/04/view-the-sex-tape-of-eva-mendes-the-real-tape/</link>
		<comments>http://mariusvw.com/2010/08/04/view-the-sex-tape-of-eva-mendes-the-real-tape/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 09:23:16 +0000</pubDate>
		<dc:creator>mariusvw</dc:creator>
				<category><![CDATA[Funnies]]></category>
		<category><![CDATA[Bed]]></category>
		<category><![CDATA[Nightvision]]></category>
		<category><![CDATA[Sex]]></category>
		<category><![CDATA[Tape]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://mariusvw.com/?p=4348</guid>
		<description><![CDATA[I saw a lot on the web already but this is the real deal... The real Sex Tape by Eva Mendes. Eva Mendes Sex Tape from Eva Mendes Source: http://www.funnyordie.com/videos/0a4d42beff/eva-mendes-sex-tape The real tape... Sticks to everything!]]></description>
			<content:encoded><![CDATA[<p>I saw a lot on the web already but this is the real deal... The real Sex Tape by Eva Mendes.</p>
<p><object width="512" height="328" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="ordie_player_0a4d42beff"><param name="movie" value="http://player.ordienetworks.com/flash/fodplayer.swf" /><param name="flashvars" value="key=0a4d42beff" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always"></param><embed width="512" height="328" flashvars="key=0a4d42beff" allowfullscreen="true" allowscriptaccess="always" quality="high" src="http://player.ordienetworks.com/flash/fodplayer.swf" name="ordie_player_0a4d42beff" type="application/x-shockwave-flash"></embed></object>
<div style="text-align:left;font-size:x-small;margin-top:0;width:512px;"><a href="http://www.funnyordie.com/videos/0a4d42beff/eva-mendes-sex-tape" title="from Eva Mendes, Jake, and FOD Team">Eva Mendes Sex Tape</a> from <a href="http://www.funnyordie.com/eva_mendes">Eva Mendes</a></div>
</p>
<p>Source: <a href="http://www.funnyordie.com/videos/0a4d42beff/eva-mendes-sex-tape">http://www.funnyordie.com/videos/0a4d42beff/eva-mendes-sex-tape</a></p>
<p><em>The real tape... Sticks to everything!</em></p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://mariusvw.com/2010/08/04/view-the-sex-tape-of-eva-mendes-the-real-tape/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to: gain some more performance for MySQL without compiled Linux threads on FreeBSD</title>
		<link>http://mariusvw.com/2010/08/03/how-to-gain-some-more-performance-for-mysql-without-compiled-linux-threads-on-freebsd/</link>
		<comments>http://mariusvw.com/2010/08/03/how-to-gain-some-more-performance-for-mysql-without-compiled-linux-threads-on-freebsd/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 20:53:40 +0000</pubDate>
		<dc:creator>mariusvw</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Benchmark]]></category>
		<category><![CDATA[Library]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Speed]]></category>
		<category><![CDATA[Threads]]></category>

		<guid isPermaLink="false">http://mariusvw.com/?p=4343</guid>
		<description><![CDATA[I notice a lot of people I talk to are compiling MySQL with Linux Threads to gain performance with MySQL, there is another way! You can use the thread libraries of FreeBSD to gain some more performance by altering the libmap.conf file to use libthr instead of libpthread. Add the following to /etc/libmap.conf [mysqld] libpthread.so [...]]]></description>
			<content:encoded><![CDATA[<p>I notice a lot of people I talk to are compiling <a href='http://www.mysql.com' rel='external ' title=''>MySQL</a> with Linux Threads to gain performance with <a href='http://www.mysql.com' rel='external ' title=''>MySQL</a>, there is another way!</p>
<p>You can use the thread libraries of <a href='http://www.freebsd.org' rel='external ' title=''>FreeBSD</a> to gain some more performance by altering the <em>libmap.conf</em> file to use <em>libthr</em> instead of <em>libpthread</em>.</p>
<p><strong>Add the following to <em>/etc/libmap.conf</em></strong></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">[mysqld]
libpthread.so libthr.so
libpthread.so.2 libthr.so.2
libpthread.so.3 libthr.so.3
libpthread.so.4 libthr.so.4
libpthread.so.5 libthr.so.5
&nbsp;
[/usr/local/libexec/mysqld]
libpthread.so libthr.so
libpthread.so.2 libthr.so.2
libpthread.so.3 libthr.so.3
libpthread.so.4 libthr.so.4
libpthread.so.5 libthr.so.5</pre></div></div>

<p><strong>Restart mysql</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</span>mysql-server restart</pre></div></div>

<p>Now you can benchmark your installation and check the performance gain.</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://mariusvw.com/2010/08/03/how-to-gain-some-more-performance-for-mysql-without-compiled-linux-threads-on-freebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to: install mysql-server 5.1 on FreeBSD</title>
		<link>http://mariusvw.com/2010/08/03/how-to-install-mysql-server-5-1-on-freebsd/</link>
		<comments>http://mariusvw.com/2010/08/03/how-to-install-mysql-server-5-1-on-freebsd/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 20:38:44 +0000</pubDate>
		<dc:creator>mariusvw</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Ports]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Setup]]></category>

		<guid isPermaLink="false">http://mariusvw.com/?p=4205</guid>
		<description><![CDATA[When I install MySQL on FreeBSD I usually choose to set it up with UTF8 support by default. This is what I'm also going to do in this howto. Install MySQL with utf-8 support cd /usr/ports/databases/mysql51-server make BUILD_OPTIMIZED=1 BUILD_STATIC=1 WITH_CHARSET=utf8 WITH_COLLATION=utf8_unicode_ci install clean Configure MySQL with my.cnf Copy default huge config. cp /usr/local/share/mysql/my-huge.cnf /etc/my.cnf You [...]]]></description>
			<content:encoded><![CDATA[<p>When I install <a href='http://www.mysql.com' rel='external ' title=''>MySQL</a> on <a href='http://www.freebsd.org' rel='external ' title=''>FreeBSD</a> I usually choose to set it up with UTF8 support by default.<br />
This is what I'm also going to do in this howto.</p>
<p><strong>Install <a href='http://www.mysql.com' rel='external ' title=''>MySQL</a> with utf-8 support</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>databases<span style="color: #000000; font-weight: bold;">/</span>mysql51-server
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #007800;">BUILD_OPTIMIZED</span>=<span style="color: #000000;">1</span> <span style="color: #007800;">BUILD_STATIC</span>=<span style="color: #000000;">1</span> <span style="color: #007800;">WITH_CHARSET</span>=utf8 <span style="color: #007800;">WITH_COLLATION</span>=utf8_unicode_ci <span style="color: #c20cb9; font-weight: bold;">install</span> clean</pre></div></div>

<p><strong>Configure <a href='http://www.mysql.com' rel='external ' title=''>MySQL</a> with my.cnf</strong><br />
Copy default huge config.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>mysql<span style="color: #000000; font-weight: bold;">/</span>my-huge.cnf <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>my.cnf</pre></div></div>

<p>You now need to edit <em>/etc/my.cnf</em> to your needs, I would add the following lines.</p>
<p>If you want <a href='http://www.mysql.com' rel='external ' title=''>MySQL</a>d to listen on one IP instead of ALL, I choose localhost <img src='http://mariusvw.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' title="How to: install mysql server 5.1 on FreeBSD photo" /> :</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">bind-address = 127.0.0.1</pre></div></div>

<p>Higher the max_connections number (default: 100):</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">set-variable = max_connections=250</pre></div></div>

<p>Set <a href='http://www.mysql.com' rel='external ' title=''>MySQL</a> to use utf-8 as default (you NEED these for utf-8 in default):</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">default-character-set=utf8
character_set_server=utf8
collation_server=utf8_unicode_ci</pre></div></div>

<p>To prevent <a href='http://www.mysql.com' rel='external ' title=''>MySQL</a>d to be reachable via tcp/ip, uncomment:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"># Don't listen on a TCP/IP port at all.
#skip-networking</pre></div></div>

<p>If you don't want to use replication, comment the below line:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"># Replication Master Server (default)
# binary logging is required for replication
#log-bin=mysql-bin</pre></div></div>

<p>For some more performance change this line (CPU's * 2, I use a quadcore so I set it to 8):</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">thread_concurrency = 8</pre></div></div>

<p>In case you have big queries you might want to increase max_allowed_packet. Default is 1MB... I would start with setting it to 8MB.</p>
<p><strong>Fire up <a href='http://www.mysql.com' rel='external ' title=''>MySQL</a></strong></p>
<p>Edit <em>/etc/rc.conf</em> and add the following two lines:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># MySQL</span>
<span style="color: #007800;">mysql_enable</span>=<span style="color: #ff0000;">&quot;YES&quot;</span>
<span style="color: #007800;">mysql_limits</span>=<span style="color: #ff0000;">&quot;YES&quot;</span></pre></div></div>

<p>Start <a href='http://www.mysql.com' rel='external ' title=''>MySQL</a></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">/usr/local/etc/rc.d/mysql-server start</pre></div></div>

<p><strong>Set a password for the root user</strong></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">mysql -u root</pre></div></div>

<p>Run the folowing mysql queries:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SET</span> PASSWORD <span style="color: #993333; font-weight: bold;">FOR</span> root@<span style="color: #ff0000;">&quot;localhost&quot;</span> <span style="color: #66cc66;">=</span> PASSWORD<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'YourPasswordHere'</span><span style="color: #66cc66;">&#41;</span>;
quit;</pre></div></div>

<p>In case you use the local FTP daemon of <a href='http://www.freebsd.org' rel='external ' title=''>FreeBSD</a> you might want to add the mysql user to the ftpusers file to prevent any FTP login from this user.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;mysql&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ftpusers</pre></div></div>

<p><strong>Portupgrade</strong></p>
<p>When you are a user of <em>portupgrade</em> you might want to add the following to <em>/usr/local/etc/pkgtools.conf</em></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">  MAKE_ARGS = {
        'databases/mysql51-*' =&gt; [
                'BUILD_OPTIMIZED=1',
                'BUILD_STATIC=1',
		'WITH_CHARSET=utf8',
		'WITH_COLLATION=utf8_bin',
        ],
  }</pre></div></div>

<p><strong>Default database</strong></p>
<p>Sometimes the installation fails to install the default database, if this happens run the following command and reset your root password</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysql_install_db <span style="color: #660033;">--user</span>=mysql</pre></div></div>

<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://mariusvw.com/2010/08/03/how-to-install-mysql-server-5-1-on-freebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
