Skip to content

Instantly share code, notes, and snippets.

View henryvoorburg's full-sized avatar

henryvoorburg

View GitHub Profile
@henryvoorburg
henryvoorburg / docker-compose.yml
Created June 6, 2022 09:17 — forked from Webreaper/docker-compose.yml
Sample Docker-compose file which shows how to set up Sonarr, Radarr, Prowlarr, Lidarr, QBittorrent and a VPN container so that all all traffic from the containers is routed through the VPN. Also includes Plex and get_iplayer containers, which are not routed through the VPN.
# Docker compose to set up containers for all services you need:
# VPN
# Sonarr, Radarr, Lidarr, Qbittorrent
# Non-VPN
# Plex, get_iplayer
# Before running docker-compose, you should pre-create all of the following folders.
# Folders for Docker State:
# /volume1/dockerdata. - root where this docker-compose.yml should live
# /volume1/dockerdata/plex - Plex config and DB
# /volume1/dockerdata/sonarr - Sonarr config and DB
@henryvoorburg
henryvoorburg / postgres-brew.md
Created May 11, 2022 22:58 — forked from ibraheem4/postgres-brew.md
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update
@henryvoorburg
henryvoorburg / multiple-ssh-authkeys.md
Created May 11, 2022 14:52 — forked from otkrsk/multiple-ssh-authkeys.md
Add multiple SSH keys to the authorized_keys file to enable SSH authentication when connecting to a server.

Step 1: Generate first ssh key Type the following command to generate your first public and private key on a local workstation. Next provide the required input or accept the defaults. Please do not change the filename and directory location.

workstation 1 $ ssh-keygen -t rsa

Finally, copy your public key to your remote server using scp

@henryvoorburg
henryvoorburg / php-style-guide.md
Created May 2, 2022 03:03 — forked from ryansechrest/php-style-guide.md
PHP style guide with coding standards and best practices.

PHP Style Guide

All rules and guidelines in this document apply to PHP files unless otherwise noted. References to PHP/HTML files can be interpreted as files that primarily contain HTML, but use PHP for templating purposes.

The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Most sections are broken up into two parts:

  1. Overview of all rules with a quick example
  2. Each rule called out with examples of do's and don'ts
@henryvoorburg
henryvoorburg / GitCommitEmoji.md
Created May 2, 2022 01:36 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@henryvoorburg
henryvoorburg / gistfil1.textile
Created May 3, 2021 21:25 — forked from itsmattsoria/gistfil1.textile
Mac Terminal Cheat Sheet

SHORTCUTS

Key/Command Description
Tab Auto-complete files and folder names
Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + U Clear the line before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + W Delete the word before the cursor
Ctrl + T Swap the last two characters before the cursor
@henryvoorburg
henryvoorburg / .history
Created April 5, 2021 05:58 — forked from yahyaerturan/.history
composer.lock file - for - security.firewall.map has a dependency on a non-existent service security.request_matcher.zfHj2lW
1. composer require server --dev
symfony/process (v4.1.6)
symfony/web-server-bundle (v4.1.6)
Symfony operations: 1 recipe (418553c035c1340534830260d374a8d2)
- Configuring symfony/web-server-bundle (>=3.3):
2. composer require make --dev
Using version ^1.8 for symfony/maker-bundle
@henryvoorburg
henryvoorburg / data.csv
Created April 5, 2021 05:23 — forked from grncdr/data.csv
Demo of importing a CSV file into a Contentful space
first name last name age
Stephen Sugden 31
Tom Reznik 29
Justin Thomas 30
@henryvoorburg
henryvoorburg / apple-meta-insanity.html
Created April 4, 2021 20:40 — forked from eyecatchup/apple-meta-insanity.html
Insanity of Apple-specific meta tags..
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Apple Meta Insanity</title>
<!--
APPLE WEB APP META TAGS
-->
@henryvoorburg
henryvoorburg / _verify-repair-permissions-disk.md
Created March 22, 2021 16:28 — forked from bzerangue/_verify-repair-permissions-disk.md
Mac OS X Utilities via Terminal: (Verify and Repair: Disk Permissions AND Disk / Software Update / TimeMachine)

Verify and Repair Disk Permissions via Terminal (Mac OS X)

Verify Permissions

diskutil verifyPermissions /

Repair Permissions

diskutil repairPermissions /