master fda5a360e71d cached
69 files
69.8 KB
21.3k tokens
6 symbols
1 requests
Download .txt
Repository: steveshogren/10-minute-vim-exercises
Branch: master
Commit: fda5a360e71d
Files: 69
Total size: 69.8 KB

Directory structure:
gitextract_aj6dfjvw/

├── .gitignore
├── BookCalendar.hs
├── adventure1.txt
├── append-insert-file.txt
├── append-insert.txt
├── book_sample_ctrln.md
├── book_sample_delimited_edits.md
├── book_sample_history_registers.md
├── book_sample_multiple_repeat.md
├── clojure_sample.clj
├── csharp_sample.cs
├── csharp_sample2.cs
├── csharp_sample3.cs
├── delete.txt
├── extra_junk_annabel_lee.txt
├── functions.java
├── goto.txt
├── goto20.txt
├── haskell_sample.hs
├── html_sample.html
├── linemaze.txt
├── linenumbers/
│   ├── annabel_lee.txt
│   ├── because_i_could_not_stop_for_death.txt
│   ├── sonnet29.txt
│   ├── still_i_rise.txt
│   ├── the_castaway.txt
│   └── when_you_are_old.txt
├── list.html
├── longWords.txt
├── magic.txt
├── mask-numbers.csv
├── mazes.txt
├── misc.txt
├── navigation/
│   ├── poem2.txt
│   ├── poem3.txt
│   ├── poem5.txt
│   ├── poem6.txt
│   ├── poem8.txt
│   ├── poem9.txt
│   └── start.txt
├── numbers.txt
├── open.txt
├── ozymandias-numbers.txt
├── ozymandias.txt
├── radios.html
├── regex.pl
├── region/
│   ├── beowulf_and_grendel_grapple.txt
│   ├── grendel_unarmed.txt
│   └── looking_at_the_moon_far_away.txt
├── registers.txt
├── repeat.txt
├── replaceblock.txt
├── scala_sample.scala
├── search/
│   ├── annabel_lee.txt
│   ├── because_i_could_not_stop_for_death.txt
│   ├── sonnet29.txt
│   ├── still_i_rise.txt
│   ├── test.txt
│   ├── the_castaway.txt
│   └── when_you_are_old.txt
├── the_castaway.txt
├── undo-bad.txt
├── undo.txt
├── users-update.sql
├── users.sql
├── variables.php
├── wordmaze.txt
├── yank-delimited.txt
└── yanking.txt

================================================
FILE CONTENTS
================================================

================================================
FILE: .gitignore
================================================
/exercises.txt
*original
/allexercises.txt


================================================
FILE: BookCalendar.hs
================================================
module BookCalendar where

import Data.Time
import Data.Time.Calendar.WeekDate

currentWordCount :: Integer
currentWordCount = 11326

wordsPerDay :: Integer
wordsPerDay = 333

isNotWeekDay :: Day -> Bool
isNotWeekDay d =
  let (_,_,dow) = toWeekDate d
  in dow > 5

addToDay :: UTCTime -> Integer -> Day
addToDay today days = addDays days . utctDay $ today

printDay :: FormatTime t => t -> String
printDay d = formatTime defaultTimeLocale "   %a - %b %e %Y" d

futureCounts :: [Integer]
futureCounts = map (\n -> currentWordCount + (n * wordsPerDay)) [1..]

buildDate :: UTCTime -> Integer -> String
buildDate today daysFuture =
  let dayNumber = addToDay today daysFuture
  in printDay dayNumber

dailyCounts :: t -> UTCTime -> [String]
dailyCounts goal today =
 let days = filter (\n -> not $ isNotWeekDay $ addToDay today n) [1..35]
     dayStrings = map (buildDate today) days
 in map (\(n, d) -> (show n) ++ d) $ zip futureCounts dayStrings

main :: IO [()]
main = do
  today <- getCurrentTime
  sequence $ map (putStrLn . show) $ dailyCounts wordsPerDay today


================================================
FILE: adventure1.txt
================================================
a. You walk into a stone room, torches flicker on the wall.
   To walk into the darkened doorway go to line
   To examine the ancient bookshelf go to line


================================================
FILE: append-insert-file.txt
================================================

-------
Search For 2

2456789
123456789
123456789
12456789
2456789
23456789
23456789
2456789
12456789

-------
Search For 3

12356789
123456789
1356789
123456789
123456789
123456789
13456789
13456789
12356789

-------
Search For 4

1246789
123456789
12346789
1246789
12456789
12456789
123456789
1246789
123456789

-------
Search For 5

12356789
12345789
12356789
123456789
123456789
123456789
12356789
1235789
12345789

-------
Search For 6

1234689
12346789
12346789
123456789
1234689
123456789
123456789
12345689
123456789

-------
Search For 7

1234579
12345679
1234579
12345679
123456789
12345789
1234579
12345789
1234579

-------
Search For 8

12345678
123456789
1234568
12345689
12345689
1234568
12345678
12345689
12345689


================================================
FILE: append-insert.txt
================================================
12
23
7891245
892456789124567
92456789234
2456789234
12
2
92
789124567892
9245678912
23
12
2
567892345678923


