This guide has moved to a GitHub repository to enable collaboration and community input via pull-requests.
https://github.com/alexellis/k8s-on-raspbian
Alex
This guide has moved to a GitHub repository to enable collaboration and community input via pull-requests.
https://github.com/alexellis/k8s-on-raspbian
Alex
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
# This is a conversion of the helpers for bash for use in fish shell. | |
# You can find the original bash code available at https://gist.github.com/chtorr/0ecc8fca27a4c5e186c636c262cc4757 | |
# | |
# You can either: | |
# A. Place the entire block below into ~/.config/fish/config.fish | |
# B. Place the YUBIKEY_PROFILE line into ~/.config/fish/config.fish and place the individual functions into files | |
# (recommended). | |
# e.g., ~/.config/fish/functions/_aws_unset.fish contains the body of the _aws_unset function below. | |
# - install the Yubico authenticator app |
This is how to connect to another host with your docker client, without modifying your local Docker installation or when you don't have a local Docker installation.
First be sure to enable the Docker Remote API on the remote host.
This can easily be done with a container.
For HTTP connection use jarkt/docker-remote-api.
#!/usr/bin/env bash | |
# Completely remove a file from a Git repository history | |
# | |
# Copyleft 2017-2019 by Ignacio Nunez Hernanz <nacho _a_t_ ownyourbits _d_o_t_ com> | |
# GPL licensed (see end of file) * Use at your own risk! | |
# | |
# Usage: | |
# git-forget-blob file_to_forget | |
# | |
# Notes: |
// Here is a short snippet you can just run from the jenkins script console, to dump all of your credentials to plain text. | |
com.cloudbees.plugins.credentials.SystemCredentialsProvider.getInstance().getCredentials().forEach{ | |
it.properties.each { prop, val -> | |
println(prop + ' = "' + val + '"') | |
} | |
println("-----------------------") | |
} | |
This is my personal guide for installing pfSense. I had to make notes to capture the details of the "install from scratch" to ensure I didn't forget the important details. Also, I'm trying to follow the philosophy of building systems with discrete "disposable" components that make a system mutable and less rigid. It does not cover installing any packages like Squid or Suricata as that's way beyond the scope of a basic, functional install.
I migrated from an environment that was at various times running Tomato Toastman 1.28 or Asuswrt-Merlin on Netgear and ASUS routers across four access points (one always acting as the firewall/gateway). It was pretty fast, but had roaming problems, and I was using full Wifi routers with half the stuff disabled. Also, even with 300mb internet service, I found that I could easily swamp the connection and drastically affect VOIP and Wifi Calling without even trying. The only fix was to throttle ever
Issue : Unable to GPT format disk... | |
Version : FreeNAS 11.3 - probably all versions that make use of GPT | |
Recommended : https://www.ixsystems.com/community/threads/hard-drive-burn-in-testing-discussion-thread.21451/ | |
Quick Fix : Step 1, optionally step 2 | |
1) gpart recover /dev/affected-device | |
2) sysctl kern.geom.debugflags=0x10 | |
dd if=/dev/zero of=/dev/affected-device bs=512 count=1 | |
Background: | |
If you get a disk, or disks, fail to be added to a pool with this error, or it "runs out of space" before completing... |
Using AWK to split a line of text into sub-strings: | |
To split a line of text at column X, followed by a new line (or whatever) - even if the input it less than a multiple of X. | |
If something other than a NEWLINE is desired substitute it, use "& " or "& value=" etc... | |
You may want to play around with BEGIN{} & END{} blocks if you plan on getting fancy. | |
Handy for reformatting a mangled SSH or GPG key! | |
DATA="$(dd if=/dev/urandom bs=512 count=1 | base64 -w0)" | |
by pipe |
## Setting up the middleware for redirect to https ## | |
http: | |
middlewares: | |
redirect: | |
redirectScheme: | |
scheme: https |