<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>Black-Pixel</title>
	<atom:link href="http://black-pixel.net/feed" rel="self" type="application/rss+xml" />
	<link>http://black-pixel.net</link>
	<description>A geeks world</description>
	<lastBuildDate>Sun, 19 Feb 2012 18:09:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
		<item>
		<title>Nginx with PHP on CentOS 6</title>
		<link>http://black-pixel.net/nginx-with-php-on-centos-6.html</link>
		<comments>http://black-pixel.net/nginx-with-php-on-centos-6.html#comments</comments>
		<pubDate>Sun, 19 Feb 2012 16:07:33 +0000</pubDate>
		<dc:creator>Pixel</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://black-pixel.net/?p=797</guid>
		<description><![CDATA[This is a post on how to set up Nginx with PHP using spawn-fcgi on CentOS 6.]]></description>
			<content:encoded><![CDATA[<p>This is a post on how to set up Nginx with PHP using spawn-fcgi on CentOS 6.</p>
<p>&nbsp;</p>
<p>If you haven&#8217;t already done it, you have to set up the EPEL repository.</p>
<p>For 32bit:</p>
<pre class="brush:shell">rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm</pre>
<p>For 64bit:</p>
<pre class="brush:shell">rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm</pre>
<p>&nbsp;</p>
<p>Next install Nginx and spawn-fcgi, I assume you have already installed PHP and all the modules you need.</p>
<pre class="brush:shell">yum install nginx spawn-fcgi</pre>
<p>Now it&#8217;s time for the spawn-fcgi configuration. The config should be at <span style="background-color: #c0c0c0;">/etc/sysconfig/spawn-fcgi</span>.</p>
<pre class="brush:shell">vim /etc/sysconfig/spawn-fcgi</pre>
<pre class="brush:shell"># You must set some working options before the "spawn-fcgi" service will work.
# If SOCKET points to a file, then this file is cleaned up by the init script.
#
# See spawn-fcgi(1) for all possible options.
#
# Example :
#SOCKET=/var/run/php-fcgi.sock
OPTIONS="-a 127.0.0.1 -p 9000 -u nginx -g nginx -C 32 -F 1 -P /var/run/spawn-fcgi.pid -- /usr/bin/php-cgi"</pre>
<p>It&#8217;s very important that you remember the port, you&#8217;ll have to set the same in the nginx configuration. You should also use the same username and group as nginx.<br />
To play it safe, make sure the following line is not commented in the file <span style="background-color: #c0c0c0;">/etc/init.d/spawn-fcgi</span>:</p>
<pre class="brush:shell">config="/etc/sysconfig/spawn-fcgi"</pre>
<p>Now let&#8217;s make sure that spawn-fcgi and nginx automatically start after a reboot.</p>
<pre class="brush:shell">chkconfig --level 2345 nginx on
chkconfig --level 2345 spawn-fcgi on</pre>
<p>For more information about chkconfig check this site: <a href="http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-services-chkconfig.html">http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-services-chkconfig.html</a></p>
<p>Next up we have to fix a folder permission. The group of the session cookies folder, the address can be found in the php.ini (session.save_path = &#8220;/var/lib/php/session&#8221;). The folder group has to be changed from apache to whatever you use, e. g. nginx. You should check this after every php update.</p>
<p>As a last step, just add the following line to the <span style="background-color: #c0c0c0;">/etc/nginx.conf</span> and/or your custom domain configuration in <span style="background-color: #c0c0c0;">/etc/nginx/conf.d/yourdomain.conf</span>.</p>
<pre class="brush:shell">location ~ \.php$ {
                include        fastcgi_params;
                fastcgi_pass   localhost:9000;
                fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        }</pre>
<p>You should also make some additional changes in your configuration. I&#8217;m going to make another post about some of the settings.</p>
<p>The official wiki is always a good source for help:&nbsp;<a href="http://wiki.nginx.org/Configuration">http://wiki.nginx.org/Configuration</a></p>
]]></content:encoded>
			<wfw:commentRss>http://black-pixel.net/nginx-with-php-on-centos-6.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>App: Mars Images</title>
		<link>http://black-pixel.net/app-mars-images.html</link>
		<comments>http://black-pixel.net/app-mars-images.html#comments</comments>
		<pubDate>Fri, 13 Jan 2012 19:57:04 +0000</pubDate>
		<dc:creator>Pixel</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Astronomy]]></category>

		<guid isPermaLink="false">http://black-pixel.net/?p=787</guid>
		<description><![CDATA[Mars Images is an app for Android and IOS smartphones that lets you browse the latest images from the Mars Exploration Rover Opportunity. The app has been developed by Mark Powell who works at the Jet Propulsion Laboratory at NASA. &#160; When you start the app, you may have to wait a while until the first pictures have [...]]]></description>
			<content:encoded><![CDATA[<p>Mars Images is an app for Android and IOS smartphones that lets you browse the latest images from the Mars Exploration Rover Opportunity.</p>
<p>The app has been developed by Mark Powell who works at the <a href="http://www.jpl.nasa.gov/" rel="noreferrer" target="_blank">Jet Propulsion Laboratory</a> at NASA.</p>
<p>&nbsp;</p>
<p>When you start the app, you may have to wait a while until the first pictures have been loaded. If you get an error message, just close the app and start it again.</p>
<p>Now you can see a lot of images, named after the related camera. (<a href="http://en.wikipedia.org/wiki/Hazcam">Hazcam</a> and Pancam)</p>
<p>The newest images appear on the top. If you want to load older ones, just scroll down. Below the name of the image, you can see when the picture was taken. The date is displayed in <a href="http://en.wikipedia.org/wiki/Timekeeping_on_Mars#Sols">Sols</a>.</p>
<p>&nbsp;</p>
<p>Once you&#8217;ve selected an image, you&#8217;ll get a little preview on the right. Select it to see the picture. You can zoom in, share the picture and there is also a 3D mode. You will need <a title="Anaglyph image" href="http://en.wikipedia.org/wiki/Anaglyph_image">3D red cyan</a> glasses to see them in 3D.</p>
<p>&nbsp;</p>
<p>This is how everything looks like:</p>
<p><a href="http://black-pixel.net/stuff/marsImages/marsImage.png"><img title="Mars Images" src="http://black-pixel.net/stuff/marsImages/marsImage.png" alt="marsImage" width="300" height="534" /></a> <a href="http://black-pixel.net/stuff/marsImages/marsImage1.png"><img title="Mars Images" src="http://black-pixel.net/stuff/marsImages/marsImage1.png" alt="marsImage1" width="300" height="534" /></a><br />
<a href="http://black-pixel.net/stuff/marsImages/marsImage2.png"><img title="Mars Images" src="http://black-pixel.net/stuff/marsImages/marsImage2.png" alt="marsImage2" width="300" height="534" /></a> <a href="http://black-pixel.net/stuff/marsImages/marsImage3D.png"><img title="Mars Images" src="http://black-pixel.net/stuff/marsImages/marsImage3D.png" alt="marsImage3D" width="300" height="534" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The official  homepage is: <a href="http://www.powellware.com/Mars_Images/Mars_Images_Home.html">http://www.powellware.com/Mars_Images/Mars_Images_Home.html</a></p>
<p>Android market: <a href="https://market.android.com/details?id=com.powellware.marsimages">https://market.android.com/details?id=com.powellware.marsimages</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://black-pixel.net/app-mars-images.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Sapphire HD 5850 Toxic Overclocking</title>
		<link>http://black-pixel.net/sapphire-hd-5850-oc-overclocking.html</link>
		<comments>http://black-pixel.net/sapphire-hd-5850-oc-overclocking.html#comments</comments>
		<pubDate>Tue, 03 Jan 2012 20:50:55 +0000</pubDate>
		<dc:creator>Pixel</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Overclocking]]></category>

		<guid isPermaLink="false">http://black-pixel.net/?p=772</guid>
		<description><![CDATA[This is a little report on the experience I made with overclocking my AMD Sapphire HD 5850 Toxic Edition. One problem is that this graphics card has a lock which prevents you from overclocking (actually you can oc a bit but not much) via software (I prefer MSI Afterburner). &#160; So the first thing you [...]]]></description>
			<content:encoded><![CDATA[<p>This is a little report on the experience I made with overclocking my AMD Sapphire HD 5850 Toxic Edition. One problem is that this graphics card has a lock which prevents you from overclocking (actually you can oc a bit but not much) via software (I prefer MSI Afterburner).</p>
<p>&nbsp;</p>
<p>So the first thing you have to do is to flash the GPU with a BIOS that has no such lock.</p>
<p><span style="color: #ff0000;">Warning: This can damage your GPU and render it useless.</span></p>
<p>&nbsp;</p>
<p>You will need a way to boot into a DOS. I&#8217;ve already posted a tutorial on how to set up a bootable pen drive with FreeDOS. You can find it <a href="http://black-pixel.net/bootable-usb-stick-with-grub4dos-freedos-and-iso-images-e-g-ubcd.html">here</a>.</p>
<p>&nbsp;</p>
<p><span style="color: #000000;">To flash you GPU you need a tool called ATI Flash:</span></p>
<p><a href="http://www.techpowerup.com/downloads/2040/ATIFlash%203.89.html">http://www.techpowerup.com/downloads/2040/ATIFlash%203.89.html</a></p>
<p>Put the atiflash.exe onto your pen drive.</p>
<p>As already mentioned before, you&#8217;ll also need an appropriate BIOS. This Asus BIOS worked well for me:</p>
<p><a href="http://www.techpowerup.com/vgabios/58225/Asus.HD5850.1024.090925.html">http://www.techpowerup.com/vgabios/58225/Asus.HD5850.1024.090925.html</a></p>
<p>Choose a shorter name for the file (you&#8217;ll have to type it in later) and then also put it onto the pen drive.</p>
<p>The last thing you need on your pen drive is a backup of your current BIOS. You can create one with GPU-Z.</p>
<p><a href="http://black-pixel.net/wp-content/uploads/2012/01/GPU-ZOC.gif"><img class="alignnone size-full wp-image-775" title="GPU-ZOC" src="http://black-pixel.net/wp-content/uploads/2012/01/GPU-ZOC.gif" alt="GPU-ZOC" width="300" height="256" /></a></p>
<p>&nbsp;</p>
<p>Now with all three files on your pen drive, reboot your PC and set the BIOS to boot from your pen drive.</p>
<p>One thing that will help you a lot in case of a failure is to note down every step you have to make to flash the BIOS so you can do it blindly if you graphics card won&#8217;t work after the flashing. This way you can reflash you backup easily.</p>
<p>So once you&#8217;ve booted into freeDOS, type <span style="background-color: #c0c0c0;">atiflash -f -p 0 thenameyouchose.bin</span></p>
<p>This will flash your graphics card with the selected BIOS.</p>
<p>&nbsp;</p>
<p>Now reboot and if your graphics card still works you can start overclocking. You will notice that you can set all the values in MSI Afterburner freely now.</p>
]]></content:encoded>
			<wfw:commentRss>http://black-pixel.net/sapphire-hd-5850-oc-overclocking.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>QTTabBar: Tabs for Windows</title>
		<link>http://black-pixel.net/qttabbar-tabs-for-windows.html</link>
		<comments>http://black-pixel.net/qttabbar-tabs-for-windows.html#comments</comments>
		<pubDate>Sun, 20 Nov 2011 10:33:27 +0000</pubDate>
		<dc:creator>Pixel</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://black-pixel.net/?p=737</guid>
		<description><![CDATA[In this post I'll show you another nice tool to enhance your Windows. QTTabBar adds tabs and some other nice features to the Windows Explorer. I'll just show you some basic stuff, there is a lot to discover.]]></description>
			<content:encoded><![CDATA[<p>In this post I&#8217;ll show you another nice tool to enhance your Windows. QTTabBar adds tabs and some other nice features to the Windows Explorer. I&#8217;ll just show you some basic stuff, there is a lot to discover.</p>
<p>&nbsp;</p>
<p>You can download QTTabBar from the official homepage:  <a href="http://qttabbar.sourceforge.net/">http://qttabbar.sourceforge.net/</a></p>
<p>&nbsp;</p>
<p>After installing it, your Explorer window should look like this:</p>
<p><a href="http://black-pixel.net/wp-content/uploads/2011/11/1.jpg"><img class="alignnone size-medium wp-image-738" title="qttabbar1" src="http://black-pixel.net/wp-content/uploads/2011/11/1-300x73.jpg" alt="qttabbar1" width="300" height="73" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>If you right-click your Tab, you can see some extra functions:</p>
<p><a href="http://black-pixel.net/wp-content/uploads/2011/11/21.jpg"><img class="alignnone size-full wp-image-739" title="qttabbar2" src="http://black-pixel.net/wp-content/uploads/2011/11/21.jpg" alt="qttabbar2" width="305" height="356" /></a></p>
<p>&nbsp;</p>
<p>Most of the things here should be self explanatory. Groups are very nice. You can create groups and add folders to them. Now you can click on the star on the left and select one of your groups, this will open all of the groups folders in separate tabs.</p>
<p>&nbsp;</p>
<p>You will also notice a little arrow pointing down when you move your mouse over a folder, if you click on that, a drop down menu will show you all the folders and files located inside of it and you can then jump directly to where you want.</p>
<p><a href="http://black-pixel.net/wp-content/uploads/2011/11/31.jpg"><img class="alignnone size-medium wp-image-740" title="qttabbar3" src="http://black-pixel.net/wp-content/uploads/2011/11/31-300x114.jpg" alt="qttabbar3" width="300" height="114" /></a></p>
<p>&nbsp;</p>
<p>You can also just move any folder to your tab bar and it will appear as a new tab.</p>
<p>&nbsp;</p>
<p>Like I&#8217;ve already said, there are lot&#8217;s of feature you can discover, just play a little around with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://black-pixel.net/qttabbar-tabs-for-windows.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Dexpot: Virtual Desktops for Windows</title>
		<link>http://black-pixel.net/dexpot-virtual-desktops-for-windows.html</link>
		<comments>http://black-pixel.net/dexpot-virtual-desktops-for-windows.html#comments</comments>
		<pubDate>Fri, 11 Nov 2011 17:36:49 +0000</pubDate>
		<dc:creator>Pixel</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://black-pixel.net/?p=728</guid>
		<description><![CDATA[If you've ever used Linux and went back to Winows, you'll sure miss the virtual desktops. Dexpot is a free (for private use) program that gives you virtual desktops just like in Linux. You have a lot of settings and can configure it as you like.]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever used Linux and went back to Winows, you&#8217;ll sure miss the virtual desktops. Dexpot is a free (for private use) program that gives you virtual desktops just like in Linux. You have a lot of settings and can configure it as you like.</p>
<p>&nbsp;</p>
<p>You can download it from <a href="http://www.dexpot.de/index.php?lang=en">http://www.dexpot.de/index.php?lang=en</a>.</p>
<p>&nbsp;</p>
<p>First of all, one thing I really appreciate about this program is that it allows you to copy windows to every workspace, so for example if you are using two monitors like me and want to have a video on one of the monitors all the time, you can simple &#8220;copy&#8221; it to every virtual desktop.</p>
<p>&nbsp;</p>
<p>Dexpot has a lot of functions and as far as I see it, it can do everything the workspaces in Linux do and maybe even more. I&#8217;ll just quote some stuff from the homepage and add some screenshots so you can see how it looks.</p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>Dexgrid</strong></span></p>
<p>Activate in &#8216;Settings • Plugins and Extras&#8217;.</p>
<p>This plugin adds a grid layout to your desktops.</p>
<ul>
<li>Animation during desktop switching</li>
<li>Switch left, right, up or down in the grid</li>
<li>Copy or move a window left, right, up or down in the grid</li>
</ul>
<p>Screens:</p>
<p>2 Monitors</p>
<p><a href="http://black-pixel.net/wp-content/uploads/2011/11/grid3.jpg"><img class="alignnone size-large wp-image-733" title="grid3" src="http://black-pixel.net/wp-content/uploads/2011/11/grid3-1024x320.jpg" alt="" width="500" height="156" /></a></p>
<p>1 Monitor</p>
<p><a href="http://black-pixel.net/wp-content/uploads/2011/11/grid1.jpg"><img class="alignnone size-medium wp-image-729" title="grid1" src="http://black-pixel.net/wp-content/uploads/2011/11/grid1-300x187.jpg" alt="" width="300" height="187" /></a> <a href="http://black-pixel.net/wp-content/uploads/2011/11/grid2.jpg"><img class="alignnone size-medium wp-image-730" title="grid2" src="http://black-pixel.net/wp-content/uploads/2011/11/grid2-300x187.jpg" alt="" width="300" height="187" /></a></p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>Taskbar Pager</strong></span></p>
<p>Activate in &#8216;Settings • Plugins and Extras&#8217;.</p>
<p>This plugin integrates a pager similar to the &#8220;Desktop Preview&#8221; directly into the Windows taskbar.</p>
<ul>
<li>Switch desktops with a single click</li>
<li>Drag &amp; Drop a window to another desktop</li>
<li>To copy a window, drag it while holding the Ctrl key</li>
</ul>
<div><a href="http://black-pixel.net/wp-content/uploads/2011/11/taskbar.jpg"><img class="alignnone size-full wp-image-731" title="taskbar" src="http://black-pixel.net/wp-content/uploads/2011/11/taskbar.jpg" alt="" width="744" height="39" /></a></div>
<div>Note: I am using two Monitors. So what you see are 4 desktops.</div>
<div><span style="text-decoration: underline;"><strong>SevenDex</strong></span></div>
<div>
<p>Activate in &#8216;Settings • Plugins and Extras&#8217;.</p>
<p>SevenDex adds a supplemental button to the Windows 7 taskbar, which will give you a thumbnail view of all your available desktops when hovering over or clicking on it.</p>
<p>New in version 1.5.1:</p>
<p>Pin SevenDex to your task bar. If Dexpot isn&#8217;t running, just click the SevenDex icon to start Dexpot. Clou.</p>
<ul>
<li>Hover over a thumbnail, and a preview of your desktop appears</li>
<li>If you hover over the thumbnail of your current desktop, you can peek through all windows (Aero Peek).</li>
</ul>
<p><a href="http://black-pixel.net/wp-content/uploads/2011/11/sevendex.jpg"><img class="alignnone size-medium wp-image-732" title="sevendex" src="http://black-pixel.net/wp-content/uploads/2011/11/sevendex-300x81.jpg" alt="" width="300" height="81" /></a></p>
</div>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>Dexcube</strong></span></p>
<p>Activate in &#8216;Settings • Plugins and Extras&#8217;.</p>
<p>Dexcube offers 3D transition effects.<br />
In order to use Dexcube, you need <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=de&amp;FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3" target="_blank">DirectX 9</a> (pre-installed since Windows XP).</p>
<p>Possible transition effects:</p>
<ul>
<li>Cube</li>
<li>Breakfast plate</li>
<li>Wall</li>
<li>Filmstrip</li>
</ul>
<p>Change the zoom settings in order to get more effect variations.</p>
<p>Tip:</p>
<p>Press <strong>Ctrl+Alt</strong> and <strong>Up-arrow</strong>. Keep <strong>Ctrl+Alt</strong> pressed, additionally press <strong>Right-arrow</strong> or <strong>Left-arrow</strong> to rotate the cube.</p>
<p>Official Video:<br />
<object width="305" height="186" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/watch?v=KSQiYmzU_QA" /><param name="allowfullscreen" value="true" /><embed width="305" height="186" type="application/x-shockwave-flash" src="http://www.youtube.com/watch?v=KSQiYmzU_QA" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p><a href="http://www.youtube.com/watch?v=KSQiYmzU_QA">http://www.youtube.com/watch?v=KSQiYmzU_QA</a></p>
<p>&nbsp;</p>
<p>And there is a lot more!  <a href="http://www.dexpot.de/index.php?id=produkt">http://www.dexpot.de/index.php?id=produkt</a></p>
<p>I hope you like it as much as I do. If you have questions or want me to test something or just want to tell your opinion, feel free to write a comment. <img src='http://black-pixel.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://black-pixel.net/dexpot-virtual-desktops-for-windows.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Origin &amp; BF3 in Sandboxie</title>
		<link>http://black-pixel.net/origin-bf3-in-sandboxie.html</link>
		<comments>http://black-pixel.net/origin-bf3-in-sandboxie.html#comments</comments>
		<pubDate>Tue, 01 Nov 2011 16:48:09 +0000</pubDate>
		<dc:creator>Pixel</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Origin]]></category>
		<category><![CDATA[Sandboxie]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://black-pixel.net/?p=715</guid>
		<description><![CDATA[To prevent Origin from scanning your PC, you can run it in a program called Sandboxie. In this post I'm going to show you how to set up Sandboxie.]]></description>
			<content:encoded><![CDATA[<p>To prevent Origin from scanning your PC, you can run it in a program called Sandboxie. In this post I&#8217;m going to show you how to set up Sandboxie.</p>
<p>First of all you have to download Sandboxie. The free version should be enough.</p>
<p><a href="http://www.sandboxie.com/">http://www.sandboxie.com/</a></p>
<p>&nbsp;</p>
<p>Your first step in Sandboxie is to create a new sandbox (I called it origin).</p>
<p>Next, select Configure from the menu and click on Edit Configuration.</p>
<p><a href="http://black-pixel.net/wp-content/uploads/2011/11/2.jpg"><img title="sandboxie2" src="http://black-pixel.net/wp-content/uploads/2011/11/2.jpg" alt="sandboxie2" width="396" height="270" /></a></p>
<p>In the now opened Sandbox.ini add at the bottom of the file under the [origin] category:</p>
<pre>OpenFilePath=C:\
OpenFilePath=C:\Program Files (x86)\Origin\
OpenFilePath=C:\Program Files (x86)\Origin Games\
OpenFilePath=C:\Users\Username\Documents\Battlefield 3\
OpenFilePath=C:\Users\Username\AppData\Roaming\Origin
OpenFilePath=C:\Users\Username\AppData\Local\Origin
OpenFilePath=C:\Program Files (x86)\SRWare Iron\</pre>
<p>The paths might differ from your installation so you have to check them. In this case I am using SRWare Iron as Browser for BF3, you have to run the Browser you want to use for the Battlelog in a sandbox, else the BF3.exe might crash.<br />
Underneath this, you can add all the folders you want Origin to not access.<br />
For example:</p>
<pre>ClosedFilePath=Z:\
ClosedFilePath=X:\
ClosedFilePath=G:\
ClosedFilePath=C:\foobar2000\
ClosedFilePath=C:\LaTeX\
ClosedFilePath=C:\MinGW\
ClosedFilePath=C:\Python27\
ClosedFilePath=C:\ProgramData\Adobe\
ClosedFilePath=C:\ProgramData\BOINC\
ClosedFilePath=C:\ProgramData\MiKTeX\</pre>
<pre>etc.</pre>
<p>A fast way to do this is to go to the Folder (for example C:\Program Files (x86)) and click on the icon before the folder path:<br />
<a href="http://black-pixel.net/wp-content/uploads/2011/11/3.jpg"><img title="sandboxie3" src="http://black-pixel.net/wp-content/uploads/2011/11/3.jpg" alt="sandboxie3" width="315" height="67" /></a><br />
Next replace it with cmd and press enter:<br />
<a href="http://black-pixel.net/wp-content/uploads/2011/11/4.jpg"><img title="sandboxie4" src="http://black-pixel.net/wp-content/uploads/2011/11/4.jpg" alt="sandboxie4" width="315" height="67" /></a><br />
Now a console window is open, type dir /d and press enter.<br />
<a href="http://black-pixel.net/wp-content/uploads/2011/11/5.jpg"><img title="sandboxie5" src="http://black-pixel.net/wp-content/uploads/2011/11/5.jpg" alt="sandboxie5" width="557" height="119" /></a><br />
Now you will see all the folders, you just have to copy them and replace the brackets.</p>
<p>Attention!<br />
Do not Close the File Path for folders you opened at the beginning, in this case:</p>
<pre>C:\
C:\Program Files (x86)
C:\Users\Username\Documents\
C:\Users\Username\AppData\</pre>
<pre></pre>
<p>Attention 64bit Users! To prevent random crashes, block access to the IGO32.dll</p>
<pre>ClosedFilePath=C:\Program Files (x86)\Origin\IGO32.dll</pre>
<p>&nbsp;</p>
<p>Remember that you have to start the Browser and Origin in the Sandbox. You can let them always start in a Sandbox by adding this to the Sandbox.ini file:</p>
<p><span style="color: #ff0000;">This only works for the purchased version of Sandboxie.</span></p>
<pre>ForceProcess=bf3.exe
ForceProcess=origin.exe
ForceFolder=C:\Program Files (x86)\SRWare Iron</pre>
<p>&nbsp;</p>
<p>Here are two links that helped me:</p>
<p><a href="http://www.sandboxie.com/phpbb/viewtopic.php?t=11767">http://www.sandboxie.com/phpbb/viewtopic.php?t=11767</a></p>
<p><a href="http://bf3blog.com/forum/topic/how-to-make-origin-stay-away-from-the-rest-of-your-computer">http://bf3blog.com/forum/topic/how-to-make-origin-stay-away-from-the-rest-of-your-computer</a></p>
<p>&nbsp;</p>
<p>If you have questions or problems, feel free to write a comment, I&#8217;m  happy to help you.</p>
]]></content:encoded>
			<wfw:commentRss>http://black-pixel.net/origin-bf3-in-sandboxie.html/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Ubuntu 11.10: Fix Touchpad</title>
		<link>http://black-pixel.net/ubuntu-11-10-fix-touchpad.html</link>
		<comments>http://black-pixel.net/ubuntu-11-10-fix-touchpad.html#comments</comments>
		<pubDate>Mon, 17 Oct 2011 14:55:57 +0000</pubDate>
		<dc:creator>Pixel</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://black-pixel.net/?p=710</guid>
		<description><![CDATA[I've recently updated Ubuntu on my Subnotebook to version 11.10. After the update, my touchpad did not work anymore.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently updated Ubuntu on my Subnotebook to version 11.10. After the update, my touchpad did not work anymore.</p>
<p>&nbsp;</p>
<p>To fix this, first open <span style="background-color: #c0c0c0;">/etc/default/grub</span> with your favourite editor.</p>
<p style="padding-left: 30px;"><code>sudo vim /etc/default/grub</code></p>
<p>Find the line</p>
<p style="padding-left: 30px;"><code>GRUB_CMDLINE_LINUX=""</code></p>
<p>and change it to</p>
<p style="padding-left: 30px;"><code>GRUB_CMDLINE_LINUX="i8042.nopnp"</code></p>
<p>Now update grub and reboot.</p>
<p style="padding-left: 30px;"><code>sudo update-grub</code></p>
<p style="padding-left: 30px;"><code>sudo shutdown -r now</code></p>
]]></content:encoded>
			<wfw:commentRss>http://black-pixel.net/ubuntu-11-10-fix-touchpad.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Google Calendar in Windows 7</title>
		<link>http://black-pixel.net/google-calendar-in-windows-7.html</link>
		<comments>http://black-pixel.net/google-calendar-in-windows-7.html#comments</comments>
		<pubDate>Mon, 17 Oct 2011 13:24:23 +0000</pubDate>
		<dc:creator>Pixel</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Google Calendar]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://black-pixel.net/?p=703</guid>
		<description><![CDATA[This is a short post on how you can display your Google calendar on your Windows 7 desktop.]]></description>
			<content:encoded><![CDATA[<p>This is a short post on how you can display your Google calendar on your Windows 7 desktop.</p>
<p>&nbsp;</p>
<p>First of all you have to download the <a href="http://wlcalendargadget.codeplex.com/">Windows Live Calendar Gadget</a>. Next go to the settings of your Google calendar.</p>
<p><a href="http://black-pixel.net/wp-content/uploads/2011/10/googlecalendar1.jpg"><img class="alignnone size-full wp-image-704" title="googlecalendar1" src="http://black-pixel.net/wp-content/uploads/2011/10/googlecalendar1.jpg" alt="googlecalendar1" width="339" height="94" /></a></p>
<p>Now click on your calendar and select the private ICAL address.</p>
<p><a href="http://black-pixel.net/wp-content/uploads/2011/10/googlecalendar2.jpg"><img class="alignnone size-full wp-image-705" title="googlecalendar2" src="http://black-pixel.net/wp-content/uploads/2011/10/googlecalendar2.jpg" alt="googlecalendar2" width="686" height="49" /></a></p>
<p>Copy the shown address and paste it into the settings of the Windows Live Calendar Gadget.</p>
<p><a href="http://black-pixel.net/wp-content/uploads/2011/10/googlecalendar3.jpg"><img class="alignnone size-full wp-image-706" title="googlecalendar3" src="http://black-pixel.net/wp-content/uploads/2011/10/googlecalendar3.jpg" alt="googlecalendar3" width="342" height="527" /></a></p>
<p>&nbsp;</p>
<p>That&#8217;s it. <img src='http://black-pixel.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://black-pixel.net/google-calendar-in-windows-7.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Ram device with TmpFS</title>
		<link>http://black-pixel.net/ram-device-with-tmpfs.html</link>
		<comments>http://black-pixel.net/ram-device-with-tmpfs.html#comments</comments>
		<pubDate>Wed, 21 Sep 2011 16:58:15 +0000</pubDate>
		<dc:creator>Pixel</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[ram device]]></category>

		<guid isPermaLink="false">http://black-pixel.net/?p=700</guid>
		<description><![CDATA[In the last post I've showed you how to set up a ram device using ramdisk  (e.g. /dev/ram0). Now I'll show you how to create a ram device with tmpfs. This is especially necessary if you are on a VServer and therefore can't increase the size of the ramdisks.]]></description>
			<content:encoded><![CDATA[<p>In the last post I&#8217;ve showed you how to set up a ram device using ramdisk  (e.g. /dev/ram0). Now I&#8217;ll show you how to create a ram device with tmpfs. This is especially necessary if you are on a VServer and therefore can&#8217;t increase the size of the ramdisk.</p>
<p><span style="font-size: medium;">TmpFS</span></p>
<p>This is how you mount a tmpfs volume with 128MB space:</p>
<pre style="padding-left: 30px;"># mkdir -p /mnt/tmp
# mount -t tmpfs -o size=128m tmpfs /mnt/tmp</pre>
<p>If you don&#8217;t set the size, it will use 50% of the available memory. You can set the size as a normal value (size=128[k,m,g]) or as a percentage value (size=20%).</p>
<p>If you want to see if it worked or how much of the device is used, use the command <span style="background-color: #c0c0c0;">df -k</span>.</p>
<p>In my opinion, this is the best method to set up a ram device. There is also ramfs, on which tmpfs is based on, but I don&#8217;t recommend it.</p>
<p>&nbsp;</p>
<p>Don&#8217;t forget that you will loose all the data on the ram device if the computer reboots or crashes, so make sure you do regular backups.</p>
<p>&nbsp;</p>
<p>For more information, check out this link:</p>
<ul>
<li><a href="http://www.thegeekstuff.com/2008/11/overview-of-ramfs-and-tmpfs-on-linux/">http://www.thegeekstuff.com/2008/11/overview-of-ramfs-and-tmpfs-on-linux/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://black-pixel.net/ram-device-with-tmpfs.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Set up a Ramdisk on CentOS (e.g. for a Minecraft Server)</title>
		<link>http://black-pixel.net/set-up-a-ramdisk-on-centos-e-g-for-a-minecraft-server.html</link>
		<comments>http://black-pixel.net/set-up-a-ramdisk-on-centos-e-g-for-a-minecraft-server.html#comments</comments>
		<pubDate>Fri, 16 Sep 2011 23:48:26 +0000</pubDate>
		<dc:creator>Pixel</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Minecraft]]></category>
		<category><![CDATA[ram device]]></category>

		<guid isPermaLink="false">http://black-pixel.net/?p=689</guid>
		<description><![CDATA[I had some performance problems with my Minecraft server and decided to run it on a ramdisk. This is a tutorial on how to set it up on CentOS.]]></description>
			<content:encoded><![CDATA[<p>I had some performance problems with my Minecraft server and decided to run it on a ramdisk. This is a tutorial on how to set it up on CentOS.</p>
<p>Since Linux Kernel 2.4 ramdisk support is built-in.</p>
<p>To see the names of the ramdisk devices:</p>
<pre># ls -l /dev/ram*
brw-rw----. 1 root disk 1,  0 Sep 16 20:40 /dev/ram0
brw-rw----. 1 root disk 1,  1 Sep 16 20:36 /dev/ram1
brw-rw----. 1 root disk 1, 10 Sep 16 20:36 /dev/ram10
brw-rw----. 1 root disk 1, 11 Sep 16 20:36 /dev/ram11
brw-rw----. 1 root disk 1, 12 Sep 16 20:36 /dev/ram12
brw-rw----. 1 root disk 1, 13 Sep 16 20:36 /dev/ram13
brw-rw----. 1 root disk 1, 14 Sep 16 20:36 /dev/ram14
brw-rw----. 1 root disk 1, 15 Sep 16 20:36 /dev/ram15
brw-rw----. 1 root disk 1,  2 Sep 16 20:36 /dev/ram2
brw-rw----. 1 root disk 1,  3 Sep 16 20:36 /dev/ram3
brw-rw----. 1 root disk 1,  4 Sep 16 20:36 /dev/ram4
brw-rw----. 1 root disk 1,  5 Sep 16 20:36 /dev/ram5
brw-rw----. 1 root disk 1,  6 Sep 16 20:36 /dev/ram6
brw-rw----. 1 root disk 1,  7 Sep 16 20:36 /dev/ram7
brw-rw----. 1 root disk 1,  8 Sep 16 20:36 /dev/ram8
brw-rw----. 1 root disk 1,  9 Sep 16 20:36 /dev/ram9</pre>
<p>The standard ramdisk size is very low ( &lt; 20MB) so you may need to increase it.<br />
To increase it, in my case to 128MB, you have to edit the /etc/grub.conf and add ramdisk_size=131072 at the end of the kernel line:</p>
<pre><code> kernel /boot/vmlinuz-2.6.32-71.29.1.el6.x86_64 ro root=/dev/md2 <strong>ramdisk_size=131072</strong> </code></pre>
<p>Now reboot so the changes take effect.</p>
<p>Once rebooted, format one of the ramdisk devices:</p>
<pre><code>mke2fs -m 0 /dev/ram0</code></pre>
<p>Now create a folder, mount the device and set the appropriate owner.</p>
<pre><code>mkdir /home/user/ramdisk </code></pre>
<pre><code>mount /dev/ram0 /home/user/ramdisk </code></pre>
<pre><code>chown user:user /home/user/ramdisk</code></pre>
<p>That&#8217;s it. Remember that everything you put onto the ramdisk is lost after rebooting. So back it up before you reboot the server or better set up a cron job to do regular backups for you.</p>
<p>If you want the ramdisk to be set up automatically after a reboot add the following to your /etc/rc.local file:</p>
<pre><code>mke2fs -m 0 /dev/ram0 </code></pre>
<pre><code>mount /dev/ram0 /home/user/ramdisk </code></pre>
<pre><code>chown user:user /home/user/ramdisk </code></pre>
<pre><code># Example for copying the backup back on the ramdisk </code></pre>
<pre><code># cp -R /home/user/backup/* /home/user/ramdisk/</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://black-pixel.net/set-up-a-ramdisk-on-centos-e-g-for-a-minecraft-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
	</item>
	</channel>
</rss>

<!-- Served from: black-pixel.net @ 2012-02-22 23:20:55 by W3 Total Cache -->
