Skip to content

Commit b8fd0e9

Browse files
committed
aa
1 parent 7633676 commit b8fd0e9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+4393
-0
lines changed

404.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
layout: default
3+
---
4+
5+
<style type="text/css" media="screen">
6+
.container {
7+
margin: 10px auto;
8+
max-width: 600px;
9+
text-align: center;
10+
}
11+
h1 {
12+
margin: 30px 0;
13+
font-size: 4em;
14+
line-height: 1;
15+
letter-spacing: -1px;
16+
}
17+
</style>
18+
19+
<div class="container">
20+
<h1>404</h1>
21+
22+
<p><strong>Page not found :(</strong></p>
23+
<p>The requested page could not be found.</p>
24+
</div>

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source 'https://rubygems.org'
2+
3+
gemspec

Gemfile.lock

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
PATH
2+
remote: .
3+
specs:
4+
jekyll-theme-time-machine (0.1.0)
5+
jekyll (~> 3.5)
6+
jekyll-seo-tag (~> 2.0)
7+
8+
GEM
9+
remote: https://rubygems.org/
10+
specs:
11+
addressable (2.5.2)
12+
public_suffix (>= 2.0.2, < 4.0)
13+
colorator (1.1.0)
14+
concurrent-ruby (1.0.5)
15+
em-websocket (0.5.1)
16+
eventmachine (>= 0.12.9)
17+
http_parser.rb (~> 0.6.0)
18+
eventmachine (1.2.5-x64-mingw32)
19+
ffi (1.9.21-x64-mingw32)
20+
forwardable-extended (2.6.0)
21+
http_parser.rb (0.6.0)
22+
i18n (0.9.4)
23+
concurrent-ruby (~> 1.0)
24+
jekyll (3.7.2)
25+
addressable (~> 2.4)
26+
colorator (~> 1.0)
27+
em-websocket (~> 0.5)
28+
i18n (~> 0.7)
29+
jekyll-sass-converter (~> 1.0)
30+
jekyll-watch (~> 2.0)
31+
kramdown (~> 1.14)
32+
liquid (~> 4.0)
33+
mercenary (~> 0.3.3)
34+
pathutil (~> 0.9)
35+
rouge (>= 1.7, < 4)
36+
safe_yaml (~> 1.0)
37+
jekyll-sass-converter (1.5.2)
38+
sass (~> 3.4)
39+
jekyll-seo-tag (2.4.0)
40+
jekyll (~> 3.3)
41+
jekyll-watch (2.0.0)
42+
listen (~> 3.0)
43+
kramdown (1.16.2)
44+
liquid (4.0.0)
45+
listen (3.1.5)
46+
rb-fsevent (~> 0.9, >= 0.9.4)
47+
rb-inotify (~> 0.9, >= 0.9.7)
48+
ruby_dep (~> 1.2)
49+
mercenary (0.3.6)
50+
pathutil (0.16.1)
51+
forwardable-extended (~> 2.6)
52+
public_suffix (3.0.2)
53+
rb-fsevent (0.10.2)
54+
rb-inotify (0.9.10)
55+
ffi (>= 0.5.0, < 2)
56+
rouge (3.1.1)
57+
ruby_dep (1.5.0)
58+
safe_yaml (1.0.4)
59+
sass (3.5.5)
60+
sass-listen (~> 4.0.0)
61+
sass-listen (4.0.0)
62+
rb-fsevent (~> 0.9, >= 0.9.4)
63+
rb-inotify (~> 0.9, >= 0.9.7)
64+
65+
PLATFORMS
66+
x64-mingw32
67+
68+
DEPENDENCIES
69+
jekyll-theme-time-machine!
70+
71+
BUNDLED WITH
72+
1.16.1

LICENSE

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
CC0 1.0 Universal
2+
3+
Statement of Purpose
4+
5+
The laws of most jurisdictions throughout the world automatically confer
6+
exclusive Copyright and Related Rights (defined below) upon the creator and
7+
subsequent owner(s) (each and all, an "owner") of an original work of
8+
authorship and/or a database (each, a "Work").
9+
10+
Certain owners wish to permanently relinquish those rights to a Work for the
11+
purpose of contributing to a commons of creative, cultural and scientific
12+
works ("Commons") that the public can reliably and without fear of later
13+
claims of infringement build upon, modify, incorporate in other works, reuse
14+
and redistribute as freely as possible in any form whatsoever and for any
15+
purposes, including without limitation commercial purposes. These owners may
16+
contribute to the Commons to promote the ideal of a free culture and the
17+
further production of creative, cultural and scientific works, or to gain
18+
reputation or greater distribution for their Work in part through the use and
19+
efforts of others.
20+
21+
For these and/or other purposes and motivations, and without any expectation
22+
of additional consideration or compensation, the person associating CC0 with a
23+
Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
24+
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
25+
and publicly distribute the Work under its terms, with knowledge of his or her
26+
Copyright and Related Rights in the Work and the meaning and intended legal
27+
effect of CC0 on those rights.
28+
29+
1. Copyright and Related Rights. A Work made available under CC0 may be
30+
protected by copyright and related or neighboring rights ("Copyright and
31+
Related Rights"). Copyright and Related Rights include, but are not limited
32+
to, the following:
33+
34+
i. the right to reproduce, adapt, distribute, perform, display, communicate,
35+
and translate a Work;
36+
37+
ii. moral rights retained by the original author(s) and/or performer(s);
38+
39+
iii. publicity and privacy rights pertaining to a person's image or likeness
40+
depicted in a Work;
41+
42+
iv. rights protecting against unfair competition in regards to a Work,
43+
subject to the limitations in paragraph 4(a), below;
44+
45+
v. rights protecting the extraction, dissemination, use and reuse of data in
46+
a Work;
47+
48+
vi. database rights (such as those arising under Directive 96/9/EC of the
49+
European Parliament and of the Council of 11 March 1996 on the legal
50+
protection of databases, and under any national implementation thereof,
51+
including any amended or successor version of such directive); and
52+
53+
vii. other similar, equivalent or corresponding rights throughout the world
54+
based on applicable law or treaty, and any national implementations thereof.
55+
56+
2. Waiver. To the greatest extent permitted by, but not in contravention of,
57+
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
58+
unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
59+
and Related Rights and associated claims and causes of action, whether now
60+
known or unknown (including existing as well as future claims and causes of
61+
action), in the Work (i) in all territories worldwide, (ii) for the maximum
62+
duration provided by applicable law or treaty (including future time
63+
extensions), (iii) in any current or future medium and for any number of
64+
copies, and (iv) for any purpose whatsoever, including without limitation
65+
commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
66+
the Waiver for the benefit of each member of the public at large and to the
67+
detriment of Affirmer's heirs and successors, fully intending that such Waiver
68+
shall not be subject to revocation, rescission, cancellation, termination, or
69+
any other legal or equitable action to disrupt the quiet enjoyment of the Work
70+
by the public as contemplated by Affirmer's express Statement of Purpose.
71+
72+
3. Public License Fallback. Should any part of the Waiver for any reason be
73+
judged legally invalid or ineffective under applicable law, then the Waiver
74+
shall be preserved to the maximum extent permitted taking into account
75+
Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
76+
is so judged Affirmer hereby grants to each affected person a royalty-free,
77+
non transferable, non sublicensable, non exclusive, irrevocable and
78+
unconditional license to exercise Affirmer's Copyright and Related Rights in
79+
the Work (i) in all territories worldwide, (ii) for the maximum duration
80+
provided by applicable law or treaty (including future time extensions), (iii)
81+
in any current or future medium and for any number of copies, and (iv) for any
82+
purpose whatsoever, including without limitation commercial, advertising or
83+
promotional purposes (the "License"). The License shall be deemed effective as
84+
of the date CC0 was applied by Affirmer to the Work. Should any part of the
85+
License for any reason be judged legally invalid or ineffective under
86+
applicable law, such partial invalidity or ineffectiveness shall not
87+
invalidate the remainder of the License, and in such case Affirmer hereby
88+
affirms that he or she will not (i) exercise any of his or her remaining
89+
Copyright and Related Rights in the Work or (ii) assert any associated claims
90+
and causes of action with respect to the Work, in either case contrary to
91+
Affirmer's express Statement of Purpose.
92+
93+
4. Limitations and Disclaimers.
94+
95+
a. No trademark or patent rights held by Affirmer are waived, abandoned,
96+
surrendered, licensed or otherwise affected by this document.
97+
98+
b. Affirmer offers the Work as-is and makes no representations or warranties
99+
of any kind concerning the Work, express, implied, statutory or otherwise,
100+
including without limitation warranties of title, merchantability, fitness
101+
for a particular purpose, non infringement, or the absence of latent or
102+
other defects, accuracy, or the present or absence of errors, whether or not
103+
discoverable, all to the greatest extent permissible under applicable law.
104+
105+
c. Affirmer disclaims responsibility for clearing rights of other persons
106+
that may apply to the Work or any use thereof, including without limitation
107+
any person's Copyright and Related Rights in the Work. Further, Affirmer
108+
disclaims responsibility for obtaining any necessary consents, permissions
109+
or other rights required for any use of the Work.
110+
111+
d. Affirmer understands and acknowledges that Creative Commons is not a
112+
party to this document and has no duty or obligation with respect to this
113+
CC0 or use of the Work.
114+
115+
For more information, please see
116+
<http://creativecommons.org/publicdomain/zero/1.0/>

_config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
title: Ari's first page
2+
description: C coder learing golang
3+
show_downloads: true
4+
google_analytics:
5+
theme: jekyll-theme-time-machine

_includes/post_comments.html

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<div class="clearfix"></div>
2+
<br>
3+
<div id="comments">
4+
<div class="post-header bg-{{site.default_post_color}}">
5+
<h1 class="h1 post-title">Comments</h1>
6+
</div>
7+
8+
<article class="post-content">
9+
<p>Want to leave a comment? Visit <a
10+
href="https://github.com/apmattil/apmattil.github.io/issues/{{page.commentIssueId}}"> this post's issue page on GitHub</a> (you'll need a GitHub account).</p>
11+
</article>
12+
</div>
13+
14+
<script type="text/javascript">
15+
function loadComments(data) {
16+
for (var i=0; i<data.length; i++) {
17+
var cuser = data[i].user.login;
18+
var cuserlink = data[i].user.html_url;
19+
var clink = data[i].html_url;
20+
var cbody = data[i].body_html;
21+
var cavatarlink = data[i].user.avatar_url;
22+
var cdate = new Date(data[i].created_at);
23+
var dopts = { month: 'short', day: 'numeric', year: 'numeric' }
24+
$("#comments").append('<br><div class="post-header bg-{{site.default_post_color}}"><span class="post-meta">' + cdate.toLocaleDateString("en", dopts) + '</span><br><a class="post-link" href="' + cuserlink + '"><h3 class="h3 post-title">' + cuser + '</h3></a></div><article class="post-content">' + cbody + '</article>');
25+
}
26+
}
27+
$.ajax("https://github.com/api/repos/apmattil/apmattil.github.io/issues/{{ page.commentIssueId }}/comments", {
28+
headers: {Accept: "application/vnd.github.v3.html+json"},
29+
dataType: "json",
30+
success: function(msg){
31+
loadComments(msg);
32+
}
33+
});
34+
</script>
35+
36+

_layouts/default.html

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<!doctype html>
2+
<!-- The Time Machine GitHub pages theme was designed and developed by Jon Rohan, on Feb 7, 2012. -->
3+
<!-- Follow him for fun. http://twitter.com/jonrohan. Tail his code on https://github.com/jonrohan -->
4+
<html lang="{{ site.lang | default: "en-US" }}">
5+
<head>
6+
<meta charset="utf-8">
7+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
8+
9+
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
10+
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
11+
<script type="text/javascript" src="{{ '/assets/js/script.js' | relative_url }}"></script>
12+
13+
{% seo %}
14+
<meta name="description" content="{{ site.description | default: site.github.project_tagline }}">
15+
16+
<meta name="viewport" content="width=device-width,initial-scale=1">
17+
18+
</head>
19+
20+
<body>
21+
22+
<div class="wrapper">
23+
<header>
24+
<h1 class="title">{{ site.title | default: site.github.repository_name }}</h1>
25+
</header>
26+
<div id="container">
27+
<p class="tagline">{{ site.description | default: site.github.project_tagline }}</p>
28+
<div id="main" role="main">
29+
<div class="download-bar">
30+
<div class="inner">
31+
{% if site.show_downloads %}
32+
<a href="{{ site.github.tar_url }}" class="download-button tar"><span>Download</span></a>
33+
<a href="{{ site.github.zip_url }}" class="download-button zip"><span>Download</span></a>
34+
{% endif %}
35+
<a href="{{ site.github.repository_url }}" class="code">View {{ site.title | default: site.github.repository_name }} on GitHub</a>
36+
</div>
37+
<span class="blc"></span><span class="trc"></span>
38+
</div>
39+
<article class="markdown-body">
40+
{{ content }}
41+
</article>
42+
</div>
43+
</div>
44+
<footer>
45+
<div class="owner">
46+
{% if site.github.is_project_page %}
47+
<p><a href="{{ site.github.owner_url }}" class="avatar"><img src="{{ site.github.owner_gravatar_url }}" width="48" height="48"></a> <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a> maintains <a href="{{ site.github.repository_url }}">{{ site.title | default: site.github.repository_name }}</a></p>
48+
{% endif %}
49+
50+
{% if site.github.is_user_page %}
51+
<p><a href="{{ site.github.owner_url }}" class="avatar"><img src="{{ site.github.owner_gravatar_url }}" width="48" height="48"></a>View <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a> on <a href="https://www.github.com">GitHub</a></p>
52+
{% endif %}
53+
54+
</div>
55+
<div class="creds">
56+
<small>This page generated using <a href="https://pages.github.com/">GitHub Pages</a><br>theme by <a href="https://twitter.com/jonrohan/">Jon Rohan</a></small>
57+
</div>
58+
</footer>
59+
</div>
60+
<div class="current-section">
61+
<a href="#top">Scroll to top</a>
62+
<a href="{{ site.github.tar_url }}" class="tar">tar</a><a href="{{ site.github.zip_url }}" class="zip">zip</a><a href="" class="code">source code</a>
63+
<p class="name"></p>
64+
</div>
65+
66+
{% if site.google_analytics %}
67+
<script type="text/javascript">
68+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
69+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
70+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
71+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
72+
ga('create', '{{ site.google_analytics }}', 'auto');
73+
ga('send', 'pageview');
74+
</script>
75+
{% endif %}
76+
</body>
77+
</html>

_plaa/home.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
layout: default
3+
---
4+
{{ content }}
5+

_plaa/page.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
layout: default
3+
---
4+
{{ content }}
5+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
layout: post
3+
title: "Welcome to Jekyll!"
4+
date: 2018-02-11 17:34:18 +0200
5+
categories: jekyll update
6+
---
7+
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
8+
9+
To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.
10+
11+
Jekyll also offers powerful support for code snippets:
12+
13+
{% highlight ruby %}
14+
def print_hi(name)
15+
puts "Hi, #{name}"
16+
end
17+
print_hi('Tom')
18+
#=> prints 'Hi, Tom' to STDOUT.
19+
{% endhighlight %}
20+
21+
Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].
22+
23+
[jekyll-docs]: https://jekyllrb.com/docs/home
24+
[jekyll-gh]: https://github.com/jekyll/jekyll
25+
[jekyll-talk]: https://talk.jekyllrb.com/

0 commit comments

Comments
 (0)