Skip to content

Instantly share code, notes, and snippets.

View xkisu's full-sized avatar
🏳️‍⚧️

Keith Mitchell xkisu

🏳️‍⚧️
View GitHub Profile
@xkisu
xkisu / tailwind.config.js
Created February 2, 2024 09:58 — forked from jonshipman/tailwind.config.js
120 Crayola Crayons Tailwind Config
module.exports = {
theme: {
extend: {
colors: {
'almond': { DEFAULT: '#EFDBC5' },
'antique-brass': { DEFAULT: '#CD9575' },
'apricot': { DEFAULT: '#FDD9B5' },
'aquamarine': { DEFAULT: '#78DBE2' },
'asparagus': { DEFAULT: '#87A96B' },
'atomic-tangerine': { DEFAULT: '#FFA474' },
@xkisu
xkisu / README.md
Created November 2, 2023 04:41 — forked from mosquito/README.md
Add doker-compose as a systemd unit

Docker compose as a systemd unit

Create file /etc/systemd/system/docker-compose@.service. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin, you should use paths specific for your environment.

[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service
@xkisu
xkisu / memberlist-serf-raft.go
Created June 17, 2023 20:12 — forked from mjpitz/memberlist-serf-raft.go
Basic idea on how to use memberlist, serf, and raft all together. Last example I found had a few bugs to work out.
package main
import (
"fmt"
"github.com/hashicorp/memberlist"
"github.com/hashicorp/raft"
"github.com/hashicorp/raft-boltdb"
"github.com/hashicorp/serf/serf"
"io"
"log"
@xkisu
xkisu / redash.job
Created January 6, 2021 01:58 — forked from spuder/redash.job
ReDash Nomad job #nomad
# Based on this documentation
# https://redash.io/help/open-source/setup#-Docker
# https://github.com/getredash/setup/blob/master/data/docker-compose.yml
job "redash" {
# region = ""
datacenters = ["dc1"]
type = "service"