<?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>Thijs Lensselink&#039;s Blog &#187; /home</title>
	<atom:link href="http://lenss.nl/category/home/feed/" rel="self" type="application/rss+xml" />
	<link>http://lenss.nl</link>
	<description>Webdevelopment and stuff...</description>
	<lastBuildDate>Thu, 26 Apr 2012 21:48:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Using SSH key authentication with EGit in ZendStudio</title>
		<link>http://lenss.nl/2012/02/using-ssh-key-authentication-with-egit-in-zendstudio/</link>
		<comments>http://lenss.nl/2012/02/using-ssh-key-authentication-with-egit-in-zendstudio/#comments</comments>
		<pubDate>Tue, 28 Feb 2012 14:17:19 +0000</pubDate>
		<dc:creator>Thijs Lensselink</dc:creator>
				<category><![CDATA[/home]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Zend]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[EGit]]></category>
		<category><![CDATA[Jsch]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://lenss.nl/?p=1442</guid>
		<description><![CDATA[For the past few months i have been switching some projects over to git from Subversion. And have been trying to get the hang of all the command line options available. And i will be doing that for a while longer until i get completely comfortable. And for communication to the remote git server i [...]]]></description>
			<content:encoded><![CDATA[<p>For the past few months i have been switching some projects over to <a href="http://git-scm.com/">git</a> from <a href="http://subversion.tigris.org/">Subversion</a>. And have been trying to get the hang of all the command line options available. And i will be doing that for a while longer until i get completely comfortable. And for communication to the remote git server i have been using SSH key authentication. Which works smoothly just like it did with Subversion. </p>
<p>But i wanted to check out the GIT support available in <a href="http://www.zend.com/products/studio/">Zend Studio 9</a>. And hit a problem pretty quickly. But i will describe that below. First i will create a local clone of my git project.</p>
<blockquote><p>$ git clone ssh://[somehost]/~/git/project.git</p></blockquote>
<p>To test if everything is working i do a test commit. If that succeeds if push it out to the remote master.</p>
<blockquote><p>
$ cd project.git<br />
$ touch TEST<br />
$ git commit<br />
$ git push origin master
</p></blockquote>
<p>So that works fine. Now time to see how Zen Studio handles this. To create a project i use the <strong>Create from Git</strong> option. And select the local checkout i just created. This will read the whole repository configuration. And you are basically done from here. But as i mentioned earlier, i had some difficulties getting things running smoothly. I discovered that when it was time to push changes to the master repository.</p>
<p>When i used the <strong>Push to Upstream</strong> option. I was greeted by a login panel that seemed to have selected the correct SSH key and user to perform the login. But when i typed the password, it just kept asking for the password. Again and again. Hmm. That sucks! The password was correct. I tried with a newly created key. No luck either. The last thing i tried was updating to a nightly build of <a href="http://www.eclipse.org/egit/">Egit</a> found <a href="http://www.eclipse.org/egit/download/">here</a>. But this offered no solution either.</p>
<p>After reading a couple of complaints i found this <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=326526">bug</a> report for the EGit eclipse plugin. The thread contains a solution for the login issue i was having. Gotta love Google!</p>
<p>Apparently the problem has to do with the encryption algorithm used to create the SSH keys. In this case the EGit plugin (which uses <a href="http://www.jcraft.com/jsch/">Jsch</a> to do the SSH communication) was having problems with <a href="http://en.wikipedia.org/wiki/Advanced_Encryption_Standard">AES</a> encrypted keys. And to solve the problem the Jsch library should be replaced with a newer version to make things work again.</p>
<p>So lets download this JSch library and update it manually. The library (JSch v 0.1.46) can be found <a href="http://www.jcraft.com/jsch/">here</a>.</p>
<blockquote><p>
$ cd ZendStudio9<br />
$ find . -name &#8216;*jsch*&#8217; -type f
</p></blockquote>
<p>Found it <strong>plugins/com.jcraft.jsch_0.1.41.v201101211617.jar</strong>. So let&#8217;s try to update that.</p>
<blockquote><p>
$ cp plugins/com.jcraft.jsch_0.1.41.v201101211617.jar plugins/com.jcraft.jsch_0.1.41.v201101211617.jar.backup<br />
$ wget http://sourceforge.net/projects/jsch/files/jsch.jar/0.1.46/jsch-0.1.46.jar/download<br />
$ mv jsch-0.1.46.jar plugins/com.jcraft.jsch_0.1.41.v201101211617.jar
</p></blockquote>
<p>After restarting ZS everything worked fine again. Another problem solved! Thanks to the guys who posted in the EGit bug thread. Some good community Karma here! Time for other things. Hope it helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://lenss.nl/2012/02/using-ssh-key-authentication-with-egit-in-zendstudio/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Recruiter rant</title>
		<link>http://lenss.nl/2012/02/recruiter-rant/</link>
		<comments>http://lenss.nl/2012/02/recruiter-rant/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 21:14:03 +0000</pubDate>
		<dc:creator>Thijs Lensselink</dc:creator>
				<category><![CDATA[/home]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[aggressive]]></category>
		<category><![CDATA[Recruiter]]></category>
		<category><![CDATA[unmannered]]></category>

		<guid isPermaLink="false">http://lenss.nl/?p=1435</guid>
		<description><![CDATA[While doing our routine sprint retrospective today. We got interrupted by our office manager Wendy. An important phone call for me. Hmm&#8230; Should have known. I picked up the phone. And the guy (Amoria Bond) on the other end immediately started his sales pitch. O shit another one of those nasty recruiters. So after listening [...]]]></description>
			<content:encoded><![CDATA[<p>While doing our routine <a href="http://sites.google.com/site/agiledevelopmentsite/process/sprint-retrospective">sprint retrospective</a> today. We got interrupted by our office manager Wendy. An important phone call for me. Hmm&#8230; Should have known.</p>
<p>I picked up the phone. And the guy (<a href="http://www.amoriabond.com/">Amoria Bond</a>) on the other end immediately started his sales pitch. O shit another one of those nasty recruiters. So after listening to him for a few seconds i quickly interrupted him. Told him i was not interested in a new job at all. And that he was a jerk and extremely unprofessional for calling me at the office. Completely unaware (or maybe intentionally?) what impact this might have if for instance my manager picks up the phone. Besides it&#8217;s just plain rude. </p>
<p>Now don&#8217;t get me wrong. It&#8217;s not a rant for nothing. I don&#8217;t hate recruiters. And have worked with some professional ones in the past. I&#8217;ve always enjoyed communicating with linda-lotte while she was still working for <a href="http://www.recruit4it.nl/">Recruit4it</a>. And the guys at <a href="http://www.starapple.nl">Starapple</a> are OK as well. But this guy today really pissed me off with his aggressive unmannered approach. It&#8217;s a shame i didn&#8217;t catch his name while i was in rant mode. But please don&#8217;t ever call me again.</p>
<p><strong>Update:</strong></p>
<p>It seems to be some form of new tactic to call developers in the office where they work. This happened a couple of times more after this post. So this is for the next recruiter that calls me in the office. I&#8217;ll personally come over and kick your ass!!</p>
]]></content:encoded>
			<wfw:commentRss>http://lenss.nl/2012/02/recruiter-rant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress install compromised</title>
		<link>http://lenss.nl/2012/02/wordpress-install-compromised/</link>
		<comments>http://lenss.nl/2012/02/wordpress-install-compromised/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 20:37:10 +0000</pubDate>
		<dc:creator>Thijs Lensselink</dc:creator>
				<category><![CDATA[/home]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[brazil]]></category>
		<category><![CDATA[hacked]]></category>
		<category><![CDATA[IRC bot]]></category>
		<category><![CDATA[pbot]]></category>
		<category><![CDATA[PHP bot]]></category>

		<guid isPermaLink="false">http://lenss.nl/?p=1408</guid>
		<description><![CDATA[Last week i got an email from the Dutch NCSC (Nationaal Cyber Security Centrum). Apparently one of the nodes i manage for a customer was part of a botnet. There were no further demands. They just informed me about the issue. Damn cool! Being part of a botnet however. Not so cool! With the email [...]]]></description>
			<content:encoded><![CDATA[<p>Last week i got an email from the Dutch <a href="https://www.ncsc.nl/">NCSC</a> (Nationaal Cyber Security Centrum). Apparently one of the nodes i manage for a customer was part of a <a href="http://en.wikipedia.org/wiki/Botnet">botnet</a>. There were no further demands. They just informed me about the issue. Damn cool! Being part of a <a href="http://en.wikipedia.org/wiki/Botnet">botnet</a> however. Not so cool!</p>
<p>With the email came a small excerpt of a IRC channel log. I recognized the node. So SSH&#8217;ed into that specific node. And used <a href="http://linux.die.net/man/8/netstat">netstat</a> to check for any strange connections. A connection on port 20 to the C&#038;C node of the <a href="http://en.wikipedia.org/wiki/Botnet">botnet</a>. Thats not good.</p>
<blockquote><p>
$ netstat -an<br />
Active Internet connections (servers and established)<br />
Proto Recv-Q Send-Q Local Address           Foreign Address         State<br />
tcp        0      0 xxx.xxx.xxx.xx:20       69.162.80.62:20         ESTABLISHED
</p></blockquote>
<p>In the email from NCSC it was mentioned to look for files called <strong>wp-rss3.php</strong>. But a search for this file did not return any hits. Hmmm. And i still  had no idea which site it concerned. Since a couple were running on this particular node. The only thing certain. It&#8217;s <a href="http://wordpress.org">WordPress</a> related. So i started searching for recent <a href="http://wordpress.org">WordPress</a> compromises. And found a lot of hits on Google for the <a href="http://code.google.com/p/timthumb/">timThumb</a> and <a href="http://code.google.com/p/wps3slider/">wps3slider</a> plugins. But checking the log files for these plugins revealed nothing. And for some weird reason i just cleaned up the log partition a couple of days before. So not much luck there.</p>
<p>Some more Googling <a href="http://markmaunder.com/2011/08/01/zero-day-vulnerability-in-many-wordpress-themes/">told</a> me to do a search on the WordPress installs for the PHP function <a href="http://php.net/manual/en/function.base64-decode.php">base64_decode()</a>. O well. Lets give it a try. Some suspicious files did show up instantly.</p>
<blockquote><p>
$ find . -type f -exec grep -l &#8216;base64_decode&#8217; {} \;<br />
./uploads/2010/06/wp-rss4.php (<a href="http://pastebin.com/rWD1Tfxk">source</a>)<br />
./uploads/2011/05/alienee.php (<a href="http://pastebin.com/LwDaSFUK">source</a>)<br />
./plugins/wps3slider/temp/34e3a3a74f6e2d0f236bdd3ba70c0c03.php (<a href="http://pastebin.com/fG6pDWC2">source</a>)<br />
./plugins/wps3slider/temp/cf2cdb3ad3249b9692de07290f16f287.php (<a href="http://pastebin.com/pRSwG7Ud">encoded</a>) (<a href="http://pastebin.com/0qQ3Qeut">decoded</a>)<br />
./plugins/wps3slider/temp/771b821c974131c67e34c83d8d2db725.php (<a href="http://pastebin.com/KUP8xBEQ">encoded</a>) (<a href="http://pastebin.com/Z77iMH1X">decoded</a>)<br />
./plugins/wps3slider/temp/2b3753ea4769084f2e571737b695b03a.php (<a href="http://pastebin.com/RLgsTerk">encoded</a>) (<a href="http://pastebin.com/KwgqCS8R">decoded</a>)<br />
./plugins/wps3slider/temp/7228f168d9692eafeafc54dbc3a1ab49.php (<a href="http://pastebin.com/HeE3PdnJ">encoded</a>) (<a href="http://pastebin.com/FzCqSfg6">decoded</a>)<br />
./plugins/wps3slider/uploads/1.php (<a href="http://pastebin.com/YJ17ygSL">source</a>)<br />
/var/tmp/dc.pl (<a href="http://pastebin.com/YTusrVZk">encoded</a>) (<a href="http://pastebin.com/0WfqZt0R">decoded</a>)
</p></blockquote>
<p>Interesting. A quick look at the files showed that most of them were obfuscated. But not all. Two of the files were IRC bots written in <a href="http://www.php.net/">PHP</a>. At this moment i couldn&#8217;t resist but crack a little smile. But its also a reminder of how fragile the web really is. I quickly moved the files out of the way. And rebooted the machine. When it  came back online i monitored all connections for a while. But the connection to the C&#038;C node was not restored. So i informed NCSC. And went back to bed!</p>
<p>The WordPress admin should have kept the sites up to date. Lesson learned i hope! of course i could not resist to come back to it later. And so i did. I started by searching the Apache log files for <strong>wp-rss4.php</strong>. And found a couple of instances where this file was directly called. From a total of 4 different IP addresses.</p>
<blockquote><p>69.162.80.62</p></blockquote>
<p>This is the IP address of the C&#038;C server.</p>
<blockquote><p>
186.241.16.25<br />
201.8.237.18<br />
201.8.226.109
</p></blockquote>
<p>These IP addresses are all originating from Brasil. No further information is available at this moment. After that i started poking around the trojans / IRC bots found earlier. And as mentioned earlier. There were two bots installed on the server, One was running. The other wasn&#8217;t. This is configuration snippet from both bots.</p>
<p>The first bot. And the one i was informed about.</p>
<pre class="php" name="code">var $config = array("server"=>"antesedepois.servegame.com",^M
                     "port"=>20,^M
                     "pass"=>"depois",^M
                     "prefix"=>"depois",^M
                     "maxrand"=>8,^M
                     "chan"=>"#depoiswp",^M
                     "key"=>"",^M
                     "modes"=>"+iB-x",^M
                     "password"=>"depois",^M
                     "trigger"=>".",^M
                     "hostauth"=>"*" // * for any hostname^M</pre>
<p>And the second one</p>
<pre class="php" name="code">
var $config = array("server"=>"58.225.75.155",
                     "port"=>9999,
                     "pass"=>"",
                     "prefix"=>"animal",
                     "maxrand"=>8,
                     "chan"=>"#animal",
                     "key"=>"",
                     "modes"=>"+iB-x",
                     "password"=>"oishi",
                     "trigger"=>".",
                     "hostauth"=>"*!*@The.Black.Cat" // * for any hostname
                     );
</pre>
<p>Notice the <strong>^M</strong> characters at the end. Seems like somebody is using windows. So now we have login details for two C&#038;C servers. Why not take a look. </p>
<blockquote><p>
$ ircii<br />
/server antesedepois.servegame.com:20
</p></blockquote>
<p>Some standard IRC stuff</p>
<blockquote><p>*** Connecting to port 20 of server antesedepois.servegame.com<br />
*** Welcome to the Internet Relay Chat Network, root (from IRCPRIVATE)<br />
*** /etc/irc/script/local V0.5 for Debian finished. Welcome to ircII.<br />
*** If you have not already done so, please read the new user information with /HELP NEWUSER<br />
*** Your host is IRCPRIVATE, running version 1.2.1546<br />
*** This server was created jan 27 2012 at 06: 29:02 HodB (Serial # 00-00-00)<br />
*** channel modes available abdefghijklmnopqrstuvwxyzACEFIKLMOPT<br />
*** IRCX<br />
*** There are 6 users and 362 invisible on 1 servers<br />
*** 7 channels have been formed<br />
*** This server has 368 clients and 0 servers connected<br />
*** Current local users:  368  Max: 989<br />
*** Current global users:  368  Max: 989<br />
*** MOTD Not Present</p></blockquote>
<p>So let&#8217;s check the channels on this thing</p>
<blockquote><p>/list</p>
<p>*** Channel    Users  Topic<br />
*** #depoiswp  360    Entrou = Ban :)<br />
*** #grmteam   6<br />
*** #depoisSca 4      Entrou = Ban :)<br />
*** #depoisSca 4      Entrou = Ban :)<br />
*** #depoisVul 6      Entrou = Ban :)<br />
*** #rfi       3<br />
*** #sql       1  </p></blockquote>
<p>I entered all of the channels and waited for a while. But no activity took place. The only really interested channel is #depoiswp. This is the channel where all the bots connect. At the time i logged in there were about 360 of them  available. I immediately recognized the log excerpt send to me by the NCSC.</p>
<blockquote><p>*** Topic for #depoiswp: Entrou = Ban :)<br />
*** #depoiswp SYSTEM 1327945185<br />
(#depoiswp/#depoiswp) Entrou = Ban :)<br />
*** [A]depois88802849 (~depois48170648@68.233.238.XX) has joined channel #depoiswp<br />
*** #depoiswp 1327653297<br />
*** [A]depois13436992 (~depois92951214@212.227.114.XX) has joined channel #depoiswp<br />
*** [A]depois18833547 (~depois69088341@184.154.130.XX) has joined channel #depoiswp<br />
*** [A]depois80116634 (~depois13242297@213.251.189.XXX) has joined channel #depoiswp<br />
*** [A]depois31855907 (~depois23946193@82.85.28.XXX) has joined channel #depoiswp<br />
*** [A]depois25458508 (~depois64120008@87.106.214.XX) has joined channel #depoiswp<br />
*** [A]depois17803105 (~depois55004207@74.208.16.XX) has joined channel #depoiswp<br />
*** [A]depois96800217 (~depois89042073@174.121.216.XXX) has joined channel #depoiswp<br />
*** [A]depois17108432 (~depois51961332@209.68.1.XXX) has joined channel #depoiswp<br />
*** [A]depois95432403 (~depois13925479@209.68.1.XXX) has joined channel #depoiswp<br />
*** [A]depois96515275 (~depois10767943@195.74.38.XXX) has joined channel #depoiswp<br />
*** [A]depois73596561 (~depois90562179@69.89.31.XXX) has joined channel #depoiswp<br />
*** [A]depois85357227 (~depois31697723@64.191.115.XX) has joined channel #depoiswp<br />
*** [A]depois07993697 (~depois40240585@79.96.128.XX) has joined channel #depoiswp<br />
*** [A]depois97441253 (~depois19633359@193.189.74.XX) has joined channel #depoiswp<br />
*** [A]depois76843389 (~depois55419325@176.9.34.XXX) has joined channel #depoiswp<br />
*** [I]depois16679788 (~depois28004829@213.171.218.XXX) has joined channel #depoiswp<br />
*** [A]depois88178285 (~depois05296405@74.220.215.XXX) has joined channel #depoiswp</p></blockquote>
<blockquote><p>
<[A]depois16231776> [Attack Finalizado!]: 1749605 MB enviados / Pacotes enviados: 14580 MB/s<br />
<[I]depois60130568> [Attack Finalizado!]: 75 MB enviados / Pacotes enviados: 1 MB/s<br />
<[I]depois48664304> [Attack Finalizado!]: 75 MB enviados / Pacotes enviados: 1 MB/s<br />
<[I]depois65415449> [Attack Finalizado!]: 75 MB enviados / Pacotes enviados: 1 MB/s<br />
<[I]depois11325010> [Attack Finalizado!]: 75 MB enviados / Pacotes enviados: 1 MB/s<br />
*** [A]depois40994506 (~depois72760562@79.98.28.XX) has joined channel #depoiswp<br />
<[A]depois07568398> [Attack Finalizado!]: 2187317 MB enviados / Pacotes enviados: 18228 MB/s<br />
<[A]depois55402758> [Attack Finalizado!]: 11425 MB enviados / Pacotes enviados: 95 MB/s<br />
*** [A]depois03383512 (~depois52457929@74.220.215.XX) has joined channel #depoiswp<br />
<[A]depois37064023> [Attack Finalizado!]: 1264043 MB enviados / Pacotes enviados: 10534 MB/s<br />
<[A]depois69234369> [Attack Finalizado!]: 2205504 MB enviados / Pacotes enviados: 18379 MB/s<br />
*** [A]depois74911768 (~depois04730096@74.220.215.XX) has joined channel #depoiswp<br />
*** Signoff: [A]depois31575043 (Connection reset by peer)<br />
<[I]depois17710498> [Attack Finalizado!]: 81 MB enviados / Pacotes enviados: 1 MB/s<br />
<[I]depois28464134> [Attack Finalizado!]: 81 MB enviados / Pacotes enviados: 1 MB/s</p></blockquote>
<p>Thats fine and all. I disconnected shortly after that. I really have no reason  to be poking around there now do i ;) Besides who want to  interfere with an ongoing investigation. So poking around the files a bit more didnot  reveal  all that information.Except for the fact that besides a IRC bot a backdoor was also installed in the form of a perl script dc.pl installed in /var/tmp. So who knows. The server might be rooted at this point.</p>
<p>I spend some more time on decoding the bot and trojan contents. And posted them on pastebin if you are interested. The server is going to be  decommissioned soon. So i am not going to pay much more attention to it.</p>
<blockquote><p>1.php and b2dabd0e2c42b55fabf741bcac29f857.php</p></blockquote>
<p>Web Shell by boff</p>
<blockquote><p>2b3753ea4769084f2e571737b695b03a.php</p></blockquote>
<p>This file was base64 encoded but once decoded reveled to be a simple script by v0pCr3w and nob0dyCr3w to run system commands on the server. Also included was a simple upload form.</p>
<blockquote><p>34e3a3a74f6e2d0f236bdd3ba70c0c03.php</p></blockquote>
<p> c99 injector v1</p>
<blockquote><p>771b821c974131c67e34c83d8d2db725.php</p></blockquote>
<p>This script was rot13 and base64 encoded and was trying to cleanup after the hacker. And install a second back door.</p>
<blockquote><p>7228f168d9692eafeafc54dbc3a1ab49.php and cce0a37ffc138a8908da05977639bed1.php</p></blockquote>
<p>Again rot13 and base64 encoded.But this script contained something that looks like a control panel. The page title was &#8216;Hacked by Sherif #oishi @ ALLnet&#8217;</p>
<blockquote><p>alienee.php</p></blockquote>
<p>Still working on this one</p>
<blockquote><p>cf2cdb3ad3249b9692de07290f16f287.php and ded3244749701c4eb5a29b959ad56736.php</p></blockquote>
<p>These files contained a second bot that was connecting to a whole different server. Probably exploited by another crew?</p>
<blockquote><p>dc.pl</p></blockquote>
<p>This Perl backdoor was created by one  of the IRC bot scripts. And was hiding in /var/tmp after creation.</p>
<p>And some links i found useful while working on this issue.<br />
<a href=" http://eromang.zataz.com/2012/01/08/gangbang-mytijn-org-malware-spreader-down/"></p>
<p>http://eromang.zataz.com/2012/01/08/gangbang-mytijn-org-malware-spreader-down/</a></p>
<p><a href="http://www.madirish.net/content/hookworm-stealth-php-backdoor">http://www.madirish.net/content/hookworm-stealth-php-backdoor</a><br />
<a href="http://markmaunder.com/2011/08/01/zero-day-vulnerability-in-many-wordpress-themes/">http://markmaunder.com/2011/08/01/zero-day-vulnerability-in-many-wordpress-themes/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lenss.nl/2012/02/wordpress-install-compromised/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 11.10 issues after fresh install</title>
		<link>http://lenss.nl/2011/11/ubuntu-11-10-issues-after-fresh-install/</link>
		<comments>http://lenss.nl/2011/11/ubuntu-11-10-issues-after-fresh-install/#comments</comments>
		<pubDate>Sun, 06 Nov 2011 22:26:27 +0000</pubDate>
		<dc:creator>Thijs Lensselink</dc:creator>
				<category><![CDATA[/home]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Crash]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[WoW]]></category>

		<guid isPermaLink="false">http://lenss.nl/?p=1361</guid>
		<description><![CDATA[Update: 13-11-2011 I decided to give Ubuntu another try. After downloading and burning a fresh image. I did a clean install. And this time the result was a lot better then the first time. Maybe i just had a bad disk. Unity still caused me issues. Mainly because i am running a dual monitor setup. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update: 13-11-2011</strong></p>
<p>I decided to give Ubuntu another try. After downloading and burning a fresh image. I did a clean install. And this time the result was a lot better then the first time. Maybe i just had a bad disk.</p>
<p>Unity still caused me issues. Mainly because i am running a dual monitor setup. And i wan to use a TwinView setup. This just does not seem to work at the moment. So i install GNOME Shell. And that seems to work a lot smoother with two screens. Even my sound issues have been resolved magically. Maybe i should stick with Ubuntu a bit longer.</p>
<p><del datetime="2011-11-13T21:33:08+00:00">This weekend i decided to finally try to upgrade Ubuntu to the latest version (11.10). And since the upgrade process was not working out for me. I had no other choice but to do a clean install. No problem. It was time for a clean install anyway.</del></p>
<p><del datetime="2011-11-13T21:33:08+00:00">After fighting my way through a pile of bad rewritable DVDs i finally managed to write to disc that didn&#8217;t halt in the middle of the install process. And finished the install quite quickly. No problem there.</del></p>
<p><del datetime="2011-11-13T21:33:08+00:00">The <a href="https://launchpad.net/lightdm">Lightgdm</a> greeting instead of the old <a href="http://projects.gnome.org/gdm/">GDM</a> interface was nice. I logged in. And then it hit me. O shit they hooked Ubuntu up with the <a href="http://unity.ubuntu.com/">Unity</a> interface. The last time i upgraded Ubuntu that was the first thing i disabled. But my second screen wasn&#8217;t activated. So i decided to install the Nvidia drivers first. And then did a reboot.</del></p>
<p><del datetime="2011-11-13T21:33:08+00:00">After the system came back up. The desktop environment didn&#8217;t load anymore. And if i waited long enough the whole system would crawl to a halt. Damn! At this point i was getting sleepy. And didn&#8217;t want to spend the whole night poking around the system trying to fix this. So a bit of Google magic later i found <a href="http://blog.al4.co.nz/2011/10/slow-desktop-performance-on-ubuntu-11-10-with-nvidia-graphics-cards/">this</a>. Some issues related to the current Nvidia driver. So i upgraded to the 285.05 version</del></p>
<p><del datetime="2011-11-13T21:33:08+00:00"><br />
<blockquote>$ sudo bash<br />
$ add-apt-repository ppa:ubuntu-x-swat/x-updates<br />
$ apt-get update &#038;&#038; apt-get upgrade<br />
$ reboot</p></blockquote>
<p></del></p>
<p><del datetime="2011-11-13T21:33:08+00:00">And after a reboot the desktop was fine again. Nice!</del></p>
<p><strong>World of Warcraft</strong></p>
<p>After that i installed wine and copied back the old files i already had installed previously. But World of Warcraft didn&#8217;t want to start anymore. And although i planned not to play for a while. This got me poking around. And of course couldn&#8217;t find a solution. So i downloaded a new game client from battle.net. And started a fresh install. But when the launcher came up. It crashed just like before. Tried it a couple more times. When i noticed it was crashing starting the download. SO i started poking around in the download settings. And disabled peer-to peer. And voila! It started working for me again.</p>
<blockquote><p>Options > Downloader Preferences<br />
(uncheck ¨Enable peer-to-peer Transfer¨)</p></blockquote>
<p><del datetime="2011-11-13T21:33:08+00:00"><strong>Lets remove Unity!</strong></del></p>
<p><del datetime="2011-11-13T21:33:08+00:00">Although i kind alike the <a href="http://unity.ubuntu.com/">Unity</a> interface. It wasn&#8217;t running smoothly. And i was having some serious CPU load issues. So i decided to remove it once again. This time. It wasn&#8217;t as easy though. I followed the steps in <a href="http://linux-software-news-tutorials.blogspot.com/2011/10/ubuntu-1110-oneiric-remove-unity-and.html">this</a> post. Only to come to the realization that its <a href="http://www.gnome.org/gnome-3/">Gnome 3</a> i´m dealing with and not Gnome2. O well lets give it a try. </del></p>
<p><del datetime="2011-11-13T21:33:08+00:00">So after messing with the themes a bit. I got the normal look back. Now the only thing annoying left is the bottom bar. That has to go. And preferably moved to the second screen. This was surprisingly easy for a change. Start up DConfig Editor from the Applications menu. And navigate to.</del></p>
<p><del datetime="2011-11-13T21:33:08+00:00"><br />
<blockquote>org > gnome > gnome-panel > layout > toplevels</p></blockquote>
<p></del></p>
<p><del datetime="2011-11-13T21:33:08+00:00">(then change)</p>
<blockquote><p>monitor : 1<br />
orientation : top</p></blockquote>
<p></del></p>
<p><del datetime="2011-11-13T21:33:08+00:00">And fix the freaking <a href="http://askubuntu.com/questions/69306/tilde-and-double-quote-keys-dont-work-on-the-command-line">keyboard</a></del></p>
<p><del datetime="2011-11-13T21:33:08+00:00">Sound still makes a crackling noise!</del></p>
<p><del datetime="2011-11-13T21:33:08+00:00">But at least i have a desktop that looks reasonably the same as my old and trusted Gnome2 one did. </del></p>
<p><a href="http://lenss.nl/wp-content/uploads/2011/11/Screenshot-at-2011-11-06-231619.png"><img src="http://lenss.nl/wp-content/uploads/2011/11/Screenshot-at-2011-11-06-231619-300x93.png" alt="" title="Screenshot at 2011-11-06 23:16:19" width="300" height="93" class="alignright size-medium wp-image-1368" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://lenss.nl/2011/11/ubuntu-11-10-issues-after-fresh-install/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Lack of better content</title>
		<link>http://lenss.nl/2011/10/lack-of-better-content/</link>
		<comments>http://lenss.nl/2011/10/lack-of-better-content/#comments</comments>
		<pubDate>Sat, 08 Oct 2011 09:58:14 +0000</pubDate>
		<dc:creator>Thijs Lensselink</dc:creator>
				<category><![CDATA[/home]]></category>
		<category><![CDATA[SparkleBunnies of Doom]]></category>
		<category><![CDATA[WoW]]></category>

		<guid isPermaLink="false">http://lenss.nl/?p=1347</guid>
		<description><![CDATA[Just something funny for a change ;)]]></description>
			<content:encoded><![CDATA[<p>Just something funny for a change ;)</p>
<p><a href="http://lenss.nl/wp-content/uploads/2011/10/Screenshot.png"><img src="http://lenss.nl/wp-content/uploads/2011/10/Screenshot-300x235.png" alt="" title="Screenshot" width="300" height="235" class="alignright size-medium wp-image-1346" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://lenss.nl/2011/10/lack-of-better-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ideas of March</title>
		<link>http://lenss.nl/2011/03/ideas-of-march/</link>
		<comments>http://lenss.nl/2011/03/ideas-of-march/#comments</comments>
		<pubDate>Sun, 20 Mar 2011 15:36:52 +0000</pubDate>
		<dc:creator>Thijs Lensselink</dc:creator>
				<category><![CDATA[/home]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Ideas of March]]></category>

		<guid isPermaLink="false">http://lenss.nl/?p=1171</guid>
		<description><![CDATA[This post has been waiting in my draft list for a few days already. And March is almost over. So better get it out now. Christ Shiflett has an good post about the fact that a lot discussions have moved from the blogosphere to twitter. And this is sad but true. Chris calls for a [...]]]></description>
			<content:encoded><![CDATA[<p>This post has been waiting in my draft list for a few days already. And March is almost over. So better get it out now. Christ Shiflett has an <a href="http://shiflett.org/blog/2011/mar/ideas-of-march">good post</a> about the fact that a lot discussions have moved from the <a href="http://en.wikipedia.org/wiki/Blogosphere">blogosphere</a> to twitter. And this is sad but true. Chris calls for a blog revival. Which i think is a great initiative. And i already blogged a bit more this month then i normally do. I have never been a big fan of twitter my self. Most of the time the stream of information is mind boggling. But i do follow a some interesting people. Which does keep me updated in what happens in the web development world. I prefer a good blog post over any twitter message though.</p>
<p>So Chris Shiflett&#8217;s idea is for people to create a blog post called <em>Ideas of March</em> that:</p>
<ul>
<li>Lists some reasons why you like blogs (Read below)</li>
<li>pledge to blog more the rest of the month (Working on it)</li>
<li>share your thoughts on twitter with the <a href="http://search.twitter.com/search?q=%23ideasofmarch" target="_blank">#ideasofmarch</a> hashtag (Done!)</li>
</ul>
<p><br/><br />
<strong>I like blogs because ..</strong><br />
they offer me a platform where i can express my self without any limitations. And because more people tend to have this need to express them self. It leads to a great flow of valuable and creative information. Combine that with the ability to interact with a user base. And you have a great platform for having discussions. No need for rushed answers. You can just sit down and reflect your thoughts in a comment and start a discussion with the author. In short i offers freedom.</p>
<p><strong>And ..</strong><br />
It&#8217;s also a great exercise platform. I myself are not native English speaker. So by blogging in English i tend to improve my own English language knowledge. Plus way more people speak English then <a href="http://en.wikipedia.org/wiki/Dutch_language">Dutch</a>. The second reasons is to improve once writing skills. Not that i have aspirations to become a write one day. but it never hurts to improve your skills.</p>
<p>Besides that it&#8217;s a great way to harvest your own thoughts over a period of time. And always have them at your disposal.</p>
<p>So if you read this. Write the <em>Ideas of March</em> post your self. And pledge to do more blogging this month. Some people who have already taken the time to express the thoughts on this initiative can be found below.</p>
<p><a href="http://www.eschrade.com/page/ideas-of-march/">http://www.eschrade.com/page/ideas-of-march/</a><br />
<a href="http://allinthehead.com/354">http://allinthehead.com/354</a><br />
<a href="http://jontangerine.com/log/2011/03/ides-of-march">http://jontangerine.com/log/2011/03/ides-of-march</a><br />
<a href="http://www.davidrhoden.com/eecore/index.php/weblog/ideas_of_march/">http://www.davidrhoden.com/eecore/index.php/weblog/ideas_of_march/</a><br />
<a href="http://www.cvwdesign.com/txp/article/450/ideas-of-march">http://www.cvwdesign.com/txp/article/450/ideas-of-march</a><br />
<a href="http://jeremycook.ca/2011/03/16/ideas-of-march/">http://jeremycook.ca/2011/03/16/ideas-of-march/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lenss.nl/2011/03/ideas-of-march/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Moving to Amazon&#8217;s Cloud or not?</title>
		<link>http://lenss.nl/2011/03/moving-to-amazons-cloud-or-not/</link>
		<comments>http://lenss.nl/2011/03/moving-to-amazons-cloud-or-not/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 00:21:06 +0000</pubDate>
		<dc:creator>Thijs Lensselink</dc:creator>
				<category><![CDATA[/home]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[Free Tier]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[lenss.nl]]></category>

		<guid isPermaLink="false">http://lenss.nl/?p=1106</guid>
		<description><![CDATA[Finally back online again. Somewhere today the site went down. And i couldn&#8217;t reach the server. Which resulted in me jumping the gun and write an pissed off tweet about Amazon&#8217;s EC2 service. Which turned out to be false. After i noticed i tried to login to the AWS dashboard. But instead of my running [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://aws.amazon.com/" target="_blank"><img src="http://lenss.nl/wp-content/uploads/2011/03/logo_aws.gif" alt="" title="logo_aws" width="164" height="60" class="alignleft size-full wp-image-1124" style="float: left; margin: 10px;" /></a> Finally back online again. Somewhere today the site went down. And i couldn&#8217;t reach the server. Which resulted in me jumping the gun and write an pissed off <a href="http://twitter.com/m0s/status/48089219616354304">tweet</a> about Amazon&#8217;s EC2 service. Which turned out to be false. After i noticed i tried to login to the AWS dashboard. But instead of my running instance i was presented with a validation screen. I had to validate my account by phone. That&#8217;s weird. I came to conclusion to early and thought Amazon had suspended my account for what whatever reason possible. It turns out it&#8217;s the annoying Amazon password bug that bit my ass. After poking around i came to the conclusion i have two Amazon accounts on the same email address but with different passwords. One has EC2 enabled the other doesn&#8217;t. Good to know. But the site was still down. So on my way home i missed a call from the Amazon support desk (really more companies should act like Amazon does). But got into an email conversation with them later on. After i apologised for the tweet. The Dev at Amazon figured out the server was running out of resources and was swapping. And just couldn&#8217;t do much more then that. Only a reboot resolved the issue. Hey! It&#8217;s not a micro instance for nothing.</p>
<p>I might as well write a post about the move to the Amazon Cloud late last year. Ever since this website went up in 2008. It has been running on one of my own servers. And this has done the job well for two years. Some people would say if it ain&#8217;t broke don&#8217;t try to fix it. But i like to try out new things. And running a server isn&#8217;t cheap. So if i can find a more affordable way of hosting this site i may be interested enough to move. So where do i move this site too. Some other hosting provider? Let&#8217;s try something different and host it from the cloud. I didn&#8217;t really want to go over the whole hassle of finding a suitable hosting provider. And i was doing some small project with Amazon Web-services. So my choice was made quite easy. Let&#8217;s try the wide array of options Amazon&#8217;s Web-services have to offer.</p>
<p>No way i was going to pay a fortune to set something up. So after some reading and some googling of course. I came to the <a href="http://aws.amazon.com/free/">Free Usage Tier</a> page. This basically is a way to get familiar with the AWS system. And it offer quite a nice set of features to use. One year of free usage as long as you don&#8217;t go over the limit set for this microsystem.. Read more about the terms <a href="http://aws.amazon.com/free/terms/">here</a> . Some of the highlights are:</p>
<div>
<blockquote><p><strong>AWS Free Usage Tier (Per Month):</strong></p>
<ul>
<li>750 hours of <a href="http://aws.amazon.com/ec2">Amazon EC2</a> Linux Micro Instance usage (613 MB of memory and 32-bit and 64-bit  platform support) – enough hours to run continuously each month<code>*</code></li>
<li>750 hours of an <a href="http://aws.amazon.com/elasticloadbalancing/">Elastic Load Balancer</a> plus 15 GB data processing*</li>
<li>10 GB of <a title="EBS" href="http://aws.amazon.com/ebs">Amazon Elastic Block Storage</a>, plus 1 million I/Os, 1 GB of snapshot storage, 10,000 snapshot Get Requests and 1,000 snapshot Put Requests<code>*</code></li>
<li>5 GB of <a href="http://aws.amazon.com/s3">Amazon S3 storage</a>, 20,000 Get Requests, and 2,000 Put Requests<code>*</code></li>
<li>30 GB per of internet data transfer (15 GB of data transfer “in”  and 15 GB of data transfer “out” across all services except Amazon  CloudFront)<code>*</code></li>
<li>25 <a href="http://aws.amazon.com/simpledb">Amazon SimpleDB</a> Machine Hours and 1 GB of Storage<code>**</code></li>
<li>100,000 Requests of <a title="SQS" href="http://aws.amazon.com/sqs">Amazon Simple Queue Service</a><code>**</code></li>
<li>100,000 Requests, 100,000 HTTP notifications and 1,000 email notifications for <a title="SNS" href="http://aws.amazon.com/sns">Amazon Simple Notification Service</a><code>**</code></li>
<li>10 <a href="http://aws.amazon.com/cloudwatch">Amazon Cloudwatch</a> alarms<code>**</code></li>
</ul>
<p>In addition to these services, the <a href="http://aws.amazon.com/console">AWS Management Console</a> is available at no charge to help you build and manage your application on AWS.</p></blockquote>
</div>
<p>So that looks like a pretty nice offer from Amazon. Of course you don&#8217;t have to expect some multi core system waiting for you. But maybe it will do. I was interested enough to give it try. After logging in the place to start is the <a href="https://console.aws.amazon.com/ec2">ec2</a> control panel. The first thing i did was create a new instance running Debian.</p>
<p>Make sure the right region is set in the region box. I logged in after creating my first image and couldn&#8217;t find it anywhere. Because the default region was not the one i used. From the dashboard i can just click the launch instance button and it gives me a list of different images to use as a virtual instance. There is plenty of flavour to choose from. I picked a community Debian instance.</p>
<p><a href="http://lenss.nl/wp-content/uploads/2011/03/request-instance2.png"><img class="alignleft size-medium wp-image-1109" title="request-instance2" src="http://lenss.nl/wp-content/uploads/2011/03/request-instance2-300x195.png" alt="" width="300" height="195" /></a></p>
<p>The next screen is important because it sets the instance type to use. The Micro (t1.micro) is what i am looking for this time. </p>
<p><a href="http://lenss.nl/wp-content/uploads/2011/03/request-instance-micro.png"><img class="alignleft size-medium wp-image-1111" title="request-instance-micro" src="http://lenss.nl/wp-content/uploads/2011/03/request-instance-micro-300x204.png" alt="" width="300" height="204" /></a></p>
<p>The rest of the install is quite self explanatory. At the end somewhere download the private key that will be used for setting up an SSH connection to the instance.</p>
<p><a href="http://lenss.nl/wp-content/uploads/2011/03/request-instance-key.png"><img class="alignleft size-medium wp-image-1110" title="request-instance-key" src="http://lenss.nl/wp-content/uploads/2011/03/request-instance-key-300x204.png" alt="" width="300" height="204" /></a></p>
<p>The next thing i did was setup a EBS storage volume for .. well .. storage. I made the choice for the EBS volume simply because it scales well. From the ec2 dashboard go to EBS instance and then create instance. Simply select the size and / or load it up with an image.</p>
<p><a href="http://lenss.nl/wp-content/uploads/2011/03/ebs-volume.png"><img src="http://lenss.nl/wp-content/uploads/2011/03/ebs-volume-300x128.png" alt="" title="ebs-volume" width="300" height="128" class="alignleft size-medium wp-image-1117" /></a></p>
<p>That pretty much does it. For the ec2 dashboard. The only thing left to do here is setup an elastic IP address so the instance is reachable from the outside world. This is basically assigning a ipv4 address to the instance. Click the elastic IP link and then allocate new address.</p>
<p><a href="http://lenss.nl/wp-content/uploads/2011/03/allocatenewaddress.png"><img src="http://lenss.nl/wp-content/uploads/2011/03/allocatenewaddress-300x163.png" alt="" title="allocatenewaddress" width="300" height="163" class="alignleft size-medium wp-image-1119" /></a></p>
<p>If all is well i should be able to login by SSH.</p>
<blockquote><p>$ ssh -i [key name].pem ec2-user@[ip address].eu-west-1.compute.amazonaws.com<br />
$ sudo bash</p></blockquote>
<p>That&#8217;s it. I configured the instance using Zend Server and didn&#8217;t even bother to setup an RDS storage engine. I just installed MySQL. And used that for the site. Last but not least. Open port 80 on the firewall. This is easily done from the EC2 dashboard. I also opened up ports 10081 &#8211; 10083 bound to my home IP address so i can control Zend Server.</p>
<p>I was quite impressed with the AWS interface and the possibilities. But the cost is pretty high. The first month was nearly free. But while traffic keeps growing the cost keeps rising. This ended up me paying more for a single instance a month then for a complete server on which i can run multiple sites. So while extremely easy to use, flexible and just plain cool to work with. It&#8217;s not for this site. I thank Amazon for the available possibilities. And the Support i had today. But i am moving back to my own server as we speak.</p>
]]></content:encoded>
			<wfw:commentRss>http://lenss.nl/2011/03/moving-to-amazons-cloud-or-not/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Workstation Listen to voice of the customer</title>
		<link>http://lenss.nl/2011/03/vmware-workstation-listen-to-voice-of-the-customer/</link>
		<comments>http://lenss.nl/2011/03/vmware-workstation-listen-to-voice-of-the-customer/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 21:37:27 +0000</pubDate>
		<dc:creator>Thijs Lensselink</dc:creator>
				<category><![CDATA[/home]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Freelance]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Zend]]></category>
		<category><![CDATA[Interview]]></category>
		<category><![CDATA[Podcast]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[Zend Studio]]></category>

		<guid isPermaLink="false">http://lenss.nl/?p=1157</guid>
		<description><![CDATA[A while back i was contacted by Vijay Laxmi. Vijay is a Sr Partner Marketing Manager over at Zend Technologies. And she was interested in doing a podcast like interview about the brand new and shiny VMWare &#038; Zend Studio integration. And because i am a big fan of this feature. I didn&#8217;t see why [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.zend.com/en/products/studio/vmware-workstation-deployment"><img style="float:left;margin:4px;" src="http://lenss.nl/wp-content/uploads/2011/03/zend-vmware.gif" alt="" title="zend-vmware" width="146" height="93" class="alignleft size-full wp-image-1161" /></a>A while back i was contacted by <a href="http://twitter.com/vlaxmi">Vijay Laxmi</a>. Vijay is a Sr Partner Marketing Manager over at Zend Technologies. And she was interested in doing a podcast like interview about the brand new and shiny <a href="http://www.zend.com/en/products/studio/vmware-workstation-deployment">VMWare &#038; Zend Studio</a> integration. And because i am a big fan of this feature. I didn&#8217;t see why not. So we had a few chat sessions. Along the way <a href="http://twitter.com/jsolomin">Joshua Solomin</a> from Zend and Michael Paiko from VMWare joined the party. And after some preparation we recorded the session. Considering i have never been much of a speaker. This was quite fun to do. </p>
<p>Michael send me the end result. And everybody seemed happy with it. After that life resumed and i have been incredibly busy every since. So i kinda forgot about the whole thing. Till Vijay mailed me today (ty! Vijay). VMWare put the <a href="http://blogs.vmware.com/workstation/">recording</a> on their website. And a customer mailing has been transmitted over the wire.  Cool stuff!</p>
<p><a href='http://lenss.nl/wp-content/uploads/2011/03/2011-02-07-VMware-Zend-VOC-Podcast.mp3'>2011-02-07 VMware-Zend VOC Podcast</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lenss.nl/2011/03/vmware-workstation-listen-to-voice-of-the-customer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
<enclosure url="http://lenss.nl/wp-content/uploads/2011/03/2011-02-07-VMware-Zend-VOC-Podcast.mp3" length="8675605" type="audio/mpeg" />
		</item>
		<item>
		<title>Dark theme for Zend Studio 8</title>
		<link>http://lenss.nl/2011/02/dark-theme-for-zend-studio-8/</link>
		<comments>http://lenss.nl/2011/02/dark-theme-for-zend-studio-8/#comments</comments>
		<pubDate>Sun, 20 Feb 2011 20:11:58 +0000</pubDate>
		<dc:creator>Thijs Lensselink</dc:creator>
				<category><![CDATA[/home]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Zend]]></category>
		<category><![CDATA[Envy Code]]></category>
		<category><![CDATA[syntax coloring]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[Zend Studio]]></category>

		<guid isPermaLink="false">http://lenss.nl/?p=1064</guid>
		<description><![CDATA[Because i was so happy with my new 3 monitor configuration. I decided to refresh my development environment as well. Normally all my files would reside in the Devspace older in my user folder under the /home directory. Now i used a new 500 GB SATA drive and formatted it EXT3. Moving your workspace in [...]]]></description>
			<content:encoded><![CDATA[<p>Because i was so happy with my new <a href="http://lenss.nl/2011/02/extending-my-desktop/">3 monitor configuration</a>. I decided to refresh my development environment as well. Normally all my files would reside in the Devspace older in my user folder under the /home directory. Now i used a new 500 GB <em>SATA</em> drive and formatted it <em>EXT3</em>. Moving your workspace in <a href="http://www.zend.com/en/products/studio/">Zend Studio</a> has the minor inconvenience that the local settings like fonts / syntax colours are lost. <del datetime="2011-03-13T17:21:39+00:00">I still haven&#8217;t found a way to export this. So i decided to take this opportunity to create a nice new dark theme.</del>. My friend Bart (still no blog?) was friendly enough to let me know how to export the theme related data in ZS. And was nice enough to send me his zenburn theme.</p>
<blockquote><p>File > Export > General > Preferences </p></blockquote>
<blockquote><p>File > Import > General > Preferences </p></blockquote>
<p>Bart&#8217;s zenburn theme:<br />
<a href="http://lenss.nl/wp-content/uploads/2011/03/zenburn.png"><img src="http://lenss.nl/wp-content/uploads/2011/03/zenburn-300x225.png" alt="" title="zenburn" width="300" height="225" class="alignleft size-medium wp-image-1153" /></a></p>
<p>Most developers i know don&#8217;t seem to care much about the colour of their screen and the font they use. But considering the fact that i spend an insanely amount of time behind a screen. It would be nice if this environment i am in all day put the least amount of constrained on my eyes as possible. So i choose to take time and configure this for optimal viewing pleasure. This starts with the font. For years i have been using the <a href="http://damieng.com/blog/2008/05/26/envy-code-r-preview-7-coding-font-released">Envy Code</a> font by <a href="http://damieng.com/">Damien Guard</a> inside my <a href="http://en.wikipedia.org/wiki/Integrated_development_environment">IDE</a>. This all started i think with a <a href="http://www.codinghorror.com/blog/2007/10/revisiting-programming-fonts.html">post</a> by <a href="http://www.codinghorror.com/">Jeff Atwood</a> It&#8217;s a great font that is extremely easy to read even for terminals. Although still in beta. I advice people to use it when possible.</p>
<p>The second thing i configure are the colour schemes my IDE uses. The standard colour always has a white background. White makes sure things are clear. But staring at a white screen for more then 6 hours always resulted in headaches for me. So the darker the better. And with a dark background you are forced to change the rest as well. </p>
<p><strong>Changing the font is first</strong></p>
<blockquote><p>General > Appearance > Colors and Fonts<br />
Font : Envy Code R Bold (11 pt)</p></blockquote>
<p><strong>Second up are some general text editor colours</strong></p>
<blockquote><p>General > Editors > Text Editors<br />
Line number foreground : #787878 (120, 120, 120)<br />
Current line highlight : #35353D (53, 53, 61)<br />
Background color : #25252D (37, 37, 45)</p></blockquote>
<p><strong>And finally the PHP syntax coloring</strong></p>
<blockquote><p>PHP > Editor > Syntax Coloring<br />
Decprecated : #000 (0, 0, 0)<br />
Fields : #FFFFFF (255, 255, 255)<br />
Heredoc     : #008282 (0, 130, 130)<br />
Keyword     : #DE5727 (222, 87, 39)<br />
Multi-line comment : #557F5F (85, 127, 95)<br />
Normal : #FFF (255, 255, 255)<br />
Number : #FFCECE (255, 206, 206)<br />
PHP tags : #DE5727 (222, 87, 39)<br />
PHP Doc : #FEC601 (254, 198, 1)<br />
PHPDoc Comment : #FEC601 (254, 198, 1)<br />
single line comment : #FEC601 (254, 198, 1)<br />
static fields : #FFFFFF (255, 255, 255)<br />
static methods : #FFFFFF (255, 255, 255)<br />
String : #B3C0C8 (179, 192, 200)<br />
Task Tags : #FEC601 (254, 198, 1)<br />
Variable : #0B91B7 (11, 145, 183)</p></blockquote>
<p>The result can be viewed below</p>
<p><a href="http://lenss.nl/wp-content/uploads/2011/02/Screenshot-ide-dark.png"><img src="http://lenss.nl/wp-content/uploads/2011/02/Screenshot-ide-dark-300x182.png" alt="" title="Screenshot-ide-dark" width="300" height="182" class="alignleft size-medium wp-image-1067" /></a></p>
<p>There are much more configuration options to do but for now this is what i came up with. Setting up the theme is a since in ZS. But one thing bothered me. The function / property name highlighting when you select an element inside the IDE. Was a very light colour. And this made it impossible to read the contents of the selection.</p>
<p><a href="http://lenss.nl/wp-content/uploads/2011/02/occurrences_on.png"><img src="http://lenss.nl/wp-content/uploads/2011/02/occurrences_on-300x20.png" alt="" title="occurrences_on" width="300" height="20" class="alignleft size-medium wp-image-1063" /></a></p>
<p>So after searching for a while and setting every possible setting in the configuration tabs. I finally figured out how the set the colour for these two actions. This is done from the Annotations setting in the Text editors panel under the general tab. The two options to change are <em>PHP elements read / write occurrences</em>.</p>
<p><a href="http://lenss.nl/wp-content/uploads/2011/02/Screenshot-change-bg.png"><img src="http://lenss.nl/wp-content/uploads/2011/02/Screenshot-change-bg-300x157.png" alt="" title="Screenshot-change-bg" width="300" height="157" class="alignleft size-medium wp-image-1070" /></a></p>
<p>For now i settled with a dark colour. But maybe i will change this in the future since it is not very readable</p>
<p><a href="http://lenss.nl/wp-content/uploads/2011/02/occurrences_off.png"><img src="http://lenss.nl/wp-content/uploads/2011/02/occurrences_off-300x20.png" alt="" title="occurrences_off" width="300" height="20" class="alignleft size-medium wp-image-1062" /></a></p>
<p>That&#8217;s it for now. This of course only sets up the PHP environment. The syntax colours for XML, HTML, CSS and Javascript still have to be changed. But i will leave it at this. </p>
]]></content:encoded>
			<wfw:commentRss>http://lenss.nl/2011/02/dark-theme-for-zend-studio-8/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Extending my desktop</title>
		<link>http://lenss.nl/2011/02/extending-my-desktop/</link>
		<comments>http://lenss.nl/2011/02/extending-my-desktop/#comments</comments>
		<pubDate>Sun, 20 Feb 2011 18:54:08 +0000</pubDate>
		<dc:creator>Thijs Lensselink</dc:creator>
				<category><![CDATA[/home]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[3 monitor]]></category>
		<category><![CDATA[compiz]]></category>
		<category><![CDATA[emerald]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[twinview]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[xinerama]]></category>

		<guid isPermaLink="false">http://lenss.nl/?p=1054</guid>
		<description><![CDATA[Although i am blessed with a nice double 22 inch monitor configuration. I have had this spare monitor sitting on my desk for a while Just asking to be added to the setup. Yesterday i gave it my first shot. It didn&#8217;t really go as planned but the result is fine for the moment. Over [...]]]></description>
			<content:encoded><![CDATA[<p>Although i am blessed with a nice double 22 inch monitor configuration. I have had this spare monitor sitting on my desk for a while Just asking to be added to the setup. Yesterday i gave it my first shot. It didn&#8217;t really go as planned but the result is fine for the moment.</p>
<p>Over the past years i have been a happy user of <a href="http://www.compiz.org/">Compiz</a> and the <a href="http://wiki.compiz.org/Decorators/Emerald">emerald theme manager</a>. So these were two things i wanted to keep. Well that&#8217;s not going to happen. After playing around with xorg.conf for a couple of hours i just couldn&#8217;t manage to get the configuration i was looking for.</p>
<p>1. Single X Screen on the left<br />
2. Two <a href="http://www.nvidia.com/object/feature_twinview.html">twinview</a> screens on the right.</p>
<p>I managed to get Compiz to work with the 3 monitor setup. But this resulted in either having one large desktop extending the two 22 inch monitors. Or 3 screen using Compiz but with no possibility of sharing data between the screens. That just sucked. I have to admit this is one thing that just works better on Windows.</p>
<p>So the next was <a href="http://sourceforge.net/projects/xinerama/">Xinerama</a>. This meant switching Xinerama to &#8220;1&#8243; in the config and restart X. Voila! Everything works. Well not everything. I have no Compiz effects and no emerald themes. So it&#8217;s slightly more ugly looking but it functions perfectly. So i will be keeping this config for now. Until i can either figure out how to get 3 monitors working using Compiz. Or get some effects / cool themes working while using Xinerama.</p>
<p><a href="http://lenss.nl/wp-content/uploads/2011/02/IMG_2081.jpg"><img src="http://lenss.nl/wp-content/uploads/2011/02/IMG_2081-300x225.jpg" alt="" title="IMG_2081" width="300" height="225" class="alignleft size-medium wp-image-1060" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://lenss.nl/2011/02/extending-my-desktop/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
