diff --git a/Art/index.md b/Art/index.md deleted file mode 100644 index bcdfadbc..00000000 --- a/Art/index.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -layout: default -title: Photoshop/Gimp -project-category: Photoshop/Gimp ---- - -# Photoshop/Gimp -Graphic Design. - -#### Digital Drawing - -I also like making digital art! In particular, space-scapes. Here's a portfolio of pieces I've made in various medias. - -![](./drawing-assets/bg.jpg) ![](./drawing-assets/lightbulb_2.png) ![](./drawing-assets/planet 1.jpg) ![](./drawing-assets/planet 8.jpg) ![](./drawing-assets/planet 10.jpg) diff --git a/_config.yml b/_config.yml index c5e6cd71..b740c715 100644 --- a/_config.yml +++ b/_config.yml @@ -2,5 +2,8 @@ name: The Paper Pilot markdown: kramdown kramdown: input: GFM -permalink: /:title -project-categories: [Java, Photoshop/Gimp, Other] +permalink: /:title/ +paginate: 5 +gems: [jekyll-paginate] +collections: + content: diff --git a/_content/kiosk/kiosk-asset0.md b/_content/kiosk/kiosk-asset0.md new file mode 100644 index 00000000..57174711 --- /dev/null +++ b/_content/kiosk/kiosk-asset0.md @@ -0,0 +1,5 @@ +--- +layout: default +title: Kiosk Picture 1 +--- +![](/assets/kiosk-assets/0.jpeg) diff --git a/_content/kiosk/kiosk-asset1.md b/_content/kiosk/kiosk-asset1.md new file mode 100644 index 00000000..3c2814d0 --- /dev/null +++ b/_content/kiosk/kiosk-asset1.md @@ -0,0 +1,5 @@ +--- +layout: default +title: Kiosk Picture 2 +--- +![](/assets/kiosk-assets/1.jpeg) diff --git a/_content/kiosk/kiosk-asset2.md b/_content/kiosk/kiosk-asset2.md new file mode 100644 index 00000000..338d4b6f --- /dev/null +++ b/_content/kiosk/kiosk-asset2.md @@ -0,0 +1,5 @@ +--- +layout: default +title: Kiosk Picture 3 +--- +![](/assets/kiosk-assets/2.jpeg) diff --git a/_content/kiosk/kiosk-asset3.md b/_content/kiosk/kiosk-asset3.md new file mode 100644 index 00000000..f4ef0f7a --- /dev/null +++ b/_content/kiosk/kiosk-asset3.md @@ -0,0 +1,5 @@ +--- +layout: default +title: Kiosk Picture 4 +--- +![](/assets/kiosk-assets/3.jpeg) diff --git a/_content/kiosk/kiosk-asset4.md b/_content/kiosk/kiosk-asset4.md new file mode 100644 index 00000000..2d34ae30 --- /dev/null +++ b/_content/kiosk/kiosk-asset4.md @@ -0,0 +1,5 @@ +--- +layout: default +title: Kiosk Picture 5 +--- +![](/assets/kiosk-assets/4.jpeg) diff --git a/_content/kiosk/kiosk-asset5.md b/_content/kiosk/kiosk-asset5.md new file mode 100644 index 00000000..38a6c018 --- /dev/null +++ b/_content/kiosk/kiosk-asset5.md @@ -0,0 +1,5 @@ +--- +layout: default +title: Kiosk Picture 6 +--- +![](/assets/kiosk-assets/5.jpeg) diff --git a/Other/index.md b/_content/kiosk/kiosk.md similarity index 51% rename from Other/index.md rename to _content/kiosk/kiosk.md index a1f5c7f3..89905dfd 100644 --- a/Other/index.md +++ b/_content/kiosk/kiosk.md @@ -1,16 +1,7 @@ --- layout: default -title: Other -project-category: Other +title: Computer Science Kiosk --- - -# Other -Miscellaneous projects, or things that deal with more than just a single programming language - -#### Computer Science Kiosk [Source Code](https://github.com/thepaperpilot/Computer-Science-Kiosk) - This is an open source program for a kiosk that will teach students the basics of computer science. It was initiated as a part of Anthony Lawn’s Eagle Scout Project, which was to build such a kiosk to place in the Quail Valley Middle School library. The kiosk uses Scratch as a teaching tool for students, and provides resources such as code.org that help interested students pursue Computer Science. - -![](./kiosk-assets/0.jpeg) ![](./kiosk-assets/1.jpeg) ![](./kiosk-assets/2.jpeg) ![](./kiosk-assets/3.jpeg) ![](./kiosk-assets/4.jpeg) ![](./kiosk-assets/5.jpeg) diff --git a/_content/markov.html b/_content/markov.html new file mode 100644 index 00000000..a8136834 --- /dev/null +++ b/_content/markov.html @@ -0,0 +1,32 @@ +--- +layout: default +nocard: true +title: Markov Chains +--- + + +
+ + + +
+ +
+ you → + VS + ← me +
+

