Skip to content

Instantly share code, notes, and snippets.

View alexandrevilain's full-sized avatar

Alexandre Vilain alexandrevilain

View GitHub Profile
apiVersion: v1
kind: Service
metadata:
name: nginx
labels:
app: nginx
spec:
ports:
- port: 80
name: web
apiVersion: v1
kind: Service
metadata:
name: nginx
labels:
app: nginx
spec:
ports:
- port: 80
name: web
@alexandrevilain
alexandrevilain / api.md
Last active April 21, 2024 16:54
Livebox API
#!/bin/bash
# Based on Adafruit Learning Technologies Onion Pi project
# More info: http://learn.adafruit.com/onion-pi
if (( $EUID != 0 )); then
echo "This must be run as root. Try 'sudo bash $0'."
exit 1
fi
@alexandrevilain
alexandrevilain / 1-Instructions.md
Last active August 16, 2016 09:31
How to add SSL support for express generator - With self signed certificates for dev
  1. Generate your express app with express generator : express --git --hbs .

  2. Create genSSL.sh : touch genSSL.sh

  3. Launch genSSL.sh:

chmod +x genSSL.sh
./genSSL.sh