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 May 7, 2023 03:27
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 April 11, 2024 09:36
Comparison of some open-source SSO implementations

ⓘ This list is not meant to be exhaustive and is not guaranteed to be maintained. See the comments for updates and alternative options.

(Items in bold indicate possible concerns)

Keycloak WSO2 Identity Server Gluu CAS OpenAM Shibboleth IdP
OpenID Connect/OAuth support yes yes yes yes yes yes
Multi-factor authentication yes yes yes yes yes yes
Admin UI yes yes yes yes yes no
OpenJDK support yes yes partial² yes
@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 May 1, 2024 10:50
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": "administrator@vghetto.local",
"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