Skip to content

Instantly share code, notes, and snippets.

@cpburnz
cpburnz / letsencrypt_tls_manual.md
Last active July 18, 2022 22:26
Manually Request Let's Encrypt TLS Certificate with certbot

Manually Request Let's Encrypt TLS Certificate with certbot

A TLS certificate can be manually requested from [Let's Encrypt][1] using [certbot][2]. In order to successfully acquire the certificate you will need to have a domain name properly set up through DNS, and you need to be able to make a file available from an arbitrary URL under your domain.

TL;DR

@maitrungduc1410
maitrungduc1410 / .env
Last active March 2, 2025 23:13
Docker compose HEALTHCHECK for MongoDB with authentication (Mongo V4,5,6 supported)
DB_HOST=db
DB_PORT=27017
DB_ROOT_USER=root
DB_ROOT_PASS=rootpass
DB_USER=user
DB_PASSWORD=userpass
DB_NAME=mydb
@zicklag
zicklag / swarm.yml
Created August 17, 2019 19:15
Taiga Docker Swarm Stack
version: '3.5'
services:
taiga:
image: quay.io/riotkit/taiga:4.2.7
networks:
- default
- webgateway
volumes:
- media:/usr/src/taiga-back/media
@bmaupin
bmaupin / open-source-sso.md
Last active June 15, 2025 20:59
Comparison of some open-source SSO implementations

⚠️ This is not maintained. Feel free to check comments and/or forks for more current options.

Background

This was created years ago; at the time I'd been a Shibboleth admin for nearly a decade but we needed something that could handle OIDC/OAuth and that explicitly supported OpenJDK. After a lot of investigation, I really liked Keycloak/Red Hat Single Sign-On. More details here: Gluu vs keycloack vs wso2 identity management

Comparison

(Items in bold indicate possible concerns)

@wj42ftns
wj42ftns / 1-initial-programs.sh
Last active September 8, 2018 08:16
reinstall Ubuntu 16.04
#!/bin/bash
# После установки версии с минимальным набором программ и проставлением галки о автовходе на пользователя при установке xubuntu
# нужно руками через GUI сделать:
# 1) в keyboard
# на вкладке layout снять галку использования системного языка и добавить русский язык и выбрать способ изменения раскладки (shift + alt)
# чтобы появилось отображение текущего языка в трее: ПКМ по панели -> panel -> add new items -> keyboard layouts
pathToBackupRoot='/media/wj42/428dee81-1ea9-49af-b3a7-51e2bab7525e/backup/rsync' # без / на конце !
@cprakashagr
cprakashagr / LICENCE SUBLIME TEXT
Last active June 24, 2024 20:13
Sublime Text 3 Serial key build is 3143
## Sublime Text 3 Serial key build is 3103
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
B085E65E 2F5F5360 8489D422 FB8FC1AA
@cocoastorm
cocoastorm / README.md
Last active March 8, 2024 09:23
rexray/s3fs Docker Plugin Install with Minio

Getting Started

Make sure Docker is installed!

Get your Minio endpoint url, accesskey, and secretkey ready!

Install Docker Plugin

docker plugin install rexray/s3fs \
#!/bin/bash -x
#
# Mautic Installation Shell to Cloud9:
# ----------
# Version 2.0
# By expertjtb
# INSTRUCTION:
# ----------
# USE IT AT YOUR OWN RISK!
# LICENSE: GPL V2
@bunchc
bunchc / ubuntu-14.04.json
Created March 8, 2017 16:52
packer template for ubuntu
{
"variables": {
"vsphere_host": "vcenter65-1.vghetto.local",
"vsphere_user": "[email protected]",
"vsphere_pass": "VMware1!",
"vsphere_datacenter": "Datacenter",
"vsphere_cluster": "\"VSAN-Cluster\"",
"vsphere_datastore": "virtual_machines",
"vsphere_network": "\"VM Network\""
},
@nathanbrauer
nathanbrauer / sync-projects
Last active February 4, 2020 21:14 — forked from JonasGroeger/sync-projects
Gitlab: Clone / Pull all projects in a group
#!/usr/bin/env bash
# Documentation
# https://docs.gitlab.com/ce/api/projects.html#list-projects
if [[ `whoami` == "root" ]]; then
echo "DO NOT run this program as root! Quitting."
exit 1
fi