Skip to content

Instantly share code, notes, and snippets.

View sdenel's full-sized avatar

Simon DENEL sdenel

View GitHub Profile
@sdenel
sdenel / nginx-hello-world-deployment.yaml
Last active October 16, 2024 12:38
Kubernetes: a simple Nginx "Hello world" deployment file
# To deploy: kubectl create -f nginx-hello-world-deployment.yaml
# Access it with the API as a proxy:
# $ kubectl proxy
# Then in you browser: http://localhost:8001/api/v1/namespaces/default/services/nginx:/proxy/#!/
apiVersion: v1
kind: Service
metadata:
name: nginx
spec:
@sdenel
sdenel / install-docker.sh
Created August 22, 2018 13:54
Ubuntu: Install Docker
# As root, adapted from: https://docs.docker.com/install/linux/docker-ce/ubuntu/
apt update
apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
apt-key fingerprint 0EBFCD88
add-apt-repository \
@sdenel
sdenel / example.ldif
Created December 18, 2018 15:40
Ajouter un utilisateur dans OpenLDAP (format LDIF)
dn: uid=toto,dc=example,dc=org
changetype: add
objectClass: inetOrgPerson
cn: toto DUPONT
sn: DUPONT
uid: toto
mail: [email protected]
@sdenel
sdenel / essai
Created December 21, 2018 12:53
./toto && tata
# curl https://gist.githubusercontent.com/skal111/71796eddcfad22b6e6da9102f1a7c3e6/raw/2f09c4ce4baea7c7e7bcbaef3e9342d3c7fbce2f/zscaler.config | sh
export http_proxy=http://zrh1.sme.zscloud.net:9480/
export https_proxy=https://zrh1.sme.zscloud.net:9480/
export no_proxy=intra-tpg.ch
echo "-----BEGIN CERTIFICATE-----
MIIE0zCCA7ugAwIBAgIJANu+mC2Jt3uTMA0GCSqGSIb3DQEBCwUAMIGhMQswCQYD
VQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTERMA8GA1UEBxMIU2FuIEpvc2Ux
FTATBgNVBAoTDFpzY2FsZXIgSW5jLjEVMBMGA1UECxMMWnNjYWxlciBJbmMuMRgw
FgYDVQQDEw9ac2NhbGVyIFJvb3QgQ0ExIjAgBgkqhkiG9w0BCQEWE3N1cHBvcnRA

Current status : working, but no fingerprint reader and no Fn key before first suspend.

Initial hardware setup

How I got it working