work in progress

master
Stefen Wakefield 7 months ago
parent 76983908fa
commit 1dfdf4d6e3
Signed by: xstefen
GPG Key ID: F52B5BFA7BD26BB4
  1. 2
      .gitattributes
  2. 8
      .gitignore
  3. 14
      Gemfile
  4. 83
      Gemfile.lock
  5. 250
      LICENSE.txt
  6. 122
      README.md
  7. 35
      _config.yml
  8. 8
      _includes/google-analytics.html
  9. 8
      _includes/head.html
  10. 12
      _posts/2018-11-04-dear-morons.markdown
  11. 12
      _posts/2018-11-06-viva-la-vulva.markdown
  12. 12
      _posts/2018-11-07-welcome-to-valhalla.markdown
  13. 156
      _posts/2019-11-06-syntax-highlighting.markdown
  14. 13
      about.md
  15. BIN
      assets/favicon.ico
  16. 17
      assets/publickey.txt
  17. 19
      jekyll-theme-console.gemspec
  18. 30
      rss.xml
  19. BIN
      screenrec-dark.gif
  20. BIN
      screenshot-dark.png
  21. BIN
      screenshot-hacker.png
  22. BIN
      screenshot-light.png

2
.gitattributes vendored

@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto

8
.gitignore vendored

@ -1,5 +1,7 @@
*.gem
.bundle
.sass-cache
_site
Gemfile.lock
_site/
.sass-cache/
.jekyll-cache/
.jekyll-metadata
*.code-workspace

@ -1,7 +1,13 @@
# frozen_string_literal: true
source "https://rubygems.org"
gemspec
gem "jekyll", "~> 4.2.0"
group :jekyll_plugins do
gem "jekyll-feed"
gem "jekyll-seo-tag"
end
gem 'jekyll-seo-tag'
gem "tzinfo-data"
gem "tzinfo"
gem "wdm"
gem "webrick"

@ -0,0 +1,83 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
concurrent-ruby (1.1.10)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.15.5-x64-mingw-ucrt)
forwardable-extended (2.6.0)
http_parser.rb (0.8.0)
i18n (1.10.0)
concurrent-ruby (~> 1.0)
jekyll (4.2.2)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.4.0)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 2.0)
jekyll-feed (0.16.0)
jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (2.2.0)
sassc (> 2.0.1, < 3.0)
jekyll-seo-tag (2.8.0)
jekyll (>= 3.8, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.7.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.7)
rb-fsevent (0.11.1)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (3.28.0)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
tzinfo-data (1.2022.1)
tzinfo (>= 1.0.0)
unicode-display_width (1.8.0)
wdm (0.1.1)
webrick (1.7.0)
PLATFORMS
x64-mingw-ucrt
DEPENDENCIES
jekyll (~> 4.2.0)
jekyll-feed
jekyll-seo-tag
tzinfo
tzinfo-data
wdm
webrick
BUNDLED WITH
2.3.13

