Skip to content

Instantly share code, notes, and snippets.

View nmasse-itix's full-sized avatar
🙂
At home

Nicolas Massé nmasse-itix

🙂
At home
View GitHub Profile
@nmasse-itix
nmasse-itix / README.md
Created May 30, 2024 12:29
Suivi de la consommation disque

Suivi de la consommation disque

Installation

chmod +x ./max.awk

Usage

@nmasse-itix
nmasse-itix / README.md
Last active October 11, 2023 07:31
Create a metal / GPU cluster on AWS
@nmasse-itix
nmasse-itix / amq7.yaml
Created October 10, 2023 08:18
Red Hat AMQ 7 - YAML Manifests
kind: StatefulSet
apiVersion: apps/v1
metadata:
name: mqtt-ss
labels:
ActiveMQArtemis: mqtt
application: mqtt-app
spec:
replicas: 1
selector:
@nmasse-itix
nmasse-itix / README.md
Last active May 4, 2023 15:56
Why I decided to move away from Apple Notes

Why I decided to move away from Apple Notes

Why playing with the Apple Notes APIs, I realized there were not working properly and thus I had no means to automatically migrate my notes to another app. So, I decided to copy/paste my notes in another app (Bearnotes) while the number of notes was still manageable.

Below are my attempts to play with the Apple Notes API.

Trials

@nmasse-itix
nmasse-itix / README.md
Last active April 14, 2023 16:56
Red Screen of Death on HPE ProLiant Gen9 servers with SN260 NVMe drives

Red Screen of Death on HPE ProLiant Gen9 servers with SN260 NVMe drives

Context

  • Three HP ML350 Gen9 servers
  • One HP DL360 Gen9 server
  • One HP MicroServer Gen8 server
  • Six HGST SN260 HHHL NVMe cards

Problem

@nmasse-itix
nmasse-itix / README.md
Last active October 31, 2021 12:12
Traefik configuration

Traefik

Installation

sudo mkdir -p /opt/traefik/etc/conf.d /opt/traefik/bin /srv/traefik
curl -sL https://github.com/traefik/traefik/releases/download/v2.5.3/traefik_v2.5.3_linux_amd64.tar.gz | sudo tar -zxv -C /opt/traefik/bin traefik
sudo useradd -d /srv/traefik -r traefik
sudo touch /opt/traefik/etc/traefik.env
sudo chown -R traefik:traefik /srv/traefik
@nmasse-itix
nmasse-itix / create-account-and-app.sh
Last active June 16, 2021 09:13
3scale Admin REST API - Sample code
#!/bin/bash
set -Eeuo pipefail
ADMIN_PORTAL="https://3scale-admin.apps.changeme"
TOKEN="changeme"
APPLICATION_PLAN_ID="changeme"
curl -skf -X POST "$ADMIN_PORTAL/admin/api/signup.json" -o /tmp/signup.json \
--data-urlencode "access_token=$TOKEN" \
@nmasse-itix
nmasse-itix / README.md
Last active January 14, 2021 16:54
How to use podman with Ansible

How to use podman with Ansible