Skip to content

Instantly share code, notes, and snippets.

View afro-coder's full-sized avatar

Leon afro-coder

View GitHub Profile
@afro-coder
afro-coder / commands.md
Created June 1, 2022 08:31
Journald Commands

Systemd

Enabling a service and starting it

systemctl enable --now httpd
systemctl enable httpd

Making the journal persistent

@afro-coder
afro-coder / helm-values.yaml
Last active December 7, 2022 04:43
Aerospike values
gloo:
gatewayProxies:
gatewayProxy:
gatewaySettings:
options:
accessLoggingService:
accessLog:
- fileSink:
path: /dev/stdout
stringFormat: >
openapi: 3.0.3
info:
title: Catstronauts REST API
description: REST API for Catstronauts to retrieve data for tracks, authors and modules.
version: 1.0.0
servers:
- url: /
tags:
- name: Tracks
description: A track is a collection of modules around a topic for catstronauts to learn about.
@afro-coder
afro-coder / bookinfo.graphql
Last active March 7, 2024 07:08
Microcks Bookinfo
# microcksId: Bookinfo Graph API: 1.0
type Query {
"""Description of a book in HTML"""
productsForHome: [Product]
}
"""Each book has a product entry"""
type Product {
"""Unique identifier for books"""
id: String
"""The book title"""