Skip to content

Instantly share code, notes, and snippets.

{
"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 / gateway-signup.email.html
Created October 21, 2020 14:41
API Gateway signup email template
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title> Welcome from UTU!</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!--<![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@noandrea
noandrea / list.html
Created October 21, 2020 09:44
utu list
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tailwindcss/ui@latest/dist/tailwind-ui.min.css">
</head>
<body>
@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 \
@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',
@noandrea
noandrea / jitsi-restart.sh
Last active March 17, 2020 14:40
Script to restart the jitsi services
#!/bin/sh
service jicofo restart
service jitsi-videobridge restart
service prosody restart
{
"msg": "expired"
}
{
"msg": "exhausted"
}
{
"msg": "found"
}