Check the certificat openssl x509 -in certificate.crt -text -noout
Compare the certificat & the private key; This :
openssl x509 -modulus -noout -in mycomp.com.crt | openssl md5
Should return the same as :
# Contains : | |
# * attachment-rc.yml : How to attach a console to a process inside a pod | |
# * script.sh : Set of script for managing pods easily | |
# * minikube_on-mac.sh : Install minikube on macos | |
# Strace & Docker | |
# https://medium.com/@rothgar/how-to-debug-a-running-docker-container-from-a-separate-container-983f11740dc6 |
module DebugControllerCallbackChain | |
def self.included(base) | |
class << base | |
prepend ClassMethods | |
end | |
end | |
module ClassMethods | |
def inherited(base) | |
super |
defmodule Base do | |
defmacro __using__(_) do | |
quote do | |
def process, do: "Base.process" | |
def request, do: "Base.request" | |
defoverridable Module.definitions_in(__MODULE__) | |
end | |
end | |
end |
require "minitest/autorun" | |
require "pry-byebug" | |
class Position | |
DIRECTIONS= %i(north east south west) | |
class Radius | |
include Enumerable | |
def initialize(value); @value =value; end |
# docker build -f sqlite3.Dockerfile -t sqlite3:local . | |
# docker run --rm -it -v sqlite-db-volume:/db sqlite3:local my_app.db | |
FROM alpine:latest | |
RUN apk add --update sqlite | |
RUN mkdir /db | |
WORKDIR /db | |
ENTRYPOINT ["sqlite3"] | |
CMD ["my_app.db"] |
Rails last version & docker-compose setup easy |
Main step to the setup of my mac. |
# Kind installation : https://istio.io/latest/docs/setup/platform-setup/kind/ | |
kind create cluster --name istio-testing | |
kubectl config use-context kind-istio-testing | |
# Istio installation : https://istio.io/latest/docs/setup/getting-started/ | |
istioctl install --set profile=demo -y | |
... |
// ==UserScript== | |
// @name AWS SSO : Auto-allow | |
// @namespace https://skillsoftsso.awsapps.com/ | |
// @version 0.1 | |
// @description Auto allow | |
// @author You | |
// @match https://skillsoftsso.awsapps.com/start/user-consent/authorize.html?clientId=* | |
// @grant none | |
// ==/UserScript== |