Skip to content

Instantly share code, notes, and snippets.

View nickpeirson's full-sized avatar

Nick Peirson nickpeirson

  • ChannelGrabber.com
  • UK
View GitHub Profile
@nickpeirson
nickpeirson / 1-plexbox-setup-README.md
Created August 15, 2019 12:15 — forked from mturley/1-plexbox-setup-README.md
Ubuntu Server plexbox setup

Start with a fresh Ubuntu Server installation. NOTE: In the commands and files below, be sure to replace <yourusername> with your username and <yourgroupname> with your group name (probably the same as your username). Also, replace <yourhostname> with your server's hostname.

Install Dependencies:

. /etc/lsb-release
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/ubuntu ${DISTRIB_CODENAME} main" | sudo tee /etc/apt/sources.list.d/mono-official.list
sudo apt update
@nickpeirson
nickpeirson / monolog.json
Last active February 29, 2024 09:58 — forked from skowron-line/monolog.json
lnav Monolog format
{
"monolog": {
"title": "Monolog log file",
"description": "Monolog log format",
"url": "https://github.com/Seldaek/monolog",
"regex": {
"default": {
"pattern": "\\[(?P<timestamp>.*)\\] (?P<logger>\\w+).(?P<level>\\w+): (?P<message>.+) (?P<context>[\\[\\{].*[\\]\\}]) (?P<extra>[\\[\\{].*[\\]\\}])$"
}
},