<?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>Sprayfly &#187; plugin</title>
	<atom:link href="http://sprayfly.com/tag/plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://sprayfly.com</link>
	<description>Languages, Linux, Life</description>
	<lastBuildDate>Sat, 14 Aug 2010 10:45:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Install Java on Ubuntu Lucid 10.04</title>
		<link>http://sprayfly.com/2010/06/06/install-java-on-ubuntu-lucid-10-04/</link>
		<comments>http://sprayfly.com/2010/06/06/install-java-on-ubuntu-lucid-10-04/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 22:57:11 +0000</pubDate>
		<dc:creator>Jono</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[lucid]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://sprayfly.com/?p=447</guid>
		<description><![CDATA[I recently ran into some problems trying to use Facebook&#8217;s photo uploader tool in Firefox. It turns out that in Lucid, the Ubuntu developers have opted for OpenJDK instead of standard Java &#8211; and this is what is causing the problem with the uploader. The below steps should allow you to get standard Java setup [...]]]></description>
			<content:encoded><![CDATA[<p>I recently ran into some problems trying to use Facebook&#8217;s photo uploader tool in Firefox. It turns out that in Lucid, the Ubuntu developers have opted for OpenJDK instead of standard Java &#8211; and this is what is causing the problem with the uploader.</p>
<p>The below steps should allow you to get standard Java setup on your Ubuntu box:</p>
<p><strong>Add the repository</strong><br />
First create a new .list file for the repository</p>
<pre>sudo gedit /etc/apt/sources.list.d/java.list</pre>
<p>Paste in the following</p>
<pre>deb http://archive.canonical.com/ lucid partner</pre>
<p>Now update all repositories and install Java</p>
<pre>sudo apt-get update &#038;&#038; sudo apt-get install sun-java6-jre sun-java6-fonts sun-java6-plugin</pre>
<p>Now you need to make sure that the version of Java you just installed is selected as the default Java installation on your system:</p>
<pre>sudo update-alternatives --config java</pre>
<p>Choose the version of Java you just installed.</p>
<p>Finally, we need to install the Java plugin in Firefox:</p>
<pre>mkdir -p ~/.mozilla/plugins</pre>
<p>Make a symlink to the Java plugin:</p>
<pre>ln -s /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so ~/.mozilla/plugins/libnpjp2.so</pre>
<p>Finally, you may want to implement the following fix which resolves the problem of Chinese characters displaying as 口口 boxes in Java applications:</p>
<pre>cd /usr/lib/jvm/java-6-sun/jre/lib/fonts
sudo mkdir fallback
cd fallback
sudo ln -s /usr/share/fonts/truetype/arphic/uming.ttc .
sudo ln -s /usr/share/fonts/truetype/arphic/uming.ttc uming.ttf</pre>
<p>Now restart Firefox and everything should be working OK! If you do run into any problems, you may want to consider uninstalling OpenJDK completely as well as the Icedtea Java plugin using Synaptic package manager.</p>
<p>Thanks to <a href="http://felixcat.net/2010/04/install-sun-java6-jre-instead-of-openjdk-in-ubuntu-lucid/">Felix Yan&#8217;s</a> and <a href="http://buck-nasty.blogspot.com/2010/02/installing-firefox-36-and-java-618.html">Buckynasty&#8217;s</a> original posts.</p>
<div id="mainphotoarea"></div>]]></content:encoded>
			<wfw:commentRss>http://sprayfly.com/2010/06/06/install-java-on-ubuntu-lucid-10-04/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Mediawiki reCAPTCHA plugin prevents Wiki spam and vandalism</title>
		<link>http://sprayfly.com/2009/02/25/mediawiki-recaptcha-plugin-prevents-wiki-spam-and-vandalism/</link>
		<comments>http://sprayfly.com/2009/02/25/mediawiki-recaptcha-plugin-prevents-wiki-spam-and-vandalism/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 05:20:38 +0000</pubDate>
		<dc:creator>Jono</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[WL-HDD]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Wiki]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[mediawiki]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[recaptcha]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://sprayfly.com/?p=222</guid>
		<description><![CDATA[After years of fighting spam and vandalism on my WL-HDD site &#8211; involving making many complex spam rules and heavily restricting user&#8217;s editing permissions, I have finally found a more ideal solution to the problem &#8211; reCAPTCHA. Many of you will already be familiar with reCAPTCHA via other websites &#8211; where it is often used [...]]]></description>
			<content:encoded><![CDATA[<p>After years of fighting spam and vandalism on my <a href="http://wlhdd.co.uk/">WL-HDD</a> site &#8211; involving making many complex spam rules and heavily restricting user&#8217;s editing permissions, I have finally found a more ideal solution to the problem &#8211; reCAPTCHA.</p>
<p>Many of you will already be familiar with reCAPTCHA via other websites &#8211; where it is often used to block spam comments on blogs or on user registration forms. Basically, it requires you to recognize two words in a picture and to type them into an input box as a means of proving that you are a human and not a spambot. You can see an example of reCAPTCHA in action in the screenshot provided.</p>
<p><a href="http://www.flickr.com/photos/jonolumb/3307744875/" class="tt-flickr tt-flickr-Medium"><img class="alignnone" src="http://farm4.static.flickr.com/3399/3307744875_1f46a19e0f.jpg" alt="Screenshot-Editing Sprayfly-sandbox- - WL-HDD Wiki - Mozilla Firefox" width="500" height="185" /></a></p>
<p>I currently have the plugin setup so that it is activated on:</p>
<ul>
<li>New user registration</li>
<li>Creation of new pages</li>
<li>Anonymous edits that contain new external links</li>
<li>Brute-force password cracking</li>
</ul>
<p>If you are interested in implementing the plugin on your own blog, there is more information available <a href="http://recaptcha.net/plugins/mediawiki/">here</a>. It is a very straightforward and simple procedure.</p>
<div id="mainphotoarea"></div>]]></content:encoded>
			<wfw:commentRss>http://sprayfly.com/2009/02/25/mediawiki-recaptcha-plugin-prevents-wiki-spam-and-vandalism/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
