<commit_before><!doctype html>
<html lang="en">

    <head>
        <meta charset="utf-8">

        <title>Using the command line (bash)</title>

        <meta name="description" content="A framework for easily creating beautiful presentations using HTML">
        <meta name="author" content="<NAME>">

        <meta name="apple-mobile-web-app-capable" content="yes" />
        <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />

        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

        <link rel="stylesheet" href="css/reveal.min.css">
        <link rel="stylesheet" href="css/theme/default.css" id="theme">

        <!-- For syntax highlighting -->
        <link rel="stylesheet" href="lib/css/zenburn.css">

        <!-- If the query includes 'print-pdf', include the PDF print sheet -->
        <script>
            if( window.location.search.match( /print-pdf/gi ) ) {
                var link = document.createElement( 'link' );
                link.rel = 'stylesheet';
                link.type = 'text/css';
                link.href = 'css/print/pdf.css';
                document.getElementsByTagName( 'head' )[0].appendChild( link );
            }
        </script>

        <!--[if lt IE 9]>
        <script src="lib/js/html5shiv.js"></script>
        <![endif]-->
    </head>

    <body>

        <div class="reveal">

            <!-- Any section element inside of this container is displayed as a slide -->
            <div class="slides">
                <section>
                    <h1>Using the command line</h1>
                </section>
                <section>
                    <h2>Disclaimer</h2>
                    <p>Mostly about bash</p>
                    <p>Windows cmd.exe does some of this (or powershell)</p>
                    <div class="fragment">
                        <p>BUT you can use git bash on windows</p>
                        <img src="https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcT5_M0N6e5DKhz1HrgfEajvw9VW3E-4XbtQBfbtsPU61au7cvuSIw">
                    </div>
                </section>
                <section>
                    <h2>Command processor</h2>
                    <p>Text (commands) -> Executing programs [ -> Text output ]</p>
                    <pre><code class="no-highlight">
 $ ls
 sushi-cat-1.jpg sushi-cat-2.jpg sushi-cat-3.jpg ...
                    </code></pre>
                    <pre><code class="no-highlight">
 $ rm angsty-poetry.txt 
                    </code></pre>
                    <pre><code class="no-highlight">
 $ curl http://www.7digital.com
 &lt;html lang="en-GB" ...
                    </code></pre>
                </section>
                <section>
                    <h2>Text!</h2>
                    <ul>
                        <li>Text is awesome</li>
                        <li>You can input it with all ~100 buttons on the keyboard!</li>
                        <li>You can save it for later</li>
                        <li>You can READ it after it has been saved</li>
                        <li>Lots of tools for dealing with it</li>
                        <li>e.g. diffing, your fave text editor (shoutout to vim &lt;3)</li>
                        <li>You can generate it easily with a program</li>
                        <li>Powerful UI for running programs</li>
                        <li>e.g. an option per letter rather than 26 radio buttons</li>
                    </ul>
                </section>
                <section>
                    <h2>Some Common unixy programs</h2>
                    <p>Little programs each good at one thing (usually)</p>
                    <ul>
                        <li>mv</li>
                        <li>rm</li>
                        <li>cp</li>
                        <li>curl</li>
                        <li>find</li>
                        <li>grep</li>
                        <li>head</li>
                        <li>tail</li>
                        <li>...</li>
                    </ul>
                    <div style="margin: 0 auto; width: 500px">
    <blockquote class="twitter-tweet" lang="en-gb"><p>OH: &quot;unix: microservices since 1973&quot; <a href="https://twitter.com/hashtag/truth?src=hash">#truth</a></p>&mdash; <NAME> (@pnoordhuis) <a href="https://twitter.com/pnoordhuis/status/525008588595806208">October 22, 2014</a></blockquote>
    <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
                    </div>
                </section>
                <section>
                    <h2>Help!</h2>
                    <div class="fragment">
                    <p>For built-ins:</p><commit_msg>Reformat tweet<commit_after><!doctype html>
<html lang="en">

    <head>
        <meta charset="utf-8">

        <title>Using the command line (bash)</title>

        <meta name="description" content="A framework for easily creating beautiful presentations using HTML">
        <meta name="author" content="<NAME>">

        <meta name="apple-mobile-web-app-capable" content="yes" />
        <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />

        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

        <link rel="stylesheet" href="css/reveal.min.css">
        <link rel="stylesheet" href="css/theme/default.css" id="theme">

        <!-- For syntax highlighting -->
        <link rel="stylesheet" href="lib/css/zenburn.css">

        <!-- If the query includes 'print-pdf', include the PDF print sheet -->
        <script>
            if( window.location.search.match( /print-pdf/gi ) ) {
                var link = document.createElement( 'link' );
                link.rel = 'stylesheet';
                link.type = 'text/css';
                link.href = 'css/print/pdf.css';
                document.getElementsByTagName( 'head' )[0].appendChild( link );
            }
        </script>

        <!--[if lt IE 9]>
        <script src="lib/js/html5shiv.js"></script>
        <![endif]-->
    </head>

    <body>

        <div class="reveal">

            <!-- Any section element inside of this container is displayed as a slide -->
            <div class="slides">
                <section>
                    <h1>Using the command line</h1>
                </section>
                <section>
                    <h2>Disclaimer</h2>
                    <p>Mostly about bash</p>
                    <p>Windows cmd.exe does some of this (or powershell)</p>
                    <div class="fragment">
                        <p>BUT you can use git bash on windows</p>
                        <img src="https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcT5_M0N6e5DKhz1HrgfEajvw9VW3E-4XbtQBfbtsPU61au7cvuSIw">
                    </div>
                </section>
                <section>
                    <h2>Command processor</h2>
                    <p>Text (commands) -> Executing programs [ -> Text output ]</p>
                    <pre><code class="no-highlight">
 $ ls
 sushi-cat-1.jpg sushi-cat-2.jpg sushi-cat-3.jpg ...
                    </code></pre>
                    <pre><code class="no-highlight">
 $ rm angsty-poetry.txt 
                    </code></pre>
                    <pre><code class="no-highlight">
 $ curl http://www.7digital.com
 &lt;html lang="en-GB" ...
                    </code></pre>
                </section>
                <section>
                    <h2>Text!</h2>
                    <ul>
                        <li>Text is awesome</li>
                        <li>You can input it with all ~100 buttons on the keyboard!</li>
                        <li>You can save it for later</li>
                        <li>You can READ it after it has been saved</li>
                        <li>Lots of tools for dealing with it</li>
                        <li>e.g. diffing, your fave text editor (shoutout to vim &lt;3)</li>
                        <li>You can generate it easily with a program</li>
                        <li>Powerful UI for running programs</li>
                        <li>e.g. an option per letter rather than 26 radio buttons</li>
                    </ul>
                </section>
                <section>
                    <h2>Some Common unixy programs</h2>
                    <p>Little programs each good at one thing (usually)</p>
                    <ul style="float: left; margin-left: 200px;">
                        <li>mv</li>
                        <li>rm</li>
                        <li>cp</li>
                        <li>curl</li>
                        <li>find</li>
                        <li>grep</li>
                        <li>head</li>
                        <li>tail</li>
                        <li>...</li>
                    </ul>
                    <div class="fragment" style="width: 500px; float: right; margin-top: 100px;">
    <blockquote class="twitter-tweet" lang="en-gb"><p>OH: &quot;unix: microservices since 1973&quot; <a href="https://twitter.com/hashtag/truth?src=hash">#truth</a></p>&mdash; <NAME> (@pnoordhuis) <a href="https://twitter.com/pnoordhuis/status/525008588595806208">October 22, 2014</a></blockquote>
    <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
                    </div>
                </section>
                <section>
                    <h2>Help!</h2>
                    <div class="fragment">
                    <p>For built-ins:</p>
{'fraction_non_alphanumeric': 0.14007741395543466, 'fraction_numerical': 0.01642431216654462, 'mean_word_length': 1.3935903855783676, 'pattern_counts': {'":': 0, '<': 267, '<?xml version=': 0, '>': 271, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4683027', 'n_tokens_mistral': 2916, 'n_tokens_neox': 2635, 'n_words': 604}