Skip to content

Commit

Permalink
Gedankenexperimente
Browse files Browse the repository at this point in the history
  • Loading branch information
purpleKarrot committed Jan 8, 2015
0 parents commit 443e320
Show file tree
Hide file tree
Showing 15 changed files with 961 additions and 0 deletions.
10 changes: 10 additions & 0 deletions 404.html
@@ -0,0 +1,10 @@
---
layout: page
title: "404: Page not found"
---

<p class="lead">
Sorry, we've misplaced that URL or it's pointing to something that doesn't
exist. <a href="/">Head back home</a> to try finding it again.
</p>

1 change: 1 addition & 0 deletions CNAME
@@ -0,0 +1 @@
purplekarrot.net
2 changes: 2 additions & 0 deletions Gemfile
@@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'github-pages'
22 changes: 22 additions & 0 deletions _config.yml
@@ -0,0 +1,22 @@
title: 'purpleKarrot'
tagline: 'Gedankenexperimente'
url: 'http://purplekarrot.net'

author: 'Daniel Pfeifer'
copyright: '2015'

pingback: 'https://webmention.io/purplekarrot.net/xmlrpc'
webmention: 'https://webmention.io/purplekarrot.net/webmention'

email: 'daniel@pfeifer-mail.de'
github: 'https://github.com/purplekarrot'
googleplus: 'https://plus.google.com/+DanielPfeifer'
linkedin: 'https://linkedin.com/in/purplekarrot'
xing: 'https://www.xing.com/profile/Daniel_Pfeifer22'

paginate: 3
paginate_path: '/index:num.html'
permalink: '/blog/:title.html'

sass:
style: :compact
5 changes: 5 additions & 0 deletions _drafts/cmake_pch.md
@@ -0,0 +1,5 @@
---
layout: post
title: 'Brainstorm: PCH with CMake'
---

5 changes: 5 additions & 0 deletions _drafts/cmake_vala.md
@@ -0,0 +1,5 @@
---
layout: post
title: "Brainstorm: Vala with CMake"
---

15 changes: 15 additions & 0 deletions _drafts/projects.html
@@ -0,0 +1,15 @@
---
layout: default
title: Projects
---
{% for project in site.github.public_repositories %}
<div>
<ul class="repo-stats">
<li class="language">{{ project.language }}</li>
<li class="stargazers"><a href="{{ project.html_url }}/stargazers" title="Stargazers"><span class="fa fa-star"></span> {{ project.stargazers_count }}</a></li>
<li class="forks"><a href="{{ project.html_url }}/network" title="Forks"><span class="fa fa-code-fork"></span> {{ project.forks_count }}</a></li>
</ul>
<h2><a href="{{ project.html_url }}">{{ project.name }}</a></h2>
<p>{{ project.description }}</p>
</div>
{% endfor %}
39 changes: 39 additions & 0 deletions _layouts/default.html
@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<title>{{ page.title }} · {{ site.title }}</title>
<link rel="pingback" href="{{ site.pingback }}">
<link rel="webmention" href="{{ site.webmention }}">
<link rel="stylesheet" href="/poole.css">
<link rel="stylesheet" href="/style.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">
</head>
<body>
<div class="masthead">
<div class="container">
<h3 class="masthead-title">
<a href="/" title="Home">{{ site.title }}</a>
<small>{{ site.tagline }}</small>
</h3>
</div>
</div>
<div class="container content">
{{ content }}
</div>
<div class="page-footer">
<div class="container">
<div class="copyright">Copyright © {{ site.copyright }} <strong>{{ site.author }}</strong></div>
<div class="social">
<a rel="me" href="{{ site.github }}">GitHub</a> ·
<a rel="me" href="{{ site.googleplus }}">Google+</a> ·
<a rel="me" href="{{ site.linkedin }}">LinkedIn</a> ·
<a rel="me" href="{{ site.xing }}">Xing</a>
</div>
</div>
</div>
</body>
</html>
8 changes: 8 additions & 0 deletions _layouts/page.html
@@ -0,0 +1,8 @@
---
layout: default
---

<div class="page">
<h1 class="page-title">{{ page.title }}</h1>
{{ content }}
</div>
25 changes: 25 additions & 0 deletions _layouts/post.html
@@ -0,0 +1,25 @@
---
layout: default
---

<div class="post">
<h1 class="post-title">{{ page.title }}</h1>
<span class="post-date">{{ page.date | date_to_string }}</span>
{{ content }}
</div>

<div class="related">
<h2>Related Posts</h2>
<ul class="related-posts">
{% for post in site.related_posts limit:3 %}
<li>
<h3>
<a href="{{ site.baseurl }}{{ post.url }}">
{{ post.title }}
<small>{{ post.date | date_to_string }}</small>
</a>
</h3>
</li>
{% endfor %}
</ul>
</div>
145 changes: 145 additions & 0 deletions _posts/2015-01-01-example-content.md
@@ -0,0 +1,145 @@
---
layout: post
title: Example content
---

<div class="message">
Howdy! This is an example blog post that shows several types of HTML content
supported in this theme.
</div>