================================================
FILE: book_sample_ctrln.md
================================================
This is a sample section from the in-progress book
[10 Minute Vim](https://leanpub.com/deliberatevim/) available DRM-free on
Leanpub. If you find it helpful, the book has 50+ more sections like this!

The included exercises _are_ contrived - they are designed to teach you the
muscle memory needed to perform the specific command. The exercises should be
performed on a pristine file: we recommend cloning this repository with `git
clone git@github.com:steveshogren/10-minute-vim-exercises.git`and running a `git
checkout` after each exercise to bring the files back to their pristine state.

## Other Free Samples:
* [Sample Section: History Registers](book\_sample\_history\_registers.md)
* [Sample Section: Text Object Edits](book\_sample\_delimited\_edits.md)
* [Sample Section: Multiple Repeat](book\_sample\_multiple\_repeat.md)

# Convenience Editing

Vim (and Vim plugins inside other IDE's) do not offer out-of-the-box
semantic-aware IDE features like auto-complete and "go to definition". While the
Vim editor has many plugins for extra features, we want to focus on what can be
had in the default experience. The base Vim installation offers a suite of
IDE-lite commands that fulfill the "80/20" rule of value: 80% of the value can
be had for 20% of the cost. Instead of attempting to build a full AST of your
source code for auto-complete and navigation, Vim provides basic navigation and
auto-complete based on text searches of your files.

While in no way does this substitute for the full set of features in a
semantic-aware IDE, they are still extremely useful. These commands derive the
most power from the simple fact that they work in every text file, in any
language, and without any setup.

## Convenience Editing - Completion a.k.a "auto-complete"

Vim provides a basic auto-complete based off text found elsewhere in any open file.

| Command  |                              |
|----------|------------------------------|
| `Ctrl-n` | Cycle to next completion     |
| `Ctrl-p` | Cycle to previous completion |

When in insert mode, type `Ctrl-n` or `Ctrl-p` to list and iterate through the
available options. When an option is selected, it is already "inserted" in the
text, and no further command is needed to "confirm". If you do not wish to use
the inserted text, `Ctrl-p` will return you to your original text.

| Command        |                                 |
|----------------|---------------------------------|
| `Ctrl-xCtrl-f` | Start match on next file name   |
| `Ctrl-xCtrl-l` | Start match on whole line match |

The file name and whole line completion will start the cycle, then you can use
`Ctrl-n` and `Ctrl-p` to cycle as usual.

### Exercise

Use the file [longWords.txt](longWords.txt) to recreate the first 14 lines
starting at line 16. Start typing each word, then use either `Ctrl-p`, `Ctrl-n`,
or `Ctrl-xCtrl-l` to complete it - no copy, delete, yank, etc.


================================================
FILE: book_sample_delimited_edits.md
================================================
This is a sample section from the in-progress book
[10 Minute Vim](https://leanpub.com/deliberatevim/) available DRM-free on
Leanpub. If you find it helpful, the book has 50+ more sections like this!

The included exercises _are_ contrived - they are designed to teach you the
muscle memory needed to perform the specific command. The exercises should be
performed on a pristine file: we recommend cloning this repository with `git
clone git@github.com:steveshogren/10-minute-vim-exercises.git`and running a `git
checkout` after each exercise to bring the files back to their pristine state.

Other Samples:
* [Sample Section: History Registers](book\_sample\_history\_registers.md)
* [Sample Section: Completion](book\_sample\_ctrln.md)
* [Sample Section: Multiple Repeat](book\_sample\_multiple\_repeat.md)

# Complex Editing - Text Object Edits

Vim commands have another motion syntax for editing text objects. A text object
edit allows for the action to grow in both directions up to a delimiter. You
must provide a both a scope and a text object. The scope indicates how far the
region should extend, and the text object is what character the region should
use. Your cursor must also be inside the desired text object.

The two scopes are `a` and `i`. You can remember `a` as "A", and `i` as
"Inside". The `a` scope will include both the contents inside the text object
and the text object as well. The `i` scope will only include the contents inside
the text objects.

Note that there are caveats for white space surrounding words and
parentheses/braces/etc. when using the `a` scope. The object will include the
whitespace after the object and will include the whitespace before the object
if either; there was no whitespace after the object, or the cursor was in the
whitespace before the object prior to the operation. Note that using the closing
parentheses/braces/etc. will exclude the white space, but the opening one will
include it. Excluding the whitespace surrounding quotes can be achieved using
the `i` scope with a 2 count (i.e. `d2i'`).

The text objects are restricted to common text objects. `` ( ) [ ] < > { } " ' ` w p s t `` are all valid.

| Command | Meaning                                                       |
|---------|---------------------------------------------------------------|
| `w`     | Word                                                          |
| `p`     | Paragraph                                                     |
| `s`     | Sentence                                                      |
| `t`     | XML/HTML Tag (e.g. the TEXT in &lt;body&gt;TEXT&lt;/body&gt;) |

Your cursor must be inside the text object to work. Vim will grow the region in
either direction until it finds the boundaries of the text object, so you can
place your cursor anywhere inside the text object. Text object edits also work
across multiple lines.

The grammar of the text object edits:

| Command          | Definition                          |
|------------------|-------------------------------------|
| scope            | `a i`                              |
| text object      | `` ( ) [ ] < > { } " ' ` w p s t `` |
| action           | `d y c v`                           |
| text object edit | `{action}{scope}{text object}`      |

#### Examples

| Command | Meaning                                     |
|---------|---------------------------------------------|
| `da(`   | Delete contents AND surrounding parenthesis |
| `dis`   | Delete current sentence                     |
| `ci(`   | Change inside parenthesis                   |
| `ciw`   | Change current word                         |
| `dip`   | Delete inside current paragraph             |
| `diw`   | Delete current word                         |
| `daw`   | Delete current word and following space     |
| `yi<`   | Yank inside of &lt; and &gt;                |
| `vi'`   | Visual select inside '                      |

#### Exercise - Delete

Use the file
[region/beowulf\_and\_grendel\_grapple.txt](region/beowulf\_and\_grendel\_grapple.txt).
You will find a story filled with random numbers all containing the number `0`,
sometimes surrounded with punctuation. Remove all numbers, quotes, angle
brackets, curly brackets, square brackets, and parentheses using search `/` and
delimited regions. Search for the number `0` with `/0` and use `n` to find the
next number. Then use delimited regions to delete the whole number and any
surrounding punctuation.

#### Exercise - Change

Use the file [html\_sample.html](html\_sample.html). Change all the words inside
angle brackets, quotes, parens, and tags to be the word "cat". For example,
<html> can be changed to <cat> by moving the cursor inside the angle brackets
and typing `ci<cat`

#### Exercise - Visual

Use the file [html\_sample.html](html\_sample.html). Capitalize using all the
words inside angle brackets, quotes, parens, and tags. Use `v` to visually
select the characters, then `~` to capitalize all the selected characters. For
example, &lt;html&gt; can be changed to &lt;HTML&gt; by moving the cursor inside
the angle brackets and typing `vi<~`

#### Exercise - Yank

Use the file [yank-delimited.txt](yank-delimited.txt) to yank and move the
contents of the angle brackets, quotes, parens, and move it to the line below.
So the line like:

    (There is a )
    place where the sidewalk ends

Should end up looking like:

    (There is a )
    There is a place where the sidewalk ends

To transform this line, you can use yank inside delimiter `yi(` to yank the
words and space, then move your cursor down a line and paste at the start of the
line with `P`.


================================================
FILE: book_sample_history_registers.md
================================================
This is a sample section from the in-progress book
[10 Minute Vim](https://leanpub.com/deliberatevim/) available DRM-free on
Leanpub. If you find it helpful, the book has 50+ more sections like this!

The included exercises _are_ contrived - they are designed to teach you the
muscle memory needed to perform the specific command. The exercises should be
performed on a pristine file: we recommend cloning this repository with `git
clone git@github.com:steveshogren/10-minute-vim-exercises.git`and running a `git
checkout` after each exercise to bring the files back to their pristine state.

Other Samples:
* [Sample Section: Text Object Edits](book\_sample\_delimited\_edits.md)
* [Sample Section: Completion](book\_sample\_ctrln.md)
* [Sample Section: Multiple Repeat](book\_sample\_multiple\_repeat.md)

# Complex Editing - History Registers

Vim offers you a number of registers for storing text. These registers allow you
to yank and delete dozens of times, knowing each text block is still accessible.
You are no longer restricted to copying only a single piece of text!

Vim has several kinds of registers. Named registers let you choose the register
name when you yank or delete. The history registers keep the last nine deletes.
The default register is used when no arguments are supplied, and the OS register
is how you access the operating system's clipboard.

You can always see all the active registers:

| Command |                               |
|---------|-------------------------------|
| `:reg`  | See contents of all registers |

When looking at the registers, `<ENTER>` or any command will close the view. To
paste the contents of a register, prefix your `p` command with `​"{register}`.
Like any put, these can be repeated with a repetition.

|           | Grammar                    |
|-----------|----------------------------|
| named put | `​"{register}[repetition]p` |

Examples:

| Command |                                              |
|---------|----------------------------------------------|
| `​"zp`   | From `z` register, put contents              |
| `​"3p`   | From number 3 history register, put contents |
| `​"g5p`  | From `g` register, perform 5 puts            |

## History Registers (aka Number Registers)

The history registers are a bit odd, but for a good reason. 

The `​"0` register stores the most recent yank. Yanking three times will not
store all three yanks to the history registers, each successive yank will
overwrite the `​"0` register.

The `​"1` through `​"9` registers store the last nine deletes, cuts, or changes.
Deleting three times will populate first the `​"1` register, then `​"1` and `​"2`,
then `​"1`, `​"2`, and `​"3`. Each successive delete will shift all the registers
by one. After three deletes in a row, the first deleted text will be in `​"3`,
the second deleted in `​"2`, and the last deleted in `​"1`.

The fact that yanks do not get put into the 1-9 registers is often confusing.
This is because of the common case of yanking a piece of text into the unnamed
register `​""​` and replacing several other blocks of text with it. You might yank
the text, visually select the next block, and perform a put to replace it. This
has the effect of replacing your `​""​` register contents with that of the
visually selected region! When you go to do the next block, your originally
yanked block has been replaced! To address this problem, you can always put from
the 0 register `​"0`, knowing that your original yank is preserved.

### Exercise

Use the file [clojure\_sample.clj](clojure\_sample.clj) and rename the variable
`cid` to `classId` using the `​"0` register, `ye`, and `de`. Start by deleting
the first `cid`, then typing `classId`. Yank the whole word, then search for the
next `cid`. Use `de` to delete it, and then `​"0P` to put the last yanked text
back. Replace all of them this way, then replace `sid` with `studentId`, and
`d/` with `data/`.

### Black Hole Register

The black hole register is used to cut, delete, or change text if you don't want
Vim to modify your history registers.


| Command |                     |
|---------|---------------------|
| `​"_`    | Black hole register |

A common case would be performing several deletes you want to move, then
deleting some text you never want back. You want to keep your previous deletes
ready, without having them overwritten.

### Exercise 

Use the file [extra\_junk\_annabel\_lee.txt](extra\_junk\_annabel\_lee.txt) to
practice the black hole and history registers. The poem is out of order, some of
the lines appear too early, and you need to reorder them. Every time you find a
line with a number that appears too soon (e.g. line 5 between lines 1 and 2),
use `dd` to cut it into a history register. When you find a line like "EXTRA
LINE" use `​"_dd` to delete it into the black hole register, leaving your history
registers untouched. When you come to the correct location for a history line,
use `​"Xp` to put it, where X is the correct history register number. On easy
mode, you are allowed to use `:reg` to see what your history looks like. Hard
mode is when you do it without the use of `:reg`.


================================================
FILE: book_sample_multiple_repeat.md
================================================
This is a sample section from the in-progress book
[10 Minute Vim](https://leanpub.com/deliberatevim/) available DRM-free on
Leanpub. If you find it helpful, the book has 50+ more sections like this!

The included exercises _are_ contrived - they are designed to teach you the
muscle memory needed to perform the specific command. The exercises should be
performed on a pristine file: we recommend cloning this repository with `git
clone git@github.com:steveshogren/10-minute-vim-exercises.git`and running a `git
checkout` after each exercise to bring the files back to their pristine state.

Other Samples:
* [Sample Section: History Registers](book\_sample\_history\_registers.md)
* [Sample Section: Text Object Edits](book\_sample\_delimited\_edits.md)
* [Sample Section: Completion](book\_sample\_ctrln.md)

# Complex Editing - Multiple Repeat Commands

Vim allows you to perform an Ex command on any line matching a certain search
pattern. The grammar is:

| Examples                       |                              |
|--------------------------------|------------------------------|
| multiple repeat                | `:[range]g/{pattern}/{cmd}`  |
| multiple repeat inverted match | `:[range]g!/{pattern}/{cmd}` |

There is a huge number of Ex commands, and the full list is available
[here](http://vimdoc.sourceforge.net/htmldoc/vimindex.html#ex-cmd-index). The
most common used are:

| Examples  |                |
|-----------|----------------|
| `d`       | Delete line(s) |
| `m{LINE}` | Move line(s)   |
| `t{LINE}` | Copy lines(s)  |
| `p`       | Print line(s)  |

As an interesting aside, we could search for every line that matches using a
regular expression `{re}` and print it using the global command `:g/{re}/p`.
This is the source of name of the command `grep`!

| Examples                |                                                   |
|-------------------------|---------------------------------------------------|
| `:g/^$/d`               | delete all empty lines                            |
| `:g/test/t$`            | copy all lines with `test` to the end of the file |
| `:g/horse/p`            | print all lines with `horse`                      |
| `:g!/public function/d` | delete all lines without `public function`        |

#### Exercise - Edit and Delete

Use the file [ozymandias.txt](ozymandias.txt) to prepend "Line " to all lines with poetry on
them with a single `:g` command. Then delete the lines that do not have any
poetry on them with a single `:g` command.

#### Exercise - Move

In the file [variables.php](variables.php), move all lines that do not access
`$array` to the bottom of the file.

#### Exercise - Print

In the file [BookCalendar.hs](BookCalendar.hs), show all function signatures by
printing all lines with a function signature. (Hint: they have `::` after the
function name).


================================================
FILE: clojure_sample.clj
================================================
(defn make-sample-two-students-in-class []
  (let [{cid :_id} (d/get-class-by-name "2014-2015")]
    (db/activate-class cid)
    (let [s (d/make-student "jim2")
          {sid :_id} s
          result {:class_id cid :student_ids [sid]}]
      (d/add-student-to-class sid cid)
      (let [s (d/make-student "steve2")
            {sid :_id} s
            result (update-in result [:student_ids] (fn [sids] (conj sids sid)))]
        (d/add-student-to-class sid cid)
        result))))



================================================
FILE: csharp_sample.cs
================================================
namespace Ns
{
    class MainClass
    {
        public void RunTestPath(String pathToTestLibrary)
        {
            // do work
        }

        public void Main()
        {
            // do main work
        }

        public void OtherFunction(bool hasName, String name)
        {
            // do more work
        }

        private void HelperFunction(bool hasName, String name)
        {
            // do helper work
        }
    }
}
/*
namespace Ns
{
    interface IMainClass
    {
        void RunTestPath(String pathToTestLibrary);
        void Main();
        void OtherFunction(bool hasName, String name);
    }
    class MainClass: IMainClass
    {
        public void RunTestPath(String pathToTestLibrary)
        {
            // do work
        }

        public void Main()
        {
            // do main work
        }

        public void OtherFunction(bool hasName, String name)
        {
            // do more work
        }

        private void HelperFunction(bool hasName, String name)
        {
            // do helper work
        }
    }
}
*/


================================================
FILE: csharp_sample2.cs
================================================
var name = (Contact)GetName(typeof(Contact), user);
var name = (Company)GetName(typeof(Company), user);
var name = (System)GetName(typeof(System), user);
var name = (Building)GetName(typeof(Building), user);

/*
var name = GetName<Contact>(user);
var name = GetName<Company>(user);
var name = GetName<System>(user);
var name = GetName<Building>(user);
*/


================================================
FILE: csharp_sample3.cs
================================================
var name = (Contact)GetFirstName(typeof(Contact), user);
var name = (Company)GetSecondName(typeof(Company), user);
var name = (System)GetNextName(typeof(System), user);
var name = (Building)GetLastName(typeof(Building), user);
var name = (Word)GetNextName(typeof(Word), user);
var name = (House)GetLastName(typeof(House), user);
var name = (Horse)GetNextName(typeof(Horse), user);
var name = (Name)GetLastName(typeof(Name), user);

/*
  var name = GetFirstName(user);
  var name = GetSecondName(user);
  var name = GetNextName(user);
  var name = GetLastName(user);
  var name = GetNextName(user);
  var name = GetLastName(user);
  var name = GetNextName(user);
  var name = GetLastName(user);
*/


================================================
FILE: delete.txt
================================================
1JUNK 234567890
123 JUNK 456  JUNK 7890
1 JUNK 234567890 JUNK JUNK JUNK
JUNK
JUNK JUNK JUNK
JUNK
1234567890
JUNK JUNK JUNK
12JUNK    34567890
1JUNK    2345678JUNK    90
123JUNK    4567890
JUNK JUNK JUNK
123456  JUNK 7890
1234  JUNK 567890 JUNK JUNK
1234567890
JUNK JUNK JUNK
12345678JUNK    90
123  JUNK 45678  JUNK 90
JUNK JUNK JUNK
JUNK JUNK JUNK
123JUNK    4567890
12345678JUNK    90
JUNK JUNK JUNK
JUNK
JUNK JUNK
JUNK JUNK JUNK
JUNK JUNK JUNK
12  JUNK 34567890 JUNK JUNK JUNK JUNK
1234567  JUNK 890
1234JUNK   567890


================================================
FILE: extra_junk_annabel_lee.txt
================================================
1   It was many and many a year ago
5   And this maiden she lived with no other thought
2   In a kingdom by the sea 
3   That a maiden there lived whom you may know
EXTRA LINE
4   By the name of ANNABEL LEE;
8   In this kingdom by the sea;
6   Than to love and be loved by me.
EXTRA LINE
7   I was a child and she was a child 
9   But we loved with a love that was more than love-
12  Coveted her and me.
10  I and my Annabel Lee;
EXTRA LINE
11  With a love that the winged seraphs of heaven
16  My beautiful Annabel Lee;
13  And this was the reason that long ago 
14  In this kingdom by the sea 
EXTRA LINE
15  A wind blew out of a cloud chilling
17  So that her highborn kinsman came
20  In this kingdom by the sea.
18  And bore her away from me 
EXTRA LINE
19  To shut her up in a sepulchre
24  In this kingdom by the sea)
21  The angels not half so happy in heaven 
22  Went envying her and me-
EXTRA LINE
23  Yes!- that was the reason (as all men know 
25  That the wind came out of the cloud by night 
26  Chilling and killing my Annabel Lee.
28  Of those who were older than we-
EXTRA LINE
33  Of the beautiful Annabel Lee.
27  But our love it was stronger by far than the love
EXTRA LINE
29  Of many far wiser than we-
30  And neither the angels in heaven above 
31  Nor the demons down under the sea 
32  Can ever dissever my soul from the soul
34  For the moon never beams without bringing me dreams
EXTRA LINE
35  Of the beautiful Annabel Lee;
38  And so all the night-tide I lie down by the side
36  And the stars never rise but I feel the bright eyes
EXTRA LINE
37  Of the beautiful Annabel Lee;
41  In her tomb by the sounding sea.
39  Of my darling- my darling- my life and my bride 
EXTRA LINE
40  In the sepulchre there by the sea 
42  Edgar Allan Poe - Annabel Lee


================================================
FILE: functions.java
================================================
public class SomeClass {

    private static final String[] SOURCE = new String[] {
        "1-345-Filesystem",
        "2-321-Size",
        "3-543-Used",
        "4-082-Avail",
        "5-543-Test",
        "6-543-Ack",
        "7-085-Perm",
        "8-112-Use%",
        "9-001-Mounted on",
        "1-811-Type"
    };

    private static final String[] IHEADER = new String[] {
        "Next",
        "There",
        "Is",
        "A",
        "Word",
        "To",
        "Avoid",
        "Using",
        "Without",
        "You"
    };

}


================================================
FILE: goto.txt
================================================
go to:  1
go to:  2
go to:  3
go to:  4
go to:  5
go to:  6
go to:  7
go to:  8
go to:  9
go to: 10
go to: 11
go to: 12
go to: 13
go to: 14
go to: 15
go to: 16
go to: 17
go to: 18
go to: 19
go to: 20
go to: 21
go to: 22
go to: 23
go to: 24
go to: 25
go to: 26
go to: 27
go to: 28
go to: 29
go to: 30
go to: 31
go to: 32
go to: 33
go to: 34
go to: 35
go to: 36
go to: 37
go to: 38
go to: 39
go to: 40
go to: 41
go to: 42
go to: 43
go to: 44
go to: 45
go to: 46
go to: 47
go to: 48
go to: 49
go to: 50


================================================
FILE: goto20.txt
================================================
go to:  7
go to: 14
go to:  8
go to: 16
go to: 11
go to: 5
go to:  3
go to: 15
go to: 18
go to:  2
go to:  4
go to: 13
go to: 21
go to: 17
go to: 10
go to:  9
go to:  6
go to:  20
go to: 12
go to: 19
FINISH!


================================================
FILE: haskell_sample.hs
================================================
foldTextFile :: (String -> a -> IO a) -- ^ Fold callback function
             -> a                     -- ^ initial accumulator
             -> FilePath              -- ^ File to read
             -> IO a
foldTextFile chunkf ini fp = do
    buf <- V.newPinned (Size blockSize)
    V.withMutablePtr buf $ \ptr ->
        withFile fp S.ReadMode $ doFold buf ptr
  where
    doFold mv ptr handle = loop 0 ini
      where
        loop absPos acc = do
            r <- S.hGetBuf handle ptr blockSize
            if r > 0 && r <= blockSize
                then do
                    (pos, validateRet) <- S.mutableValidate mv 0 r
                    s <- case validateRet of
                        Nothing -> S.fromBytesUnsafe `fmap` V.freezeShrink mv r
                        Just S.MissingByte -> do
                            sRet <- S.fromBytesUnsafe `fmap` V.freezeShrink mv pos
                            V.unsafeSlide mv pos r
                            return sRet
                        Just _ ->
                            error ("foldTextFile: invalid UTF8 sequence: byte position: " <> show (absPos + pos))
                    chunkf s acc >>= loop (absPos + r)
                else error ("foldTextFile: read failed") -- FIXME


================================================
FILE: html_sample.html
================================================
<html>
 <head>
  <title>(sample) "page"</title>
 </head>
 <body>
  <h1>sample 'other' page "for this"</h1>
  <p id="results">{more words} but not these</p>
  <!-- this is a comment -->
 </body>
 <script src="code.js"></script>
</html>


================================================
FILE: linemaze.txt
================================================
START==================================|
                                       |
                                    |--|
                                    |
                                    |--|
                                       |
                                       |
|======================================|
|
|-----|
      |
    |-|
  |-|
|-|
|
|======================================|
                                       |
|======================================|
|
|--|
   |
|--|
|
|======================================|
                                       |
                                    |--|
                                    |
                                    |--|
                                       |
|======================================|
|
|======================================|
                                       |
                                    |--|
                                 |--|
                                 |   
                                 |-----|
                                       |
|======================================|
|
|
|--|
   |
|--|
|
|
|======================================|
                                       |
                                       |
                                       |
|======================================|
|
|-|
  |-|
    |
|---|
|
|======================================|
                                       |
END====================================|


================================================
FILE: linenumbers/annabel_lee.txt
================================================
It was many and many a year ago
In a kingdom by the sea 
That a maiden there lived whom you may know
By the name of ANNABEL LEE;
   -> 66

The angels not half so happy in heaven 
Went envying her and me-
Yes!- that was the reason (as all men know 
In this kingdom by the sea)
   -> 24

And this was the reason that long ago 
In this kingdom by the sea 
A wind blew out of a cloud chilling
My beautiful Annabel Lee;
   -> 48

That the wind came out of the cloud by night 
Chilling and killing my Annabel Lee.
But our love it was stronger by far than the love
Of those who were older than we-
   -> 60

But we loved with a love that was more than love-
I and my Annabel Lee;
With a love that the winged seraphs of heaven
Coveted her and me.
   -> 18

In her tomb by the sounding sea.
Edgar Allan Poe - Annabel Lee
 
 
   -> 0

Of the beautiful Annabel Lee.
For the moon never beams without bringing me dreams
Of the beautiful Annabel Lee;
And the stars never rise but I feel the bright eyes
   -> 54

So that her highborn kinsman came
And bore her away from me 
To shut her up in a sepulchre
In this kingdom by the sea.
   -> 12

Of the beautiful Annabel Lee;
And so all the night-tide I lie down by the side
Of my darling- my darling- my life and my bride 
In the sepulchre there by the sea 
   -> 36

Of many far wiser than we-
And neither the angels in heaven above 
Nor the demons down under the sea 
Can ever dissever my soul from the soul
   -> 42

And this maiden she lived with no other thought
Than to love and be loved by me.
I was a child and she was a child 
In this kingdom by the sea;
   -> 30



================================================
FILE: linenumbers/because_i_could_not_stop_for_death.txt
================================================
Because I could not stop for Death--
He kindly stopped for me-- 
   -> 44

The Roof was scarcely visible-- 
The Cornice--in the Ground-- 
   -> 48

My labor and my leisure too, 
For His Civility-- 
   -> 32

We passed the Fields of Gazing Grain-- 
We passed the Setting Sun-- 
   -> 36

We slowly drove--He knew no haste 
And I had put away 
   -> 12

Emily Dickinson - Because I could not stop for Death
 
   -> 0

I first surmised the Horses' Heads 
Were toward Eternity-- 
   -> 24

We passed the School, where Children strove 
At Recess--in the Ring-- 
   -> 16

Or rather--He passed us-- 
The Dews drew quivering and chill-- 
   -> 52

We paused before a House that seemed 
A Swelling of the Ground-- 
   -> 8

The Carriage held but just Ourselves-- 
And Immortality.
   -> 20

Since then--'tis Centuries--and yet 
Feels shorter than the Day 
   -> 28

For only Gossamer, my Gown-- 
My Tippet--only Tulle-- 
   -> 40



================================================
FILE: linenumbers/sonnet29.txt
================================================
When, in disgrace with fortune and men's eyes,
   -> 21

Haply I think on thee—and then my state,
   -> 42

   For thy sweet love rememb'red such wealth brings
   -> 36

Featured like him, like him with friends possessed,
   -> 27

And trouble deaf heaven with my bootless cries,
   -> 24

With what I most enjoy contented least;
   -> 33

I all alone beweep my outcast state,
   -> 15

And look upon myself, and curse my fate,
   -> 45

Desiring this man's art and that man's scope,
   -> 18

From sullen earth, sings hymns at heaven's gate;
   -> 9

Yet in these thoughts myself almost despising,
   -> 6

   That then I scorn to change my state with kings.
   -> 39

William Shakespeare - Sonnet 29
   -> 0

Like to the lark at break of day arising
   -> 30

Wishing me like to one more rich in hope,
   -> 12



================================================
FILE: linenumbers/still_i_rise.txt
================================================
You may write me down in history
With your bitter, twisted lies,
   -> 20

I'm a black ocean, leaping and wide,
Welling and swelling I bear in the tide.
   -> 72

Out of the huts of history's shame
I rise
   -> 32

Shoulders falling down like teardrops.
Weakened by my soulful cries.
   -> 48

You may trod me in the very dirt
But still, like dust, I'll rise.
   -> 68

Just like hopes springing high,
Still I'll rise.
   -> 52

You may kill me with your hatefulness,
But still, like air, I'll rise.
   -> 88

Up from a past that's rooted in pain
I rise
   -> 8

Into a daybreak that's wondrously clear
I rise
   -> 44

Just like moons and like suns,
With the certainty of tides,
   -> 24

Bringing the gifts that my ancestors gave,
I am the dream and the hope of the slave.
   -> 64

Does my haughtiness offend you?
Don't you take it awful hard
   -> 76

Did you want to see me broken?
Bowed head and lowered eyes?
   -> 16

You may shoot me with your words,
You may cut me with your eyes,
   -> 28

I rise.
Maya Angelou - Still I Rise
   -> 0

I rise
I rise
   -> 60

Does my sassiness upset you?
Why are you beset with gloom?
   -> 84

Leaving behind nights of terror and fear
I rise
   -> 36

'Cause I laugh like I've got gold mines
Diggin' in my own back yard.
   -> 56

That I dance like I've got diamonds
At the meeting of my thighs?
   -> 12

'Cause I walk like I've got oil wells
Pumping in my living room.
   -> 40

Does my sexiness upset you?
Does it come as a surprise
   -> 80



================================================
FILE: linenumbers/the_castaway.txt
================================================
Obscurest night involv'd the sky,
Th' Atlantic billows roar'd,
   -> 96

For then, by toil subdued, he drank
The stifling wave, and then he sank.
   -> 108

I therefore purpose not, or dream,
Descanting on his fate,
   -> 60

But so the furious blast prevail'd,
That, pitiless perforce,
   -> 48

No braver chief could Albion boast
Than he with whom he went,
   -> 100

Nor, cruel as it seem'd, could he
Their haste himself condemn,
   -> 52

But he (they knew) nor ship, nor shore,
Whate'er they gave, should visit more.
   -> 24

Not long beneath the whelming brine,
Expert to swim, he lay;
   -> 64

Some succour yet they could afford;
And, such as storms allow,
   -> 112

No voice divine the storm allay'd,
No light propitious shone;
   -> 92

At length, his transient respite past,
His comrades, who before
   -> 72

They left their outcast mate behind,
And scudded still before the wind.
   -> 36

Aware that flight, in such a sea,
Alone could rescue them;
   -> 124

He lov'd them both, but both in vain,
Nor him beheld, nor her again.
   -> 32

To give the melancholy theme
A more enduring date:
   -> 76

Nor soon he felt his strength decline,
Or courage die away;
   -> 128

That tells his name, his worth, his age,
Is wet with Anson's tear.
   -> 132

Had heard his voice in ev'ry blast,
Could catch the sound no more.
   -> 8

But misery still delights to trace
Its semblance in another's case.
   -> 40

And ever, as the minutes flew,
Entreated help, or cried--Adieu!
   -> 44

But I beneath a rougher sea,
And whelm'd in deeper gulfs than he.
   -> 88

William Cowper - The Castaway
 
   -> 0

When, snatch'd from all effectual aid,
We perish'd, each alone:
   -> 84

When such a destin'd wretch as I,
Wash'd headlong from on board,
   -> 116

Nor ever ship left Albion's coast,
With warmer wishes sent.
   -> 56

He shouted: nor his friends had fail'd
To check the vessel's course,
   -> 16

No poet wept him: but the page
Of narrative sincere;
   -> 68

The cask, the coop, the floated cord,
Delay'd not to bestow.
   -> 28

Of friends, of hope, of all bereft,
His floating home for ever left.
   -> 20

And so long he, with unspent pow'r,
His destiny repell'd;
   -> 80

Yet bitter felt it still to die
Deserted, and his friends so nigh.
   -> 136

But wag'd with death a lasting strife,
Supported by despair of life.
   -> 104

And tears by bards or heroes shed
Alike immortalize the dead.
   -> 12

He long survives, who lives an hour
In ocean, self-upheld;
   -> 120



================================================
FILE: linenumbers/when_you_are_old.txt
================================================
WHEN you are old and gray and full of sleep
   -> 12

And loved your beauty with love false or true; 
   -> 24

And hid his face amid a crowd of stars.
   -> 39

And nodding by the fire, take down this book, 
   -> 21

Murmur, a little sadly, how love fled 
   -> 18

And paced upon the mountains overhead, 
   -> 9

And slowly read, and dream of the soft look 
   -> 30

But one man loved the pilgrim soul in you, 
   -> 33

And bending down beside the glowing bars, 
   -> 15

Your eyes had once, and of their shadows deep; 
   -> 36

And loved the sorrows of your changing face.
   -> 27

How many loved your moments of glad grace, 
   -> 6

William Butler Yeats - When You are Old
   -> 0



================================================
FILE: list.html
================================================
<ul>
Ruby, Python, Perl, PHP, Go, Java, Android Java, C#, F#, R, Javascript, Typescript,
Haskell, Common Lisp, Racket, Scheme,  Clojure
</ul>


================================================
FILE: longWords.txt
================================================
AopAbstractFactoryHandler
SimpleConstructorAbstractFactoryHandler
CacheAbstractFactoryHandler
ContextAbstractFactoryHandler
JdbcAbstractFactoryHandler
JeeAbstractFactoryHandler
JmsAbstractFactoryHandler
LangAbstractFactoryHandler
MvcAbstractFactoryHandler
OxmAbstractFactoryHandler
SimplePropertyAbstractFactoryHandler
TaskAbstractFactoryHandler
TxAbstractFactoryHandler
UtilAbstractFactoryHandler
----------------------------
AopAbstractFactoryHandler
...


================================================
FILE: magic.txt
================================================
~*~*~             -> test
(w.o(rk)d)        -> work
{n\a{m}e}.        -> name
.$$$$.            -> word
(123)-$$$-$$$$    -> 123-XXX-XXXX
(((123)))         -> {123}


================================================
FILE: mask-numbers.csv
================================================
202-555-0162, Zimlon Cinn, tiiiiim
202-555-0176, May-dla Swift, tim
202-555-0174, Aletra Buphi, taaaaam
202-555-0114, Kato Vrand, tiim
202-555-0191, Trevin Anjek, tam
202-555-0191, Sekiseki Tong, taaaaaam
202-555-0139, Vare'l Secura, tiiiim
202-555-0198, Wyle Bardok, taaaaaaaaaam
202-555-0185, Jax Prine, tim
202-555-0166, Akela Bath, tam
202-555-0182, Travar Sorotai, tiiiiiim
202-555-0108, Tarion Churhee, taaaaaaaaam
202-555-0174, Untel Stoma, tim
202-555-0151, Magus Draav, tam
202-555-0180, Fiolla Un-Haku, tim
202-555-0186, Raphael Jenarian, taaam
202-555-0185, Torill Sim, tiiiiim
202-555-0137, Raru Cath, taaaaaam
202-555-0164, Gorg Chicri, tiiiiiim
202-555-0160, Nara Caltrel, taaam
202-555-0131, Kwyntehst Athzaria, tim
202-555-0143, Marion Danigo, tam
202-555-0150, Ronium Ky-knomi, tam
202-555-0183, El'kar Bruvumon, tim


================================================
FILE: mazes.txt
================================================

START-----| |-| |--| |--|  |--| |-|
          | | |-|  | |  |--|  | | |   
     |-|  | |      | |        | | |-|
     | |  | | |----| | |------| |   |             
     | |--| | |      | |        | |-|            
     |      | |      | | |------| |             
     |------| |------| |-|        |---END          


                                          
START-----|    |--| |-|      |---| |---|
          | |--|  | | | |----|   | |   |  
    |--|  | |     |-| | |        |-|   |
 |--|  |  | |---|     | |  |--|        |         
 |     |--|     | |---| |  |  |--------|       
 |          |-| | |     |  |                     
 |--| |--|  | | | |---| |  |  |----|            
    |-|  |--| |-|     |-|  |--|    |--|END          


aaa aaaaaa      aaaaa
a a a    a      a   aaaaa
  a aa  aa      a       a     
aaa  a  a       aa      a     
a   aa  a  aaa   aaaaa  a     
aaaaa  aa  a a       a  aaa   
       a  aa a aaaa  a    aa 
       aaaa  aaa  aaaa     

                aaaa      aaa            
aaa    aaa      a  aaa   aa a            
  aa  aa aa     aa   a   a aa            
   a  a   aaaa   a   a   a a  a          
   a  a      aa  aa  aaaaa a  a          
   a  aa      a   aaa     aa  a          
  aa   aa   aaa     a   aaa   a          
  a     aa  a  aaa  a   a  aaaa          
  a      a  aaaa aaaa   aaaa             
  aaaaaaaa


 aa                    aaa         aaaaaaaa aaa    
 a                   aaa a         a      aaa aa   
aa                  aa  aa         aa aa       a   
a                 aaa   a           aa aa      a   
aa                a    aa            aa a      a   
 aa               a  aaa              aaa    aaa   
  aa           aaaa aa     aaa             aaa     
   aa         aa    a      a aaa          aa       
    aaaaa   aaa     aaa   aa   aa       aaa        
        aa  a         aa aa     aa aaaaaa          
         aaaa          aaa       aaa               



  fghijklmnopqrs           uts     edcb              
cde            t  ghijk   wv r     f  a              
b            wvu ef   lo  x  qq jihg  z              
a             x  cd    m  yy  p l     x               
             yzabc   onn   a  nml   vww               
                     p    cb    qrstu                
                     q          p                    
                     r xyz      m                  
                     s w ab     l                  
                     tuv  cd   jk                  
                           efghi                   

fedcba                         qrs                 
g                     yza     op t                 
hi                    x bc    n  u                 
 j              opqr vw  de  lm wv      wxy        
lk           klmn  stu    f  k yx       v zabc     
m         ghij            ghij z        u    d     
n        ef                    ab       t  gfe     
o        d                      c       s ih       
p        c                      d       r j        
qr      ab                      e  jkl pq kl    stu
 stuvwxyz                       fghi mno   mnopqr v


def      stu             efg     mno               
c g      r vwxy         cd h     l pqrs            
b hij    qp   zabc     ab ji     k    tuvw         
a   kl    o      d     z lk      jihg    xyz       
     m    nm     ef    y m          fed            
     nopqr lkji   g    x nopq uvw     cbaz         
         s    hg ih   vw    rst x        yxwv      
         tuv   f j  stu        zy           u      
           w  de kl r          a     klmno st      
           xy c   m q          b    ij   pqr       
            zab   nop          cdefgh              


              pqrstuv                       zabcd  
ab          mno     wxy                    xy   e  
 c        jkl         za                   w   gf  
ed        i            b          wxy      vu  h  o
f         h            c    xyz tuv z       t  ij n
g      defg            d   vw a s   abc    rs   klm
h     bc              fe  tu  b rqp   d   pq       
i     a              hg  rs   cd  o   ef no        
j pqr zy             i  pq     ef nm   g m         
k o s  x             j  o       g  l   h l         
lmn tuvw             klmn       hijk   ijk         



d       jklm qrstuvwx defghijklmnop        klm     
e       i  nop      y c           qr      ij n     
fg      h           zab            st     h  o     
 h      g     onmlk         qpon    uvw   g  p     
ji      fe    p   jihg  vutsr  ml     xy ef rq     
k        d    q      f  w       kj     z d ts      
l      abc    rstu   e  x  abc   i     abc u       
m      z         v   d  y  z defgh         v       
nop   xy         w   cbaz  y           gfe wx      
  qr  w          x         xw  rqpon jih d  y      
   stuv         zy          vuts   mlk   cbaz      


   cdefg     cdefghij                              
  ab   hi   ab      klm                            
        j   z         nop                          
        k   yxwv        q                          
        l      u     utsr                          
       nm      t     v   rqp                       
vutsrqpo       s    xw  ts on                      
w           opqr    y  vu   m                      
xy        lmn       za w  jkl                      
 z        k          bc ghi                        
 abcdefghij           def                          



h                                                  
i                                                  
j    uvwx  qrst                                    
k  rst  y op  u        tuvw       qrs              
l  q   az n   v        s  x       p tu             
mnop   b lm   w        rq y       o  vwxy     klm  
      dc k    xy  fgh   p zabcdef nm    za  hij n  
      e  j     za e ij no       gh l     bc g   opq
      fghi      bcd  klm         ijk      def     r


dcb                        opq    bcd    mno                 
e a                        n rs  za efg  l p                 
f              opq       klm  t  y    hijk qr vwx            
ghi            n rs     ij    uvwx          stu yz           
  jk          lm  t    gh         vutsrq         a           
   l          k   uvw  f         xw    pon    edcb           
  nm  xyzab   j     x de         y  ji   ml  gf              
  o   w   cd  i     y c          z   h    kjih               
  pq  v    efgh     zab          abc g                       
   rstu                            def                       


bcd  ijk                                                     
a efgh l                                                     
       m                                                     
      on                                         vut         
      p                                          w sr        
      q                                 cdefgh   x  q  jih   
      r                        abcde   ab    i   y  po k gf  
      s    def                 z   f   z     j   zab nml  edc
      t    c ghi          fgh  yxw ghi yxwv lk     c        b
      uv  ab   j        cde ijk  vu  jk   u m      defgh   za
       wxyz    kl  stu  b     lm  t   lm  t no         ij  y 
                mn r v  a      n  s    no s  p          kl x 
                 opq wxyz      opqr     pqr  qrs    fgh    w 
                                               t    e ijkl vu
                                               u  bcd    m  t
                                               v za      no s
                                               wxy        pqr


                                     efg                     
                                    cd h                     
                                 yzab  i                     
                               vwx     jk                    
           klm                 u        lm                   
          ij n                 t         n                   
          h  opq               s         op                s 
          g    rstu            r          qr             pqr 
ba      def       v            qpo         st            o   
c      bc      zyxw              n          u            nm  
d   xyza       a                 m          v             l  
e   w         cb                 l          w             kj 
fgh v         d                ijk         yx  mnop        ih
  i uts       efg              h          az   l  qrs       g
  jk  r         hi        vwx  gf         b    k    tu     ef
   l pq          jk      tu yz  e         c    j     vwx bcd 
   mno            lmnopqrs   abcd         defghi       yza   


================================================
FILE: misc.txt
================================================
Fixk the spalling mistackes in thise fiile bi replecing or delating tehe
inccorrectt chiracters. Sume of tham ned a chiracter raplaced, atherss justt
neeed one daleted. You cen use "r" annd "x" to macke the neeedeed
transformations. Thay shouldn't takke veery loong. Imigine whut the rast of the
buuk woold huve luuked likke withuut a spallchecker!


================================================
FILE: navigation/poem2.txt
================================================
var poem8 = 'poem8.txt';
var poem6Varable = 'poem6.txt';

2
And one man in his time plays many parts,
His acts being seven ages. At first, the infant,
Mewling and puking in the nurse's arms.
Then the whining schoolboy, with his satchel
import ('poem3.txt');

4
Made to his mistress' eyebrow. Then a soldier,
Full of strange oaths and bearded like the pard,
Jealous in honor, sudden and quick in quarrel,

import ('poem5.txt');
import (poem6Varable);

7
Into the lean and slippered pantaloon,
With spectacles on nose and pouch on side;
His youthful hose, well saved, a world too wide

import(poem8);



================================================
FILE: navigation/poem3.txt
================================================
3
And shining morning face, creeping like snail
Unwillingly to school. And then the lover,
Sighing like furnace, with a woeful ballad


================================================
FILE: navigation/poem5.txt
================================================
5
Seeking the bubble reputation
Even in the cannon's mouth. And then the justice,
In fair round belly with good capon lined,


================================================
FILE: navigation/poem6.txt
================================================
6
With eyes severe and beard of formal cut,
Full of wise saws and modern instances;
And so he plays his part. The sixth age shifts


================================================
FILE: navigation/poem8.txt
================================================
var poem9 = 'poem9.txt';

8
For his shrunk shank, and his big manly voice,
Turning again toward childish treble, pipes
And whistles in his sound. Last scene of all,

import(poem9);




================================================
FILE: navigation/poem9.txt
================================================
9
That ends this strange eventful history,
Is second childishness and mere oblivion,
Sans teeth, sans eyes, sans taste, sans everything.
All the World's a Stage - William Shakespeare

// To restart: start.txt


================================================
FILE: navigation/start.txt
================================================
1
All the world's a stage,
And all the men and women merely players;
They have their exits and their entrances,
import ('poem2.txt');



================================================
FILE: numbers.txt
================================================
123
321
543
3433
44


================================================
FILE: open.txt
================================================
1
test




test
4



5
test



test
8



test
1



test
3



4
test



test
7



8
test




a
test




c
test



test
f



g
test



test
j



k
test



m
test



test
p



test
r



s
test



test
v



test
x



test
z



================================================
FILE: ozymandias-numbers.txt
================================================
8054
8 - The hand that mocked them, and the heart that fed:
8054
9 - And on the pedestal these words appear:
8054
10 - 'My name is Ozymandias, king of kings:
2344
11 - Look on my works, ye Mighty, and despair!'
0090
12 - Nothing beside remains - Round the decay
1121
13 - Of that colossal wreck, boundless and bare
8494
14 - The lone and level sands stretch far away."
0348
15 - Ozymandias - Percy Bysshe Shelley


================================================
FILE: ozymandias.txt
================================================
1234
1 - I met a traveler from an antique land
4323
2 - Who said: "Two vast and trunkless legs of stone
4085
3 - Stand in the desert  -  -  - Near them, on the sand,
4845
4 - Half sunk, a shattered visage lies, whose frown,
0854
5 - And wrinkled lip, and sneer of cold command,
5804
6 - Tell that its sculptor well those passions read
0854
7 - Which yet survive, stamped on these lifeless things,


================================================
FILE: radios.html
================================================
<form action="demo_form.asp">
  <label>First</label>
  <input type="radio" id="first" />
  <label>Second</label>
  <input type="radio" id="second" />
  <input type="submit" />
</form>
<form action="demo_form1.asp">
  <label>Third</label>
  <input type="radio" id="third" />
  <label>Forth</label>
  <input type="radio" id="forth" />
  <input type="submit" />
</form>
<form action="demo_form2.asp">
  <label>Fifth</label>
  <input type="radio" id="fifth" />
  <label>Sixth</label>
  <input type="radio" id="sixth" />
  <input type="submit" />
</form>
<form action="demo_form3.asp">
  <label>Seventh</label>
  <input type="radio" id="seventh" />
  <label>Other</label>
  <input type="radio" id="other" />
  <input type="submit" />
</form>

<!--
<form action="demo_form.asp">
  <label for="first">First</label>
  <input type="radio" id="first" />
  <label for="" for="second">Second</label>
  <input type="radio" id="second" />
  <input type="submit" />
</form>
<form action="demo_form.asp">
  <label for="third">Third</label>
  <input type="radio" id="third" />
  <label for="forth">Forth</label>
  <input type="radio" id="forth" />
  <input type="submit" />
</form>
<form action="demo_form.asp">
  <label for="fifth">Fifth</label>
  <input type="radio" id="fifth" />
  <label for="sixth">Sixth</label>
  <input type="radio" id="sixth" />
  <input type="submit" />
</form>
<form action="demo_form.asp">
  <label for="seventh">Seventh</label>
  <input type="radio" id="seventh" />
  <label for="other">Other</label>
  <input type="radio" id="other" />
  <input type="submit">
</form>
-->


================================================
FILE: regex.pl
================================================
s/(\\(\\*HIDE\\*\\))(.*?)(\\(\\*UHIDE\\*\\))/$1.decode_base64($2).$3/eigs
s/(\\(\\*HIDE\\*\\))(.*?)(\\(\\*UHIDE\\*\\))/$1.encode_base64($2).$3/eigs


================================================
FILE: region/beowulf_and_grendel_grapple.txt
================================================
202340 Nearer "45430143"he (5045)strode'540' then, the stout-hearted warrior <00000>
Snatched<44 0  34> as he'40040 ' slumbered, (402082)seizing "1208"with'27240' hand-grip,(344304)
{0023480}Forward [3084]the 5555505555 foeman{3084} foined with ( 3282
08084
0808234)his hand; {8450}
[50670]Caught he '72460'quickly "594350"the'4793240' cunning 8888222202222 deviser,<444444
0000
0000
0000>
On "2462430"his elbow <5782340>he r`08342`ested. {2462404565}This early [429248034863458632496234]discovered
<0000000000000>The master {2222222222022222222}of malice, <2222222022222222>that in middle-earth’s [3442342340234234]regions,
<111011>’Neath<111011> the whole '7707724'of the heavens, "6472440'no hand-grapple greater{2349742340}
444404444 In '2472340'any man "482342340"else had [4208234]he ever {3408234}encountered:
Fearful '5734507'in spi`803245`rit, [7269450324]faint-mooded {24923400243}waxed 999990000000999999 he,
{9999

9999
0

9999

9999}Not 555505555 off could (23424{ 20434} 8423)betake 7777077777 him; "408234"death he "20843"was pondering,
W<20854>ould fly "032834"to his covert[20842], seek the {9085435}devils’ assembly:<8043543>
His calling "30824"no more '0483242'was the same {040252}he had followed
L<08508543>ong in his "07230834"lifetime. '0840324'The liege-<0982403>kinsman worthy
[08424]Of{08423} Higelac minded (083403)his (82{342"08423"308}40)speech 8888808888 of"083423" the e[083423]vening,
S'3208432'tood he `08432`up straight and stout'08342'ly did seize him.


================================================
FILE: region/grendel_unarmed.txt
================================================
HelTRASHSTUFFd him by the hand; hateful to other
WasTRASHSTUFF each one if living. A body-wound suffered
TheTRASHSTUFF direful demon, damage incurable
WasTRASHSTUFF seen on his shoulder, his sinews were shivered,
HisTRASHSTUFF body did burst. To Beowulf was given
GloTRASHSTUFFry in battle; Grendel from thenceward
MusTRASHSTUFFt flee and hide him in the fen-cliffs and marshes,
//Sick unto death, his dwelling must look for
//Unwinsome and woful; he wist the more fully
//The end of his earthly existence was nearing,
//His life-days’ limits. At last for the Danemen,
When the slaughteMORETRASHr was over, their wish was accomplished.
The comer-from-faMORETRASHr-land had cleansed then of evil,
Wise and valiant,MORETRASH the war-hall of Hrothgar,
Saved it from vioMORETRASHlence. He joyed in the night-work,
In repute for proMORETRASHwess; the prince of the Geatmen
ForXXXXX the East-Danish peopXXXXXle his boast had accomplished,
BetXXXXXtered their burdensomXXXXXe bale-sorrows fully,
TheXXXXX craft-begot evil theXXXXXy erstwhile had suffered
//And were foXXXXXXXXXrced to endure from crushing oppression,
//Their manifXXXXXXXXXold misery. ’Twas a manifest token,
//When the heXXXXXXXXXro-in-battle the hand suspended,
//The arm andXXXXXXXXX the shoulder (there was all of the claw
//Of Grendel XXXXXXXXXtogether) ’neath great-stretching hall-roof.


================================================
FILE: region/looking_at_the_moon_far_away.txt
================================================
海上生明月,The 12318 moon, grown 408343 full now over 084252 the sea,
天涯共此时。Brightening "3085" the whole (14043) of heaven, 04543
情人怨遥夜,(45454) Brings to 05435 separated hearts 08454
竟夕起相思。(08804) The long (8804) thoughtfulness of night…. "084"
灭烛怜光满,It "8044" is no darker though "08454" I blow out my (0003) candle. "222"
披衣觉露滋。It 084 is no 085058 warmer though I 4331 put on my "111" coat. (094)
不堪盈手赠,So 0844 I leave 7773 my message 08085 with the moon 003
还寝梦佳期。And "04" turn to (0804) my bed, "3334" hoping for 9084 dreams
张九龄 - Zhang Jiuling


================================================
FILE: registers.txt
================================================
first, last, phone, email, work phone, nickname, home, work address
Jim, Jimsmith, 999-999-HOME, jim@jim.com, CELL-888-8888, Jimmy Boy, 10 Home Ln, 15 Work Dr
-----


-----
First Name:
Last Name:
Phone Number:
Home Address:
Work Address:
Email:
Cell:
Nickname


================================================
FILE: repeat.txt
================================================
af12345
adflj12345
780912345
First12345
Last12345
Garbage12345
Nonsense12345
Space12345
NEWLINE12345


================================================
FILE: replaceblock.txt
================================================
"test"
"t3st"
"t4st"
"tast"

"thas"
"th3s"
"th4s"
"th1s"


================================================
FILE: scala_sample.scala
================================================
package fpinscala.datastructures
sealed trait List[+A]
case object Nil extends List[Nothing]
case class Cons[+A](head: A, tail: List[A]) extends List[A]

object List {
  def foldLeft[A,B](as: List[A], z: B)(f: (B, A) => B): B = {
    @annotation.tailrec
    def g(rest: List[A], ret: B) : B = {
      rest match {
        case Nil => ret
        case Cons(x, xs) => g(xs, f(ret, x))
      }
    }
    g(as, z)
  }

  def foldRight[A,B](as: List[A], z: B)(f: (A, B) => B): B =
    foldLeft(reverse(as), z)((b,a) => f(a,b))

  def concat[A](l: List[List[A]]): List[A] =
    foldRight[A,List[A]](reverse(l), (Cons(a,Nil)))(Cons(_,_))

  def append[A](l: List[A])(a:A): List[A] =
    foldRight[A,List[A]](reverse(l), (Cons(a,Nil)))(Cons(_,_))

  def reverse[A](l: List[A]): List[A] =
    foldLeft[A,List[A]](l, Nil)((b,a) => Cons(a,b))

  def drop[A](l: List[A], n: Int): List[A] = {
    @annotation.tailrec
    def g(rest: List[A], n: Int) : List[A] = {
      if (n > 0) g(tail(rest), n-1)
      else rest
    }
    g(l, n)
  }

  def productL(ns: List[Double]) =
    foldLeft(ns, 1.0)(_ * _)

  def length2[A](as: List[A]): Int =
    foldRight(as, 0)((_,b) => 1 + b)

  @annotation.tailrec
  def dropWhile[A](as: List[A])(f: A => Boolean): List[A] =
    as match {
      case Cons(h,t) if f(h) => dropWhile(t)(f)
      case _ => as
  }


  def init[A](l: List[A]): List[A] = {
    @annotation.tailrec
    def g(rest: List[A], ret: List[A]) : List[A] = {
      rest match {
        case Cons(x, Nil) => ret
        case Cons(x, Cons(_, Nil)) => Cons(x, ret)
        case Cons(x, Cons(y, ys)) => g(Cons(y, ys), Cons(x, ret))
        case Nil => Nil
      }
    }
    reverse(g(l, Nil))
  }

  def lengthL[A](as: List[A]): Int =
    foldLeft(as, 0)((b,_) => 1 + b)

  def sumL(ns: List[Int]) =
    foldLeft(ns, 0)(_ + _)

  def sum2(ns: List[Int]) =
    foldRight(ns, 0)(_ + _)

  def product2(ns: List[Double]) =
    foldRight(ns, 1.0)(_ * _)

}


================================================
FILE: search/annabel_lee.txt
================================================
====
be1

It was many and many a year ago
In a kingdom by the sea 
That a maiden there lived whom you may know
By the name of ANNABEL LEE;
   -> to2

====
to2

And this maiden she lived with no other thought
Than to love and be loved by me.
I was a child and she was a child 
In this kingdom by the sea;
   -> it10

====
of3

So that her highborn kinsman came
And bore her away from me 
To shut her up in a sepulchre
In this kingdom by the sea.
   -> in6

====
and4

That the wind came out of the cloud by night 
Chilling and killing my Annabel Lee.
But our love it was stronger by far than the love
Of those who were older than we-
   -> a5

====
a5

Of many far wiser than we-
And neither the angels in heaven above 
Nor the demons down under the sea 
Can ever dissever my soul from the soul
   -> I9

====
in6

The angels not half so happy in heaven 
Went envying her and me-
Yes!- that was the reason (as all men know 
In this kingdom by the sea)
   -> and4

====
that7

In her tomb by the sounding sea.
Edgar Allan Poe - Annabel Lee
 
 
   -> the0

====
have8

And this was the reason that long ago 
In this kingdom by the sea 
A wind blew out of a cloud chilling
My beautiful Annabel Lee;
   -> of3

====
I9

Of the beautiful Annabel Lee.
For the moon never beams without bringing me dreams
Of the beautiful Annabel Lee;
And the stars never rise but I feel the bright eyes
   -> for11

====
it10

But we loved with a love that was more than love-
I and my Annabel Lee;
With a love that the winged seraphs of heaven
Coveted her and me.
   -> have8

====
for11

Of the beautiful Annabel Lee;
And so all the night-tide I lie down by the side
Of my darling- my darling- my life and my bride 
In the sepulchre there by the sea 
   -> that7



================================================
FILE: search/because_i_could_not_stop_for_death.txt
================================================
====
be1

Because I could not stop for Death--
He kindly stopped for me-- 
   -> have8

====
to2

Emily Dickinson - Because I could not stop for Death
 
   -> the0

====
of3

For only Gossamer, my Gown-- 
My Tippet--only Tulle-- 
   -> not12

====
and4

Since then--'tis Centuries--and yet 
Feels shorter than the Day 
   -> that7

====
a5

Or rather--He passed us-- 
The Dews drew quivering and chill-- 
   -> of3

====
in6

We slowly drove--He knew no haste 
And I had put away 
   -> on13

====
that7

I first surmised the Horses' Heads 
Were toward Eternity-- 
   -> to2

====
have8

The Carriage held but just Ourselves-- 
And Immortality.
   -> in6

====
I9

We passed the Fields of Gazing Grain-- 
We passed the Setting Sun-- 
   -> a5

====
it10

The Roof was scarcely visible-- 
The Cornice--in the Ground-- 
   -> and4

====
for11

We passed the School, where Children strove 
At Recess--in the Ring-- 
   -> I9

====
not12

We paused before a House that seemed 
A Swelling of the Ground-- 
   -> it10

====
on13

My labor and my leisure too, 
For His Civility-- 
   -> for11



================================================
FILE: search/sonnet29.txt
================================================
====
be1

When, in disgrace with fortune and men's eyes,
   -> in6

====
to2

Wishing me like to one more rich in hope,
   -> on13

====
of3

Yet in these thoughts myself almost despising,
   -> not12

====
and4

With what I most enjoy contented least;
   -> of3

====
a5

Like to the lark at break of day arising
   -> it10

====
in6

I all alone beweep my outcast state,
   -> he15

====
that7

   That then I scorn to change my state with kings.
   -> for11

====
have8

Desiring this man's art and that man's scope,
   -> and4

====
I9

   For thy sweet love rememb'red such wealth brings
   -> that7

====
it10

From sullen earth, sings hymns at heaven's gate;
   -> I9

====
for11

William Shakespeare - Sonnet 29
   -> the0

====
not12

Haply I think on thee—and then my state,
   -> a5

====
on13

Featured like him, like him with friends possessed,
   -> have8

====
with14

And look upon myself, and curse my fate,
   -> to2

====
he15

And trouble deaf heaven with my bootless cries,
   -> with14



================================================
FILE: search/still_i_rise.txt
================================================
====
be1

You may write me down in history
With your bitter, twisted lies,
   -> but21

====
to2

I'm a black ocean, leaping and wide,
Welling and swelling I bear in the tide.
   -> in6

====
of3

Bringing the gifts that my ancestors gave,
I am the dream and the hope of the slave.
   -> his22

====
and4

Just like hopes springing high,
Still I'll rise.
   -> you17

====
a5

I rise.
Maya Angelou - Still I Rise
   -> the0

====
in6

Leaving behind nights of terror and fear
I rise
   -> I9

====
that7

Just like moons and like suns,
With the certainty of tides,
   -> and4

====
have8

Does my sexiness upset you?
Does it come as a surprise
   -> with14

====
I9

Into a daybreak that's wondrously clear
I rise
   -> of3

====
it10

You may shoot me with your words,
You may cut me with your eyes,
   -> at19

====
for11

'Cause I walk like I've got oil wells
Pumping in my living room.
   -> that7

====
not12

Out of the huts of history's shame
I rise
   -> do18

====
on13

Does my sassiness upset you?
Why are you beset with gloom?
   -> for11

====
with14

That I dance like I've got diamonds
At the meeting of my thighs?
   -> not12

====
he15

'Cause I laugh like I've got gold mines
Diggin' in my own back yard.
   -> it10

====
as16

Shoulders falling down like teardrops.
Weakened by my soulful cries.
   -> this20

====
you17

Did you want to see me broken?
Bowed head and lowered eyes?
   -> as16

====
do18

Up from a past that's rooted in pain
I rise
   -> to2

====
at19

You may kill me with your hatefulness,
But still, like air, I'll rise.
   -> have8

====
this20

Does my haughtiness offend you?
Don't you take it awful hard
   -> he15

====
but21

You may trod me in the very dirt
But still, like dust, I'll rise.
   -> on13

====
his22

I rise
I rise
   -> a5



================================================
FILE: search/test.txt
================================================


================================================
FILE: search/the_castaway.txt
================================================
====
be1

Obscurest night involv'd the sky,
Th' Atlantic billows roar'd,
   -> but21

====
to2

Nor ever ship left Albion's coast,
With warmer wishes sent.
   -> his22

====
of3

Not long beneath the whelming brine,
Expert to swim, he lay;
   -> at19

====
and4

And so long he, with unspent pow'r,
His destiny repell'd;
   -> or30

====
a5

No poet wept him: but the page
Of narrative sincere;
   -> for11

====
in6

They left their outcast mate behind,
And scudded still before the wind.
   -> not12

====
that7

No voice divine the storm allay'd,
No light propitious shone;
   -> he15

====
have8

But he (they knew) nor ship, nor shore,
Whate'er they gave, should visit more.
   -> they25

====
I9

No braver chief could Albion boast
Than he with whom he went,
   -> to2

====
it10

But wag'd with death a lasting strife,
Supported by despair of life.
   -> on13

====
for11

That tells his name, his worth, his age,
Is wet with Anson's tear.
   -> will32

====
not12

Some succour yet they could afford;
And, such as storms allow,
   -> with14

====
on13

He shouted: nor his friends had fail'd
To check the vessel's course,
   -> we26

====
with14

The cask, the coop, the floated cord,
Delay'd not to bestow.
   -> have8

====
he15

When, snatch'd from all effectual aid,
We perish'd, each alone:
   -> she29

====
as16

Of friends, of hope, of all bereft,
His floating home for ever left.
   -> I9

====
you17

Yet bitter felt it still to die
Deserted, and his friends so nigh.
   -> an31

====
do18

But misery still delights to trace
Its semblance in another's case.
   -> that7

====
at19

Nor soon he felt his strength decline,
Or courage die away;
   -> it10

====
this20

I therefore purpose not, or dream,
Descanting on his fate,
   -> my33

====
but21

When such a destin'd wretch as I,
Wash'd headlong from on board,
   -> as16

====
his22

He lov'd them both, but both in vain,
Nor him beheld, nor her again.
   -> of3

====
by23

William Cowper - The Castaway
 
   -> the0

====
from24

For then, by toil subdued, he drank
The stifling wave, and then he sank.
   -> a5

====
they25

Nor, cruel as it seem'd, could he
Their haste himself condemn,
   -> her28

====
we26

But so the furious blast prevail'd,
That, pitiless perforce,
   -> in6

====
say27

Had heard his voice in ev'ry blast,
Could catch the sound no more.
   -> from24

====
her28

Aware that flight, in such a sea,
Alone could rescue them;
   -> you17

====
she29

But I beneath a rougher sea,
And whelm'd in deeper gulfs than he.
   -> by23

====
or30

And ever, as the minutes flew,
Entreated help, or cried--Adieu!
   -> one34

====
an31

He long survives, who lives an hour
In ocean, self-upheld;
   -> and4

====
will32

And tears by bards or heroes shed
Alike immortalize the dead.
   -> this20

====
my33

To give the melancholy theme
A more enduring date:
   -> do18

====
one34

At length, his transient respite past,
His comrades, who before
   -> say27



================================================
FILE: search/when_you_are_old.txt
================================================
====
be1

WHEN you are old and gray and full of sleep
   -> of3

====
to2

How many loved your moments of glad grace, 
   -> not12

====
of3

And nodding by the fire, take down this book, 
   -> have8

====
and4

Your eyes had once, and of their shadows deep; 
   -> to2

====
a5

And paced upon the mountains overhead, 
   -> I9

====
in6

And loved the sorrows of your changing face.
   -> that7

====
that7

And bending down beside the glowing bars, 
   -> it10

====
have8

And slowly read, and dream of the soft look 
   -> and4

====
I9

And hid his face amid a crowd of stars.
   -> on13

====
it10

Murmur, a little sadly, how love fled 
   -> a5

====
for11

But one man loved the pilgrim soul in you, 
   -> in6

====
not12

And loved your beauty with love false or true; 
   -> for11

====
on13

William Butler Yeats - When You are Old
   -> the0



================================================
FILE: the_castaway.txt
================================================
Obscurest night involv'd the sky,
Th' Atlantic billows roar'd,
When such a destin'd wretch as I,
Wash'd headlong from on board,

Of friends, of hope, of all bereft,
His floating home for ever left.


No braver chief could Albion boast
Than he with whom he went,
Nor ever ship left Albion's coast,
With warmer wishes sent.

He lov'd them both, but both in vain,
Nor him beheld, nor her again.


Not long beneath the whelming brine,
Expert to swim, he lay;
Nor soon he felt his strength decline,
Or courage die away;
But wag'd with death a lasting strife,
Supported by despair of life.


He shouted: nor his friends had fail'd
To check the vessel's course,
But so the furious blast prevail'd,
That, pitiless perforce,
They left their outcast mate behind,
And scudded still before the wind.


Some succour yet they could afford;
And, such as storms allow,
The cask, the coop, the floated cord,
Delay'd not to bestow.

But he (they knew) nor ship, nor shore,
Whate'er they gave, should visit more.


Nor, cruel as it seem'd, could he
Their haste himself condemn,
Aware that flight, in such a sea,
Alone could rescue them;
Yet bitter felt it still to die
Deserted, and his friends so nigh.


He long survives, who lives an hour
In ocean, self-upheld;
And so long he, with unspent pow'r,
His destiny repell'd;
And ever, as the minutes flew,
Entreated help, or cried--Adieu!

At length, his transient respite past,
His comrades, who before
Had heard his voice in ev'ry blast,
Could catch the sound no more.

For then, by toil subdued, he drank
The stifling wave, and then he sank.


No poet wept him: but the page
Of narrative sincere;
That tells his name, his worth, his age,
Is wet with Anson's tear.

And tears by bards or heroes shed
Alike immortalize the dead.


I therefore purpose not, or dream,
Descanting on his fate,
To give the melancholy theme
A more enduring date:
But misery still delights to trace
Its semblance in another's case.


No voice divine the storm allay'd,
No light propitious shone;
When, snatch'd from all effectual aid,
We perish'd, each alone:
But I beneath a rougher sea,
And whelm'd in deeper gulfs than he.
William Cowper - The Castaway


================================================
FILE: undo-bad.txt
================================================
Name
Color
Place
Show
Movie
Book
----------
Name
Color


================================================
FILE: undo.txt
================================================
First Name:
Last Name:
A Favorite Color:
A Favorite Place:
A Favorite TV Show:
A Favorite Movie:
A Favorite Book:
A Favorite Shape:
A Favorite Language:
A Favorite Season:


================================================
FILE: users-update.sql
================================================
-- insert into db01.users (username, password) values ('jack', 'changeme');
-- update db01.users set password='changeme' where username='jack';
--password,username,db
changeme,jack,db01
password,janet,db02
Passw0rd,john,db01
thewordpasswordallcaps,jane,db03
secrete,jimothy,db03
password2,june,db01
password1,jose,db02


================================================
FILE: users.sql
================================================
-- insert into db01.users (username, password) values ('jack', 'changeme');
--password,username,db
changeme,jack,db01
password,janet,db02
Passw0rd,john,db01
thewordpasswordallcaps,jane,db03
secrete,jimothy,db03
password2,june,db01
password1,jose,db02


================================================
FILE: variables.php
================================================
authenticate($key, $secret, $uri, CONSTANT);
authenticate($word, $sec, $url, OTHER_CONST);
authenticate($name, $srt, $link);
authenticate($id, $salt, $url);
authenticate($user, $pass, $resource);

/*
authenticate($array['key'], $array['secret'], $array['uri'], CONSTANT);
authenticate($array['word'], $array['sec'], $array['url'], OTHER_CONST);
authenticate($array['name'], $array['srt'], $array['link']);
authenticate($array['id'], $array['salt'], $array['url']);
authenticate($array['user'], $array['pass'], $array['resource']);
*/



================================================
FILE: wordmaze.txt
================================================
WORD WORD      WORD WORD WORD      WORD                  
     WORD WORD WORD      WORD      WORD WORD WORD WORD
                         WORD                     WORD
WORD WORD WORD      WORD WORD      WORD WORD WORD WORD
WORD      WORD WORD WORD           WORD                 
WORD                               WORD WORD WORD WORD
WORD WORD      WORD WORD WORD                     WORD
     WORD      WORD      WORD      WORD WORD WORD WORD
WORD WORD      WORD      WORD      WORD                  
WORD           WORD      WORD      WORD WORD WORD WORD
WORD WORD      WORD      WORD                     WORD
     WORD WORD WORD      WORD WORD WORD WORD WORD WORD



================================================
FILE: yank-delimited.txt
================================================
(There is a )
place where the sidewalk ends
"And before the "
street begins,
{And there }
the grass grows soft and white,
[And there the ]
sun burns crimson bright,
'And there '
the moon-bird rests from his flight
<To >
cool in the peppermint wind.

"Let "
us leave this place where the smoke blows black
[And ]
the dark street winds and bends.
'Past the pits '
where the asphalt flowers grow
(We shall walk )
with a walk that is measured and slow,
<And watch where >
the chalk-white arrows go
{To the place }
where the sidewalk ends.

[Yes we'll walk ] 
with a walk that is measured and slow,
"And we'll go where "
the chalk-white arrows go,
{For the children}
, they mark, and the children, they know
'The place where '
the sidewalk ends.


================================================
FILE: yanking.txt
================================================
1 2 3 4 YANK THESE FOUR WORDS 5 6
   put inside here -> ()
YANK THIS WHOLE LINE NO NEWLINE
   put inside here -> ()
YANKTHISWORD 1 2 3 4 5
   put inside here -> ()
YANK THIS WHOLE LINE NO NEWLINE
   put inside here -> ()
YANK THIS WHOLE LINE WITH NEW LINE
   put below here ->
4 4 YANK THESE THREE 4 4 4 
   put inside here -> ()
YANK THIS WHOLE LINE NO NEWLINE
   put inside here -> ()
YANK THIS WHOLE LINE WITH NEW LINE
   put below here ->
4 4 YANKTHISWORD 4 4
   put inside here -> ()
4 4 4 4 YANK WORDS TO END OF THE LINE WITHOUT NEWLINE
   put inside here with capital P -> ()
4 4 4 4 O 4 4 4 4 4 4
   put inside here with lower p -> ()
4 U 4 4 4 4 4 4 4 4
   put inside here with capital P -> ()
4 R 4 4 4 4 4 4 4 4
   put inside here with lower p -> ()
Download .txt
gitextract_aj6dfjvw/

├── .gitignore
├── BookCalendar.hs
├── adventure1.txt
├── append-insert-file.txt
├── append-insert.txt
├── book_sample_ctrln.md
├── book_sample_delimited_edits.md
├── book_sample_history_registers.md
├── book_sample_multiple_repeat.md
├── clojure_sample.clj
├── csharp_sample.cs
├── csharp_sample2.cs
├── csharp_sample3.cs
├── delete.txt
├── extra_junk_annabel_lee.txt
├── functions.java
├── goto.txt
├── goto20.txt
├── haskell_sample.hs
├── html_sample.html
├── linemaze.txt
├── linenumbers/
│   ├── annabel_lee.txt
│   ├── because_i_could_not_stop_for_death.txt
│   ├── sonnet29.txt
│   ├── still_i_rise.txt
│   ├── the_castaway.txt
│   └── when_you_are_old.txt
├── list.html
├── longWords.txt
├── magic.txt
├── mask-numbers.csv
├── mazes.txt
├── misc.txt
├── navigation/
│   ├── poem2.txt
│   ├── poem3.txt
│   ├── poem5.txt
│   ├── poem6.txt
│   ├── poem8.txt
│   ├── poem9.txt
│   └── start.txt
├── numbers.txt
├── open.txt
├── ozymandias-numbers.txt
├── ozymandias.txt
├── radios.html
├── regex.pl
├── region/
│   ├── beowulf_and_grendel_grapple.txt
│   ├── grendel_unarmed.txt
│   └── looking_at_the_moon_far_away.txt
├── registers.txt
├── repeat.txt
├── replaceblock.txt
├── scala_sample.scala
├── search/
│   ├── annabel_lee.txt
│   ├── because_i_could_not_stop_for_death.txt
│   ├── sonnet29.txt
│   ├── still_i_rise.txt
│   ├── test.txt
│   ├── the_castaway.txt
│   └── when_you_are_old.txt
├── the_castaway.txt
├── undo-bad.txt
├── undo.txt
├── users-update.sql
├── users.sql
├── variables.php
├── wordmaze.txt
├── yank-delimited.txt
└── yanking.txt
Download .txt
SYMBOL INDEX (6 symbols across 2 files)

FILE: csharp_sample.cs
  class MainClass (line 3) | class MainClass
    method RunTestPath (line 5) | public void RunTestPath(String pathToTestLibrary)
    method Main (line 10) | public void Main()
    method OtherFunction (line 15) | public void OtherFunction(bool hasName, String name)
    method HelperFunction (line 20) | private void HelperFunction(bool hasName, String name)

FILE: functions.java
  class SomeClass (line 1) | public class SomeClass {
Condensed preview — 69 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (78K chars).
[
  {
    "path": ".gitignore",
    "chars": 43,
    "preview": "/exercises.txt\n*original\n/allexercises.txt\n"
  },
  {
    "path": "BookCalendar.hs",
    "chars": 1067,
    "preview": "module BookCalendar where\n\nimport Data.Time\nimport Data.Time.Calendar.WeekDate\n\ncurrentWordCount :: Integer\ncurrentWordC"
  },
  {
    "path": "adventure1.txt",
    "chars": 155,
    "preview": "a. You walk into a stone room, torches flicker on the wall.\n   To walk into the darkened doorway go to line\n   To examin"
  },
  {
    "path": "append-insert-file.txt",
    "chars": 730,
    "preview": "\n-------\nSearch For 2\n\n2456789\n123456789\n123456789\n12456789\n2456789\n23456789\n23456789\n2456789\n12456789\n\n-------\nSearch F"
  },
  {
    "path": "append-insert.txt",
    "chars": 109,
    "preview": "12\n23\n7891245\n892456789124567\n92456789234\n2456789234\n12\n2\n92\n789124567892\n9245678912\n23\n12\n2\n567892345678923\n"
  },
  {
    "path": "book_sample_ctrln.md",
    "chars": 2905,
    "preview": "This is a sample section from the in-progress book\n[10 Minute Vim](https://leanpub.com/deliberatevim/) available DRM-fre"
  },
  {
    "path": "book_sample_delimited_edits.md",
    "chars": 5638,
    "preview": "This is a sample section from the in-progress book\n[10 Minute Vim](https://leanpub.com/deliberatevim/) available DRM-fre"
  },
  {
    "path": "book_sample_history_registers.md",
    "chars": 5154,
    "preview": "This is a sample section from the in-progress book\n[10 Minute Vim](https://leanpub.com/deliberatevim/) available DRM-fre"
  },
  {
    "path": "book_sample_multiple_repeat.md",
    "chars": 2851,
    "preview": "This is a sample section from the in-progress book\n[10 Minute Vim](https://leanpub.com/deliberatevim/) available DRM-fre"
  },
  {
    "path": "clojure_sample.clj",
    "chars": 484,
    "preview": "(defn make-sample-two-students-in-class []\n  (let [{cid :_id} (d/get-class-by-name \"2014-2015\")]\n    (db/activate-class "
  },
  {
    "path": "csharp_sample.cs",
    "chars": 1083,
    "preview": "namespace Ns\n{\n    class MainClass\n    {\n        public void RunTestPath(String pathToTestLibrary)\n        {\n           "
  },
  {
    "path": "csharp_sample2.cs",
    "chars": 355,
    "preview": "var name = (Contact)GetName(typeof(Contact), user);\nvar name = (Company)GetName(typeof(Company), user);\nvar name = (Syst"
  },
  {
    "path": "csharp_sample3.cs",
    "chars": 697,
    "preview": "var name = (Contact)GetFirstName(typeof(Contact), user);\nvar name = (Company)GetSecondName(typeof(Company), user);\nvar n"
  },
  {
    "path": "delete.txt",
    "chars": 521,
    "preview": "1JUNK 234567890\n123 JUNK 456  JUNK 7890\n1 JUNK 234567890 JUNK JUNK JUNK\nJUNK\nJUNK JUNK JUNK\nJUNK\n1234567890\nJUNK JUNK JU"
  },
  {
    "path": "extra_junk_annabel_lee.txt",
    "chars": 1783,
    "preview": "1   It was many and many a year ago\n5   And this maiden she lived with no other thought\n2   In a kingdom by the sea \n3  "
  },
  {
    "path": "functions.java",
    "chars": 549,
    "preview": "public class SomeClass {\n\n    private static final String[] SOURCE = new String[] {\n        \"1-345-Filesystem\",\n        "
  },
  {
    "path": "goto.txt",
    "chars": 500,
    "preview": "go to:  1\ngo to:  2\ngo to:  3\ngo to:  4\ngo to:  5\ngo to:  6\ngo to:  7\ngo to:  8\ngo to:  9\ngo to: 10\ngo to: 11\ngo to: 12\n"
  },
  {
    "path": "goto20.txt",
    "chars": 208,
    "preview": "go to:  7\ngo to: 14\ngo to:  8\ngo to: 16\ngo to: 11\ngo to: 5\ngo to:  3\ngo to: 15\ngo to: 18\ngo to:  2\ngo to:  4\ngo to: 13\ng"
  },
  {
    "path": "haskell_sample.hs",
    "chars": 1243,
    "preview": "foldTextFile :: (String -> a -> IO a) -- ^ Fold callback function\n             -> a                     -- ^ initial acc"
  },
  {
    "path": "html_sample.html",
    "chars": 235,
    "preview": "<html>\n <head>\n  <title>(sample) \"page\"</title>\n </head>\n <body>\n  <h1>sample 'other' page \"for this\"</h1>\n  <p id=\"resu"
  },
  {
    "path": "linemaze.txt",
    "chars": 1490,
    "preview": "START==================================|\n                                       |\n                                    |-"
  },
  {
    "path": "linenumbers/annabel_lee.txt",
    "chars": 1607,
    "preview": "It was many and many a year ago\nIn a kingdom by the sea \nThat a maiden there lived whom you may know\nBy the name of ANNA"
  },
  {
    "path": "linenumbers/because_i_could_not_stop_for_death.txt",
    "chars": 923,
    "preview": "Because I could not stop for Death--\nHe kindly stopped for me-- \n   -> 44\n\nThe Roof was scarcely visible-- \nThe Cornice-"
  },
  {
    "path": "linenumbers/sonnet29.txt",
    "chars": 814,
    "preview": "When, in disgrace with fortune and men's eyes,\n   -> 21\n\nHaply I think on thee—and then my state,\n   -> 42\n\n   For thy s"
  },
  {
    "path": "linenumbers/still_i_rise.txt",
    "chars": 1491,
    "preview": "You may write me down in history\nWith your bitter, twisted lies,\n   -> 20\n\nI'm a black ocean, leaping and wide,\nWelling "
  },
  {
    "path": "linenumbers/the_castaway.txt",
    "chars": 2489,
    "preview": "Obscurest night involv'd the sky,\nTh' Atlantic billows roar'd,\n   -> 96\n\nFor then, by toil subdued, he drank\nThe stiflin"
  },
  {
    "path": "linenumbers/when_you_are_old.txt",
    "chars": 694,
    "preview": "WHEN you are old and gray and full of sleep\n   -> 12\n\nAnd loved your beauty with love false or true; \n   -> 24\n\nAnd hid "
  },
  {
    "path": "list.html",
    "chars": 142,
    "preview": "<ul>\nRuby, Python, Perl, PHP, Go, Java, Android Java, C#, F#, R, Javascript, Typescript,\nHaskell, Common Lisp, Racket, S"
  },
  {
    "path": "longWords.txt",
    "chars": 457,
    "preview": "AopAbstractFactoryHandler\nSimpleConstructorAbstractFactoryHandler\nCacheAbstractFactoryHandler\nContextAbstractFactoryHand"
  },
  {
    "path": "magic.txt",
    "chars": 165,
    "preview": "~*~*~             -> test\n(w.o(rk)d)        -> work\n{n\\a{m}e}.        -> name\n.$$$$.            -> word\n(123)-$$$-$$$$  "
  },
  {
    "path": "mask-numbers.csv",
    "chars": 834,
    "preview": "202-555-0162, Zimlon Cinn, tiiiiim\n202-555-0176, May-dla Swift, tim\n202-555-0174, Aletra Buphi, taaaaam\n202-555-0114, Ka"
  },
  {
    "path": "mazes.txt",
    "chars": 8598,
    "preview": "\nSTART-----| |-| |--| |--|  |--| |-|\n          | | |-|  | |  |--|  | | |   \n     |-|  | |      | |        | | |-|\n     |"
  },
  {
    "path": "misc.txt",
    "chars": 349,
    "preview": "Fixk the spalling mistackes in thise fiile bi replecing or delating tehe\ninccorrectt chiracters. Sume of tham ned a chir"
  },
  {
    "path": "navigation/poem2.txt",
    "chars": 600,
    "preview": "var poem8 = 'poem8.txt';\nvar poem6Varable = 'poem6.txt';\n\n2\nAnd one man in his time plays many parts,\nHis acts being sev"
  },
  {
    "path": "navigation/poem3.txt",
    "chars": 134,
    "preview": "3\nAnd shining morning face, creeping like snail\nUnwillingly to school. And then the lover,\nSighing like furnace, with a "
  },
  {
    "path": "navigation/poem5.txt",
    "chars": 125,
    "preview": "5\nSeeking the bubble reputation\nEven in the cannon's mouth. And then the justice,\nIn fair round belly with good capon li"
  },
  {
    "path": "navigation/poem6.txt",
    "chars": 131,
    "preview": "6\nWith eyes severe and beard of formal cut,\nFull of wise saws and modern instances;\nAnd so he plays his part. The sixth "
  },
  {
    "path": "navigation/poem8.txt",
    "chars": 183,
    "preview": "var poem9 = 'poem9.txt';\n\n8\nFor his shrunk shank, and his big manly voice,\nTurning again toward childish treble, pipes\nA"
  },
  {
    "path": "navigation/poem9.txt",
    "chars": 209,
    "preview": "9\nThat ends this strange eventful history,\nIs second childishness and mere oblivion,\nSans teeth, sans eyes, sans taste, "
  },
  {
    "path": "navigation/start.txt",
    "chars": 135,
    "preview": "1\nAll the world's a stage,\nAnd all the men and women merely players;\nThey have their exits and their entrances,\nimport ("
  },
  {
    "path": "numbers.txt",
    "chars": 20,
    "preview": "123\n321\n543\n3433\n44\n"
  },
  {
    "path": "open.txt",
    "chars": 221,
    "preview": "1\ntest\n\n\n\n\ntest\n4\n\n\n\n5\ntest\n\n\n\ntest\n8\n\n\n\ntest\n1\n\n\n\ntest\n3\n\n\n\n4\ntest\n\n\n\ntest\n7\n\n\n\n8\ntest\n\n\n\n\na\ntest\n\n\n\n\nc\ntest\n\n\n\ntest\nf\n"
  },
  {
    "path": "ozymandias-numbers.txt",
    "chars": 413,
    "preview": "8054\n8 - The hand that mocked them, and the heart that fed:\n8054\n9 - And on the pedestal these words appear:\n8054\n10 - '"
  },
  {
    "path": "ozymandias.txt",
    "chars": 397,
    "preview": "1234\n1 - I met a traveler from an antique land\n4323\n2 - Who said: \"Two vast and trunkless legs of stone\n4085\n3 - Stand i"
  },
  {
    "path": "radios.html",
    "chars": 1585,
    "preview": "<form action=\"demo_form.asp\">\n  <label>First</label>\n  <input type=\"radio\" id=\"first\" />\n  <label>Second</label>\n  <inpu"
  },
  {
    "path": "regex.pl",
    "chars": 148,
    "preview": "s/(\\\\(\\\\*HIDE\\\\*\\\\))(.*?)(\\\\(\\\\*UHIDE\\\\*\\\\))/$1.decode_base64($2).$3/eigs\ns/(\\\\(\\\\*HIDE\\\\*\\\\))(.*?)(\\\\(\\\\*UHIDE\\\\*\\\\))/$"
  },
  {
    "path": "region/beowulf_and_grendel_grapple.txt",
    "chars": 1488,
    "preview": "202340 Nearer \"45430143\"he (5045)strode'540' then, the stout-hearted warrior <00000>\nSnatched<44 0  34> as he'40040 ' sl"
  },
  {
    "path": "region/grendel_unarmed.txt",
    "chars": 1354,
    "preview": "HelTRASHSTUFFd him by the hand; hateful to other\nWasTRASHSTUFF each one if living. A body-wound suffered\nTheTRASHSTUFF d"
  },
  {
    "path": "region/looking_at_the_moon_far_away.txt",
    "chars": 544,
    "preview": "海上生明月,The 12318 moon, grown 408343 full now over 084252 the sea,\n天涯共此时。Brightening \"3085\" the whole (14043) of heaven, 0"
  },
  {
    "path": "registers.txt",
    "chars": 260,
    "preview": "first, last, phone, email, work phone, nickname, home, work address\nJim, Jimsmith, 999-999-HOME, jim@jim.com, CELL-888-8"
  },
  {
    "path": "repeat.txt",
    "chars": 101,
    "preview": "af12345\nadflj12345\n780912345\nFirst12345\nLast12345\nGarbage12345\nNonsense12345\nSpace12345\nNEWLINE12345\n"
  },
  {
    "path": "replaceblock.txt",
    "chars": 57,
    "preview": "\"test\"\n\"t3st\"\n\"t4st\"\n\"tast\"\n\n\"thas\"\n\"th3s\"\n\"th4s\"\n\"th1s\"\n"
  },
  {
    "path": "scala_sample.scala",
    "chars": 1942,
    "preview": "package fpinscala.datastructures\nsealed trait List[+A]\ncase object Nil extends List[Nothing]\ncase class Cons[+A](head: A"
  },
  {
    "path": "search/annabel_lee.txt",
    "chars": 1742,
    "preview": "====\nbe1\n\nIt was many and many a year ago\nIn a kingdom by the sea \nThat a maiden there lived whom you may know\nBy the na"
  },
  {
    "path": "search/because_i_could_not_stop_for_death.txt",
    "chars": 1087,
    "preview": "====\nbe1\n\nBecause I could not stop for Death--\nHe kindly stopped for me-- \n   -> have8\n\n====\nto2\n\nEmily Dickinson - Beca"
  },
  {
    "path": "search/sonnet29.txt",
    "chars": 1009,
    "preview": "====\nbe1\n\nWhen, in disgrace with fortune and men's eyes,\n   -> in6\n\n====\nto2\n\nWishing me like to one more rich in hope,\n"
  },
  {
    "path": "search/still_i_rise.txt",
    "chars": 1786,
    "preview": "====\nbe1\n\nYou may write me down in history\nWith your bitter, twisted lies,\n   -> but21\n\n====\nto2\n\nI'm a black ocean, lea"
  },
  {
    "path": "search/test.txt",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "search/the_castaway.txt",
    "chars": 2950,
    "preview": "====\nbe1\n\nObscurest night involv'd the sky,\nTh' Atlantic billows roar'd,\n   -> but21\n\n====\nto2\n\nNor ever ship left Albio"
  },
  {
    "path": "search/when_you_are_old.txt",
    "chars": 859,
    "preview": "====\nbe1\n\nWHEN you are old and gray and full of sleep\n   -> of3\n\n====\nto2\n\nHow many loved your moments of glad grace, \n "
  },
  {
    "path": "the_castaway.txt",
    "chars": 2163,
    "preview": "Obscurest night involv'd the sky,\nTh' Atlantic billows roar'd,\nWhen such a destin'd wretch as I,\nWash'd headlong from on"
  },
  {
    "path": "undo-bad.txt",
    "chars": 55,
    "preview": "Name\nColor\nPlace\nShow\nMovie\nBook\n----------\nName\nColor\n"
  },
  {
    "path": "undo.txt",
    "chars": 172,
    "preview": "First Name:\nLast Name:\nA Favorite Color:\nA Favorite Place:\nA Favorite TV Show:\nA Favorite Movie:\nA Favorite Book:\nA Favo"
  },
  {
    "path": "users-update.sql",
    "chars": 319,
    "preview": "-- insert into db01.users (username, password) values ('jack', 'changeme');\n-- update db01.users set password='changeme'"
  },
  {
    "path": "users.sql",
    "chars": 251,
    "preview": "-- insert into db01.users (username, password) values ('jack', 'changeme');\n--password,username,db\nchangeme,jack,db01\npa"
  },
  {
    "path": "variables.php",
    "chars": 535,
    "preview": "authenticate($key, $secret, $uri, CONSTANT);\nauthenticate($word, $sec, $url, OTHER_CONST);\nauthenticate($name, $srt, $li"
  },
  {
    "path": "wordmaze.txt",
    "chars": 669,
    "preview": "WORD WORD      WORD WORD WORD      WORD                  \n     WORD WORD WORD      WORD      WORD WORD WORD WORD\n       "
  },
  {
    "path": "yank-delimited.txt",
    "chars": 741,
    "preview": "(There is a )\nplace where the sidewalk ends\n\"And before the \"\nstreet begins,\n{And there }\nthe grass grows soft and white"
  },
  {
    "path": "yanking.txt",
    "chars": 761,
    "preview": "1 2 3 4 YANK THESE FOUR WORDS 5 6\n   put inside here -> ()\nYANK THIS WHOLE LINE NO NEWLINE\n   put inside here -> ()\nYANK"
  }
]

About this extraction

This page contains the full source code of the steveshogren/10-minute-vim-exercises GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 69 files (69.8 KB), approximately 21.3k tokens, and a symbol index with 6 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!