Skip to content

Instantly share code, notes, and snippets.

View itsMattShull's full-sized avatar

Matt Shull itsMattShull

View GitHub Profile
@itsMattShull
itsMattShull / virtual-assistant.md
Last active August 12, 2021 20:38
Offline Home Automation and Voice Assistant

Hardware

  • Raspberry Pi 4 Model B (x3)
  • Raspberry Pi 3b+
  • ReSpeaker 2-Mics Pi HAT
  • Speaker 3 Watt 8 Ohm Single Cavity Mini Speaker

Software

  • Rhasspy Base
    • Raspberry Pi 4 Model B
  • Once you have a refresh install of Raspberry Pi OS, make sure to update password to something. Fine to keep username to pi.

Keybase proof

I hereby claim:

  • I am itsmattshull on github.
  • I am mattshull (https://keybase.io/mattshull) on keybase.
  • I have a public key whose fingerprint is C7F2 BDD8 DEF1 D027 0ED7 D507 66E9 93FA 2066 3C99

To claim this, I am signing this object:

@itsMattShull
itsMattShull / server.js
Created June 26, 2018 04:19
Code for "HTTPS on localhost in Nuxt" blog post
const { Nuxt, Builder } = require('nuxt')
const app = require('express')()
const http = require('http')
const https = require('https')
const fs = require('fs-extra')
let server
const isProd = (process.env.NODE_ENV === 'production')
const port = process.env.PORT || 3000
@itsMattShull
itsMattShull / create-ssl-for-localhost
Created June 26, 2018 03:33
Command to create a key.pem and cert.pem for localhost
openssl req \
-newkey rsa:2048 \
-x509 \
-nodes \
-keyout key.pem \
-new \
-out cert.pem \
-subj /CN=localhost \
-reqexts SAN \
-extensions SAN \

Keybase proof

I hereby claim:

  • I am derekshull on github.
  • I am mattshull (https://keybase.io/mattshull) on keybase.
  • I have a public key ASCY6aEbWdqpE4N71aKJSm-Q5VgZc0MHungn9D19iwg0kwo

To claim this, I am signing this object:

@itsMattShull
itsMattShull / index.html
Last active November 30, 2016 03:14
Web Component without template.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<title>How to use the Custom Elements v1 + Shadow DOM v1 polyfills</title>
</head>
<body>