Skip to content

Instantly share code, notes, and snippets.

@mvtango
mvtango / README.md
Last active August 29, 2015 14:23
JS Fiddle Vorlage

JSFIDDLE Vorlage

Ein simpler HTML-Rahmen, um JSFIDDLE-Code zu veröffentlichen. Einfach clonen und ausfüllen und genießen! Anleitung siehe Bild.

Danach - gist hier anschauen:

http://bl.ocks.org/*username*/*gist-ID*

Z.B.

@mvtango
mvtango / Dockerfile
Last active August 29, 2015 14:23 — forked from dceejay/Dockerfile
node-red Docker
# Dockerfile for Node-RED - pulls latest master code from git
# Use the node.js v0.10.36 engine
# based on the Dockerfile from ceejay
FROM node:0.10-slim
MAINTAINER mvtango
# download latest stable node-red
RUN npm install -g mongodb \
node-red \
node-red-admin \
@mvtango
mvtango / README.md
Last active May 31, 2018 22:24
docker-influxdb-persistence-test

Influxdb doesn't recognize databases after restart. This is the test case. Yo need a working docker installation to run it.

  1. cd into the directory where you cloned this gist.

  2. run ./start-and-fill-influx.sh

  3. run ./restart-and-query-influx.sh

The data from step 2 seems not to be there.

@mvtango
mvtango / README.md
Last active December 7, 2015 15:43
Formatheke Demo JSON
@mvtango
mvtango / README.md
Last active December 20, 2015 23:55
User Style for editing Wordpress Galleries with long captons

Wordpress: Edit galleries with long captions

The normal gallery editing screen in Wordpress is good for re-ordering the images, but bad for editing long captions. The text areas are simply too small.

Using the [Stylish plugin][stylish] in Google Chrome, you can use this stylesheet for an alternative layout of the editing screen.

Screenshot

@mvtango
mvtango / keybase.md
Created July 26, 2017 11:23
keybase.md

Keybase proof

I hereby claim:

  • I am mvtango on github.
  • I am mvtango (https://keybase.io/mvtango) on keybase.
  • I have a public key whose fingerprint is ECDE 6DC9 26AD 94A6 A276 1FC3 CCF2 6A71 65BB FF07

To claim this, I am signing this object:

@mvtango
mvtango / ribbon-blank.svg
Last active August 29, 2017 10:19
"Fork Me On Github"-style ribbon SVG template
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mvtango
mvtango / .gitignore
Created January 14, 2018 17:07 — forked from cecilemuller/letsencrypt_2020.md
How to setup Let's Encrypt for Nginx on Ubuntu 16.04 (including IPv6, HTTP/2 and A+ SLL rating)
domainname.txt
@mvtango
mvtango / .gitignore
Last active February 4, 2018 18:04
loghelper.py - e-mail errors using python's loggier module
credentials.py
@mvtango
mvtango / README.md
Last active August 8, 2023 11:04
Auth0: Restrict E-Mails of users that can sign up

auth0-check-for-domain-hook

In hook.js, you'll find a piece of code to ensure that new users' emails match certain criteria.

You'll have to deploy it as a "Pre User Registration" hook at https://manage.auth0.com/#/hooks.

Additionally, enable the "Force Email Verification" rule in https://manage.auth0.com/#/rules - otherwise, new users can sign in without confirming their email addresses first.