From ca68c65f85e5e0745dc5537f5ff5beb6e1c15f7e Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Wed, 4 Jan 2017 15:40:01 -0600 Subject: [PATCH] initial commit --- Eudyptula Challenge.wiki | 8 +++ Formatting Cheat Sheet.wiki | 92 +++++++++++++++++++++++++++++ Hello World.wiki | 36 +++++++++++ Vimwiki.wiki | 65 ++++++++++++++++++++ html-template/index.html | 115 ++++++++++++++++++++++++++++++++++++ index.wiki | 12 ++++ 6 files changed, 328 insertions(+) create mode 100644 Eudyptula Challenge.wiki create mode 100644 Formatting Cheat Sheet.wiki create mode 100644 Hello World.wiki create mode 100644 Vimwiki.wiki create mode 100644 html-template/index.html create mode 100644 index.wiki diff --git a/Eudyptula Challenge.wiki b/Eudyptula Challenge.wiki new file mode 100644 index 0000000..0782547 --- /dev/null +++ b/Eudyptula Challenge.wiki @@ -0,0 +1,8 @@ += Eudyptula Challenge = + +From the [[http://eudyptula-challenge.org/|Eudyptula Challenge website]]: + "The Eudyptula Challenge is a series of programming exercises for the Linux kernel, that start from a very basic "Hello world" kernel module, moving on up in complexity to getting patches accepted into the main Linux kernel source tree." + +== Tasks == + +1. [[Hello World]] diff --git a/Formatting Cheat Sheet.wiki b/Formatting Cheat Sheet.wiki new file mode 100644 index 0000000..645b285 --- /dev/null +++ b/Formatting Cheat Sheet.wiki @@ -0,0 +1,92 @@ += Formatting Cheat Sheet = + += Header1 = +== Header2 == +=== Header3 === + + +*bold* -- bold text + +_italic_ -- italic text + +~~strikeout~~ -- strikeout text + +`code without syntax` + +super^script^ + +sub,,script,, + +[[wiki link]] -- wiki link + +[[wiki link|description]] -- wiki link with description + +== Lists == + +* bullet list item 1 + - bullet list item 2 + - bullet list item 3 + * bullet list item 4 + * bullet list item 5 +* bullet list item 6 +* bullet list item 7 + - bullet list item 8 + - bullet list item 9 + +1. numbered list item 1 +2. numbered list item 2 + a) numbered list item 3 + b) numbered list item 4 + +* [ ] Unchecked item 1 +* [X] Checked item 2 + +== Definitions == + +Term 1:: Definition 1 +Term 2:: +:: Definition 2 +:: Definition 3 + +== Tables == + +| Column 1 | Column 2 | Column 3 | +| --------------------- | ----------------------------------- | -------- | +| Data 1 | Data 2 | Data 3 | +| this takes rows below | this takes the next collumn as well | > | +| \/ | > | > | +| Data 4 | | | + +== Preformatted Text == + +Without syntax highlighting + +{{{ +Here is some text + there is some text + }}} + +With syntax highlighting +{{{class="prettyprint lang-python linenums" > + def hello(world): + for x in range(10): + print("Hello {0} number {1}".format(world, x)) +}}} + +== Blockquotes == + + Text that starts with 4 or more spaces is a Blockquote. + It won't be highlighted in Vim, but will be styled + on the HTML site. + +== Comments == + +A line that starts with `%%` won't show up in the HTML page + +%% This is a comment and will be skipped when rendering to HTML + +== Horizontal line == + +---- + + diff --git a/Hello World.wiki b/Hello World.wiki new file mode 100644 index 0000000..8cfb8a2 --- /dev/null +++ b/Hello World.wiki @@ -0,0 +1,36 @@ += Hello World = +=== Eudyptula Challenge: Task 1 === + +== Task Description == + +{{{ +This is Task 01 of the Eudyptula Challenge +------------------------------------------ + +Write a Linux kernel module, and stand-alone Makefile, that when loaded +prints to the kernel debug log level, "Hello World!" Be sure to make +the module able to be unloaded as well. + +The Makefile should be able to build the kernel module against the +source of the currently-running kernel as well as being able to accept +an arbitrary kernel sources directory from an environment variable. + +Please show proof of this module being built, and running, in your +kernel. What this proof is is up to you. I'm sure you can come up with +something. Also be sure to send the kernel module you wrote, along with +the Makefile you created to build the module. +}}} + +== Breakdown == +* [X] Create Module that prints `Hello World!` to the kernel debug log level +* [X] Create Makefile to build your module +* [ ] Provide proof of this module being built and running in your kernel + +== Final Product == + +{{{class="prettyprint linenums" > + +}}} + +== Notes == + diff --git a/Vimwiki.wiki b/Vimwiki.wiki new file mode 100644 index 0000000..fa89884 --- /dev/null +++ b/Vimwiki.wiki @@ -0,0 +1,65 @@ += Vimwiki = + +== TODO == +* [ ] Commit to a repository +* [ ] Setup remote to host +* [ ] Setup remote to automatically `:VimwikiAll2HTML` after it's been pushed to + +== HTML Checkboxes == + +By default, there is no difference between how a non-checkbox list item, unchecked list item, and a checked list item are displayed when exported to HTML. + +There are 5 states of a checkbox, 0-4, and they each represent a different level of completeness. This is mainly for checklist items with children. + +Checkbox states: + +| # | % Complete | li class | Unicode character | Escape sequence | HTML code | +|---|------------|----------|-------------------|-----------------|------------| +| 0 | 0% | `done0` | ◯ | `\u25EF` | `◯` | +| 1 | 1-33% | `done1` | ◔ | `\u25D4` | `◔` | +| 2 | 34-66% | `done2` | ◑ | `\u25D1` | `◑` | +| 3 | 67-99% | `done3` | ◕ | `\u25D5` | `◕` | +| 4 | 100% | `done4` | ✔ | `\u2714` | `✔` | + +Now, in order to use these in our HTML, we just have to write a style for `ul li.doneX:before` in our header like so: + +{{{class="prettyprint linenums" > + +}}} + + +Now here's a few test lists: + +* [ ] Unfinished item +* [X] Finished item +* [.] Parent item 1 + * [X] Child item 1 + * [ ] Child item 2 + * [ ] Child item 3 + * [ ] Child item 4 +* [o] Parent item 2 + * [X] Child item 1 + * [X] Child item 2 + * [ ] Child item 3 + * [ ] Child item 4 +* [O] Parent item 3 + * [X] Child item 1 + * [X] Child item 2 + * [X] Child item 3 + * [ ] Child item 4 +* [X] Parent item 4 + * [X] Child item 1 + * [X] Child item 2 + * [X] Child item 3 + * [X] Child item 4 +* [ ] Parent item 5 + * [ ] Child item 1 + * [ ] Child item 2 + * [ ] Child item 3 + * [ ] Child item 4 diff --git a/html-template/index.html b/html-template/index.html new file mode 100644 index 0000000..078737e --- /dev/null +++ b/html-template/index.html @@ -0,0 +1,115 @@ + + + + %title% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + %content% +
+
+
+ + diff --git a/index.wiki b/index.wiki new file mode 100644 index 0000000..f480343 --- /dev/null +++ b/index.wiki @@ -0,0 +1,12 @@ += My Knowledge Base = + +=== Projects === + +* [[Vimwiki]] -- This very wiki, and how it's hosted +* [[Eudyptula Challenge]] +* Cgit -- Configuration and hosing of [[https://git.thurstylark.com/|git.thurstylark.com]] + +=== General === + * [[Tasks]] -- Things to be done _yesterday_ + * [[Formatting Cheat Sheet]] +