<?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>Free Tutorials, Screencasts, Demos - Usage.cc</title>
	<atom:link href="http://usage.cc/feed" rel="self" type="application/rss+xml" />
	<link>http://usage.cc</link>
	<description>free online tutorials, screencasts, short examples, snippets</description>
	<lastBuildDate>Fri, 04 Nov 2011 05:51:11 +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>svn</title>
		<link>http://usage.cc/svn</link>
		<comments>http://usage.cc/svn#comments</comments>
		<pubDate>Tue, 20 Sep 2011 16:52:29 +0000</pubDate>
		<dc:creator>Slavi</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Revision Control Systems]]></category>
		<category><![CDATA[Subversion (SVN)]]></category>

		<guid isPermaLink="false">http://usage.cc/?p=171</guid>
		<description><![CDATA[Subversion  is  a  version  control  system, which allows you to keep old versions of files and directories (usually source code), keep a log of who, when, and why changes occurred, etc., like CVS, RCS or SCCS.   Subversion  keeps  a single  copy  of the master sources.  This copy is called the source &#8220;repository&#8221;; it contains all [...]]]></description>
			<content:encoded><![CDATA[<p>Subversion  is  a  version  control  system, which allows you to keep old versions of files and directories (usually source code), keep a log of who, when, and why changes occurred, etc., like CVS, RCS or SCCS.   Subversion  keeps  a single  copy  of the master sources.  This copy is called the source &#8220;repository&#8221;; it contains all the information to permit extracting previous versions of those files at any time.</p>
<p><strong># svn &#8211;help</strong><br />
usage: svn &lt;subcommand&gt; [options] [args]<br />
Subversion command-line client, version 1.6.17.<br />
Type &#8216;svn help &lt;subcommand&gt;&#8217; for help on a specific subcommand.<br />
Type &#8216;svn &#8211;version&#8217; to see the program version and RA modules<br />
or &#8216;svn &#8211;version &#8211;quiet&#8217; to see just the version number.</p>
<p>Most subcommands take file and/or directory arguments, recursing<br />
on the directories.  If no arguments are supplied to such a<br />
command, it recurses on the current directory (inclusive) by default.</p>
<p>Available subcommands:<br />
add<br />
blame (praise, annotate, ann)<br />
cat<br />
changelist (cl)<br />
checkout (co)<br />
cleanup<br />
commit (ci)<br />
copy (cp)<br />
delete (del, remove, rm)<br />
diff (di)<br />
export<br />
help (?, h)<br />
import<br />
info<br />
list (ls)<br />
lock<br />
log<br />
merge<br />
mergeinfo<br />
mkdir<br />
move (mv, rename, ren)<br />
propdel (pdel, pd)<br />
propedit (pedit, pe)<br />
propget (pget, pg)<br />
proplist (plist, pl)<br />
propset (pset, ps)<br />
resolve<br />
resolved<br />
revert<br />
status (stat, st)<br />
switch (sw)<br />
unlock<br />
update (up)</p>
<p>Subversion is a tool for version control.<br />
For additional information, see http://subversion.tigris.org/</p>
<p>&nbsp;</p>
<p><strong># svnserve &#8211;help</strong><br />
usage: svnserve [-d | -i | -t | -X] [options]</p>
<p>Valid options:<br />
-d [--daemon]            : daemon mode<br />
-i [--inetd]             : inetd mode<br />
-t [--tunnel]            : tunnel mode<br />
-X [--listen-once]       : listen-once mode (useful for debugging)<br />
-r [--root] ARG          : root of directory to serve<br />
-R [--read-only]         : force read only, overriding repository config file<br />
&#8211;config-file ARG        : read configuration from file ARG<br />
&#8211;listen-port ARG        : listen port<br />
[mode: daemon, listen-once]<br />
&#8211;listen-host ARG        : listen hostname or IP address<br />
[mode: daemon, listen-once]<br />
-T [--threads]           : use threads instead of fork [mode: daemon]<br />
&#8211;foreground             : run in foreground (useful for debugging)<br />
[mode: daemon]<br />
&#8211;log-file ARG           : svnserve log file<br />
&#8211;pid-file ARG           : write server process ID to file ARG<br />
[mode: daemon, listen-once]<br />
&#8211;tunnel-user ARG        : tunnel username (default is current uid&#8217;s name)<br />
[mode: tunnel]<br />
-h [--help]              : display this help<br />
&#8211;version                : show program version information</p>
<p><strong>Error: Subversion No repository found</strong></p>
<p>svnserve -d -r /var/svn</p>
<p>Related: http://www.linuxquestions.org/questions/general-10/subversion-no-repository-found-623128/</p>
]]></content:encoded>
			<wfw:commentRss>http://usage.cc/svn/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Audacity</title>
		<link>http://usage.cc/audacity</link>
		<comments>http://usage.cc/audacity#comments</comments>
		<pubDate>Tue, 13 Sep 2011 00:06:15 +0000</pubDate>
		<dc:creator>Slavi</dc:creator>
				<category><![CDATA[Audio]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[audacity]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[increase tempo]]></category>
		<category><![CDATA[save time]]></category>
		<category><![CDATA[screencast]]></category>
		<category><![CDATA[software demo]]></category>
		<category><![CDATA[software tutorial]]></category>
		<category><![CDATA[speed audio]]></category>
		<category><![CDATA[speed song]]></category>
		<category><![CDATA[tempo]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[usage]]></category>

		<guid isPermaLink="false">http://usage.cc/?p=167</guid>
		<description><![CDATA[Audacity : How to speed up a song or a podcast Import an .mp3 file Select all (CTRL+A) Go to Effect &#62; Change Tempo choose 60% and then OK Export : File &#62; Export &#62; type something.mp3 &#160; Demo Link: http://www.youtube.com/watch?v=C-jLaw7XVoU]]></description>
			<content:encoded><![CDATA[<p><strong>Audacity : How to speed up a song or a podcast</strong></p>
<p>Import an .mp3 file</p>
<p>Select all (CTRL+A)</p>
<p>Go to Effect &gt; Change Tempo choose 60% and then OK</p>
<p>Export : File &gt; Export &gt; type something.mp3</p>
<p>&nbsp;</p>
<p><strong>Demo</strong></p>
<p>Link: <a title="Audacity : How to speed up a song or a podcast" href="http://www.youtube.com/watch?v=C-jLaw7XVoU" target="_blank">http://www.youtube.com/watch?v=C-jLaw7XVoU</a></p>
]]></content:encoded>
			<wfw:commentRss>http://usage.cc/audacity/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WinSCP</title>
		<link>http://usage.cc/winscp</link>
		<comments>http://usage.cc/winscp#comments</comments>
		<pubDate>Mon, 12 Sep 2011 22:21:19 +0000</pubDate>
		<dc:creator>Slavi</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://usage.cc/?p=164</guid>
		<description><![CDATA[&#160; How to fix WinSCP scp: /some/file: set times: Operation not permitted error Tools :: Preferences :: Common Options :: Preserve Timestamp uncheck Preserve Timestamp &#160; Demo Link: http://www.youtube.com/watch?v=xYz0FENYrqg &#160;]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><strong>How to fix WinSCP scp: /some/file: set times: Operation not permitted error</strong><br />
Tools :: Preferences :: Common Options :: Preserve Timestamp<br />
uncheck Preserve Timestamp</p>
<p>&nbsp;</p>
<p><strong>Demo</strong></p>
<p>Link: <a href="http://www.youtube.com/watch?v=xYz0FENYrqg">http://www.youtube.com/watch?v=xYz0FENYrqg</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://usage.cc/winscp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer</title>
		<link>http://usage.cc/ie</link>
		<comments>http://usage.cc/ie#comments</comments>
		<pubDate>Sat, 10 Sep 2011 19:22:09 +0000</pubDate>
		<dc:creator>Slavi</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://usage.cc/?p=158</guid>
		<description><![CDATA[How to reset settings in Internet Explorer Screencast/Demo Link (better quality): http://www.youtube.com/watch?v=tGk33zx7oao]]></description>
			<content:encoded><![CDATA[<p><strong>How to reset settings in Internet Explorer</strong><br />
<strong></strong></p>
<p><strong>Screencast/Demo</strong></p>
<p>Link (better quality): <a href="http://www.youtube.com/watch?v=tGk33zx7oao">http://www.youtube.com/watch?v=tGk33zx7oao</a></p>
]]></content:encoded>
			<wfw:commentRss>http://usage.cc/ie/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mklink</title>
		<link>http://usage.cc/mklink</link>
		<comments>http://usage.cc/mklink#comments</comments>
		<pubDate>Mon, 15 Aug 2011 20:44:40 +0000</pubDate>
		<dc:creator>Slavi</dc:creator>
				<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://usage.cc/?p=156</guid>
		<description><![CDATA[Creates a symbolic link. MKLINK [[/D] &#124; [/H] &#124; [/J]] Link Target /D      Creates a directory symbolic link.  Default is a file symbolic link. /H      Creates a hard link instead of a symbolic link. /J      Creates a Directory Junction. Link    specifies the new symbolic link name. Target  specifies the path (relative or absolute) that the [...]]]></description>
			<content:encoded><![CDATA[<p>Creates a symbolic link.</p>
<p>MKLINK [[/D] | [/H] | [/J]] Link Target</p>
<p>/D      Creates a directory symbolic link.  Default is a file<br />
symbolic link.<br />
/H      Creates a hard link instead of a symbolic link.<br />
/J      Creates a Directory Junction.<br />
Link    specifies the new symbolic link name.<br />
Target  specifies the path (relative or absolute) that the new link<br />
refers to.</p>
<p><strong>Example:</strong><br />
Creates a symlink to a directory (Windows 7).</p>
<p>mklink /j optsym_link projectsreal_dir</p>
<p>&nbsp;</p>
<p><strong>Related:</strong></p>
<p><a href="http://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/">http://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://usage.cc/mklink/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iframe</title>
		<link>http://usage.cc/iframe</link>
		<comments>http://usage.cc/iframe#comments</comments>
		<pubDate>Fri, 22 Jul 2011 06:53:09 +0000</pubDate>
		<dc:creator>Slavi</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://usage.cc/?p=152</guid>
		<description><![CDATA[Here is how to include a remote content using iframe &#60;iframe src="http://yourdomain.com/file.php" style="overflow: hidden; width: 100%; height: 375px;border: none;" marginheight="0" align="top" scrolling="No" frameborder="0" hspace="0" vspace="0"&#62;Cannot load frame. Please send us an email instead. The email is: info@use-the-same-domain&#60;/iframe&#62;]]></description>
			<content:encoded><![CDATA[<p>Here is how to include a remote content using iframe</p>
<pre>&lt;iframe src="http://yourdomain.com/file.php" style="overflow: hidden; width: 100%; height: 375px;border: none;" marginheight="0" align="top" scrolling="No" frameborder="0" hspace="0" vspace="0"&gt;Cannot load frame. Please send us an email instead. The email is: info@use-the-same-domain&lt;/iframe&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://usage.cc/iframe/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>git</title>
		<link>http://usage.cc/git</link>
		<comments>http://usage.cc/git#comments</comments>
		<pubDate>Thu, 21 Jul 2011 22:06:24 +0000</pubDate>
		<dc:creator>Slavi</dc:creator>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[Revision Control Systems]]></category>

		<guid isPermaLink="false">http://usage.cc/?p=148</guid>
		<description><![CDATA[shows a nicely coloured diff git diff &#8211;ignore-space-at-eol &#8211;color]]></description>
			<content:encoded><![CDATA[<p>shows a nicely coloured diff</p>
<p>git diff &#8211;ignore-space-at-eol &#8211;color</p>
]]></content:encoded>
			<wfw:commentRss>http://usage.cc/git/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to trim recursively in PHP</title>
		<link>http://usage.cc/php-trim</link>
		<comments>http://usage.cc/php-trim#comments</comments>
		<pubDate>Fri, 29 Apr 2011 00:06:19 +0000</pubDate>
		<dc:creator>Slavi</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://usage.cc/?p=139</guid>
		<description><![CDATA[How to recursively trim in PHP &#60;?php // Usage: echo Our_Util_String::trim('test'); /** * Util string functions. * * @author Svetoslav Marinov &#60;svetoslavm@gmail.com&#62; * @copyright Svetoslav Marinov &#60;svetoslavm@gmail.com&#62; &#38; others * @version 1.0 */ class Our_Util_String { /** * Recursive Trimmer :) * http://php.net/manual/en/function.trim.php * * @param mixed $arr * @param string $charlist * @return mixed [...]]]></description>
			<content:encoded><![CDATA[<p>How to recursively trim in PHP</p>
<pre>&lt;?php

// Usage:

echo Our_Util_String::trim('test');

/**
 * Util string functions.
 *
 * @author Svetoslav Marinov &lt;svetoslavm@gmail.com&gt;
 * @copyright Svetoslav Marinov &lt;svetoslavm@gmail.com&gt; &amp; others
 * @version 1.0
 */
class Our_Util_String {
    /**
     * Recursive Trimmer :)
     * http://php.net/manual/en/function.trim.php
     *
     * @param mixed $arr
     * @param string $charlist
     * @return mixed
     */
    function trim($arr, $charlist = ' ') {
        if (is_string($arr)) {
            return trim($arr, $charlist);
        } elseif (is_array($arr)) {
            foreach($arr as $key =&gt; $value){
                if (is_array($value)) {
                    $result[$key] = self::trim($value, $charlist);
                } else {
                    $result[$key] = trim($value, $charlist);
                }
            }

            return $result;
        } else {
            return $arr;
        }
    }
}

?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://usage.cc/php-trim/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jquery</title>
		<link>http://usage.cc/jquery</link>
		<comments>http://usage.cc/jquery#comments</comments>
		<pubDate>Thu, 28 Apr 2011 03:15:57 +0000</pubDate>
		<dc:creator>Slavi</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://usage.cc/?p=135</guid>
		<description><![CDATA[How to set focus on first visible input box &#60;script type="text/javascript"&#62; jQuery(document).ready(function($) { $("input:text:visible:first").focus(); }) &#60;/script&#62; If you have embed code the code below selects the text when the user clicks on the textarea. Also the text area is readonly so the user can&#8217;t accidentally delete or cut fewer characters. &#60;script type="text/javascript"&#62; jQuery(document).ready(function($) { $(".embed_code").click(function() [...]]]></description>
			<content:encoded><![CDATA[<p>How to set focus on first visible input box</p>
<pre>&lt;script type="text/javascript"&gt;
jQuery(document).ready(function($) {
   $("input:text:visible:first").focus();
})
&lt;/script&gt;</pre>
<p>If you have embed code the code below selects the text when the user clicks on the textarea.<br />
Also the text area is readonly so the user can&#8217;t accidentally delete or cut fewer characters.</p>
<pre>&lt;script type="text/javascript"&gt;
jQuery(document).ready(function($) {
   $(".embed_code").click(function() {
		$(this).select();
   }).attr('readonly', 'readonly');
})
&lt;/script&gt;</pre>
<p>Usage:</p>
<pre>&lt;textarea class="embed_code"&gt;Your embed code goes here ...&lt;/textarea&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://usage.cc/jquery/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Framework: Logout User</title>
		<link>http://usage.cc/zend-framework-logout-user</link>
		<comments>http://usage.cc/zend-framework-logout-user#comments</comments>
		<pubDate>Wed, 27 Apr 2011 15:11:55 +0000</pubDate>
		<dc:creator>Slavi</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://usage.cc/?p=130</guid>
		<description><![CDATA[This snippet shows how to login i.e. clear the session of the logged user.]]></description>
			<content:encoded><![CDATA[<p>How to logout the user</p>
<pre>$auth = Zend_Auth::getInstance();
$auth-&gt;clearIdentity();
Zend_Session::forgetMe();</pre>
]]></content:encoded>
			<wfw:commentRss>http://usage.cc/zend-framework-logout-user/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

