Skip to content

Instantly share code, notes, and snippets.

@noandrea
noandrea / apeunit.test-config.js
Last active January 14, 2021 20:52
Standalone and autenticated Jitsi configuration sample
/* eslint-disable no-unused-vars, no-var */
var config = {
// Connection
//
hosts: {
// XMPP domain.
domain: 'apeunit.test',
{
"backgroundColor": "#4d1ccb",
"backgroundImageUrl": "https://image.freepik.com/free-vector/abstract-jungle-print-with-silhouettes-paradise-island-foliage-flat-seamless-floral-green-pattern-inspired-by-tropical-nature-plants-with-shape-palm-leaves-summer-background_119217-1463.jpg",
"logoClickUrl": "https://apeunit.com",
"logoImageUrl": "https://pbs.twimg.com/profile_images/1019575819906240513/GySIrUqp_400x400.jpg"
}
@noandrea
noandrea / Makefile
Last active February 26, 2022 14:16
Makefile for Hackmd 2 PDF
AU_HACKMD_CODE = bfScafhcTdGzzhJ4B3evlQ
AU_OUTFILE = $(HOME)/$(AU_HACKMD_CODE).MD.$(shell date +%F).pdf
AU_FORMAT = article
hackmd2pdf:
@echo format doc
curl -s -L "https://hackmd.io/$(AU_HACKMD_CODE)/download" \
-o /tmp/$(AU_HACKMD_CODE).md
pandoc /tmp/$(AU_HACKMD_CODE).md -o $(AU_OUTFILE) \
--table-of-contents \