Computer Wins

+
+ +
+

Stats

+ computer wins: 0
+  expected: 0

+ player wins: 0
+  expected: 0

+ ties: 0
+  expected: 0
+
+ + diff --git a/_content/portfolio/portfolio-asset1.md b/_content/portfolio/portfolio-asset1.md new file mode 100644 index 00000000..7115399a --- /dev/null +++ b/_content/portfolio/portfolio-asset1.md @@ -0,0 +1,5 @@ +--- +layout: default +title: Digital Drawing 1 +--- +![](/assets/portfolio-assets/1.jpeg) diff --git a/_content/portfolio/portfolio-asset2.md b/_content/portfolio/portfolio-asset2.md new file mode 100644 index 00000000..71583d6c --- /dev/null +++ b/_content/portfolio/portfolio-asset2.md @@ -0,0 +1,5 @@ +--- +layout: default +title: Digital Drawing 2 +--- +![](/assets/portfolio-assets/2.png) diff --git a/_content/portfolio/portfolio-asset3.md b/_content/portfolio/portfolio-asset3.md new file mode 100644 index 00000000..f8872def --- /dev/null +++ b/_content/portfolio/portfolio-asset3.md @@ -0,0 +1,5 @@ +--- +layout: default +title: Digital Drawing 3 +--- +![](/assets/portfolio-assets/3.jpeg) diff --git a/_content/portfolio/portfolio-asset4.md b/_content/portfolio/portfolio-asset4.md new file mode 100644 index 00000000..5b30b81e --- /dev/null +++ b/_content/portfolio/portfolio-asset4.md @@ -0,0 +1,5 @@ +--- +layout: default +title: Digital Drawing 4 +--- +![](/assets/portfolio-assets/4.jpeg) diff --git a/_content/portfolio/portfolio-asset5.md b/_content/portfolio/portfolio-asset5.md new file mode 100644 index 00000000..16863172 --- /dev/null +++ b/_content/portfolio/portfolio-asset5.md @@ -0,0 +1,5 @@ +--- +layout: default +title: Digital Drawing 5 +--- +![](/assets/portfolio-assets/5.jpeg) diff --git a/_content/test.md b/_content/test.md new file mode 100644 index 00000000..169b407f --- /dev/null +++ b/_content/test.md @@ -0,0 +1,5 @@ +--- +layout: default +title: Test Content +--- +![cat wallpaper](https://newevolutiondesigns.com/images/freebies/cool-wallpaper-1.jpg) diff --git a/_content/todo.md b/_content/todo.md new file mode 100644 index 00000000..edc64c66 --- /dev/null +++ b/_content/todo.md @@ -0,0 +1,37 @@ +--- +layout: default +title: todo.md +--- +# todo.md + +Hello! This is a tool for making todo lists that uses [markdown](https://daringfireball.net/projects/markdown/) to render everything. + +Basically, you can take your notes in a nice plaintext format, which makes it easy to version control, sync, etc., but keep the benefits of _rich_ **text** and 😀s and tables and things. + +But this tool has other features, to make it more useful as a todo list. Basically headings can become drop-downs so you can more easily browse through your list, and there are sorting and filtering tools that allow you to control which items show up and their order. + +Also, a side note: While testing I was finding the typing fairly unresponsive when working with a large todo file, and eventually discovered it was grammarly that was at fault, not my stuff. So you might want to tell it not to work on this site, or just deal with the input lag/keep your todo list small. Of course, any other extensions that need to work as you type will probably have similar effects. + +While you can organized the list however you want, here's an example of how I use it and recommend it be used: + +## Example Heading + +- Welcome the world! `DUE:1969-10-29` `@WWW` `+DOD` `+ARPA` + +### Sub-Heading + +- Get started on the next project! + +## TODO + +- Publish todo.md! `@HOME` `+HIGH` + + - Make an app? + - Allow support for opening arbitrary markdown files + - Make it so you can create "todo.md" files from Drive + +- Fix bugs + + - Showdown only supports nested lists up to 2 layers deep. Since my personal todo.md has some 3-layered lists, this bugs me. + +> Note: This is just an example of a "bug" I don't think will be fixed soon. Real bugs should be put into the bug tracker diff --git a/_layouts/default.html b/_layouts/default.html index f98f43ed..6097645b 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -4,6 +4,7 @@ {{ page.title }} + @@ -32,31 +33,66 @@ - +
+ +
+

{{ page.title }}

+ +
-
+ {% if page.cards %} + {% for card in page.cards %} + {% for page in site.content %} + {% if page.title == card %} + {% if page.nocard %} + {{ page.content }} + {% else %} +
+ {{ page.content }} +
+ {% endif %} + {% endif %} + {% endfor %} + {% endfor %} + {% elsif page.nocard %} + {{ content }} + {% else %} +
+ {{ content }} +
+ {% endif %} - {{ content }} + {% if page.links %} +
+
    + {% for link in page.links %} + {% assign split = link | split: "|" %} +
  • {{ split[0] }}
  • + {% endfor %} +
+
+ {% endif %} + {% if page.tags.size > 0 %} +
+
    +
  • tags:
  • + {% for tag in page.tags %} +
  • {{ tag }}
  • + {% endfor %} +
+
+ {% endif %} + +
- - diff --git a/_posts/2014-04-13-kiosk.md b/_posts/2014-04-13-kiosk.md new file mode 100644 index 00000000..7d8dbba9 --- /dev/null +++ b/_posts/2014-04-13-kiosk.md @@ -0,0 +1,8 @@ +--- +layout: default +title: Computer Science Kiosk +cards: [Computer Science Kiosk, Kiosk Picture 1, Kiosk Picture 2, Kiosk Picture 3, Kiosk Picture 4, Kiosk Picture 5, Kiosk Picture 6] +links: ["Source Code|https://github.com/thepaperpilot/Computer-Science-Kiosk"] +tags: [java, libgdx] +--- +This is an open source program for a kiosk that will teach students the basics of computer science. It was initiated as a part of Anthony Lawn’s Eagle Scout Project, which was to build such a kiosk to place in the Quail Valley Middle School library. diff --git a/_posts/2015-06-23-portfolio.md b/_posts/2015-06-23-portfolio.md new file mode 100644 index 00000000..2f1d6c06 --- /dev/null +++ b/_posts/2015-06-23-portfolio.md @@ -0,0 +1,7 @@ +--- +layout: default +title: Digital Drawing +cards: [Digital Drawing 1, Digital Drawing 2, Digital Drawing 3, Digital Drawing 4, Digital Drawing 5] +tags: [photoshop] +--- +I also like making digital art! In particular, space-scapes. Here's a portfolio of pieces I've made in various medias. diff --git a/_posts/2016-06-30-markov.md b/_posts/2016-06-30-markov.md new file mode 100644 index 00000000..3f02d3b7 --- /dev/null +++ b/_posts/2016-06-30-markov.md @@ -0,0 +1,7 @@ +--- +layout: default +title: Markov Chains +cards: [Markov Chains] +tags: [web] +--- +A rock paper scissors game using markov chains to predict the player's pick. Due to the limitations of markov chains, it's not really good. But I feel it's at least better than RNG, since *if* the player uses a simple pattern, the chain will figure it out. diff --git a/_posts/2016-08-28-todo.md b/_posts/2016-08-28-todo.md new file mode 100644 index 00000000..cd6cec8c --- /dev/null +++ b/_posts/2016-08-28-todo.md @@ -0,0 +1,10 @@ +--- +layout: default +title: todo.md +cards: [todo.md] +links: ["Source Code|https://github.com/thepaperpilot/todo.md"] +tags: [web, python] +--- +todo.md is a web app for listing things to do in _beautiful_ **markdown**. Using a plaintext standard makes your todo list easy to version control, sync, and of course independent of the tool you use. + +This app specifically adds features like filtering and collapsing to allow you to more easily read and act upon even the largest of todo lists- and best of all? It's all automatically synced to Google Drive so you can access your list from any device, anywhere. diff --git a/Other/kiosk-assets/0.jpeg b/assets/kiosk-assets/0.jpeg similarity index 100% rename from Other/kiosk-assets/0.jpeg rename to assets/kiosk-assets/0.jpeg diff --git a/Other/kiosk-assets/1.jpeg b/assets/kiosk-assets/1.jpeg similarity index 100% rename from Other/kiosk-assets/1.jpeg rename to assets/kiosk-assets/1.jpeg diff --git a/Other/kiosk-assets/2.jpeg b/assets/kiosk-assets/2.jpeg similarity index 100% rename from Other/kiosk-assets/2.jpeg rename to assets/kiosk-assets/2.jpeg diff --git a/Other/kiosk-assets/3.jpeg b/assets/kiosk-assets/3.jpeg similarity index 100% rename from Other/kiosk-assets/3.jpeg rename to assets/kiosk-assets/3.jpeg diff --git a/Other/kiosk-assets/4.jpeg b/assets/kiosk-assets/4.jpeg similarity index 100% rename from Other/kiosk-assets/4.jpeg rename to assets/kiosk-assets/4.jpeg diff --git a/Other/kiosk-assets/5.jpeg b/assets/kiosk-assets/5.jpeg similarity index 100% rename from Other/kiosk-assets/5.jpeg rename to assets/kiosk-assets/5.jpeg diff --git a/Art/drawing-assets/bg.jpg b/assets/portfolio-assets/1.jpeg similarity index 100% rename from Art/drawing-assets/bg.jpg rename to assets/portfolio-assets/1.jpeg diff --git a/Art/drawing-assets/lightbulb_2.png b/assets/portfolio-assets/2.png similarity index 100% rename from Art/drawing-assets/lightbulb_2.png rename to assets/portfolio-assets/2.png diff --git a/Art/drawing-assets/planet 1.jpg b/assets/portfolio-assets/3.jpeg similarity index 100% rename from Art/drawing-assets/planet 1.jpg rename to assets/portfolio-assets/3.jpeg diff --git a/Art/drawing-assets/planet 8.jpg b/assets/portfolio-assets/4.jpeg similarity index 100% rename from Art/drawing-assets/planet 8.jpg rename to assets/portfolio-assets/4.jpeg diff --git a/Art/drawing-assets/planet 10.jpg b/assets/portfolio-assets/5.jpeg similarity index 100% rename from Art/drawing-assets/planet 10.jpg rename to assets/portfolio-assets/5.jpeg diff --git a/css/main.css b/css/main.css index 3538711e..d3bf9921 100644 --- a/css/main.css +++ b/css/main.css @@ -1,25 +1,74 @@ -/* Based off of https://github.com/markdowncss/retro */ - nav { - text-align: center; - padding-top: 24px; + text-align: center; + color: #fff; + width: 90%; + max-width: 900px; + margin: auto; +} + +nav a, nav a:visited { + color: #fff; + font-weight: normal; } nav ul, footer ul { - padding: 0; - list-style: none; - font-weight: bold; - display: inline; - text-align: center; + padding: 0; + display: inline; + font-weight: bold; + list-style: none; + text-align: center; } nav ul li, footer ul li { - display: table-cell; - vertical-align: middle; - padding-right: 8px; - padding-left: 8px; - width: 200px; - white-space: nowrap; + display: inline-block; + vertical-align: middle; + white-space: nowrap; + padding-right: 8px; + padding-left: 8px; +} + +.inline { + list-style: none; + text-align: center; + display: inline; + font-weight: bold; +} + +.inline li { + display: inline-block; + padding-right: 8px; + padding-left: 8px; +} + +footer { + font-size: .8em; + width: 90%; + max-width: 900px; + margin: auto; + margin-top: 20px; + padding-bottom: 10px; +} + +a, a:visited { + color: teal; + text-decoration: none; +} + +a:hover, a:focus, a:active { + color: turquoise !important; + outline: 0; +} + +html { + width:100%; + height: 100%; + background-color: #eee; +} + +body { + background: transparent; + margin: 0; + padding: 0; } .home { @@ -36,220 +85,94 @@ nav ul li, footer ul li { transform: scale(2); } -footer { - font-size: .8em; - text-align: center; +.head { + background: #ccc; + background: linear-gradient(to bottom right, teal, turquoise); + padding: 20px; + padding-bottom: 90px; + margin-bottom: -100px; + text-align: center; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); } -pre, -code { - font-family: Menlo, Monaco, "Courier New", monospace; +.head h1 { + color: #fff; + font-size: 2em; + width: 90%; + max-width: 900px; + margin: auto; + margin-top: 80px; + border-bottom: 1px solid; } -pre { - padding: .5rem; - line-height: 1.25; - overflow-x: scroll; +h1 { + cursor: pointer; } -@media print { - *, - *:before, - *:after { - background: transparent !important; - color: #000 !important; - box-shadow: none !important; - text-shadow: none !important; - } - - a, - a:visited { - text-decoration: none; - } - - a[href]:after { - content: " (" attr(href) ")"; - } - - abbr[title]:after { - content: " (" attr(title) ")"; - } - - a[href^="#"]:after, - a[href^="javascript:"]:after { - content: ""; - } - - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - - thead { - display: table-header-group; - } - - tr, - img { - page-break-inside: avoid; - } - - img { - max-width: 100% !important; - } - - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - - h2, - h3 { - page-break-after: avoid; - } +.card { + background: #fff; + border-radius: 2px; + width: 90%; + max-width: 940px; + margin: auto; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); + padding: 20px; } -a, -a:visited { - color: #01ff70; - text-decoration: none; +.cite { + width: 90%; + max-width: 940px; + margin: auto; + position: relative; } -a:hover, -a:focus, -a:active { - color: #2ecc40; +.card, .cite { + margin-top: 20px; } -.retro-no-decoration { - text-decoration: none; +.cite .card { + transition: all 0.3s cubic-bezier(.25, .8, .25, 1); + width: 100%; + margin-left: -20px; } -html { - font-size: 12px; +.card:hover { + box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22); } -@media screen and (min-width: 32rem) and (max-width: 48rem) { - html { - font-size: 15px; - } -} - -@media screen and (min-width: 48rem) { - html { - font-size: 16px; - } -} - -body { - line-height: 1.85; -} - -p, -.retro-p { - font-size: 1rem; - margin-bottom: 1.3rem; -} - -h1, -.retro-h1, -h2, -.retro-h2, -h3, -.retro-h3, -h4, -.retro-h4 { - margin: 1.414rem 0 .5rem; - font-weight: inherit; - line-height: 1.42; -} - -h1, -.retro-h1 { - margin-top: 0; - font-size: 3.998rem; -} - -h2, -.retro-h2 { - font-size: 2.827rem; -} - -h3, -.retro-h3 { - font-size: 1.999rem; -} - -h4, -.retro-h4 { - font-size: 1.414rem; -} - -h5, -.retro-h5 { - font-size: 1.121rem; -} - -h6, -.retro-h6 { - font-size: .88rem; -} - -small, -.retro-small { - font-size: .707em; -} - -/* https://github.com/mrmrs/fluidity */ - -canvas, -iframe, -video, -svg, -select, -textarea { - max-width: 100%; +table { + margin: auto; } img { - max-width: 30%; + margin: auto; + display: block; } -html, -body { - background-color: #222; - min-height: 100%; +.collection { + border-radius:2px; + overflow:hidden; + position:relative } -html { - font-size: 18px; +.collection .collection-item { + background-color:#fff; + line-height:1.5rem; + padding:10px 20px; + margin:0; + border-bottom:1px solid #e0e0e0 } -.container { - max-width: 48rem; - margin: 6rem auto 1rem; - padding: .25rem; +.collection .collection-item:last-child { + border-bottom:none } -body { - color: #fafafa; - font-family: "Courier New"; - line-height: 1.45; +.collection a.collection-item { + display:block; + transition:.25s; + color:#26a69a } -pre { - background-color: #333; -} - -blockquote { - border-left: 3px solid #01ff70; - padding-left: 1rem; -} - -hr { - border:0; - border-top: dashed 2px; +.collection a.collection-item:not(.active):hover { + background-color:#ddd } diff --git a/css/markdown7.css b/css/markdown7.css new file mode 100644 index 00000000..b70ed815 --- /dev/null +++ b/css/markdown7.css @@ -0,0 +1,290 @@ +/* Source: https://github.com/jasonm23/markdown-css-themes */ +body { + font-family: Helvetica, arial, sans-serif; + font-size: 14px; + line-height: 1.6; + padding-top: 10px; + padding-bottom: 10px; + background-color: white; + padding: 30px; } + +body > *:first-child { + margin-top: 0 !important; } +body > *:last-child { + margin-bottom: 0 !important; } + +a { + color: #4183C4; } +a.absent { + color: #cc0000; } +a.anchor { + display: block; + padding-left: 30px; + margin-left: -30px; + cursor: pointer; + position: absolute; + top: 0; + left: 0; + bottom: 0; } + +h1, h2, h3, h4, h5, h6 { + margin: 20px 0 10px; + padding: 0; + font-weight: bold; + -webkit-font-smoothing: antialiased; + cursor: text; + position: relative; } + +h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor, h5:hover a.anchor, h6:hover a.anchor { + text-decoration: none; } + +h1 tt, h1 code { + font-size: inherit; } + +h2 tt, h2 code { + font-size: inherit; } + +h3 tt, h3 code { + font-size: inherit; } + +h4 tt, h4 code { + font-size: inherit; } + +h5 tt, h5 code { + font-size: inherit; } + +h6 tt, h6 code { + font-size: inherit; } + +h1 { + font-size: 28px; + color: black; } + +h2 { + font-size: 24px; + border-bottom: 1px solid #cccccc; + color: black; } + +h3 { + font-size: 18px; } + +h4 { + font-size: 16px; } + +h5 { + font-size: 14px; } + +h6 { + color: #777777; + font-size: 14px; } + +p, blockquote, ul, ol, dl, li, table, pre { + margin: 15px 0; } + +hr { + border: 0 none; + color: #cccccc; + height: 4px; + padding: 0; +} + +body > h2:first-child { + margin-top: 0; + padding-top: 0; } +body > h1:first-child { + margin-top: 0; + padding-top: 0; } +body > h1:first-child + h2 { + margin-top: 0; + padding-top: 0; } +body > h3:first-child, body > h4:first-child, body > h5:first-child, body > h6:first-child { + margin-top: 0; + padding-top: 0; } + +a:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 { + margin-top: 0; + padding-top: 0; } + +h1 p, h2 p, h3 p, h4 p, h5 p, h6 p { + margin-top: 0; } + +li p.first { + display: inline-block; } +li { + margin: 0; } +ul, ol { + padding-left: 30px; } + +ul :first-child, ol :first-child { + margin-top: 0; } + +dl { + padding: 0; } +dl dt { + font-size: 14px; + font-weight: bold; + font-style: italic; + padding: 0; + margin: 15px 0 5px; } +dl dt:first-child { + padding: 0; } +dl dt > :first-child { + margin-top: 0; } +dl dt > :last-child { + margin-bottom: 0; } +dl dd { + margin: 0 0 15px; + padding: 0 15px; } +dl dd > :first-child { + margin-top: 0; } +dl dd > :last-child { + margin-bottom: 0; } + +blockquote { + border-left: 4px solid #dddddd; + padding: 0 15px; + color: #777777; } +blockquote > :first-child { + margin-top: 0; } +blockquote > :last-child { + margin-bottom: 0; } + +table { + padding: 0;border-collapse: collapse; } +table tr { + border-top: 1px solid #cccccc; + background-color: white; + margin: 0; + padding: 0; } +table tr:nth-child(2n) { + background-color: #f8f8f8; } +table tr th { + font-weight: bold; + border: 1px solid #cccccc; + margin: 0; + padding: 6px 13px; } +table tr td { + border: 1px solid #cccccc; + margin: 0; + padding: 6px 13px; } +table tr th :first-child, table tr td :first-child { + margin-top: 0; } +table tr th :last-child, table tr td :last-child { + margin-bottom: 0; } + +img { + max-width: 100%; } + +span.frame { + display: block; + overflow: hidden; } +span.frame > span { + border: 1px solid #dddddd; + display: block; + float: left; + overflow: hidden; + margin: 13px 0 0; + padding: 7px; + width: auto; } +span.frame span img { + display: block; + float: left; } +span.frame span span { + clear: both; + color: #333333; + display: block; + padding: 5px 0 0; } +span.align-center { + display: block; + overflow: hidden; + clear: both; } +span.align-center > span { + display: block; + overflow: hidden; + margin: 13px auto 0; + text-align: center; } +span.align-center span img { + margin: 0 auto; + text-align: center; } +span.align-right { + display: block; + overflow: hidden; + clear: both; } +span.align-right > span { + display: block; + overflow: hidden; + margin: 13px 0 0; + text-align: right; } +span.align-right span img { + margin: 0; + text-align: right; } +span.float-left { + display: block; + margin-right: 13px; + overflow: hidden; + float: left; } +span.float-left span { + margin: 13px 0 0; } +span.float-right { + display: block; + margin-left: 13px; + overflow: hidden; + float: right; } +span.float-right > span { + display: block; + overflow: hidden; + margin: 13px auto 0; + text-align: right; } + +code, tt { + margin: 0 2px; + padding: 0 5px; + white-space: nowrap; + border: 1px solid #eaeaea; + background-color: #f8f8f8; + border-radius: 3px; } + +pre code { + margin: 0; + padding: 0; + white-space: pre; + border: none; + background: transparent; } + +.highlight pre { + background-color: #f8f8f8; + border: 1px solid #cccccc; + font-size: 13px; + line-height: 19px; + overflow: auto; + padding: 6px 10px; + border-radius: 3px; } + +pre { + background-color: #f8f8f8; + border: 1px solid #cccccc; + font-size: 13px; + line-height: 19px; + overflow: auto; + padding: 6px 10px; + border-radius: 3px; } +pre code, pre tt { + background-color: transparent; + border: none; } + +sup { + font-size: 0.83em; + vertical-align: super; + line-height: 0; +} +* { + -webkit-print-color-adjust: exact; +} +@media print { + table, pre { + page-break-inside: avoid; + } + pre { + word-wrap: break-word; + } +} diff --git a/css/markov.css b/css/markov.css new file mode 100644 index 00000000..e8aeea02 --- /dev/null +++ b/css/markov.css @@ -0,0 +1,30 @@ +.button { + padding: .25em; + display: inline; + vertical-align: middle; + cursor: pointer; + cursor: hand; + font-size: 4em; +} + +.buttons { + text-align: center; + padding-top: 2em; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; +} + +#versus { + text-align: center; + display: none; + position:relative; +} + +html { + font-size: 18px; +} diff --git a/index.html b/index.html new file mode 100644 index 00000000..797e5e41 --- /dev/null +++ b/index.html @@ -0,0 +1,47 @@ +--- +layout: default +title: The Paper Pilot +nocard: true +--- +{% for post in site.posts %} +
+ +
+

{{ post.title }}

+ {{ post.content }} +
+
+ +
+{% endfor %} + +{% if paginator.total_pages > 1 %} +
+ {% if paginator.previous_page %} + « Prev + {% else %} + « Prev + {% endif %} + + {% for page in (1..paginator.total_pages) %} + {% if page == paginator.page %} + {{ page }} + {% elsif page == 1 %} + {{ page }} + {% else %} + {{ page }} + {% endif %} + {% endfor %} + + {% if paginator.next_page %} + Next » + {% else %} + Next » + {% endif %} +
+{% endif %} diff --git a/index.md b/index.md deleted file mode 100644 index 8915e66d..00000000 --- a/index.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -layout: default -title: The Paper Pilot -name: Home ---- -# Hello! -I'm Anthony Lawn, or "The Paper Pilot". My passion is computer science, which you can see from my history of software engineering and game development stretching across desktop, web, and mobile applications. I'm currently attending the University of Texas at Dallas, working towards a B.S. in Computer Science. - -I have experience with ActionScript, Bash script, CSS, HTML, Java, JavaScript, Python, and Ruby. Additionally, I can use Git, LaTeX, and Jekyll. I really like LaTeX and markdown for writing things, including this website. diff --git a/markov/index.html b/js/markov.js similarity index 63% rename from markov/index.html rename to js/markov.js index 49de8601..63c3a6bc 100644 --- a/markov/index.html +++ b/js/markov.js @@ -1,55 +1,3 @@ - - - - - Markov Chains are cool - - - - - - -
-
- - - -
-
-
- you → - VS - ← me -
- Computer Wins -
-
-
-
stats
- - computer wins: 0
-  expected: 0

- player wins: 0
-  expected: 0

- ties: 0
-  expected: 0
-
-
-
-
- - - - - - - diff --git a/markov/main.css b/markov/main.css deleted file mode 100644 index 1558654b..00000000 --- a/markov/main.css +++ /dev/null @@ -1,351 +0,0 @@ -.container { - margin: 0 auto 2rem; - padding: .25rem; - padding-bottom: 2em; -} -.button { - padding: .25em; - display: inline; - vertical-align: middle; - cursor: pointer; - cursor: hand; -} -.buttons { - text-align: center; - padding-top: 2em; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - -o-user-select: none; - user-select: none; -} -#versus { - text-align: center; - display: none; - position:relative; -} -.stats { - width: 50%; - margin: 0 auto; - position:relative; -} -footer ul { - padding: 0; - list-style: none; - font-weight: bold; - display: inline; - text-align: center; -} -footer ul li { - display: table-cell; - vertical-align: middle; - padding-right: 1em; - padding-left: 1em; - white-space: nowrap; -} -footer { - text-align: center; - position: absolute; - bottom: 0; - margin-bottom: 5px; - width: 100%; -} -a, a:visited { - color: #01ff70; - text-decoration: none; -} -a:hover, a:focus, a:active { - color: #2ecc40; -} -html { - font-size: 18px; - width: 100%; - height: 100%; - box-sizing: border-box; -} -*, *:before, *:after { - box-sizing: inherit; -} -body { - margin: 0; - position: relative; - color: #fafafa; - font-family: "Courier New"; - line-height: 1.45; -} -html, body { - background-color: #222; - min-height: 100%; -} -hr { - border: 0; - border-top: dashed 2px; -} -@media all and (min-width: 50px) { - .button { - font-size: .5em; - } - .large { - font-size: .25em; - } - body { - padding-bottom: 0.1em; - } - footer, .text { - font-size: 0.1em; - } -} -@media all and (min-width: 100px) { - .button { - font-size: 1em; - } - .large { - font-size: .5em; - } - body { - padding-bottom: 0.2em; - } - footer, .text { - font-size: 0.2em; - } -} -@media all and (min-width: 200px) { - .button { - font-size: 2em; - } - .large { - font-size: 1em; - } - body { - padding-bottom: 0.4em; - } - footer, .text { - font-size: 0.4em; - } -} -@media all and (min-width: 300px) { - .button { - font-size: 3em; - } - .large { - font-size: 1.5em; - } - body { - padding-bottom: 0.6em; - } - footer, .text { - font-size: 0.6em; - } -} -@media all and (min-width: 400px) { - .button { - font-size: 4em; - } - .large { - font-size: 2em; - } - body { - padding-bottom: 0.8em; - } - footer, .text { - font-size: 0.8em; - } -} -@media all and (min-width: 500px) { - .button { - font-size: 5em; - } - .large { - font-size: 2.5em; - } - body { - padding-bottom: 1.0em; - } - footer, .text { - font-size: 1.0em; - } -} -@media all and (min-width: 600px) { - .button { - font-size: 6em; - } - .large { - font-size: 3em; - } - body { - padding-bottom: 1.2em; - } - footer, .text { - font-size: 1.2em; - } -} -@media all and (min-width: 700px) { - .button { - font-size: 7em; - } - .large { - font-size: 3.5em; - } - body { - padding-bottom: 1.4em; - } - footer, .text { - font-size: 1.4em; - } -} -@media all and (min-width: 800px) { - .button { - font-size: 8em; - } - .large { - font-size: 4em; - } - body { - padding-bottom: 1.6em; - } - footer, .text { - font-size: 1.6em; - } -} -@media all and (min-width: 900px) { - .button { - font-size: 9em; - } - .large { - font-size: 4.5em; - } - body { - padding-bottom: 1.8em; - } - footer, .text { - font-size: 1.8em; - } -} -@media all and (min-width: 1000px) { - .button { - font-size: 10em; - } - .large { - font-size: 5em; - } - body { - padding-bottom: 2.0em; - } - footer, .text { - font-size: 2.0em; - } -} -@media all and (min-width: 1100px) { - .button { - font-size: 11em; - } - .large { - font-size: 5.5em; - } - body { - padding-bottom: 2.2em; - } - footer, .text { - font-size: 2.2em; - } -} -@media all and (min-width: 1200px) { - .button { - font-size: 12em; - } - .large { - font-size: 6em; - } - body { - padding-bottom: 2.4em; - } - footer, .text { - font-size: 2.4em; - } -} -@media all and (min-width: 1300px) { - .button { - font-size: 13em; - } - .large { - font-size: 6.5em; - } - body { - padding-bottom: 2.6em; - } - footer, .text { - font-size: 2.6em; - } -} -@media all and (min-width: 1400px) { - .button { - font-size: 14em; - } - .large { - font-size: 7em; - } - body { - padding-bottom: 2.8em; - } - footer, .text { - font-size: 2.8em; - } -} -@media all and (min-width: 1500px) { - .button { - font-size: 15em; - } - .large { - font-size: 7.5em; - } - body { - padding-bottom: 3.0em; - } - footer, .text { - font-size: 3.0em; - } -} -@media all and (min-width: 1500px) { - .button { - font-size: 16em; - } - .large { - font-size: 8em; - } - body { - padding-bottom: 3.2em; - } - footer, .text { - font-size: 3.2em; - } -} -@media all and (min-width: 1600px) { - .button { - font-size: 17em; - } - .large { - font-size: 8.4em; - } - body { - padding-bottom: 3.4em; - } - footer, .text { - font-size: 3.4em; - } -} -@media all and (min-width: 1700px) { - .button { - font-size: 18em; - } - .large { - font-size: 9em; - } - body { - padding-bottom: 3.6em; - } - footer, .text { - font-size: 3.6em; - } -} diff --git a/tags.html b/tags.html new file mode 100644 index 00000000..87c85dd2 --- /dev/null +++ b/tags.html @@ -0,0 +1,40 @@ +--- +layout: default +nocard: true +title: Tags +--- +{% assign rawtags = "" %} +{% for post in site.posts %} + {% assign ttags = post.tags | join:'|' | append:'|' %} + {% assign rawtags = rawtags | append:ttags %} +{% endfor %} +{% assign rawtags = rawtags | split:'|' | sort %} + +{% assign tags = "" %} +{% for tag in rawtags %} + {% if tag != "" %} + {% if tags == "" %} + {% assign tags = tag | split:'|' %} + {% endif %} + {% unless tags contains tag %} + {% assign tags = tags | join:'|' | append:'|' | append:tag | split:'|' %} + {% endunless %} + {% endif %} +{% endfor %} + +{% for tag in tags %} +
+

{{ tag }}

+
+ {% for post in site.posts %} + {% if post.tags contains tag %} +

+ + {{ post.title }} + +

+ {% endif %} + {% endfor %} +
+
+{% endfor %}