initial commit

This commit is contained in:
David Thurstenson 2017-01-04 15:40:01 -06:00
commit ca68c65f85
6 changed files with 328 additions and 0 deletions

8
Eudyptula Challenge.wiki Normal file
View File

@ -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]]

View File

@ -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 ==
----

36
Hello World.wiki Normal file
View File

@ -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 ==

65
Vimwiki.wiki Normal file
View File

@ -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" >
<style>
ul li.done0:before {content: '\25EF';}
ul li.done1:before {content: '\25D4';}
ul li.done2:before {content: '\25D1';}
ul li.done3:before {content: '\25D5';}
ul li.done4:before {content: '\2714';}
</style>
}}}
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

115
html-template/index.html Normal file
View File

@ -0,0 +1,115 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>%title%</title>
<meta name="application-name" content="netdata">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!--bootstrap stuff start-->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Slate theme -->
<link rel="stylesheet" href="http://bootswatch.com/slate/bootstrap.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!--bootstrap stuff end-->
<!--Google Syntax Highlighting-->
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js?skin=sons-of-obsidian"></script>
<!--Checkbox list tweaks-->
<style>
ul li.done0:before {content: '\25EF';}
ul li.done1:before {content: '\25D4';}
ul li.done2:before {content: '\25D1';}
ul li.done3:before {content: '\25D5';}
ul li.done4:before {content: '\2714';}
</style>
</head>
<body>
<nav class="navbar navbar-default">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="%root_path%index.html">Thurstylark Wiki</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active"><a href="%root_path%index.html">Wiki <span class="sr-only">(current)</span></a></li>
<li><a href="#">Link</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">Separated link</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">One more separated link</a></li>
</ul>
</li>
</ul>
<form class="navbar-form navbar-left">
<div class="form-group">
<input type="text" class="form-control" placeholder="Search">
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Link</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<div class="container-fluid">
<br/>
<div class="row">
<div class="col-md-8 col-md-offset-2">
<!-- <div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">%title%</h3>
</div>
<div class="panel-body">
%content%
</div>
</div> <!--panel-->
%content%
</div> <!--col-md-8 -->
</div> <!-- row -->
</div><!--container-fluid-->
</body>
</html>

12
index.wiki Normal file
View File

@ -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]]