@ -1,21 +1,229 @@
The MIT License (MIT)
Copyright (c) 2018 b2a3e8
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
The code that powers this blog uses the following license:
Copyright (c) 2022 xstefen
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The articles themselves are CC-BY-SA:
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO
BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS
CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
CONDITIONS.
1. Definitions
"Collective Work" means a work, such as a periodical issue, anthology
or encyclopedia, in which the Work in its entirety in unmodified form,
along with a number of other contributions, constituting separate and
independent works in themselves, are assembled into a collective whole.
A work that constitutes a Collective Work will not be considered a
Derivative Work (as defined below) for the purposes of this License.
"Derivative Work" means a work based upon the Work or upon the Work and
other pre-existing works, such as a translation, musical arrangement,
dramatization, fictionalization, motion picture version, sound
recording, art reproduction, abridgment, condensation, or any other
form in which the Work may be recast, transformed, or adapted, except
that a work that constitutes a Collective Work will not be considered a
Derivative Work for the purpose of this License. For the avoidance of
doubt, where the Work is a musical composition or sound recording, the
synchronization of the Work in timed-relation with a moving image
("synching") will be considered a Derivative Work for the purpose of
this License. "Licensor" means the individual or entity that offers
the Work under the terms of this License. "Original Author" means the
individual or entity who created the Work. "Work" means the
copyrightable work of authorship offered under the terms of this
License. "You" means an individual or entity exercising rights under
this License who has not previously violated the terms of this License
with respect to the Work, or who has received express permission from
the Licensor to exercise rights under this License despite a previous
violation. "License Elements" means the following high-level license
attributes as selected by Licensor and indicated in the title of this
License: Attribution, ShareAlike.
2. Fair Use Rights. Nothing in this license is intended to reduce, limit,
or restrict any rights arising from fair use, first sale or other
limitations on the exclusive rights of the copyright owner under copyright
law or other applicable laws.
3. License Grant. Subject to the terms and conditions of this License,
Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
perpetual (for the duration of the applicable copyright) license to
exercise the rights in the Work as stated below:
to reproduce the Work, to incorporate the Work into one or more
Collective Works, and to reproduce the Work as incorporated in the
Collective Works; to create and reproduce Derivative Works; to
distribute copies or phonorecords of, display publicly, perform
publicly, and perform publicly by means of a digital audio transmission
the Work including as incorporated in Collective Works; to distribute
copies or phonorecords of, display publicly, perform publicly, and
perform publicly by means of a digital audio transmission Derivative
Works.
For the avoidance of doubt, where the work is a musical composition:
Performance Royalties Under Blanket Licenses. Licensor waives the
exclusive right to collect, whether individually or via a performance
rights society (e.g. ASCAP, BMI, SESAC), royalties for the public
performance or public digital performance (e.g. webcast) of the Work.
Mechanical Rights and Statutory Royalties. Licensor waives the
exclusive right to collect, whether individually or via a music rights
society or designated agent (e.g. Harry Fox Agency), royalties for any
phonorecord You create from the Work ("cover version") and distribute,
subject to the compulsory license created by 17 USC Section 115 of the
US Copyright Act (or the equivalent in other jurisdictions).
Webcasting Rights and Statutory Royalties. For the avoidance of doubt,
where the Work is a sound recording, Licensor waives the exclusive
right to collect, whether individually or via a performance-rights
society (e.g. SoundExchange), royalties for the public digital
performance (e.g. webcast) of the Work, subject to the compulsory
license created by 17 USC Section 114 of the US Copyright Act (or the
equivalent in other jurisdictions).
The above rights may be exercised in all media and formats whether now
known or hereafter devised. The above rights include the right to make such
modifications as are technically necessary to exercise the rights in other
media and formats. All rights not expressly granted by Licensor are hereby
reserved.
4. Restrictions.The license granted in Section 3 above is expressly made
subject to and limited by the following restrictions:
You may distribute, publicly display, publicly perform, or publicly
digitally perform the Work only under the terms of this License, and
You must include a copy of, or the Uniform Resource Identifier for,
this License with every copy or phonorecord of the Work You distribute,
publicly display, publicly perform, or publicly digitally perform. You
may not offer or impose any terms on the Work that alter or restrict
the terms of this License or the recipients' exercise of the rights
granted hereunder. You may not sublicense the Work. You must keep
intact all notices that refer to this License and to the disclaimer of
warranties. You may not distribute, publicly display, publicly perform,
or publicly digitally perform the Work with any technological measures
that control access or use of the Work in a manner inconsistent with
the terms of this License Agreement. The above applies to the Work as
incorporated in a Collective Work, but this does not require the
Collective Work apart from the Work itself to be made subject to the
terms of this License. If You create a Collective Work, upon notice
from any Licensor You must, to the extent practicable, remove from the
Collective Work any reference to such Licensor or the Original Author,
as requested. If You create a Derivative Work, upon notice from any
Licensor You must, to the extent practicable, remove from the
Derivative Work any reference to such Licensor or the Original Author,
as requested. You may distribute, publicly display, publicly perform,
or publicly digitally perform a Derivative Work only under the terms of
this License, a later version of this License with the same License
Elements as this License, or a Creative Commons iCommons license that
contains the same License Elements as this License (e.g.
Attribution-ShareAlike 2.0 Japan). You must include a copy of, or the
Uniform Resource Identifier for, this License or other license
specified in the previous sentence with every copy or phonorecord of
each Derivative Work You distribute, publicly display, publicly
perform, or publicly digitally perform. You may not offer or impose any
terms on the Derivative Works that alter or restrict the terms of this
License or the recipients' exercise of the rights granted hereunder,
and You must keep intact all notices that refer to this License and to
the disclaimer of warranties. You may not distribute, publicly display,
publicly perform, or publicly digitally perform the Derivative Work
with any technological measures that control access or use of the Work
in a manner inconsistent with the terms of this License Agreement. The
above applies to the Derivative Work as incorporated in a Collective
Work, but this does not require the Collective Work apart from the
Derivative Work itself to be made subject to the terms of this License.
If you distribute, publicly display, publicly perform, or publicly
digitally perform the Work or any Derivative Works or Collective Works,
You must keep intact all copyright notices for the Work and give the
Original Author credit reasonable to the medium or means You are
utilizing by conveying the name (or pseudonym if applicable) of the
Original Author if supplied; the title of the Work if supplied; to the
extent reasonably practicable, the Uniform Resource Identifier, if any,
that Licensor specifies to be associated with the Work, unless such URI
does not refer to the copyright notice or licensing information for the
Work; and in the case of a Derivative Work, a credit identifying the
use of the Work in the Derivative Work (e.g., "French translation of
the Work by Original Author," or "Screenplay based on original Work by
Original Author"). Such credit may be implemented in any reasonable
manner; provided, however, that in the case of a Derivative Work or
Collective Work, at a minimum such credit will appear where any other
comparable authorship credit appears and in a manner at least as
prominent as such other comparable authorship credit.
5. Representations, Warranties and Disclaimer
UNLESS OTHERWISE AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE
WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND
CONCERNING THE MATERIALS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,
INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,
FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT
OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER
OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF
IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE
LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY
SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING
OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. Termination
This License and the rights granted hereunder will terminate
automatically upon any breach by You of the terms of this License.
Individuals or entities who have received Derivative Works or
Collective Works from You under this License, however, will not have
their licenses terminated provided such individuals or entities remain
in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8
will survive any termination of this License. Subject to the above
terms and conditions, the license granted here is perpetual (for the
duration of the applicable copyright in the Work). Notwithstanding the
above, Licensor reserves the right to release the Work under different
license terms or to stop distributing the Work at any time; provided,
however that any such election will not serve to withdraw this License
(or any other license that has been, or is required to be, granted
under the terms of this License), and this License will continue in
full force and effect unless terminated as stated above.
8. Miscellaneous
Each time You distribute or publicly digitally perform the Work or a
Collective Work, the Licensor offers to the recipient a license to the
Work on the same terms and conditions as the license granted to You
under this License. Each time You distribute or publicly digitally
perform a Derivative Work, Licensor offers to the recipient a license
to the original Work on the same terms and conditions as the license
granted to You under this License. If any provision of this License is
invalid or unenforceable under applicable law, it shall not affect the
validity or enforceability of the remainder of the terms of this
License, and without further action by the parties to this agreement,
such provision shall be reformed to the minimum extent necessary to
make such provision valid and enforceable. No term or provision of
this License shall be deemed waived and no breach consented to unless
such waiver or consent shall be in writing and signed by the party to
be charged with such waiver or consent. This License constitutes the
entire agreement between the parties with respect to the Work licensed
here. There are no understandings, agreements or representations with
respect to the Work not specified here. Licensor shall not be bound by
any additional provisions that may appear in any communication from
You. This License may not be modified without the mutual written
agreement of the Licensor and You.

@ -1,121 +1,3 @@
# jekyll-theme-console
# xs.pe minimalist text-only jekyll blog
A jekyll theme with inspiration from linux consoles for hackers, developers and script kiddies.
<img src="https://raw.githubusercontent.com/b2a3e8/jekyll-theme-console/master/screenrec-dark.gif" width="550" title="Screenshot">
## Demo
[dark style](https://b2a3e8.github.io/jekyll-theme-console-demo-dark/) ([source code](https://github.com/b2a3e8/jekyll-theme-console-demo-dark)):
[<img src="https://raw.githubusercontent.com/b2a3e8/jekyll-theme-console/master/screenshot-dark.png" width="350" title="Screenshot">](https://b2a3e8.github.io/jekyll-theme-console-demo-dark/)
[light style](https://b2a3e8.github.io/jekyll-theme-console-demo-light/) ([source code](https://github.com/b2a3e8/jekyll-theme-console-demo-light)):
[<img src="https://raw.githubusercontent.com/b2a3e8/jekyll-theme-console/master/screenshot-light.png" width="350" title="Screenshot">](https://b2a3e8.github.io/jekyll-theme-console-demo-light/)
[hacker style](https://b2a3e8.github.io/jekyll-theme-console-demo-hacker/) ([source code](https://github.com/b2a3e8/jekyll-theme-console-demo-hacker)):
[<img src="https://raw.githubusercontent.com/b2a3e8/jekyll-theme-console/master/screenshot-hacker.png" width="350" title="Screenshot">](https://b2a3e8.github.io/jekyll-theme-console-demo-hacker/)
## Installation
First, follow the steps in [this Quickstart Guide](https://jekyllrb.com/docs/) if you're starting with Jekyll from scratch. Skip this if you already have an existing jekyll project.
**_You can also use the [demo site's source code](https://b2a3e8.github.io/jekyll-theme-console-demo-dark/) as template for an easy start._**
### Remote theme method for GitHub Pages
Use this method for sites hosted with GitHub Pages only. To install:
1. Set `remote_theme` in your project's Jekyll `_config.yml` file:
```yaml
remote_theme: b2a3e8/jekyll-theme-console
```
### Gem-based method
With Gem-based themes, directories such as the `assets`, `_layouts`, `_includes`, and `_sass` are stored in the theme’s gem, hidden from your immediate view. Yet all of the necessary directories will be read and processed during Jekyll’s build process.
This allows for easier installation and updating as you don't have to manage any of the theme files. To install:
1. Add this line to your Jekyll site's `Gemfile`:
```ruby
gem "jekyll-theme-console"
```
2. Fetch and update bundled gems by running the following [Bundler](http://bundler.io/) command:
```bash
bundle
```
3. Set `theme` in your project's Jekyll `_config.yml` file:
```yaml
theme: jekyll-theme-console
```
To update the theme run `bundle update`.
## Usage
### _config.yaml
In addition to jekyll's default configuration options, you can provide:
- `header_pages` to specify which pages should be displayed in navbar
- `footer` string, which will be inserted on the end of the page (doesn't support markup, but html)
- `google_analytics` tracking id (tracking will be enabled only in production environments and only if you set this option, no Google Analytics code will be loaded if you don't set this option)
- `listen_for_clients_preferred_style` boolean, used to allow users to choose light or dark style based on their preferences (mostly affected by OS dark or light theme, details see https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme)
- `style` to specify which predefined style (colors) should be used
```yaml
header_pages:
- index.md
- about.md
style: dark # dark (default), light or hacker
listen_for_clients_preferred_style: true # false (default) or true
footer: 'follow us on <a href="https://twitter.com/xxx">twitter</a>'
google_analytics: UA-NNNNNNNN-N
```
### front matter variables
Besides the predefined [front matter](https://jekyllrb.com/docs/front-matter/) variables from jekyll this theme also supports following variables:
- `title` to set a title for the page
- `lang` to specify the language, defaults to 'en'
- `robots` to control the robot meta tag ([details](http://longqian.me/2017/02/12/jekyll-robots-configuration/)) - this may be useful for example to set `NOINDEX` to tag pages
## Customization
If you want to customize this theme, follow this steps:
1. Fork this repository (you can use the fork as your own theme or directly as your website)
2. Create or modify files in `_layouts` directory for html-based changes
3. Create or modify files in `_sass` and `assets` for css-based changes
- You can change things which are used in light and dark theme (like font-size) in `_sass/base.scss`. You'll find style variables at the top.
- Style-specific definitions are in `_sass/_dark.scss` respectively in `_sass/_light.scss`. You can change things like background-color there.
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/b2a3e8/jekyll-theme-console. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
## Development
To set up your environment to develop this theme, run `bundle install`.
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-console.gemspec` accordingly.
## License
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
Cloned and modified from https://github.com/b2a3e8/jekyll-theme-console{-demo-dark}

@ -1,15 +1,34 @@
# Example Site settings
# basic vars
title: punctuated equilibrium
baseurl: "/"
url: https://xs.pe
author: xstefen
timezone: "US/Central"
description: >
Yet another xstefen attempt at starting a blog or project or something.
#google_analytics: UA-NNNNNNNN-N
# atom/rss
head_link_rss_feed: true
feed:
path: "/rss.xml"
#header_pages:
# - index.md
# - about.md
# header links pages
header_pages:
- "index.md"
- "about.md"
#footer: 'follow us on <a href="https://twitter.com/">twitter</a>'
# style: dark,light,hacker and listen_for_clients_preferred_style: boolean
style: "dark"
listen_for_clients_preferred_style: true
#style: light # dark (default) or light
#listen_for_clients_preferred_style: true # true or false (default)
# this is a footer
footer: "this is a footer"
markdown: "kramdown"
plugins:
- jekyll-feed
- jekyll-seo-tag
sass:
style: compressed

@ -1,8 +0,0 @@
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
<script>
window['ga-disable-{{ site.google_analytics }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ site.google_analytics }}');
</script>

@ -9,6 +9,10 @@
<meta name="robots" content="{{page.robots}}" />
{% endif %}
{%- if site.head_link_rss_feed -%}
<link rel="alternate" type="application/rss+xml" href="{{ site.url }}/rss.xml">
{%- endif -%}
{%- if site.listen_for_clients_preferred_style -%}
<link rel="stylesheet" type="text/css" href="{{ "/assets/main.css" | relative_url }}">
{%- else -%}
@ -20,8 +24,4 @@
<link rel="stylesheet" type="text/css" href="{{ "/assets/main-dark.css" | relative_url }}">
{%- endif -%}
{%- endif -%}
{%- if jekyll.environment == 'production' and site.google_analytics -%}
{%- include google-analytics.html -%}
{%- endif -%}
</head>

@ -0,0 +1,12 @@
---
layout: post
title: "Dear morons..."
date: 2018-11-04 12:32:45 +0100
categories:
---
# Dear morons...
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
## Another title
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?

@ -0,0 +1,12 @@
---
layout: post
title: "Viva la Vulva!"
date: 2018-11-06 12:32:45 +0100
categories:
---
# Viva la Vulva!
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
## Another title
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?

@ -0,0 +1,12 @@
---
layout: post
title: "Welcome to Valhalla!"
date: 2018-11-07 12:32:45 +0100
categories:
---
# Welcome to Valhalla!
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
## Another title
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?

@ -0,0 +1,156 @@
---
layout: post
title: "Syntax highlighting"
date: 2019-11-06 01:11:00 +0100
categories:
---
# Syntax highlighting
This theme supports syntax respectively code highlighting. Below you find some examples of different programming languages.
<br />ruby:
{% highlight ruby %}
def foo
puts 'foo'
end
def bubble_sort(list)
return list if list.size <= 1 # already sorted
swapped = true
while swapped do
swapped = false
0.upto(list.size-2) do |i|
if list[i] > list[i+1]
list[i], list[i+1] = list[i+1], list[i] # swap values
swapped = true
end
end
end
list
end
{% endhighlight %}
<br /><br />python:
{% highlight python %}
def func():
# function body
print("hello world!")
def setup(app):
# enable Pygments json lexer
try:
import pygments
if pygments.__version__ >= '1.5':
# use JSON lexer included in recent versions of Pygments
from pygments.lexers import JsonLexer
else:
# use JSON lexer from pygments-json if installed
from pygson.json_lexer import JSONLexer as JsonLexer
except ImportError:
pass # not fatal if we have old (or no) Pygments and no pygments-json
else:
app.add_lexer('json', JsonLexer())
return {"parallel_read_safe": True}
words = ['cat', 'window', 'defenestrate']
for w in words:
print w, len(w)
{% endhighlight %}
<br /><br />php:
{% highlight php %}
<?php function add($x, $y) {
$total = $x + $y;
return $total;
}
echo "1 + 16 = " . add(1, 16);
?>
{% endhighlight %}
<br /><br />js:
{% highlight javascript %}
function sayHello(name) {
if (!name) {
console.log('Hello World');
} else {
console.log(`Hello ${name}`);
}
}
function myFunc(a, b) {
return a * b;
}
document.getElementById('demo').innerHTML = myFunc(4, 3);
{% endhighlight %}
<br /><br />java:
{% highlight java %}
class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
{% endhighlight %}
<br />objective c:
{% highlight objective_c %}
- (int)method:(int)i {
return [self square_root:i];
}
{% endhighlight %}
<br /><br />perl:
{% highlight perl %}
while (<>) {
chomp;
if (s/$//) {
$_ .= <>;
redo unless eof();
}
}
{% endhighlight %}
<br /><br />sql:
{% highlight sql %}
SELECT Country FROM Customers WHERE Country <> 'USA'
{% endhighlight %}
<br /><br />c++:
{% highlight c++ %}
#include
using namespace std;
int main () {
cout << "Hello World!";
return 0;
}
{% endhighlight %}
<br /><br />c sharp:
{% highlight c# %}
class Foo {
public int Value;
public static explicit operator Foo(int value) {
return new Foo(value);
}
}
Foo foo = (Foo)2;
{% endhighlight %}
<br /><br />vb:
{% highlight vb linenos %}
Private Sub Form_Load()
MsgBox "Hello, World!"
End Sub
{% endhighlight %}

@ -0,0 +1,13 @@
---
layout: page
title: /about
permalink: /about/
---
I'm Stefen Wakefield. I am a jack of all trades.
I currently earn a wage in the automotive parts supply industry, though my entire professional history has been in systems and network administration and engineering as well as technical support. I favor infrastructure and information security and as a hobby I work on various projects such as this website and Android custom ROM development.
You can find most of my work on my personal [Gitea](https://git.xs.pe/xstefen), on [GitHub](https://github.com/xstefen) and by searching the web (I'm all over the place). Feel free to contact me via [email](mailto:me@xstefen.dev?subject=hey?body=%0D%0A%0D%0Avia%20xs.pe%2Fabout%2F) (my PGP key is [0xF52B5BFA7BD26BB4](https://xs.pe/publickey.txt)). You can also reach me on [Telegram](https://t.me/xstefen).
The source of this website is available on [Gitea](https://git.xs.pe/xstefen/xs.pe).

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

@ -0,0 +1,17 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mDMEYDtikxYJKwYBBAHaRw8BAQdAlK49Sjhtuwl9Ra3jushqxF47TBbxxA4bgcKT
+mgjZAG0IVN0ZWZlbiBXYWtlZmllbGQgPG1lQHhzdGVmZW4uZGV2PoiQBBMWCgA4
AhsDBQsJCAcDBRUKCQgLBRYCAwEAAh4BAheAFiEEpwdJImkdCiTj+oJh9Stb+nvS
a7QFAmHT7kMACgkQ9Stb+nvSa7TQPgEA/k4gMvxuY5j1NMxDtC9+Di+ogk2hzxU9
8Nxlk6mcyI0A/i1/NjjCkTSkEzaIPDk0L/RruLXV8Bi/rmbVPNLUY2ALtBh4c3Rl
ZmVuIDxtZUB4c3RlZmVuLmRldj6IjgQTFgoANhYhBKcHSSJpHQok4/qCYfUrW/p7
0mu0BQJiJE9+AhsDBAsJCAcEFQoJCAUWAgMBAAIeAQIXgAAKCRD1K1v6e9JrtAhB
AQDY5M2jPP36/852IPH5pNG/GDR7ko4VxugjlLL/wuUIvgD/Rsu7VaTiioQhbG+K
g0vFj0CDolPnpa+JKfgaJ+Sy3AC4OARgO2KTEgorBgEEAZdVAQUBAQdAqWWW31XP
de/EWuduOgcTCNYT5UTE2UVf6ED3iAqSURoDAQgHiHgEGBYKACACGwwWIQSnB0ki
aR0KJOP6gmH1K1v6e9JrtAUCYdPuegAKCRD1K1v6e9JrtBGyAP46/LbnNEKaMhRk
gWhBk31x2cN5ki9ksJJIWELFlJGi2gD/Sn40bB0/5hBkeTL7xH1LReXALtyiAN6D
CVbZxATt/wI=
=fT/N
-----END PGP PUBLIC KEY BLOCK-----

@ -1,19 +0,0 @@
# frozen_string_literal: true
Gem::Specification.new do |spec|
spec.name = "jekyll-theme-console"
spec.version = "0.4.0"
spec.authors = ["b2a3e8"]
spec.email = ["31370519+b2a3e8@users.noreply.github.com"]
spec.summary = "A jekyll theme with inspiration from linux consoles for hackers, developers and script kiddies."
spec.homepage = "https://github.com/b2a3e8/jekyll-theme-console"
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(assets|_layouts|_includes|_sass|LICENSE|README)!i) }
spec.add_runtime_dependency "jekyll", ">= 3.5"
spec.add_runtime_dependency "jekyll-seo-tag"
spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
end

@ -0,0 +1,30 @@
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.title | xml_escape }}</title>
<description>{{ site.description | xml_escape }}</description>
<link>{{ site.url }}{{ site.baseurl }}</link>
<atom:link href="{{ "/rss.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml"/>
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<generator>Jekyll v{{ jekyll.version }}</generator>
{% for post in site.posts limit:10 %}
<item>
<title>{{ post.title | xml_escape }}</title>
<description>{{ post.content | xml_escape }}</description>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>
{% for tag in post.tags %}
<category>{{ tag | xml_escape }}</category>
{% endfor %}
{% for cat in post.categories %}
<category>{{ cat | xml_escape }}</category>
{% endfor %}
</item>
{% endfor %}
</channel>
</rss>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 846 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 KiB

Loading…
Cancel
Save