Skip to content

Instantly share code, notes, and snippets.

View userbradley's full-sized avatar
:shipit:
kubectl delete ns kube-system

Bradley Jenkins userbradley

:shipit:
kubectl delete ns kube-system
View GitHub Profile
@userbradley
userbradley / BBC.m3u
Created November 4, 2019 00:00 — forked from random-robbie/BBC.m3u
BBC HLS Streams - let me know if i missed any
#EXTM3U
#EXTINF:-1 tvg-id="BBC One HD" tvg-name="BBC One HD" tvg-logo="https://s4.postimg.org/k5xl5dmf1/bbc_one.png" group-title="BBC",BBC One HD
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_hdtv/ak/bbc_one_hd.m3u8
#EXTINF:-1 tvg-id="BBC One London" tvg-name="BBC One London" tvg-logo="https://s4.postimg.org/z61nj8qd9/Bbc_london_logo.jpg" group-title="BBC",BBC One London
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/hls_tablet/ak/bbc_one_london.m3u8
#EXTINF:-1 tvg-id="BBC One Northern Ireland HD" tvg-name="BBC One Northern Ireland HD" tvg-logo="https://s3.postimg.org/ltztuojqr/6y_QROLCn_400x400.png" group-title="BBC",BBC One Northern Ireland HD
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_hdtv/ak/bbc_one_northern_ireland_hd.m3u8
#EXTINF:-1 tvg-id="BBC One Scotland HD" tvg-name="BBC One Scotland HD" tvg-logo="https://s3.postimg.org/ltztuojqr/6y_QROLCn_400x400.png" group-title="BBC",BBC One Scotland HD
http://a.fi
apiVersion: v1
kind: Service
metadata:
name: leantime
spec:
ports:
- name: http
targetPort: 80
port: 80
selector:
@userbradley
userbradley / .yml
Last active November 15, 2021 11:15
k8-service-working
apiVersion: v1
kind: Service
metadata:
name: "httpbin"
spec:
ports:
- name: http
targetPort: 8080
port: 80
selector:
@userbradley
userbradley / Nginx Latest
Created November 22, 2021 02:32
Nginx Latest
nginx:latest (debian 10.11)
===========================
Total: 172 (UNKNOWN: 0, LOW: 23, MEDIUM: 75, HIGH: 66, CRITICAL: 8)
+------------------+------------------+----------+---------------------------+---------------+--------------------------------------------------------------+
| LIBRARY | VULNERABILITY ID | SEVERITY | INSTALLED VERSION | FIXED VERSION | TITLE |
+------------------+------------------+----------+---------------------------+---------------+--------------------------------------------------------------+
| apt | CVE-2011-3374 | LOW | 1.8.2.3 | | It was found that apt-key in apt, |
| | | | | | all versions, do not correctly... |
| | | | | | -->avd.aquasec
@userbradley
userbradley / Nginx Alpine
Created November 22, 2021 02:33
Nginx Alpine
nginx:alpine (alpine 3.14.2)
============================
Total: 6 (UNKNOWN: 0, LOW: 0, MEDIUM: 2, HIGH: 2, CRITICAL: 2)
+---------+------------------+----------+-------------------+---------------+---------------------------------------+
| LIBRARY | VULNERABILITY ID | SEVERITY | INSTALLED VERSION | FIXED VERSION | TITLE |
+---------+------------------+----------+-------------------+---------------+---------------------------------------+
| curl | CVE-2021-22945 | CRITICAL | 7.78.0-r0 | 7.79.0-r0 | curl: use-after-free and |
| | | | | | double-free in MQTT sending |
| | | | | | -->avd.aquasec.com/nvd/cve-2021-22945 |
@userbradley
userbradley / mkdocs config
Created November 24, 2021 10:45
mkcods config
site_name: Portfolio
site_dir: /output/
#site_dir: ../docker/test/content/
markdown_extensions:
- admonition
- pymdownx.details
- pymdownx.superfences
- attr_list
- md_in_html
theme:
@userbradley
userbradley / Codefresh Pipeline
Created December 6, 2021 10:59
Codefresh Pipeline
version: "1.0"
stages:
- "setup"
- "mkdocs-build"
- "docker-build"
- "deploy"
steps:
clone:
title: "Cloning repository"
@userbradley
userbradley / mariadb in docker
Created January 28, 2022 13:59
mariadb in docker
mariadb:
image: mariadb:latest
restart: always
hostname: "mariadb"
command: "mysqld --init-file /data/application/init.sql"
volumes:
- mariadb-data:/var/lib/mysql
- ./init.sql:/data/application/init.sql
ports:
- '3306:3306'
@userbradley
userbradley / init.tf
Created March 3, 2022 20:40
Terraform Wasabi backend
terraform {
}
backend "s3" {
endpoint = "https://s3.uk-1.wasabisys.com"
region = "eu-west-1"
bucket = "<bucket-name>"
key = "<path/to/file>/terraform.tfstate"
skip_credentials_validation = true
}
}
@userbradley
userbradley / header.md
Created March 15, 2022 15:09
Heder exmaple for github issue

Maintainer


Documentation has been created on best effort so some parts may be missing