Skip to content

Instantly share code, notes, and snippets.

View Shmarkus's full-sized avatar
🔫
set phasers to stun

Markus Karileet Shmarkus

🔫
set phasers to stun
View GitHub Profile
@Shmarkus
Shmarkus / esto.yaml
Created September 14, 2021 11:32
ESTO OpenAPI spec to create hire-purchase (loan) requests for their clients
swagger: "2.0"
info:
description: "
Via this API a merchant partnered with ESTO can create hire-purchase (loan) requests for their clients.
For available official ecommerce integrations, please refer to developer's guide (You need to be signed in as a merchant to view this page)."
version: "1.0.0"
title: "ESTO API"
contact:
email: "markus.karileet@codehouse.ee"
license:
@Shmarkus
Shmarkus / genesys.yaml
Created December 7, 2020 12:49
Genesys OpenAPI 3 spec
openapi: 3.0.0
info:
title: Chat API Version 2
description: Use this API for Web Chat (replacement for eServices WebAPI Chat)
version: 8.5.2
tags:
- name: chat
description: Chat services
paths:
/{serviceName}:
swagger: '2.0'
info:
description: |
EveryPay API documentation.
# Test Cards
| Card type | Card number | Expiration date | CVC code | Cardholder name |
|------------|------------------|-----------------|----------|-----------------|
| Mastercard | 5204740000001002 | 12/25 | 100 | (any name)
@Shmarkus
Shmarkus / default.template.conf
Last active November 15, 2018 13:44
NGINX HTTP/2 conf template
server {
listen 80;
listen [::]:80;
server_name ${NGINX_SERVER_NAME};
server_tokens off;
# Use 302 (moved temporarly) to reduce headaches
return 302 https://$server_name$request_uri;
}
server {
listen 443 ssl http2 default_server;
@Shmarkus
Shmarkus / prometheus-grafana-docker-compose.yml
Created October 25, 2018 14:19
Prometheus with Grafana compose file
version: "2"
services:
prometheus:
image: prom/prometheus
container_name: prometheus
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- 9090:9090
grafana:
@Shmarkus
Shmarkus / elk-docker-compose.yml
Last active February 1, 2022 13:41
ELK stack (version 7.16.3) Docker compose bundle
version: "3"
services:
elasticsearch:
image: elasticsearch:7.16.3
container_name: elasticsearch
restart: unless-stopped
environment:
- node.name=elasticsearch
- discovery.seed_hosts=elasticsearch
- cluster.initial_master_nodes=elasticsearch