Skip to content

Instantly share code, notes, and snippets.

View shawnthompson's full-sized avatar

Shawn Thompson shawnthompson

  • Montreal
View GitHub Profile
const markdownIt = require('markdown-it');
const markdownItAnchor = require('markdown-it-anchor');
const markdownItAttrs = require('markdown-it-attrs');
const { EleventyHtmlBasePlugin } = require('@11ty/eleventy');
const stripHtml = require('string-strip-html');
// const { slugify } = require("@11ty/eleventy");
module.exports = function(eleventyConfig) {
@shawnthompson
shawnthompson / permalink.md
Created October 5, 2023 12:15
11ty error for permalink
{
"Analysis": {
"id": "analysis",
"mainFocus" : [
"Business Vision",
"Rules",
"Requirements"
],
"description" : "Writes business requirements and/or initial user stories, are concerned with ensuring that the project delivers the agreed-upon business benefits.",
"roles": [{
@shawnthompson
shawnthompson / server_setup.md
Created May 2, 2020 17:22
Steps to setting up Ubuntu on VPS

Steps to setting up Ubuntu on VPS

  1. remove ssh to server from ~/.ssh/know_host file
  2. add sudo user adduser username
  3. give user sudo power usermod -aG sudo username
  4. switch to non root user su username
  5. update apt-get sudo apt-get update
  6. install firewall sudo apt-get ufw
  7. open SSH port in firewall sudo ufw allow OpenSSH
  8. enable firewall sudo ufw enable
@shawnthompson
shawnthompson / pullout.html
Created March 26, 2020 20:19
Shawn's pull out idea
<!DOCTYPE html>
<html>
<head>
<title>Page with pull outs</title>
</head>
<body>
<header>
<nav>
<ul>
{
"1. Perceivable": [
{
"1.1 Text Alternatives": {
"url": "",
"description": ""
},
"1.1.1 Non-text Content": {
"url": "",
"description": ""
@shawnthompson
shawnthompson / gist:c9a2dc326d19ce5af87d5c2319f908be
Last active January 10, 2022 13:56 — forked from rlambert27/gist:fbe1532b25c3898211d2bb3f55a91c86
Guide for getting Plex, SickRage, CouchPotato, Transmission, PlexPY, OpenVPN (PIA) up and running on dual rpi's or headless ubuntu

Setup guide for

  • DD-WRT router flash software
  • VPN on router (PIA)
  • Static IPs for NAS and rpi3(plex/tra)
  • UPnP and port forwarding - TO BE REVISED (is UPnP secure?)
  • Ubuntu install
  • Install Plex Media Server on ubuplex
  • rpi3(plex/tra) with fresh install
  • Install Plex Media Server on rpi3plex
  • Mount NAS drives to rpi3(plex/tra) or ubuplex