sudo systemctl disable apport.service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
# MIT licensed | |
# This script is AS-IS where is (no warrenty, liability etc - see the license for full) | |
# see: https://opensource.org/licenses/MIT and/or https://en.wikipedia.org/wiki/MIT_License | |
# Note: This script should just be used as an example. Use at your own risk! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REGISTRY_URI=registry.example.com | |
APPLICATION_DOCKER_FROM_IMAGE=ubuntu:18.04 | |
APPLICATION_PHP_VERSION=7.2 | |
APPLICATION_CODE=some-thing | |
APPLICATION_NAME=Some\ Thing | |
APPLICATION_DESCRIPTION=Some\ Thing\ Else | |
APPLICATION_VENDOR_NAME=Your\ Name | |
DATA_DIR=../some-thing-data | |
# Dev only. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
# MIT licensed | |
# This script is AS-IS where is (no warrenty, liability etc - see the license for full details) | |
# see: https://opensource.org/licenses/MIT and/or https://en.wikipedia.org/wiki/MIT_License | |
# About: | |
# This file converts a single file (client.conf) with inline certs into an Untangle compatible client (to be imported) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
# MIT licensed | |
# This script is AS-IS where is (no warranty, liability etc - see the license for full details) | |
# https://opensource.org/licenses/MIT and/or https://en.wikipedia.org/wiki/MIT_License | |
# Notes: | |
# * This script is meant to be loaded from the root of the git repo, which can contain a .env file (with project settings) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This was a test for Jenkins running Docker containers | |
stage('Build') { | |
agent { | |
docker { | |
image 'composer:latest' | |
// If you use SSH cloning you need this. TODO - look at tokens for private repos and http clone | |
args '-v /etc/passwd:/etc/passwd:ro' | |
// args '-e HOME -v $HOME/.ssh:$HOME/.ssh:ro -v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This was a test, use as is where is (MIT License) | |
# Test of Terraforming a Kubernetes cluster on Digital Ocean with Helm and a basic setup (dashboard and ingress) | |
# I was also push a container in via local Helm that had an image stored in Gitlabs Docker Registry | |
# You need to have the following tools installed (Terraform, Helm, Kubectl) | |
# run `terraform init`, then `terraform apply` | |
# Goto the Digital Ocean dashboard and download the kubeconfig to `/.kube/config` | |
# To access the proxy run `kubectl proxy` and then goto | |
# `http://localhost:8001/api/v1/namespaces/kube-system/services/https:dashboard-kubernetes-dashboard:https/proxy/ | |
# | |
# To get the token, use something like: |
%F (%a - %b) %T [%Z]
e.g.
2019-08-02 (Fri - Aug) 23:29:10 [BST]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Some commands I use to fix bluetooth audio issues. | |
# As is where is | |
sudo killall pulseaudio | |
sleep 10 | |
pulseaudio --start |