<?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>Ludicrous &#187; Utility</title>
	<atom:link href="/tag/utility/feed" rel="self" type="application/rss+xml" />
	<link>https://lud.icro.us</link>
	<description></description>
	<lastBuildDate>Thu, 25 Apr 2013 01:15:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6-beta1-23983</generator>
		<item>
		<title>Access Your Desktop Development Environment from Your Mobile Device</title>
		<link>https://lud.icro.us/access-development-environment-from-mobile-device</link>
		<comments>https://lud.icro.us/access-development-environment-from-mobile-device#comments</comments>
		<pubDate>Thu, 23 Feb 2012 00:09:48 +0000</pubDate>
		<dc:creator>John Blackbourn</dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[Developers]]></category>
		<category><![CDATA[HTTP]]></category>
		<category><![CDATA[Utility]]></category>

		<guid isPermaLink="false">https://lud.icro.us/?p=274</guid>
		<description><![CDATA[It&#8217;s really easy to get an iPhone, iPad or other iOS device to access a local web server running on your development machine. All you need is Charles Proxy running on your development machine (which you should have anyway, as it&#8217;s invaluable). Once that&#8217;s running: Make sure your iOS device is connected to the same [...]]]></description>
				<content:encoded><![CDATA[<span class="read_later"><script type="text/javascript"><!--
			instapaper_embed( "https://lud.icro.us/access-development-environment-from-mobile-device", "Access Your Desktop Development Environment from Your Mobile Device", "" );
		//--></script></span><p>It&#8217;s really easy to get an iPhone, iPad or other iOS device to access a local web server running on your development machine. All you need is <a href="http://www.charlesproxy.com/">Charles Proxy</a> running on your development machine (which you should have anyway, as it&#8217;s invaluable). Once that&#8217;s running:</p>
<p>Make sure your iOS device is connected to the same network as your development machine. Go into the <strong>Settings -> Wi-Fi</strong> menu on your iOS device and click the arrow next to your network. From there switch the HTTP proxy setting to manual and enter your development environment machine&#8217;s network IP address (eg. 192.168.0.4) as the server, and 8888 as the port (Charles&#8217; default port unless you&#8217;ve changed it).</p>
<p>Voila. All your HTTP traffic from your iOS device will now route through Charles running on your desktop (Charles will prompt you to allow access first) and you&#8217;ll have access to your local development server. Awesome!</p>
<p><strong>Aside:</strong> Android users, you&#8217;ve not got it as easy. There aren&#8217;t any HTTP proxy settings in Android (who said Android was an open platform?) so unless you&#8217;re willing to jailbreak your Android you&#8217;re out of luck. There may well be similar proxy settings for other mobile OSes. A quick Google will usually give you the answer.</p>
<p><strong>Pro Tip:</strong> Are you still editing your hosts file in order to manage the host name mapping for sites on your development environment? Stop it. Just use the <strong>Tools -> DNS Spoofing</strong> menu in Charles and make life easier for yourself.</p>
]]></content:encoded>
			<wfw:commentRss>https://lud.icro.us/access-development-environment-from-mobile-device/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Plugin: User Switching</title>
		<link>https://lud.icro.us/wordpress-plugin-user-switching</link>
		<comments>https://lud.icro.us/wordpress-plugin-user-switching#comments</comments>
		<pubDate>Thu, 05 Mar 2009 04:59:06 +0000</pubDate>
		<dc:creator>John Blackbourn</dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[Developers]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Users]]></category>
		<category><![CDATA[Utility]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">https://lud.icro.us/?p=96</guid>
		<description><![CDATA[Latest version: - Released : Description Screenshots Installation Todo list A custom capability (eg. &#8216;switch_users&#8217;) which can be granted to lower level users so they can switch accounts. Done! Some way of switching back to the administrator account after switching to a lower level account (will require a cookie-based remembering system which doesn&#8217;t compromise security). [...]]]></description>
				<content:encoded><![CDATA[<span class="read_later"><script type="text/javascript"><!--
			instapaper_embed( "https://lud.icro.us/wordpress-plugin-user-switching", "WordPress Plugin: User Switching", "" );
		//--></script></span><div class="notice"><strong>Latest version: 0.7.1</strong>- Released February 26th, 2013:<ul>
<li>Arabic translation by Hassan Hisham.</li>
<li>Minor code tweaks.</li>
</ul></div>
<h3>Description</h3>
<p>This plugin allows you to quickly swap between user accounts in WordPress at the click of a button. You'll be instantly logged out and logged in as your desired user. This is handy for test environments where you regularly log out and in between different accounts, or for adminstrators of sites who need to switch between multiple accounts.</p>

<h4>Features</h4>

<ul>
<li>Switch users: Instantly switch to any user account from the <em>Users</em> screen.</li>
<li>Switch back: Instantly switch back to your originating account.</li>
<li>Switch off: Log out of your account but retain the ability to instantly switch back in again.</li>
<li>It's completely secure (see the <em>Security</em> section below).</li>
<li>Compatible with WordPress, WordPress Multisite and BuddyPress.</li>
</ul>

<h4>Security</h4>

<ul>
<li>Only users with the ability to edit other users can switch user accounts (by default this is only Administrators). Lower level users cannot switch accounts.</li>
<li>User switching is protected with the WordPress nonce security system, meaning only those who are allowed to switch users can switch.</li>
<li>Full support for administration over SSL (if applicable).</li>
<li>Passwords are not (and cannot be) revealed.</li>
</ul>

<h4>Translations Included</h4>

<ul>
<li>Chinese Simplified by Tunghsiao Liu (Sparanoid)</li>
<li>German by Ralph Stenzel</li>
<li>Farsi (Persian) by Amin Ab</li>
<li>Slovak by Max Samael</li>
<li>Polish by Bartosz Arendt</li>
<li>Lithuanian by Tommixoft</li>
<li>Arabic by Hassan Hisham</li>
</ul>
<h3>Screenshots</h3>
<ol>
	<li>
		<img class='screenshot' src='http://s-plugins.wordpress.org/user-switching/assets/screenshot-1.png?rev=673675' alt='user-switching screenshot 1' />
		<p>The <em>Switch To</em> link on the Users screen</p>
	</li>
	<li>
		<img class='screenshot' src='http://s-plugins.wordpress.org/user-switching/assets/screenshot-2.png?rev=673675' alt='user-switching screenshot 2' />
		<p>The <em>Switch To</em> link on a user's profile</p>
	</li>
</ol>
<h3>Installation</h3>
<p>You can install this plugin directly from your WordPress dashboard:</p>

<ol>
<li>Go to the <em>Plugins</em> menu and click <em>Add New</em>.</li>
<li>Search for <em>User Switching</em>.</li>
<li>Click <em>Install Now</em> next to the User Switching plugin.</li>
<li>Activate the plugin.</li>
</ol>

<p>Alternatively, see the guide to <a href="http://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation">Manually Installing Plugins</a>.</p>

<h4>Usage</h4>

<p>Visit the <em>Users</em> menu in WordPress and you'll see a <em>Switch To</em> link next to each user. Clicking this will immediately switch you into that user account. Once switched, you can switch back to your originating account via the <em>Switch back</em> link on each dashboard screen and in your profile menu in the WordPress toolbar.</p>

<p>See the FAQ for information about the <em>Switch Off</em> feature.</p>
<h3>Todo list</h3>
<ul>
<li><span style="text-decoration: line-through;">A custom capability (eg. &#8216;switch_users&#8217;) which can be granted to lower level users so they can switch accounts.</span> Done!</li>
<li><span style="text-decoration: line-through;">Some way of switching back to the administrator account after switching to a lower level account (will require a cookie-based remembering system which doesn&#8217;t compromise security).<br />
</span> Done!</li>
<li><span style="text-decoration: line-through;">A persistent notification in the admin area reminding you that this is an account you switched to and not your account (also reliant on solution above).</span> Done!</li>
</ul>
<h3>FAQ</h3>
<h4>What does "Switch off" mean?</h4>

<p>Switching off logs you out of your account but retains your user ID in an authorisation cookie so you can switch straight back without having to log in again manually. It's akin to switching to no user, and being able to switch back.</p>

<p>The <em>Switch Off</em> link can be found in your profile menu in the WordPress toolbar. Once you've switched off you'll see a <em>Switch back</em> link in the footer of your site.</p>

<h4>Does this plugin work with WordPress Multisite?</h4>

<p>Yes, and you'll also be able to switch users from the Users screen in Network Admin.</p>

<h4>Does this plugin work with BuddyPress?</h4>

<p>Yes, and you'll also be able to switch users from the Members screens.</p>

<h4>Does this work as a mu-plugin?</h4>

<p>Yes, but you'll need to install <code>user-switching.php</code> into the root of your <code>mu-plugins</code> directory, not in the <code>user-switching</code> subdirectory. This is a restriction of WordPress.</p>

<h4>What capability does a user need in order to switch accounts?</h4>

<p>A user needs the <code>edit_users</code> capability in order to switch user accounts. By default only Administrators have this capability, and with Multisite enabled only Super Admins have this capability.</p>

<h4>Can regular admins on Multisite installs switch accounts?</h4>

<p>No. This can be enabled though by installing the <a href="https://github.com/johnbillion/user-switching-for-regular-admins">User Switching for Regular Admins</a> plugin.</p>

<h4>Are any hooks called when users switch accounts?</h4>

<p>Yes. When a user switches to another account, the <code>switch_to_user</code> hook is called with the new and old user IDs passed as parameters.</p>

<p>When a user switches back to their original account, the <code>switch_back_user</code> hook is called with the new (original) and old user IDs passed as parameters.</p>

<p>When a user switches off, the <code>switch_off_user</code> hook is called with the old user ID as a parameter.</p>
<h3>Download</h3>
<p class="notice">This plugin requires WordPress version 3.1 or later.</p>
<p><a href="http://wordpress.org/extend/plugins/user-switching/">View the plugin on WordPress.org.</a></p>
<p class="download"><a href="http://downloads.wordpress.org/plugin/user-switching.zip">Version 0.7.1 ZIP file</a> from downloads.wordpress.org</p>
<p>Any comments, questions, queries, suggestions, complaints, etc, please leave a comment!</p>
]]></content:encoded>
			<wfw:commentRss>https://lud.icro.us/wordpress-plugin-user-switching/feed</wfw:commentRss>
		<slash:comments>71</slash:comments>
		</item>
		<item>
		<title>WordPress Plugin: Plugin Info</title>
		<link>https://lud.icro.us/wordpress-plugin-info</link>
		<comments>https://lud.icro.us/wordpress-plugin-info#comments</comments>
		<pubDate>Tue, 16 Dec 2008 16:33:47 +0000</pubDate>
		<dc:creator>John Blackbourn</dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Utility]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">https://lud.icro.us/?p=50</guid>
		<description><![CDATA[Latest version: - Released Description This plugin provides a simple way of displaying up-to-date information about specific plugins hosted on the WordPress Plugin Directory in your blog posts and pages. It is intended for plugin authors who want to display details of their own plugins from the WP Plugin Directory on their blog and want [...]]]></description>
				<content:encoded><![CDATA[<span class="read_later"><script type="text/javascript"><!--
			instapaper_embed( "https://lud.icro.us/wordpress-plugin-info", "WordPress Plugin: Plugin Info", "" );
		//--></script></span><div class="notice">Latest version: <strong>0.7.9</strong>- Released April 7th, 2013</p>
</div>
<h3>Description</h3>
<p>This plugin provides a simple way of displaying up-to-date information about specific plugins hosted on the WordPress Plugin Directory in your blog posts and pages. It is intended for plugin authors who want to display details of their own plugins from the WP Plugin Directory on their blog and want those details to remain up to date. It&#8217;s also useful for bloggers who may blog about plugins and would like the details in their blog posts to remain up to date.</p>
<h3>Er, what?</h3>
<p>You want to blog about a particular plugin on your blog and include various details of it in your blog post (eg. the number of downloads or the last updated date). You could manually type this information into your post but this means that in a few days/weeks/months&#8217; time the information will be out of date.</p>
<p>This plugin allows you to use shortcodes in your blog posts and pages which fetches this information right from the WordPress Plugin Directory, therefore ensuring the information always remains up to date.</p>
<h3>Here&#8217;s an example</h3>
<p>This plugin uses shortcodes so it&#8217;s ridiculously easy to include any information about a particular plugin in your post or page:</p>
<p><code>This plugin has been downloaded &#91;plugin downloaded&#93; times!</code></p>
<p>This will produce the following content in your blog post:</p>
<p><code>This plugin has been downloaded 1,650 times!</code></p>
<p>The download count will remain current without you having to touch your blog post again.</p>
<h3>Is this plugin for me?</h3>
<p>This plugin is only going to be of use to you if:</p>
<ol style="list-style-type: upper-alpha;">
<li>You are a plugin author and you want a ridiculously easy way to include up to date information about any of your plugins in your blog posts or pages.</li>
<li>You are the author of a blog that highlights plugins of interest and you want to ensure that information in your posts remains up to date.</li>
</ol>
<h3>Installation</h3>
<ol>
<li>Unzip the ZIP file and drop the folder straight into your <code>wp-content/plugins</code> directory.</li>
<li>Activate the plugin through the &#8216;Plugins&#8217; menu in WordPress.</li>
<li>Now read the usage guidelines below.</li>
</ol>
<h3>Usage</h3>
<ol>
<li>Write a new blog post or page, or open an existing post or page for editing.</li>
<li>In the &#8216;Plugin Info&#8217; box on that screen, type the slug of the plugin like this:<br />
<img src="/imgs/plugin-info-screenie2.png" alt="'Plugin Info' plugin screenshot" /><br />
(The plugin slug is the last part of the URL of the plugin&#8217;s page on wordpress.org.)</li>
<li>Add a shortcode to your blog entry like this: <code>&#91;plugin downloaded&#93;</code> and save the post. (That&#8217;s the word &#8216;plugin&#8217; and not the slug of your plugin by the way).</li>
<li>Take a look at your post and the number of dowloads of the plugin will be displayed.</li>
</ol>
<h3>Which attributes can I display?</h3>
<p>Below is a list of all the available shortcodes.</p>
<p><em>Plain info:</em></p>
<ul>
<li>&#91;plugin author_name&#93; &#8211; The plugin author&#8217;s name</li>
<li>&#91;plugin author_url&#93; &#8211; The URL of the plugin author&#8217;s homepage</li>
<li>&#91;plugin compatibility&#93; &#8211; The <a href="http://wordpress.org/development/2009/10/plugin-compatibility-beta/">compatibility concensus</a> with the most recent version of WordPress (as a %)</li>
<li>&#91;plugin compat_with&#93; &#8211; The version of WordPress used for the compatibility concensus (ie. the latest WordPress version, eg. &#8220;2.8.5&#8243;)</li>
<li>&#91;plugin download_url&#93; &#8211; The URL of the plugin&#8217;s ZIP file</li>
<li>&#91;plugin downloaded&#93; &#8211; The all time download count with comma-separated thousands (eg. &#8220;12,345&#8243;)</li>
<li>&#91;plugin homepage_url&#93; &#8211; The URL of the plugin&#8217;s homepage</li>
<li>&#91;plugin link_url&#93; &#8211; The URL of the plugin&#8217;s page on the WP Plugin Directory</li>
<li>&#91;plugin name&#93; &#8211; The plugin name</li>
<li>&#91;plugin profile_url&#93; &#8211; The URL of the author&#8217;s profile on WP.org</li>
<li>&#91;plugin requires&#93; &#8211; The &#8216;Requires at least&#8217; WP version number</li>
<li>&#91;plugin rating&#93; &#8211; The plugin&#8217;s star rating as a whole number out of 5 (given by visitors to wp.org)</li>
<li>&#91;plugin slug&#93; &#8211; The plugin slug</li>
<li>&#91;plugin tags&#93; &#8211; A comma-separated list of the plugin&#8217;s tags</li>
<li>&#91;plugin tested&#93; &#8211; The &#8216;Tested up to&#8217; WP version number</li>
<li>&#91;plugin updated_ago&#93; &#8211; How long ago the plugin was last updated (eg. &#8220;20 days ago&#8221;)</li>
<li>&#91;plugin updated&#93; &#8211; The date the plugin was last updated, formatted according to your Date Format settings under Settings-&gt;General (eg. &#8220;20 January 2009&#8243;)</li>
<li>&#91;plugin version&#93; &#8211; The plugin version number</li>
</ul>
<p><em>Formatted info (eg. links and ordered lists):</em></p>
<p><em>Most shortcodes which display a formatted link can have their default link text overridden by adding a &#8216;text&#8217; parameter. For example: &#91;plugin homepage text=&#8217;Homepage&#8217;&#93; will display a link to the plugin homepage with the link text &#8216;Homepage&#8217;.</em></p>
<ul>
<li>&#91;plugin author&#93; &#8211; A formatted link to the plugin author&#8217;s homepage with the author&#8217;s name as the link text (if the author doesn&#8217;t have a homepage this will just display their name)</li>
<li>&#91;plugin description&#93; &#8211; The full description of the plugin</li>
<li>&#91;plugin download&#93; &#8211; A formatted link to the plugin&#8217;s ZIP file with &#8216;Download&#8217; as the link text</li>
<li>&#91;plugin homepage&#93; &#8211; A formatted link to the plugin&#8217;s homepage with &#8216;Visit plugin homepage&#8217; as the link text</li>
<li>&#91;plugin link&#93; &#8211; A formatted link to the plugin&#8217;s page on the WP Plugin Directory with the plugin name as the link text</li>
<li>&#91;plugin profile&#93; &#8211; A formatted link to the author&#8217;s WP.org profile page with the author&#8217;s name as the link text</li>
<li>&#91;plugin screenshots&#93; &#8211; The list of the screenshots attached to the plugin (an &lt;ol&gt; list of &lt;img&gt; tags with descriptions)</li>
<li>&#91;plugin changelog&#93; &#8211; The list of changelog entries</li>
<li>&#91;plugin latest_change&#93; &#8211; Just the latest changelog entry</li>
<li>&#91;plugin other_notes&#93; &#8211; The &#8216;Other Notes&#8217; section of the plugin</li>
</ul>
<p><em>Some less useful raw data:</em></p>
<ul>
<li>&#91;plugin downloaded_raw&#93; &#8211; The all time download count as a raw number (eg. &#8220;12345&#8243;)</li>
<li>&#91;plugin num_ratings&#93; &#8211; The number of people who&#8217;ve rated the plugin on wp.org</li>
<li>&#91;plugin rating_raw&#93; &#8211; The plugin&#8217;s actual average rating as a score out of 100 (given by visitors to wp.org)</li>
<li>&#91;plugin updated_raw&#93; &#8211; The date the plugin was last updated, in the format &#8220;yyyy-mm-dd&#8221;</li>
</ul>
<h3>The geek stuff</h3>
<p>The plugin information is collected from wp.org each time you save your post or page. It is updated hourly using WordPress&#8217; cron system and uses the Plugin API available in WordPress 2.7 or later. The plugin data is stored as an associative array in a custom field called &#8216;plugin-info&#8217;, and the plugin slug you enter is saved as a custom field called &#8216;plugin&#8217;. For supergeeks, this means you can also access the plugin data using <code>get_post_meta()</code>, but I&#8217;ll let you figure that out for yourself.</p>
<h3>Todo list</h3>
<ul>
<li>A shortcode for a standard information box which contains all the essential plugin info in a nice format.</li>
<li>Possibly allow shortcodes in the title of posts.</li>
<li><span style="text-decoration: line-through;">Clickable shortcoces listed on the post editing screen.</span></li>
<li><span style="text-decoration: line-through;">A shortcode for a link to the author&#8217;s wordpress.org profile page (pending support in the Plugin API).</span></li>
<li><span style="text-decoration: line-through;">A shortcode for the &#8216;Other Notes&#8217; section of the plugin (pending support in the Plugin API).</span></li>
<li><span style="text-decoration: line-through;">A simple UI for adding the plugin slug info to posts so you don&#8217;t have to use the Custom Fields directly.</span></li>
<li><span style="text-decoration: line-through;">Periodically update the data for all of your plugins from wordpress.org.</span></li>
</ul>
<h3>Download</h3>
<p class="notice">This plugin requires WordPress version 2.7 or later.</p>
<p class="download"><a href="http://downloads.wordpress.org/plugin/plugin-info.zip">Version 0.7.9 ZIP file</a> from downloads.wordpress.org</p>
<p>Any comments, questions, queries, suggestions, complaints, etc, please leave a comment!</p>
]]></content:encoded>
			<wfw:commentRss>https://lud.icro.us/wordpress-plugin-info/feed</wfw:commentRss>
		<slash:comments>105</slash:comments>
		</item>
		<item>
		<title>WordPress Plugin: Image Upload HTTP Error Fix</title>
		<link>https://lud.icro.us/wordpress-plugin-image-upload-http-error-fix</link>
		<comments>https://lud.icro.us/wordpress-plugin-image-upload-http-error-fix#comments</comments>
		<pubDate>Sun, 01 Jun 2008 21:04:21 +0000</pubDate>
		<dc:creator>John Blackbourn</dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Upload]]></category>
		<category><![CDATA[Utility]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">https://lud.icro.us/?p=12</guid>
		<description><![CDATA[This plugin is extremely old, no longer maintained and should no longer be used. Description Fixes the media uploader HTTP Error that some WordPress configurations suffer from. If your WordPress 2.5 installation shows an HTTP Error when uploading files using the media uploader, then this plugin should fix that problem. Simply upload and activate the plugin, [...]]]></description>
				<content:encoded><![CDATA[<span class="read_later"><script type="text/javascript"><!--
			instapaper_embed( "https://lud.icro.us/wordpress-plugin-image-upload-http-error-fix", "WordPress Plugin: Image Upload HTTP Error Fix", "" );
		//--></script></span><p class="notice">This plugin is <strong>extremely old</strong>, <strong>no longer maintained</strong> and <strong>should no longer be used</strong>.</p>
<h3>Description</h3>
<p>Fixes the media uploader HTTP Error that some WordPress configurations suffer from.</p>
<p>If your WordPress 2.5 installation shows an HTTP Error when uploading files using the media uploader, then this plugin should fix that problem. Simply upload and activate the plugin, then you&#8217;ll be able to upload files with no problem.</p>
<p>Technical details:</p>
<p>The plugin adds a few lines to WordPress&#8217; .htaccess file which deactivates mod_security on the file which handles file uploads.</p>
<h3>Installation</h3>
<ol>
<li>Unzip the ZIP file and drop the folder straight into your <code>wp-content/plugins/</code> directory.</li>
<li>Activate the plugin through the &#8216;Plugins&#8217; menu in WordPress.</li>
<li>That&#8217;s it! Try uploading a file with the media uploader and the HTTP error should be gone.</li>
</ol>
<h3>Download</h3>
<p><del>ZIP file from downloads.wordpress.org</del></p>
<p>Any comments, questions, queries, suggestions, complaints, etc, please leave a comment!</p>
]]></content:encoded>
			<wfw:commentRss>https://lud.icro.us/wordpress-plugin-image-upload-http-error-fix/feed</wfw:commentRss>
		<slash:comments>66</slash:comments>
		</item>
	</channel>
</rss>
