Skip to content

Instantly share code, notes, and snippets.

View denhamparry's full-sized avatar

Lewis Denham-Parry denhamparry

View GitHub Profile
@denhamparry
denhamparry / sampe.bat
Created September 21, 2020 14:36
Get serial number of Thinkpad on Windows
wmic bios get serialnumber
@denhamparry
denhamparry / README.md
Created October 12, 2020 09:10
VMware kernel module: a compatible version of gcc was not found

VMware kernel module: a compatible version of gcc was not found

Issue

When installing VMware Workstation, error message appears saying gcc was not found.

Solution

cd /usr/lib/vmware/modules/source
@denhamparry
denhamparry / template.sh
Created January 4, 2021 12:39
Bash Template
#!/usr/bin/env bash
set -Eeuo pipefail
trap cleanup SIGINT SIGTERM ERR EXIT
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P)
usage() {
cat <<EOF
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...]
@denhamparry
denhamparry / MESSAGE.txt
Created March 23, 2021 13:42
Taskmater - Feedback message
Hi, Taskmaster here.
tl;dr: Please could you give 2 mins of your time to give feedback for last years CTF event https://forms.gle/v4yj3BxJAiHm38xR9
---
Previously, in CTF:
- we sent you some scenarios during Cloud Native Security Day KubeCon NA 2020
- you managed to
@denhamparry
denhamparry / components.yaml
Created March 30, 2021 13:56
Metric Server v0.4.2 with kubelet insecure tls for single node cluster
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
k8s-app: metrics-server
name: metrics-server
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
@denhamparry
denhamparry / README.md
Last active April 11, 2021 02:00
Hauppauge Digital TV Tuner for Xbox One - Ubuntu setup

Hauppauge Digital TV Tuner for Xbox One - Ubuntu setup

Install

Open Terminal in Ubuntu The easiest way to open terminal is to right click on desktop and select Open Terminal. You can also click Ctrl+Alt+T on your keyboard.

In Terminal, type the following or copy and paste the following lines, one by one, then click enter.

$sudo add-apt-repository ppa:b-rad/kernel+mediatree+hauppauge
@denhamparry
denhamparry / README.md
Last active May 6, 2021 18:26
Welsh things for Justin
@denhamparry
denhamparry / boxstarter.ps1
Last active July 10, 2021 09:36
Boxstarter to setup new Windows box
# TODO:
# Inspiration: https://gist.github.com/zloeber/9c2d659a2a8f063af26c9ba0285c7e78
# Install
# - vs code insiders
# Description: Boxstarter Script
# Author: Lewis Denham-Parry <lewis@denhamparry.co.uk>