Skip to content

Instantly share code, notes, and snippets.

View azzaka's full-sized avatar

Lee Goile azzaka

  • UK/Australia
View GitHub Profile
@churro-s
churro-s / LetsEncrypt_HTTPS_plex.MD
Last active February 25, 2024 11:52
Setup Let's Encrypt certificate for use with Plex Media Server on Ubuntu
# file name terraform/modules/aws_vpc/vpc.tf
# first create the VPC.
# Prefix resources with var.name so we can have many environments trivially
resource "aws_vpc" "mod" {
cidr_block = "${var.cidr}"
enable_dns_hostnames = "${var.enable_dns_hostnames}"
enable_dns_support = "${var.enable_dns_support}"
tags {
Name = "${var.env}_vpc"
@Wildcarde
Wildcarde / Dockerfile
Last active November 30, 2019 17:34
Unreal Tournament Docker Container Files - Currently this makes a free standing server, a future update will be enable handling launching hubs
FROM centos:6
MAINTAINER Garrett McGrath <gmcgrath815+docker at gmail.com>
RUN yum install -y wget unzip; /usr/bin/wget "<unreal linux source link here>" -O temp.zip; /usr/bin/unzip temp.zip; rm temp.zip
RUN yum install -y Xvfb xorg-X11-server-Xvfb which
RUN chmod +x /LinuxServer/Engine/Binaries/Linux/*
#this is where you SHOULD be able to mount the confs file and have it 'just work' that's not the case however.
@sergeifilippov
sergeifilippov / domain-nginx.conf
Created February 10, 2014 03:22
linux-dash with nginx
server {
server_name $domain_name;
root /var/www;
index index.html index.php;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
# Cache static files for as long as possible
location ~* \.(?:xml|ogg|mp3|mp4|ogv|svg|svgz|eot|otf|woff|ttf|css|js|jpg|jpeg|gif|png|ico)$ {
try_files $uri =404;
@didip
didip / download-centos-mirror.sh
Last active March 13, 2019 13:53
Simple script to download CentOS mirror. You can totally put this in cron.
#!/bin/bash
# Number of arguments should be at least 1
if [ $# -lt 1 ]; then
echo "Usage: $0 centos-version-number"
exit 1
fi
VERSION=$1