Browse code

Initial commit

Joseph Weston authored on 22/03/2021 04:21:07
Showing 21 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,2 @@
1
+themes/
2
+public/
0 3
new file mode 100644
... ...
@@ -0,0 +1,6 @@
1
+---
2
+title: "{{ replace .Name "-" " " | title }}"
3
+date: {{ .Date }}
4
+draft: true
5
+---
6
+
0 7
new file mode 100644
... ...
@@ -0,0 +1,47 @@
1
+.dropcap img {
2
+  width: 4rem ;
3
+  height: 4rem ;
4
+  float: left ;
5
+  margin: 0.5em  0.5em 0 0 ;
6
+}
7
+
8
+.avatar img{
9
+  width: 20rem;
10
+  height: auto;
11
+  border-radius: 50%;
12
+  @media only screen and (max-width : 768px) {
13
+    width: 15rem;
14
+  }
15
+}
16
+
17
+h1.title {
18
+    text-align: center;
19
+}
20
+
21
+.centered {
22
+    .about {
23
+
24
+        color: #888;
25
+
26
+        h2 {
27
+
28
+            @media only screen and (max-width : 668px) {
29
+                font-size: 1.6rem;
30
+            }
31
+
32
+            @media only screen and (max-width : 372px) {
33
+                font-size: 1.5rem;
34
+            }
35
+        }
36
+    }
37
+}
38
+
39
+body {
40
+  font-size: 2em;
41
+  line-height: 1.6em;
42
+  @media only screen and (max-width : 768px) {
43
+      font-size: 1.8em;
44
+      line-height: 1.4em;
45
+  }
46
+}
47
+
0 48
new file mode 100644
... ...
@@ -0,0 +1,93 @@
1
+baseURL = "https://weston.cloud"
2
+title = "Joseph Weston"
3
+theme = "hugo-coder"
4
+languagecode = "en"
5
+defaultcontentlanguage = "en"
6
+
7
+paginate = 20
8
+
9
+pygmentsstyle = "b2"
10
+pygmentscodefences = true
11
+pygmentscodefencesguesssyntax = true
12
+
13
+[params]
14
+  author = "Joseph Weston"
15
+  license =  "CC-BY-SA 4.0 Int."
16
+  info = "⟨ Software Developer | Quantum Physicist ⟩"
17
+  abstract = """
18
+  I enjoy applying methods from physics and mathematics to solving complex engineering problems.
19
+  Experience in industry as well as academia means I am effective as part of a team, or operating independently.
20
+  If it's snowed recently you'll probably find me skiing in the backcountry, but if there's
21
+  cell reception feel free to hit me up!
22
+  """
23
+  description = "Joe Weston's personal websise"
24
+  keywords = "blog,developer,personal"
25
+  avatarurl = "images/profile.jpg"
26
+
27
+  favicon_32 = "/img/favicon-32x32.png"
28
+  favicon_16 = "/img/favicon-16x16.png"
29
+
30
+  footercontent = ""
31
+  hideFooter = false
32
+  hideCredits = false
33
+  hideCopyright = false
34
+  since = 2016
35
+
36
+  enableTwemoji = false
37
+
38
+  colorScheme = "auto"
39
+  hidecolorschemetoggle = false
40
+
41
+  #customCSS = ["css/custom.css"]
42
+  customSCSS = ["scss/custom.scss"]
43
+  #customJS = ["js/custom.js"]
44
+
45
+[taxonomies]
46
+  series = "series"
47
+  tag = "tags"
48
+  #category = "categories"
49
+  #author = "authors"
50
+
51
+# Social links
52
+[[params.social]]
53
+  name = "Github"
54
+  icon = "fa fa-github fa-2x"
55
+  weight = 1
56
+  url = "https://github.com/jbweston/"
57
+# [[params.social]]
58
+#   name = "Gitlab"
59
+#   icon = "fa fa-gitlab fa-2x"
60
+#   weight = 1
61
+#   url = "https://gitlab.com/jbweston/"
62
+[[params.social]]
63
+  name = "LinkedIn"
64
+  icon = "fa fa-linkedin fa-2x"
65
+  weight = 1
66
+  url = "https://linkedin.com/in/jbostonweston/"
67
+[[params.social]]
68
+  name = "Email"
69
+  icon = "fa fa-envelope fa-2x"
70
+  weight = 1
71
+  url = "mailto:joseph@weston.cloud"
72
+[[params.social]]
73
+name = "RSS"
74
+icon = "fa fa-rss"
75
+weight = 1
76
+url = "index.xml"
77
+rel = "alternate"
78
+type = "application/rss+xml"
79
+
80
+
81
+# Menu links
82
+[[menu.main]]
83
+  name = "About"
84
+  weight = 1
85
+  url = "about"
86
+[[menu.main]]
87
+  name = "Blog"
88
+  weight = 1
89
+  url  = "posts"
90
+[[menu.main]]
91
+  name = "Publications"
92
+  weight = 1
93
+  url  = "publications"
0 94
new file mode 100644
1 95
new file mode 100644
2 96
new file mode 100644
... ...
@@ -0,0 +1,3 @@
1
+[hosted_by]
2
+
3
+other = "Hosted by"
0 4
new file mode 100644
... ...
@@ -0,0 +1,2 @@
1
+[hosted_by]
2
+    other = "Hébergé par"
0 3
new file mode 100644
... ...
@@ -0,0 +1,2 @@
1
+[hosted_by]
2
+    other = "Hospedado por"
0 3
new file mode 100644
... ...
@@ -0,0 +1,30 @@
1
+{{ if not .Site.Params.hideFooter | default false }}
2
+  <footer class="footer">
3
+    <section class="container">
4
+      {{ with .Site.Params.footerContent | safeHTML }}
5
+        <p>{{ . }}</p>
6
+      {{ end }}
7
+      {{ if not .Site.Params.hideCopyright }}
8
+        ©
9
+        {{ if (and (.Site.Params.since) (lt .Site.Params.since now.Year)) }}
10
+          {{ .Site.Params.since }} -
11
+        {{ end }}
12
+        {{ now.Year }}
13
+        {{ with .Site.Params.author }} {{ . }} {{ end }}
14
+        ·
15
+        {{ with .Site.Params.license }} {{ . }} {{ end }}
16
+      {{ end }}
17
+      {{ if not .Site.Params.hideCredits }}
18
+        {{ if not .Site.Params.hideCopyright }} · {{ end }}
19
+        {{ i18n "powered_by" }} <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/">Coder</a>
20
+        ·
21
+        {{ i18n "hosted_by" }} <a href="https://uberspace.de/">Uberspace</a>
22
+      {{ end }}
23
+      {{ if .Site.Params.commit }}
24
+        {{ if .GitInfo }}
25
+          [<a href="{{ .Site.Params.commit }}/{{ .GitInfo.Hash }}">{{ .GitInfo.AbbreviatedHash }}</a>]
26
+        {{ end }}
27
+      {{ end }}
28
+    </section>
29
+  </footer>
30
+{{ end }}
0 31
new file mode 100644
... ...
@@ -0,0 +1,32 @@
1
+<section class="container centered">
2
+  <div class="about">
3
+    {{ if and (isset .Site.Params "avatarurl") (not (isset .Site.Params "gravatar")) }}
4
+      {{ with .Site.Params.avatarURL }}
5
+        <div class="avatar"><img src="{{ . | relURL }}" alt="avatar"></div>
6
+      {{ end }}
7
+    {{ end }}
8
+    {{ with .Site.Params.gravatar }}
9
+      <div class="avatar"><img src="https://www.gravatar.com/avatar/{{md5 .}}?s=240&d=mp" alt="gravatar"></div>
10
+    {{ end }}
11
+    <h1>{{ .Site.Params.author }}</h1>
12
+    <h2>{{ .Site.Params.info }}</h2>
13
+    <div>{{ .Site.Params.abstract }}</div>
14
+    {{ with .Site.Params.social }}
15
+    <ul>
16
+      {{ range sort . "weight" }}
17
+        {{ if .icon }}
18
+          <li>
19
+            <a href="{{ .url | safeURL }}" aria-label="{{ .name }}" {{ if .rel }}rel="{{ .rel }}"{{ end }} {{ if .target }}target="{{ .target }}"{{ end }} {{ if .type }}type="{{ .type }}"{{ end }}>
20
+              <i class="{{ .icon }}" aria-hidden="true"></i>
21
+            </a>
22
+          </li>
23
+        {{ else }}
24
+          <li>
25
+            <a href="{{ .url | safeURL }}" aria-label="{{ .name }}" {{ if .rel }}rel="{{ .rel }}"{{ end }} {{ if .target }}target="{{ .target }}"{{ end }}>{{ .name }}</a>
26
+          </li>
27
+        {{ end }}
28
+      {{ end }}
29
+    </ul>
30
+    {{ end }}
31
+  </div>
32
+</section>
0 33
new file mode 100644
... ...
@@ -0,0 +1,3 @@
1
+<div class="{{ .Get "div-class" }}" >
2
+    <img class="{{ .Get "class" }}" src="{{ .Get "src" }}" />
3
+</div>
0 4
new file mode 100644
... ...
@@ -0,0 +1,5 @@
1
+<span class="dropcap">
2
+  <a href="{{ .Get "href" }}">
3
+    <img src="{{ .Get "src" }}"/>
4
+  </a>
5
+</span>
0 6
new file mode 100644
... ...
@@ -0,0 +1 @@
1
+<span {{ with .Get "style"}} style="{{ . | safeCSS }}"{{ end }}>{{ .Get "text" }}</span>
0 2
new file mode 100644
... ...
@@ -0,0 +1 @@
1
+_gen/
0 2
new file mode 100644
1 3
Binary files /dev/null and b/static/images/logos/adaptive.png differ
2 4
new file mode 100644
3 5
Binary files /dev/null and b/static/images/logos/keras.png differ
4 6
new file mode 100644
5 7
Binary files /dev/null and b/static/images/logos/kwant.png differ
6 8
new file mode 100644
7 9
Binary files /dev/null and b/static/images/logos/zesje.png differ
8 10
new file mode 100644
9 11
Binary files /dev/null and b/static/images/profile.jpg differ
10 12
new file mode 100644
... ...
@@ -0,0 +1,85 @@
1
+==================================================================
2
+https://keybase.io/jbweston
3
+--------------------------------------------------------------------
4
+
5
+I hereby claim:
6
+
7
+  * I am an admin of https://weston.cloud
8
+  * I am jbweston (https://keybase.io/jbweston) on keybase.
9
+  * I have a public key with fingerprint E836 17D2 3FAF 6B96 DCA3  81B4 0982 D739 D2C4 E1B6
10
+
11
+To do so, I am signing this object:
12
+
13
+{
14
+  "body": {
15
+    "key": {
16
+      "eldest_kid": "0101123758ae480c3bc2dd8aeb13d0f518f9d034e7cba4862509635fb000cb94ddbe0a",
17
+      "fingerprint": "e83617d23faf6b96dca381b40982d739d2c4e1b6",
18
+      "host": "keybase.io",
19
+      "key_id": "0982d739d2c4e1b6",
20
+      "kid": "0101123758ae480c3bc2dd8aeb13d0f518f9d034e7cba4862509635fb000cb94ddbe0a",
21
+      "uid": "66866736c4e52b0c85d37982f3393b19",
22
+      "username": "jbweston"
23
+    },
24
+    "merkle_root": {
25
+      "ctime": 1569416355,
26
+      "hash_meta": "20fa4bfc516f6b17c5a5591113ab80103c97e4d45cf718e779692ec5a7701b33",
27
+      "seqno": 7738648
28
+    },
29
+    "revoke": {
30
+      "sig_ids": [
31
+        "a7d44c85290f0cf9cbb1583a8bede7ad716b4646a4c18094e769cb73986648dc0f"
32
+      ]
33
+    },
34
+    "service": {
35
+      "hostname": "weston.cloud",
36
+      "protocol": "https:"
37
+    },
38
+    "type": "web_service_binding",
39
+    "version": 1
40
+  },
41
+  "ctime": 1569416359,
42
+  "expire_in": 157680000,
43
+  "prev": "188349bccb9a3600be201f87cf0bb8961d8c6e2d303940fbda69c97c5eae5bb5",
44
+  "seqno": 16,
45
+  "tag": "signature"
46
+}
47
+
48
+which yields the signature:
49
+
50
+-----BEGIN PGP MESSAGE-----
51
+
52
+owGtk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RMk9p+qz9fvdR
68
+18qOCyd3Hyn8XNnxvDNv34asIwvfdQ+nea3W4dP1LZ6BFwoOfTdjfO/FUQ1FZ19b
69
+yiNtXXht+omc2Cg8UFr1JfM1jRqoG1HY1VRXtcipCN46fqN8Z+7KI6cvf33/TF5n
70
++aRNlbPPnBs4yN/2kpmrW7vhs2W5IxNpjS+vT5yiXxT92blhnTnpZvXWsYG1a1Zl
71
+s+LuJTkfddUtyzy/8lNvcB25278xyzZ6CmLHZ41JlESvtu1NTlRnD5vS83371Dkl
72
+7YWXnM5XGg+N31GX+3pLy+wp1V9NcC98uu+D/e+lHxz5arrpPXZgm+rd1rEHXJlQ
73
+U3vJysz9tmIoTP52MfzjnTfzN/ovjSEvlheNvVGzuTT/QmbxKWRmJSsaQmU/TNw1
74
+a9q05rqR7rxYbVGyY8/e1Xc6thds2dQ+uXh4xYxfG0vnkObmphJtbG9NqHdYGmzU
75
++mKnbw/5/d7GNZenvxOf1b3f88eDqy35rQP4QVLf5xnoKZy2PnirYcuJtBE9nl+K
76
+Y3HifS4nY83tEfcOz+27uaUtsLMt53b9tdqfxvwN
77
+=jL8T
78
+-----END PGP MESSAGE-----
79
+
80
+And finally, I am proving ownership of this host by posting or
81
+appending to this document.
82
+
83
+View my publicly-auditable identity here: https://keybase.io/jbweston
84
+
85
+==================================================================