Skip to content

Instantly share code, notes, and snippets.

View mrmookie's full-sized avatar

Matt "Mookie" Thayer mrmookie

View GitHub Profile
@mrmookie
mrmookie / nginx.conf
Created September 24, 2021 22:02 — forked from kirkins/nginx.conf
daemon off;
worker_processes auto;
error_log /var/log/nginx/error.log debug;
events {
worker_connections 1024;
}
@mrmookie
mrmookie / install-nginx-rtmp-module.sh
Created September 26, 2020 02:10 — forked from afriza/install-nginx-rtmp-module.sh
Install NGINX RTMP module with HLS support on Ubuntu 18.04
sudo apt install curl gnupg2 ca-certificates lsb-release
echo "deb http://nginx.org/packages/ubuntu `lsb_release -cs` nginx" | sudo tee /etc/apt/sources.list.d/nginx.list
curl -fsSL https://nginx.org/keys/nginx_signing.key | sudo apt-key add -
sudo apt update
NGINX_VERSION=$(apt show nginx | grep "^Version" | cut -d " " -f 2 | cut -d "-" -f 1)
# take note of the nginx version in the "stable" release. e.g. 1.14.2
echo NGINX version $NGINX_VERSION
wget https://hg.nginx.org/pkg-oss/raw-file/default/build_module.sh
chmod a+x build_module.sh
@mrmookie
mrmookie / team_dashboard.html
Created March 10, 2020 19:11 — forked from evidanary/team_dashboard.html
Simple Javascript that cycles through multiple webpages. This can be displayed on a TV.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>Dashboard Example</title>
<style type="text/css">
body, html { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; }
iframe { border: none; width: 100%; height: 100%; display: none; }
iframe.active { display: block;}
</style>
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>

Keybase proof

I hereby claim:

  • I am mrmookie on github.
  • I am mrmookie (https://keybase.io/mrmookie) on keybase.
  • I have a public key whose fingerprint is 1465 D373 2161 84E7 B28D 20C5 427C 2955 FC92 ED66

To claim this, I am signing this object: