<?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>Cuvedev.net &#124; Klaas Cuvelier &#187; plugin</title>
	<atom:link href="http://www.cuvedev.net/category/plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cuvedev.net</link>
	<description>This is the personal blog and thoughts of Klaas Cuvelier, a young webdeveloper from Ghent</description>
	<lastBuildDate>Sat, 04 Feb 2012 09:52:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>jQuery Chosen fork</title>
		<link>http://www.cuvedev.net/2012/01/jquery-chosen-fork/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jquery-chosen-fork</link>
		<comments>http://www.cuvedev.net/2012/01/jquery-chosen-fork/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 15:06:27 +0000</pubDate>
		<dc:creator>Klaas Cuvelier</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[chosen]]></category>
		<category><![CDATA[fork]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[hide]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[spmodal]]></category>

		<guid isPermaLink="false">http://www.cuvedev.net/?p=4735</guid>
		<description><![CDATA[Today I forked the jQuery plugin Chosen. The original code used some dirty code to show and hide the list-items and there were some additional options I added. Now it&#8217;s possible to specify if you want to hide or show the search field (default its off) and if you want the search function to look [...]]]></description>
			<content:encoded><![CDATA[<p>Today <a title="chosen fork" href="https://github.com/klaascuvelier/chosen" target="_blank">I forked</a> the jQuery plugin <a title="Chosen" href="http://harvesthq.github.com/chosen/" target="_blank">Chosen</a>. The original code used some dirty code to show and hide the list-items and there were some additional options I added. Now it&#8217;s possible to specify if you want to hide or show the search field (default its off) and if you want the search function to look for you query string at the beginning of the list-item label, or wherever.</p>
<p>If you&#8217;re using <a title="Chosen" href="http://harvesthq.github.com/chosen/" target="_blank">Chosen</a> in combination with <a title="SimpleModal for jQuery" href="http://www.ericmmartin.com/projects/simplemodal/" target="_blank">SpModal</a>, it&#8217;s now possible to have the Chosen list come out of the modal window, using this style:</p>
<p><code> &lt;style&gt;<br />
#sp-modal-container { overflow: visible !important; }<br />
#select_pln_chzn { position: absolute; }<br />
&lt;/style&gt;</code></p>
<div id="attachment_4742" class="wp-caption alignnone" style="width: 310px"><a href="http://www.cuvedev.net/wp-content/uploads/2012/01/chosen-fork.png" rel="lightbox[4735]"><img class="size-medium wp-image-4742" title="chosen-fork" src="http://www.cuvedev.net/wp-content/uploads/2012/01/chosen-fork-300x143.png" alt="" width="300" height="143" /></a><p class="wp-caption-text">Chosen + SimpleModal</p></div>
<p><em>search_enabled</em> and <em>search_at_start</em> pretty much speak for themself.</p>
<p>Fork: <a title="https://github.com/klaascuvelier/chosen" href="https://github.com/klaascuvelier/chosen" target="_blank">https://github.com/klaascuvelier/chosen</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cuvedev.net/2012/01/jquery-chosen-fork/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sublime Text 2 &#8211; rsync on save</title>
		<link>http://www.cuvedev.net/2011/12/sublime-text-2-rsync-on-save/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sublime-text-2-rsync-on-save</link>
		<comments>http://www.cuvedev.net/2011/12/sublime-text-2-rsync-on-save/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 19:22:49 +0000</pubDate>
		<dc:creator>Klaas Cuvelier</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[2]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[sublime]]></category>
		<category><![CDATA[subprocess]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://www.cuvedev.net/?p=4681</guid>
		<description><![CDATA[As I&#8217;m running an Ubuntu Server in a virtual machine as development test server and I develop on my local environment, I need to keep both repositories in sync. Before, I shared the code on the development server to my local environment via NFS. The setup worked, but gave some complications with svn, and the [...]]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;m running an Ubuntu Server in a virtual machine as development test server and I develop on my local environment, I need to keep both repositories in sync.<br />
Before, I shared the code on the development server to my local environment via NFS. The setup worked, but gave some complications with svn, and the auto mounting of the NFS-share after rebooting. So I started looking for a new way to keep all files in sync. I considered sharing via NFS the other way around, but that would make my test server very slow; all php files need to be loaded through NFS and all assets (images, css, javascript) too.<br />
The easiest way to solve my problem was through the good old rsync. As I&#8217;m too lazy to run an rsync command every time before I want to load a page from my test-server, I wanted it to be done automatically when I saved a file.<br />
As Sublime Text 2 is an awesome editor which supports plugins, I started surfing around looking for some examples which I then adapted for my own use..<br />
This is the plugin I now use:</p>
<blockquote><p>import sublime, sublime_plugin, subprocess</p>
<p>class RsyncOnSave(sublime_plugin.EventListener):<br />
def on_post_save(self, view):</p>
<p>syncProject = &#8220;&#8221;"rsync -avz localpath remotepath &amp;&#8221;"&#8221;<br />
subprocess.call([syncProject],shell=True)</p></blockquote>
<p>This code is put in a file named <em>RsyncOnSave.py</em> which is saved a folder named <em>RsyncOnSave</em>, in the Packages folder (for OSX thats: <em>~/Library/Application\ Support/Sublime\ Text\ 2/Packages/</em>). The plugin should automatically be loaded when you (re-)start Sublime Text.<br />
localpath and remotepath obviously are the paths in your case. Note the ampersand at the end of the sync command, which makes sure your editor doesn&#8217;t freeze while the command is being executed.</p>
<p>Make sure you&#8217;ve put your public ssh-key in the authorized_keys on your server, so you don&#8217;t have to give your password when rsyncing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cuvedev.net/2011/12/sublime-text-2-rsync-on-save/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress plugin: Authentication</title>
		<link>http://www.cuvedev.net/2010/07/wordpress-plugin-authentication/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-plugin-authentication</link>
		<comments>http://www.cuvedev.net/2010/07/wordpress-plugin-authentication/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 11:52:30 +0000</pubDate>
		<dc:creator>Klaas Cuvelier</dc:creator>
				<category><![CDATA[Cuvedev]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.cuvedev.net/?p=901</guid>
		<description><![CDATA[So, I finally submitted my first plugin to the WordPress plugin base. It&#8217;s a plugin which add functionality to request visitors authentication before the website can be viewed. It doesn&#8217;t use HTTP Authentication, just php and html. You can choose to use the WordPress authentication functionality to login, or give a password yourself. Try it [...]]]></description>
			<content:encoded><![CDATA[<p>So, I finally submitted my first plugin to the WordPress plugin base.</p>
<p>It&#8217;s a plugin which add functionality to request visitors authentication before the website can be viewed. It doesn&#8217;t use HTTP Authentication, just php and html.<br />
You can choose to use the WordPress authentication functionality to login, or give a password yourself.</p>
<p>Try it out, and give some feedback.</p>
<p><a href="http://wordpress.org/extend/plugins/basic-authentication/">Link to Basic Authentication plugin</a></p>
<p>Screenshot:<br />
<a href="http://www.cuvedev.net/wp-content/uploads/2010/07/screenshot-1.png" rel="lightbox[901]"><img class="alignnone size-medium wp-image-903" title="Basic Authentication options" src="http://www.cuvedev.net/wp-content/uploads/2010/07/screenshot-1-300x280.png" alt="options" width="300" height="280" /></a></p>
<p>&nbsp;</p>
<p>&#8211; Update:</p>
<p>Now compatible with WordPress 3.3</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cuvedev.net/2010/07/wordpress-plugin-authentication/feed/</wfw:commentRss>
		<slash:comments>46</slash:comments>
		</item>
	</channel>
</rss>