Cum sociis natoque penatibus et magnis <a href="#">dis parturient montes</a>,
nascetur ridiculus mus. *Aenean eu leo quam.* Pellentesque ornare sem lacinia
quam venenatis vestibulum. Sed posuere consectetur est at lobortis. Cras mattis
consectetur purus sit amet fermentum.

> Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare
> vel eu leo. Nullam id dolor id nibh ultricies vehicula ut id elit.
Etiam porta **sem malesuada magna** mollis euismod. Cras mattis consectetur
purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.

## Inline HTML elements

HTML defines a long list of available inline tags, a complete list of which can
be found on the [Mozilla Developer Network](https://developer.mozilla.org/en-US/docs/Web/HTML/Element).

- **To bold text**, use `<strong>`.
- *To italicize text*, use `<em>`.
- Abbreviations, like <abbr title="HyperText Markup Langage">HTML</abbr> should
use `<abbr>`, with an optional `title` attribute for the full phrase.
- Citations, like <cite>&mdash; Mark otto</cite>, should use `<cite>`.
- <del>Deleted</del> text should use `<del>` and <ins>inserted</ins> text should
use `<ins>`.
- Superscript <sup>text</sup> uses `<sup>` and subscript <sub>text</sub> uses
`<sub>`.

Most of these elements are styled by browsers with few modifications on our
part.

## Heading

Vivamus sagittis lacus vel augue rutrum faucibus dolor auctor. Duis mollis, est
non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.
Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

### Code

Cum sociis natoque penatibus et magnis dis `code element` montes, nascetur
ridiculus mus.

{% highlight js %}
// Example can be run directly in your JavaScript console

// Create a function that takes two arguments and returns
// the sum of those arguments
var adder = new Function("a", "b", "return a + b");

// Call the function
adder(2, 6);
// > 8
{% endhighlight %}

Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna
mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris
condimentum nibh, ut fermentum massa.

### Lists

Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus
mus. Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada
magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris
condimentum nibh, ut fermentum massa justo sit amet risus.

* Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
* Donec id elit non mi porta gravida at eget metus.
* Nulla vitae elit libero, a pharetra augue.

Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a
pharetra augue.

1. Vestibulum id ligula porta felis euismod semper.
2. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur
ridiculus mus.
3. Maecenas sed diam eget risus varius blandit sit amet non magna.

Cras mattis consectetur purus sit amet fermentum. Sed posuere consectetur est at
lobortis.

<dl>
<dt>HyperText Markup Language (HTML)</dt>
<dd>The language used to describe and define the content of a Web page</dd>

<dt>Cascading Style Sheets (CSS)</dt>
<dd>Used to describe the appearance of Web content</dd>

<dt>JavaScript (JS)</dt>
<dd>The programming language used to build advanced Web sites and applications</dd>
</dl>

Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Morbi leo
risus, porta ac consectetur ac, vestibulum at eros. Nullam quis risus eget urna
mollis ornare vel eu leo.

### Tables

Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet,
consectetur adipiscing elit.

<table>
<thead>
<tr>
<th>Name</th>
<th>Upvotes</th>
<th>Downvotes</th>
</tr>
</thead>
<tfoot>
<tr>
<td>Totals</td>
<td>21</td>
<td>23</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>Alice</td>
<td>10</td>
<td>11</td>
</tr>
<tr>
<td>Bob</td>
<td>4</td>
<td>3</td>
</tr>
<tr>
<td>Charlie</td>
<td>7</td>
<td>9</td>
</tr>
</tbody>
</table>

Nullam id dolor id nibh ultricies vehicula ut id elit. Sed posuere consectetur
est at lobortis. Nullam quis risus eget urna mollis ornare vel eu leo.

24 changes: 24 additions & 0 deletions atom.xml
@@ -0,0 +1,24 @@
---
layout: null
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ site.title }}</title>
<link href="{{ site.url }}/atom.xml" rel="self"/>
<link href="{{ site.url }}/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.url }}</id>
<author>
<name>{{ site.author }}</name>
<email>{{ site.email }}</email>
</author>
{% for post in site.posts %}
<entry>
<title>{{ post.title }}</title>
<link href="{{ site.url }}{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ site.url }}{{ post.id }}</id>
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% endfor %}
</feed>
35 changes: 35 additions & 0 deletions index.html
@@ -0,0 +1,35 @@
---
layout: default
title: Home
---

<div class="posts">
{% for post in paginator.posts %}
<div class="post">
<h1 class="post-title">
<a href="{{ post.url }}">
{{ post.title }}
</a>
</h1>
<span class="post-date">{{ post.date | date_to_string }}</span>
{{ post.content }}
</div>
{% endfor %}
</div>

<div class="pagination">
{% if paginator.next_page %}
<a class="pagination-item older" href="/index{{paginator.next_page}}.html">Older</a>
{% else %}
<span class="pagination-item older">Older</span>
{% endif %}
{% if paginator.previous_page %}
{% if paginator.page == 2 %}
<a class="pagination-item newer" href="/">Newer</a>
{% else %}
<a class="pagination-item newer" href="/index{{paginator.previous_page}}.html">Newer</a>
{% endif %}
{% else %}
<span class="pagination-item newer">Newer</span>
{% endif %}
</div>

0 comments on commit 443e320

Please sign in to comment.