<?xml version="1.0" encoding="UTF-8" ?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
			<title>Cheat Sheets</title>
			<link>http://www.addedbytes.com/feeds/cheat-sheets-feed/</link>
			<description></description>
			<language>en</language>
			<copyright>Added Bytes - Brighton Web Application Development 2006</copyright>
			<ttl>120</ttl>
			<item>
				<title>Six Nations 2012 Cheat Sheet</title>
				<link>http://www.addedbytes.com/cheat-sheets/six-nations-2012-cheat-sheet/</link>
				<description><![CDATA[ Who says cheat sheets have to be geeky? The 2012 Six Nations is about to start, so I've put together the ultimate one-page help sheet for rugby fans. <h3>Overview</h3>

<p><a href="http://www.cheatography.com/davechild/cheat-sheets/six-nations-2012/" class="imagelink" style="float: right; border: 1px solid #ccc; margin: 0 0 0 20px;"><img width="150" height="212" src="http://www.cheatography.com/storage/thumb/davechild_six-nations-2012.jpg" alt="Six Nations 2012 Cheat Sheet" /></a> The Six Nations 2012 cheat sheet is an essential guide for rugby fans. Includes the 2011 table and results, full fixture list, Six Nations teams world rankings, a little Six Nations trivia and even current odds on the eventual winner.</p>

<div class="clear"></div><h3>Downloads</h3>

<div style="margin: 0 0 1.5em 0; padding: 20px; background: #333; color: #fff; border-radius: 3px;">
    <p style="margin: 0; float: left; width: 48%;"><a class="imagelink" href="http://www.cheatography.com/davechild/cheat-sheets/six-nations-2012/"><img src="http://www.cheatography.com/images/cheatography_logo.png" alt="Cheatography"></a><br>This cheat sheet is available for free at <a style="color: #fff; border-color: #fff;" href="http://www.cheatography.com/davechild/cheat-sheets/six-nations-2012/">Cheatography</a>!</p>
    <ul style="margin: 0; float: right; width: 38%; border-radius: 3px;" class="cheat_sheet_downloads"><li>&bull; <a href="http://www.cheatography.com/davechild/cheat-sheets/six-nations-2012/">HTML (online version)</a></li><li>&bull; <a href="http://www.cheatography.com/davechild/cheat-sheets/six-nations-2012/pdf/">PDF (for printing)</a></li></ul>
    <div class="clear"></div>
</div> <br><br>]]></description>
				<pubDate>Mon, 30 Jan 2012 10:09:57 +0000</pubDate>
				<guid isPermaLink="false">http://www.addedbytes.com/cheat-sheets/six-nations-2012-cheat-sheet/</guid>
				<dc:creator>Dave Child</dc:creator>
				
			</item>

			<item>
				<title>Wikipedia Cheat Sheet</title>
				<link>http://www.addedbytes.com/cheat-sheets/wikipedia-cheat-sheet/</link>
				<description><![CDATA[ A cheat sheet for Wikipedia editors, with formatting help, useful links and a glossary of common shortcuts. <h3>Overview</h3>

<p><a href="http://www.cheatography.com/davechild/cheat-sheets/wikipedia/" class="imagelink" style="float: right; border: 1px solid #ccc; margin: 0 0 0 20px;"><img width="150" height="204" src="http://www.addedbytes.com/cheat-sheets/thumbnails/davechild_wikipedia.jpg" alt="Kings and Queens Cheat Sheet" /></a> The Wikipedia cheat sheet is a one-page reference sheet for budding Wikipedia editors, including formating tips, some handy links and a run-down of some of the more common shortcuts and abbreviations used on Wikipedia.</p>

<h3>Contents</h3>

<p>The Wikipedia cheat sheet includes:</p>

<ul>
    <li>Headings</li>
    <li>Text Effects</li>
    <li>Links</li>
    <li>Lists and Indents</li>
    <li>Lines and Signatures</li>
    <li>Allowed HTML Tags</li>
    <li>Tables</li>
    <li>Images</li>
    <li>Citations</li>
    <li>Useful Pages</li>
    <li>Abbreviations and Shortcuts</li>
</ul>

<div class="clear"></div><h3>Downloads</h3>

<div style="margin: 0 0 1.5em 0; padding: 20px; background: #333; color: #fff; border-radius: 3px;">
    <p style="margin: 0; float: left; width: 48%;"><a class="imagelink" href="http://www.cheatography.com/davechild/cheat-sheets/wikipedia/"><img src="http://www.cheatography.com/images/cheatography_logo.png" alt="Cheatography"></a><br>This cheat sheet is available for free at <a style="color: #fff; border-color: #fff;" href="http://www.cheatography.com/davechild/cheat-sheets/wikipedia/">Cheatography</a>!</p>
    <ul style="margin: 0; float: right; width: 38%; border-radius: 3px;" class="cheat_sheet_downloads"><li>&bull; <a href="http://www.cheatography.com/davechild/cheat-sheets/wikipedia/">HTML (online version)</a></li><li>&bull; <a href="http://www.cheatography.com/davechild/cheat-sheets/wikipedia/pdf/">PDF (for printing)</a></li></ul>
    <div class="clear"></div>
</div> <br><br>]]></description>
				<pubDate>Mon, 02 Jan 2012 15:39:31 +0000</pubDate>
				<guid isPermaLink="false">http://www.addedbytes.com/cheat-sheets/wikipedia-cheat-sheet/</guid>
				<dc:creator>Dave Child</dc:creator>
				
			</item>

			<item>
				<title>Vimeo API Cheat Sheet</title>
				<link>http://www.addedbytes.com/cheat-sheets/vimeo-api-cheat-sheet/</link>
				<description><![CDATA[ The Vimeo API cheat sheet, for advanced API methods. <h3>Overview</h3>

<p><a href="http://www.cheatography.com/davechild/cheat-sheets/vimeo-advanced-api-methods/" class="imagelink" style="float: right; border: 1px solid #ccc; margin: 0 0 0 20px;"><img width="150" height="204" src="http://www.addedbytes.com/cheat-sheets/thumbnails/davechild_vimeo-advanced-api-methods.jpg" alt="Vimeo API Cheat Sheet" /></a> The Vimeo API cheat sheet is for those of you who work with the Vimeo advanced API, and need a quick reference for their API methods.</p>

<div class="clear"></div><h3>Downloads</h3>

<div style="margin: 0 0 1.5em 0; padding: 20px; background: #333; color: #fff; border-radius: 3px;">
    <p style="margin: 0; float: left; width: 48%;"><a class="imagelink" href="http://www.cheatography.com/davechild/cheat-sheets/vimeo-advanced-api-methods/"><img src="http://www.cheatography.com/images/cheatography_logo.png" alt="Cheatography"></a><br>This cheat sheet is available for free at <a style="color: #fff; border-color: #fff;" href="http://www.cheatography.com/davechild/cheat-sheets/vimeo-advanced-api-methods/">Cheatography</a>!</p>
    <ul style="margin: 0; float: right; width: 38%; border-radius: 3px;" class="cheat_sheet_downloads"><li>&bull; <a href="http://www.cheatography.com/davechild/cheat-sheets/vimeo-advanced-api-methods/">HTML (online version)</a></li><li>&bull; <a href="http://www.cheatography.com/davechild/cheat-sheets/vimeo-advanced-api-methods/pdf/">PDF (for printing)</a></li></ul>
    <div class="clear"></div>
</div> <br><br>]]></description>
				<pubDate>Mon, 02 Jan 2012 15:19:47 +0000</pubDate>
				<guid isPermaLink="false">http://www.addedbytes.com/cheat-sheets/vimeo-api-cheat-sheet/</guid>
				<dc:creator>Dave Child</dc:creator>
				
			</item>

			<item>
				<title>Kings and Queens Cheat Sheet</title>
				<link>http://www.addedbytes.com/cheat-sheets/kings-and-queens-cheat-sheet/</link>
				<description><![CDATA[ A cheat sheet for the discerning historian: Kings and Queens of the United Kingdom. <h3>Overview</h3>

<p><a href="http://www.cheatography.com/davechild/cheat-sheets/kings-and-queens-of-the-united-kingdom/" class="imagelink" style="float: right; border: 1px solid #ccc; margin: 0 0 0 20px;"><img width="150" height="204" src="http://www.addedbytes.com/cheat-sheets/thumbnails/davechild_kings-and-queens-of-the-united-kingdom.jpg" alt="Kings and Queens Cheat Sheet" /></a> The Kings and Queens of the United Kingdom cheat sheet is a one-page reference sheet for UK historians, listed monarchs and their reigns since William the Conqueror.</p>

<h3>Contents</h3>

<p>The Kings and Queens of the United Kingdom cheat sheet includes:</p>

<ul>
    <li>The Houses of Normandy, Plantagenet, Lancaster, York, Tudor, Stuart, Hanover and Saxe-Coburg / Windsor</li>
    <li>Wives of Henry VIII</li>
    <li>Commonwealth Rulers</li>
</ul>

<div class="clear"></div><h3>Downloads</h3>

<div style="margin: 0 0 1.5em 0; padding: 20px; background: #333; color: #fff; border-radius: 3px;">
    <p style="margin: 0; float: left; width: 48%;"><a class="imagelink" href="http://www.cheatography.com/davechild/cheat-sheets/kings-and-queens-of-the-united-kingdom/"><img src="http://www.cheatography.com/images/cheatography_logo.png" alt="Cheatography"></a><br>This cheat sheet is available for free at <a style="color: #fff; border-color: #fff;" href="http://www.cheatography.com/davechild/cheat-sheets/kings-and-queens-of-the-united-kingdom/">Cheatography</a>!</p>
    <ul style="margin: 0; float: right; width: 38%; border-radius: 3px;" class="cheat_sheet_downloads"><li>&bull; <a href="http://www.cheatography.com/davechild/cheat-sheets/kings-and-queens-of-the-united-kingdom/">HTML (online version)</a></li><li>&bull; <a href="http://www.cheatography.com/davechild/cheat-sheets/kings-and-queens-of-the-united-kingdom/pdf/">PDF (for printing)</a></li></ul>
    <div class="clear"></div>
</div> <br><br>]]></description>
				<pubDate>Mon, 02 Jan 2012 15:19:53 +0000</pubDate>
				<guid isPermaLink="false">http://www.addedbytes.com/cheat-sheets/kings-and-queens-cheat-sheet/</guid>
				<dc:creator>Dave Child</dc:creator>
				
			</item>

			<item>
				<title>NaNoWriMo 2011 Cheat Sheet</title>
				<link>http://www.addedbytes.com/cheat-sheets/nanowrimo-2011-cheat-sheet/</link>
				<description><![CDATA[ A cheat sheet for NaNoWriMo (write a 50,000 word book in November!), with some dramatic situations, the Hero's Journey, a word count tracker and some inspirational quotes to keep you going. <h3>Overview</h3>

<p><a href="http://www.cheatography.com/davechild/cheat-sheets/nanowrimo-2011/" class="imagelink" style="float: right; border: 1px solid #ccc; margin: 0 0 0 20px;"><img width="150" height="204" src="http://www.addedbytes.com/cheat-sheets/thumbnails/davechild_nanowrimo-2011.jpg" alt="NaNoWriMo 2011 Cheat Sheet" /></a> The NaNoWriMo cheat sheet is a one-page reference sheet for NaNoWriMo 2011. Good luck with your books everyone!</p>

<h3>Contents</h3>

<p>The NaNoWriMo cheat sheet includes:</p>

<ul>
    <li>Useful links</li>
    <li>A word count tracker</li>
    <li>Rules for effective writing (by George Orwell)</li>
    <li>Dramatic situations by Georges Polti</li>
    <li>The Hero's Journey</li>
    <li>Inspirational quotes from other authors</li>
</ul>

<div class="clear"></div><h3>Downloads</h3>

<div style="margin: 0 0 1.5em 0; padding: 20px; background: #333; color: #fff; border-radius: 3px;">
    <p style="margin: 0; float: left; width: 48%;"><a class="imagelink" href="http://www.cheatography.com/davechild/cheat-sheets/nanowrimo-2011/"><img src="http://www.cheatography.com/images/cheatography_logo.png" alt="Cheatography"></a><br>This cheat sheet is available for free at <a style="color: #fff; border-color: #fff;" href="http://www.cheatography.com/davechild/cheat-sheets/nanowrimo-2011/">Cheatography</a>!</p>
    <ul style="margin: 0; float: right; width: 38%; border-radius: 3px;" class="cheat_sheet_downloads"><li>&bull; <a href="http://www.cheatography.com/davechild/cheat-sheets/nanowrimo-2011/">HTML (online version)</a></li><li>&bull; <a href="http://www.cheatography.com/davechild/cheat-sheets/nanowrimo-2011/pdf/">PDF (for printing)</a></li></ul>
    <div class="clear"></div>
</div> <br><br>]]></description>
				<pubDate>Thu, 03 Nov 2011 11:24:35 +0000</pubDate>
				<guid isPermaLink="false">http://www.addedbytes.com/cheat-sheets/nanowrimo-2011-cheat-sheet/</guid>
				<dc:creator>Dave Child</dc:creator>
				
			</item>

			<item>
				<title>Linux Command Line Cheat Sheet</title>
				<link>http://www.addedbytes.com/cheat-sheets/linux-command-line-cheat-sheet/</link>
				<description><![CDATA[ The Linux Command Line Cheat Sheet, a quick reference guide for bash and other command line tools in Linux. <h3>Overview</h3>

<p><a href="http://www.cheatography.com/davechild/cheat-sheets/linux-command-line/" class="imagelink" style="float: right; border: 1px solid #ccc; margin: 0 0 0 20px;"><img width="150" height="204" src="http://www.addedbytes.com/cheat-sheets/thumbnails/davechild_linux-command-line.jpg" alt="Linux Command Line Cheat Sheet" /></a> The Linux Command Line cheat sheet is a one-page reference sheet for bash, nano, screen and a few other everyday tools on the Linux command line.</p>

<h3>Contents</h3>

<p>The Linux Command Line cheat sheet includes:</p>

<ul>
    <li>Bash commands, shortcuts and variables</li>
    <li>IO Redirection (pipes etc)</li>
    <li>Directory and file operations</li>
    <li>File permissions and ownership</li>
    <li>Process management</li>
    <li>Options for the "ls" command</li>
    <li>Shortcuts for nano</li>
    <li>Shortcuts for screen</li>
</ul>

<div class="clear"></div><h3>Downloads</h3>

<div style="margin: 0 0 1.5em 0; padding: 20px; background: #333; color: #fff; border-radius: 3px;">
    <p style="margin: 0; float: left; width: 48%;"><a class="imagelink" href="http://www.cheatography.com/davechild/cheat-sheets/linux-command-line/"><img src="http://www.cheatography.com/images/cheatography_logo.png" alt="Cheatography"></a><br>This cheat sheet is available for free at <a style="color: #fff; border-color: #fff;" href="http://www.cheatography.com/davechild/cheat-sheets/linux-command-line/">Cheatography</a>!</p>
    <ul style="margin: 0; float: right; width: 38%; border-radius: 3px;" class="cheat_sheet_downloads"><li>&bull; <a href="http://www.cheatography.com/davechild/cheat-sheets/linux-command-line/">HTML (online version)</a></li><li>&bull; <a href="http://www.cheatography.com/davechild/cheat-sheets/linux-command-line/pdf/">PDF (for printing)</a></li></ul>
    <div class="clear"></div>
</div> <br><br>]]></description>
				<pubDate>Sat, 29 Oct 2011 06:59:27 +0000</pubDate>
				<guid isPermaLink="false">http://www.addedbytes.com/cheat-sheets/linux-command-line-cheat-sheet/</guid>
				<dc:creator>Dave Child</dc:creator>
				
			</item>

			<item>
				<title>French Cheat Sheet</title>
				<link>http://www.addedbytes.com/cheat-sheets/french-cheat-sheet/</link>
				<description><![CDATA[ A cheat sheet for French to English words and phrases. <h3>Overview</h3>

<p><a href="http://www.cheatography.com/davechild/cheat-sheets/french/" class="imagelink" style="float: right; border: 1px solid #ccc; margin: 0 0 0 20px;"><img width="150" height="204" src="http://www.addedbytes.com/cheat-sheets/thumbnails/french_v1.png" alt="French Cheat Sheet" /></a> The French cheat sheet, built with the help of wonderful people in the cheat sheets google group, contains a whole host of useful words and phrases to take with you on holiday</p>

<h3>Contents</h3>

<p>The French cheat sheet includes:</p>

<ul>
    <li>Greetings and Pleasantries</li>
    <li>Days and Time</li>
    <li>Transport</li>
    <li>Buildings and Shops</li>
    <li>Pronouns</li>
    <li>Lost Items</li>
    <li>Directions</li>
    <li>Numbers</li>
    <li>Essential Phrases</li>
    <li>Signs</li>
    <li>Friends and Family</li>
    <li>Miscellaneous Words</li>
</ul>

<div class="clear"></div><h3>Downloads</h3>

<div style="margin: 0 0 1.5em 0; padding: 20px; background: #333; color: #fff; border-radius: 3px;">
    <p style="margin: 0; float: left; width: 48%;"><a class="imagelink" href="http://www.cheatography.com/davechild/cheat-sheets/french/"><img src="http://www.cheatography.com/images/cheatography_logo.png" alt="Cheatography"></a><br>This cheat sheet is available for free at <a style="color: #fff; border-color: #fff;" href="http://www.cheatography.com/davechild/cheat-sheets/french/">Cheatography</a>!</p>
    <ul style="margin: 0; float: right; width: 38%; border-radius: 3px;" class="cheat_sheet_downloads"><li>&bull; <a href="http://www.cheatography.com/davechild/cheat-sheets/french/">HTML (online version)</a></li><li>&bull; <a href="http://www.cheatography.com/davechild/cheat-sheets/french/pdf/">PDF (for printing)</a></li></ul>
    <div class="clear"></div>
</div> <br><br>]]></description>
				<pubDate>Fri, 21 Oct 2011 06:26:39 +0000</pubDate>
				<guid isPermaLink="false">http://www.addedbytes.com/cheat-sheets/french-cheat-sheet/</guid>
				<dc:creator>Dave Child</dc:creator>
				
			</item>

			<item>
				<title>Python Cheat Sheet</title>
				<link>http://www.addedbytes.com/cheat-sheets/python-cheat-sheet/</link>
				<description><![CDATA[ The Python Cheat Sheet, a quick reference guide for the Python programming language. <h3>Overview</h3>

<p><img style="float: right; border: 1px solid #ccc; margin: 0 0 0 20px;" width="150" height="204" src="http://www.addedbytes.com/cheat-sheets/thumbnails/python_v1_plain.png" alt="Python Cheat Sheet" /> The Python cheat sheet is a one-page reference sheet for the <a href="http://www.python.org/">Python</a> programming language.</p>

<p>If you like the cheat sheets, and want to say thanks, please consider buying me something from my <a href="http://www.amazon.co.uk/exec/obidos/registry/3JVSYKW57HEYM">Amazon Wishlist</a>. Thankyou very much to those who have already hunted it down and sent me something - I'm very grateful!</p>

<h3>Downloads</h3>

<div style="margin: 0 0 1.5em 0; padding: 20px; background: #333; color: #fff; border-radius: 3px;">
    <p style="margin: 0; float: left; width: 48%;"><a class="imagelink" href="http://www.cheatography.com/davechild/cheat-sheets/python/"><img src="http://www.cheatography.com/images/cheatography_logo.png" alt="Cheatography"></a><br>A more recent (even better) version of this cheat sheet is available at <a style="color: #fff; border-color: #fff;" href="http://www.cheatography.com/davechild/cheat-sheets/python/">Cheatography</a>!</p>
    <ul style="margin: 0; float: right; width: 38%; border-radius: 3px;" class="cheat_sheet_downloads"><li>&bull; <strong><a href="http://www.cheatography.com/davechild/cheat-sheets/python/">HTML (online version)</a></strong></li><li>&bull; <a href="http://www.addedbytes.com/download/python-cheat-sheet-v1/pdf/">PDF, 398Kb</a></li><li>&bull; <a href="http://www.addedbytes.com/download/python-cheat-sheet-v1/png/">PNG, 90Kb</a></li></ul>
    <div class="clear"></div>
</div>

<p>The Python Cheat Sheet is released under a <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/uk/">Creative Commons License</a> (Attribution, Non-Commercial, Share Alike).</p>

<p><strong>Please note:</strong> If you wish to link to a cheat sheet from elsewhere, please link to this page so others find all available versions, the license and the description.</p>

<h3>sys Variables</h3>

<p><img class="cheatsheetthumbnail" src="http://www.addedbytes.com/cheat-sheets/thumbnails/python_v1_1.png" alt="Thumbnail highlighting sys variable section." /> Python has a variety of built-in variables which give information about the system on which it is running.</p>

<h3>sys.argv</h3>

<p><img class="cheatsheetthumbnail" src="http://www.addedbytes.com/cheat-sheets/thumbnails/python_v1_2.png" alt="Thumbnail highlighting sys.argv." /> sys.argv contains command line arguments in a zero-based list.</p>

<h3>os Variables</h3>

<p><img class="cheatsheetthumbnail" src="http://www.addedbytes.com/cheat-sheets/thumbnails/python_v1_3.png" alt="Thumbnail highlighting os variables." /> In a similar fashion to the "sys" variables, Python also has built in variables which give information about the operating system on which it is running. This section also lists the "registered" OS names.</p>

<h3>Methods</h3>

<p><img class="cheatsheetthumbnail" src="http://www.addedbytes.com/cheat-sheets/thumbnails/python_v1_4.png" alt="Thumbnail highlighting methods." /> Python, as you might expect, has a huge variety of standard methods for working with strings, lists, files and classes, and this section lists those with, where possible, compulsory arguments.</p>

<h3>Indexes and Slices</h3>

<p><img class="cheatsheetthumbnail" src="http://www.addedbytes.com/cheat-sheets/thumbnails/python_v1_5.png" alt="Thumbnail highlighting indexes and slices." /> Indexes and slices have been known to trip up plenty of new programmers, and occasionally experienced programmers new to Python. This section of the cheat sheet shows by example how indexes and slices work in Python.</p>

<h3>Date and Time</h3>

<p><img class="cheatsheetthumbnail" src="http://www.addedbytes.com/cheat-sheets/thumbnails/python_v1_6.png" alt="Thumbnail highlighting Date and Time." /> These sections of the cheat sheet include the DateTime and Time methods, as well as the various Date Formatting options available for the strftime and strptime functions.</p>

<h3>Thanks</h3>

<p>This is the second cheat sheet created with the involvement of the <a href="http://groups.google.co.uk/group/added-bytes-cheat-sheets">Cheat Sheets Google Group</a>, and the first to include twitter (<a href="http://www.twitter.com/CheatSheets">@CheatSheets</a>). Many thanks to Charly Walther and <a href="http://www.danhorning.com/">Dan Horning</a> for their suggestions and feedback. Finally, thanks also to the 1017 people who requested this cheat sheet!</p>

<h3>Translations</h3>

<ul><li><a href="http://netmanagers.com.ar/machete" hreflang="es">Spanish / Espa&#241;ol</a></li></ul>

<div style="margin: 0 0 1.5em 0; padding: 20px; background: #333; color: #fff; border-radius: 3px;">
    <p style="margin: 0; float: left; width: 48%;"><a class="imagelink" href="http://www.cheatography.com/davechild/cheat-sheets/python/"><img src="http://www.cheatography.com/images/cheatography_logo.png" alt="Cheatography"></a><br>A more recent (even better) version of this cheat sheet is available at <a style="color: #fff; border-color: #fff;" href="http://www.cheatography.com/davechild/cheat-sheets/python/">Cheatography</a>!</p>
    <ul style="margin: 0; float: right; width: 38%; border-radius: 3px;" class="cheat_sheet_downloads"><li>&bull; <strong><a href="http://www.cheatography.com/davechild/cheat-sheets/python/">HTML (online version)</a></strong></li><li>&bull; <a href="http://www.addedbytes.com/download/python-cheat-sheet-v1/pdf/">PDF, 398Kb</a></li><li>&bull; <a href="http://www.addedbytes.com/download/python-cheat-sheet-v1/png/">PNG, 90Kb</a></li></ul>
    <div class="clear"></div>
</div> <br><br>]]></description>
				<pubDate>Thu, 22 Jan 2009 13:29:00 +0000</pubDate>
				<guid isPermaLink="false">http://www.addedbytes.com/cheat-sheets/python-cheat-sheet/</guid>
				<dc:creator>Dave Child</dc:creator>
				
			</item>

			<item>
				<title>Subversion Cheat Sheet</title>
				<link>http://www.addedbytes.com/cheat-sheets/subversion-cheat-sheet/</link>
				<description><![CDATA[ The Subversion Cheat Sheet, a quick reference guide for command line Subversion. <h3>Overview</h3>

<p><img style="float: right; border: 1px solid #ccc; margin: 0 0 0 20px;" width="150" height="204" src="http://www.addedbytes.com/cheat-sheets/thumbnails/subversion_v1_plain.png" alt="Subversion Cheat Sheet" /> The Subversion (SVN) cheat sheet is a one-page reference sheet for <a href="http://subversion.tigris.org/">Subversion</a> on the command line.</p>

<p>If you like the cheat sheets, and want to say thanks, please consider buying me something from my <a href="http://www.amazon.co.uk/exec/obidos/registry/3JVSYKW57HEYM">Amazon Wishlist</a>. Thankyou very much to those who have already hunted it down and sent me something - I'm very grateful!</p>

<h3>Downloads</h3>

<p><ul class="cheat_sheet_downloads"><li>&bull; <a href="http://www.addedbytes.com/download/subversion-cheat-sheet-v1/pdf/">PDF, 293Kb</a></li><li>&bull; <a href="http://www.addedbytes.com/download/subversion-cheat-sheet-v1/png/">PNG, 97Kb</a></li></ul></p>

<p>The Subversion Cheat Sheet is released under a <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/uk/">Creative Commons License</a> (Attribution, Non-Commercial, Share Alike).</p>

<p><strong>Please note:</strong> If you wish to link to a cheat sheet from elsewhere, please link to this page so others find all available versions, the license and the description.</p>

<h3>Subversion Components</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/subversion_v1_1.png" alt="Thumbnail highlighting Subversion Components." /> Subversion is made up of several different parts. In addition to the svn command line program most people are familiar with, there are also utilities like svnlook and svnadmin, a server (svnserve) and an apache module.</p>

<h3>Subversion Protocols</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/subversion_v1_2.png" alt="Thumbnail highlighting Subversion Protocols." /> Subversion clients can connect to subversion servers over a variety of different protocols, including HTTP and SSH.</p>

<h3>Subversion Help</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/subversion_v1_3.png" alt="Thumbnail highlighting Subversion Help." /> If you ever find yourself stuck, of unsure of how a command works (and this cheat sheet is unable to help), check out "svn help" for general Subversion help, or "svn help command" for help with a specific command. Please note that command line commands will be marked with "$" on this cheat sheet. Explanations will be on the following line and italicized.</p>

<h3>Repository Administration</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/subversion_v1_4.png" alt="Thumbnail highlighting Repository Administration." /> This section of the cheat sheet shows some of the basic, and most commonly used, repository commands, starting with how to create a new repository.</p>

<h3>Getting Started</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/subversion_v1_5.png" alt="Thumbnail highlighting Getting Started section." /> The first thing you are likely to want to do with a brand new repository is add some files to it. For this, you will need the <em>import</em> command. If you want to create a local copy (usually referred to as a working copy) of a repository, you will need to <em>checkout</em>. And if you want to grab any changes to the repository, you will need to run an <em>update</em>.</p>

<h3>Adding, Deleting, Copying and Moving</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/subversion_v1_6.png" alt="Thumbnail highlighting Adding, Deleting, Copying and Moving." /> These sections of the cheat sheet outline basic file and folder operations: Adding, Deleting, Copying and Moving.</p>

<h3>Revert Changes</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/subversion_v1_7.png" alt="Thumbnail highlighting Revert Changes section." /> If you want to undo changes you have made to your working copy (i.e., change it back to the way it was when you last updated it), you can <em>revert</em> changes.</p>

<h3>Logs and Blame</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/subversion_v1_8.png" alt="Thumbnail highlighting Logs and Blame." /> Log files are what make version control systems useful, giving you a complete history of changes to a repository. The <em>log</em> command will show you all the changes to a path, and the <em>blame</em> command will show you the changes to a path with more specific information.</p>

<h3>Diffs and Merges</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/subversion_v1_9.png" alt="Thumbnail highlighting Diffs and Merges." /> The <em>diff</em> command shows you the difference between two files, while the <em>merge</em> command allows you to apply the diff between two files to a third one.</p>

<h3>Commit</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/subversion_v1_10.png" alt="Thumbnail highlighting Commit section." /> Commit is the command you will use most often when working with SVN, by far. It is the command you run when you want to send what you've changed back to the repository. You should always add a message with your commit, explaining the changes you are making.</p>

<h3>Miscellaneous Commands</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/subversion_v1_11.png" alt="Thumbnail highlighting Miscellaneous Commands." /> This section of the cheat sheet lists some of the lesser used Subversion commands, including <em>cleanup</em> - a command to resursively remove locks and complete unfinished operations (very useful when things go wrong) and <em>resolve</em> (when you are working on a file, but another developer has changed the file at the same time, you will have a conflict - this command is to be used when the conflict has been resolved).</p>

<h3>Item and Property Statuses</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/subversion_v1_12.png" alt="Thumbnail highlighting Item and Property Statuses." /> If you run the <em>status</em> command on a path, you will see a list of letters (and blank spaces) for each item in the path. Each of these letters has a specific meaning and tells you something about the file you are viewing. This section lists those letters and their meanings.</p>

<h3>Property Commands</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/subversion_v1_13.png" alt="Thumbnail highlighting Property Commands." /> Items in a Subversion repository have properties specific to SVN, and these properties can be added to, edited or deleted. This section lists the commands you will need in order to be able to work with properties.</p>

<h3>Argument Shortcuts</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/subversion_v1_14.png" alt="Thumbnail highlighting Argument Shortcuts." /> Finally, almost every Subversion command takes a selection of arguments, and many of these have shortcuts. If you want to commit changes to a folder, but don't want to commit changes to its contents, you could type <em> svn commit --non-recursive "/path"</em>, but it's much quicker just to use the shortcut <em>-N</em> instead of <em>--non-recursive</em>.</p>

<h3>Thanks</h3>

<p>Much of the content on this cheat sheet is based on the excellent SVN Book, available at <a href="http://svnbook.red-bean.com/">http://svnbook.red-bean.com/</a>. This is the first cheat sheet created with the involvement of the <a href="http://groups.google.co.uk/group/added-bytes-cheat-sheets">Cheat Sheets Google Group</a>. Many thanks to <a href="http://www.ampedwebstandards.com/">Alan Switzer</a> and <a href="http://forthedeveloper.com/">Randy Merrill</a> for their suggestions and feedback. Finally, thanks also to the 210 people who requested this cheat sheet!</p> <br><br>]]></description>
				<pubDate>Thu, 07 Aug 2008 11:47:00 +0000</pubDate>
				<guid isPermaLink="false">http://www.addedbytes.com/cheat-sheets/subversion-cheat-sheet/</guid>
				<dc:creator>Dave Child</dc:creator>
				
			</item>

			<item>
				<title>Regular Expressions Cheat Sheet (V2)</title>
				<link>http://www.addedbytes.com/cheat-sheets/regular-expressions-cheat-sheet/</link>
				<description><![CDATA[ The second version of the Regular Expressions Cheat Sheet, a quick reference guide for regular expressions, including symbols, ranges, grouping, assertions and some sample patterns to get you started. <h3>Overview</h3>

<p><img style="float: right; border: 1px solid #ccc; margin: 0 0 0 20px;" width="150" height="204" src="http://www.addedbytes.com/cheat-sheets/thumbnails/regular_expressions_v2_plain.png" alt="Regular Expressions Cheat Sheet" /> The Regular Expressions cheat sheet is a one-page reference sheet. It is a guide to patterns in regular expressions, and is not specific to any single language.</p>

<p>This is the second version of the Regular Expressions cheat sheet. The previous version can be found at <a href="http://www.addedbytes.com/cheat-sheets/regular-expressions-cheat-sheet-version-1/">http://www.addedbytes.com/cheat-sheets/regular-expressions-cheat-sheet-version-1/</a>.</p>

<p>If you like the cheat sheets, and want to say thanks, please consider buying me something from my <a href="http://www.amazon.co.uk/exec/obidos/registry/3JVSYKW57HEYM">Amazon Wishlist</a>. Thankyou very much to those who have already hunted it down and sent me something - I'm very grateful!</p>

<h3>Downloads</h3>

<div style="margin: 0 0 1.5em 0; padding: 20px; background: #333; color: #fff; border-radius: 3px;">
    <p style="margin: 0; float: left; width: 48%;"><a class="imagelink" href="http://www.cheatography.com/davechild/cheat-sheets/regular-expressions/"><img src="http://www.cheatography.com/images/cheatography_logo.png" alt="Cheatography"></a><br>A more recent (even better) version of this cheat sheet is available at <a style="color: #fff; border-color: #fff;" href="http://www.cheatography.com/davechild/cheat-sheets/regular-expressions/">Cheatography</a>!</p>
    <ul style="margin: 0; float: right; width: 38%; border-radius: 3px;" class="cheat_sheet_downloads"><li>&bull; <strong><a href="http://www.cheatography.com/davechild/cheat-sheets/regular-expressions/">HTML (online version)</a></strong></li><li>&bull; <a href="http://www.addedbytes.com/download/regular-expressions-cheat-sheet-v2/pdf/">PDF, 648Kb</a></li><li>&bull; <a href="http://www.addedbytes.com/download/regular-expressions-cheat-sheet-v2/png/">PNG, 78Kb</a></li></ul>
    <div class="clear"></div>
</div>

<p>The Regular Expressions Cheat Sheet is released under a <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/uk/">Creative Commons License</a> (Attribution, Non-Commercial, Share Alike).</p>

<p><strong>Please note:</strong> If you wish to link to a cheat sheet from elsewhere, please link to this page so others find all available versions, the license and the description.</p>

<h3>What's New?</h3>

<p>There are a few small changes from the first version of the Regular Expressions Cheat Sheet (which you can still download if you prefer). The most obvious change may be that it now looks different. Hopefully it's now clearer and a little easier to find the information you're looking for.</p>

<h3>About This Guide</h3>

<p>I have included a little more detail in this document where I felt it would be helpful to those less familiar with regular expressions, to demonstrate some of the items on the sheet. Please feel free to let me know if any additions would be helpful.</p>

<p>Please also note that not everything on this sheet will work with every language that has regular expression support. Different languages use regular expressions in different ways, and in some, support is incomplete.</p>

<h3>Anchors</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/regular_expressions_v2_1.png" alt="Thumbnail highlighting Anchors section." /> Anchors in regular expressions refer to the start and end of things. This can be, for example, a string or word. These characters and symbols represent these anchors in regular expressions. For example, a pattern that matched a string that started with numbers might be the following, where "^" represents the start of the string.</p>

<p><code>^[0-9]+</code></p>

<p>Without the "^" symbol, the pattern would match any string with a digit in it.</p>

<h3>Character Classes</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/regular_expressions_v2_2.png" alt="Thumbnail highlighting Character Classes section." /> Character Classes in regular expressions match a selection of characters at once. For example, "\d" will match any digit from 0 to 9 inclusive. "\w" will match letters and digits, and "\W" will match everything but letters and digits. A pattern to indentify letters, numbers or whitespace could be:</p>

<code>\w\s</code>

<h3>POSIX</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/regular_expressions_v2_3.png" alt="Thumbnail highlighting posix section." /> POSIX is a relatively new addition to the regular expressions family, and is quite similar to the idea behind character classes, allowing you to use a shortcut to represent a particular group of characters.</p>

<h3>Assertions</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/regular_expressions_v2_4.png" alt="Thumbnail highlighting assertions section." /> Almost everyone has some trouble with assertions at first. They are tricky to get to grips with, but once you are familiar with them, you will use them alarmingly often. They provide a way to say "I want to find out every word in this document with a q in it, as long as that q isn't followed by 'werty'".</p>

<code>[^\s]*q(?!werty)[^\s]*</code>

<p>The above code starts by matching non-whitespace characters ([^\s]*), then a q (err ... q). Then the parser reaches the lookahead assertion. This makes the q conditional. The q will only be matched if the assertion is true. In this case, the assertion is a <em>negative</em> assertion. It will be true if what it checks for is <em>not</em> found.</p>

<p>So, it checks the next few characters against the pattern it has (werty). If they are found, the assertion is false, and so it will "ignore" the q - it will not match. If it doesn't find "werty", the assertion is true, and the q is matched. It then carries on checking for non-whitespace characters.</p>

<h3>Sample Patterns</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/regular_expressions_v2_5.png" alt="Thumbnail highlighting Sample Patterns section." /> Finally, there is a selection of sample patterns. These patterns are intended to allow you to look at how regular expressions might be used in day-to-day work, and the various ways you can use regular expressions. Please note, however, that they will not necessarily work in every language, as each has its own idiosyncracies and varying support for regular expressions.</p>

<h3>Quantifiers</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/regular_expressions_v2_6.png" alt="Thumbnail highlighting Quantifiers section." />Quantifiers allow you to specify a part of a pattern that must be matched a certain number of times. For example, if you wanted to find out if a document contained between 10 and 20 (inclusive) of the letter "a" in a row, you could use this pattern:</p>

<code>a{10,20}</code>

<p>Quantifier are "greedy" by default. So the quantifier "+", which means "one or more", will match as many items as possible. This can be a problem on occasion, so you can tell a quantifier to not be greedy (to be "lazy"), using a modifier. Consider the following code:</p>

<code>".*"</code>

<p>This will match text contained in quotation marks. However, you may have a string like this:</p>

<code>&lt;a href="helloworld.htm" title="Hello World"&gt;Hello World&lt;/a&gt;</code>

<p>The pattern above will match the following from the above string:</p>

<code>"helloworld.htm" title="Hello World"</code>

<p>It has been too greedy, matching as much text as it could.</p>

<code>".*?"</code>

<p>The above pattern will also match any characters contained in quotation marks. The non-greedy version (note the "?" modifier) will match as little as possible of the string, so will match each item in quotation marks separately:</p>

<code>"helloworld.htm"</code><code>"Hello World"</code>

<h3>Special Characters</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/regular_expressions_v2_7.png" alt="Thumbnail highlighting Special Characters section." /> Regular expressions use symbols to represent certain things. However, that presents a problem if you want to detect a character in a string where that character is a symbol. A period (".") for example, in a regular expression, represents "any character except the new line character". If you want to find a period in a string, you can't just use "." as a pattern - it will match just about everything. So, you need to tell the parser to treat the period as a literal period rather than a special character. This you do with an escape character.</p>

<p>An escape character precedes the special character and tells the parser to ignore what follows. There are certain characters that will need to be escaped in the majority of patterns and languages, and you can find these characters listed at the bottom right of the cheat sheet.</p>

<p>The pattern to match a period is:</p>

<code>\.</code>

<p>Other special characters in regular expressions represent unusual elements in text. New lines and tabs, for example, can be typed using a keyboard, but are likely to trip up programming languages. The special characters use the escape character as well, to tell the regular expression parser that the following character is to be treated as a special character rather than a normal letter or number.</p>

<h3>String Replacement</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/regular_expressions_v2_8.png" alt="Thumbnail highlighting String Replacement section." /> String replacement is covered in more detail in the "Groups and Ranges" section below, however one small point to note is the existence of "passive" groups. These are groups that are ignored for the purposes of replacement. This is very useful when you want to match something that requires an "or" section, but don't want it in the replacement.</p>

<h3>Groups and Ranges</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/regular_expressions_v2_9.png" alt="Thumbnail highlighting Groups and Ranges section." /> Groups and ranges are very very useful. Ranges are perhaps the easiest place to begin. They allow you to specify a selection of characters to match. For example, if you wanted to see if a string contained hexadecimal characters (zero to nine and a to f), you would use this range:</p>

<code>[A-Fa-f0-9]</code>

<p>If you wanted to see if a string did not contain the same, you would use a negative range, which in this case will match any character that isn't zero to nine or a to f.</p>

<code>[^A-Fa-f0-9]</code>

<p>Groups are essential to regular expressions, and are most often used when you want to use "or" in a pattern, or you want to reference part of a pattern later in the same pattern, or where using regular expression string replacement.</p>

<p>To use "or" is very simple - the following will match "ab" or "bc":</p>

<code>(ab|bc)</code>

<p>If you want to reference a previous group in a regular expression, you would use "\n", where "n" is the number of the group. You might need a pattern to match "aaa" or "bbb", followed by numbers, followed by the same 3 letters, and this would be done with groups, like so:</p>

<code>(aaa|bbb)[0-9]+\1</code>

<p>The above matches "aaa or bbb", and groups the match with the brackets. This is followed by a pattern for one or more numbers ("[0-9]+"), then finally "\1". The "\1" backreferences the first group, and looks for the same thing. It will match the matched text from the string, not the pattern, so "aaa123bbb" will not match the above pattern, as the "\1" will be looking for "aaa" to follow the numbers.</p>

<p>String replacement is one of the most useful tools of regular expressions. You can use "$n" to reference groups matched with the pattern when replacing text. Let's say you are want to make every instance of the word "wish" bold in a block of text. You would use a regular expression replacement function for this, which might look a little like this:</p>

<code>replace(pattern, replacement, subject)</code>

<p>The pattern is first, and would be something like the following (you would need a few extra characters for this specific function.</p>

<code>([^A-Za-z0-9])(wish)([^A-Za-z0-9])</code>

<p>This will find any instance of the word wish where it is preceded and followed by any non-alphanumeric character.</p>

<p>Your replacement can then be:</p>

<code>$1&lt;b&gt;$2&lt;/b&gt;$3</code>

<p>This replacement will replace the whole pattern matched above. We start with the first character matched above ($1) (the first non-alphanumeric one), otherwise we'll be deleting characters from the block of text. The same applies at the end ($3) of the match. In the middle, we add the HTML tags for bold text (though you should use CSS or &lt;strong&gt;, of course), with the second group matched in the pattern ($2).</p>

<h3>Pattern Modifiers</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/regular_expressions_v2_10.png" alt="Thumbnail highlighting Pattern Modifiers section." /> Pattern modifiers are used in several languages, most notably Perl. These allow you to change how the parser works. For example, the "i" modifier will tell the parser to ignore case.</p>

<p>In Perl, regular expressions contain the same character at the beginning and end. This can be any character at all (often "/"), and is used like so:</p>

<code>/pattern/</code>

<p>Modifiers would be added at the end of this, like so:</p>

<code>/pattern/i</code>

<h3>Metacharacters</h3>

<p><img class="cheatsheetthumbnail" src="cheat-sheets/thumbnails/regular_expressions_v2_11.png" alt="Thumbnail highlighting Metacharacters section." /> Finally, the last section of the cheat sheet lists the meta-characters. These are the characters that have special meaning in regular expressions, so if you want to use them literally, they must be escaped.</p>

<p>So, if you wanted to match test consisting of a bracket, you would need to use the following pattern:</p>

<code>\(</code>

<h3>Translations</h3>

<ul><li><a href="http://www.magnificaweb.it/espressioni-regolari-cheat-sheet/" hreflang="it">Italian / Italiano</a></li></ul>

<div style="margin: 0 0 1.5em 0; padding: 20px; background: #333; color: #fff; border-radius: 3px;">
    <p style="margin: 0; float: left; width: 48%;"><a class="imagelink" href="http://www.cheatography.com/davechild/cheat-sheets/regular-expressions/"><img src="http://www.cheatography.com/images/cheatography_logo.png" alt="Cheatography"></a><br>A more recent (even better) version of this cheat sheet is available at <a style="color: #fff; border-color: #fff;" href="http://www.cheatography.com/davechild/cheat-sheets/regular-expressions/">Cheatography</a>!</p>
    <ul style="margin: 0; float: right; width: 38%; border-radius: 3px;" class="cheat_sheet_downloads"><li>&bull; <strong><a href="http://www.cheatography.com/davechild/cheat-sheets/regular-expressions/">HTML (online version)</a></strong></li><li>&bull; <a href="http://www.addedbytes.com/download/regular-expressions-cheat-sheet-v2/pdf/">PDF, 648Kb</a></li><li>&bull; <a href="http://www.addedbytes.com/download/regular-expressions-cheat-sheet-v2/png/">PNG, 78Kb</a></li></ul>
    <div class="clear"></div>
</div> <br><br>]]></description>
				<pubDate>Mon, 30 Jun 2008 12:53:31 +0000</pubDate>
				<guid isPermaLink="false">http://www.addedbytes.com/cheat-sheets/regular-expressions-cheat-sheet/</guid>
				<dc:creator>Dave Child</dc:creator>
				
			</item>
	</channel>
</rss>
