Skip to content

Instantly share code, notes, and snippets.

Tobi Seitz TobiasSeitz

Block or report user

Report or block TobiasSeitz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@TobiasSeitz
TobiasSeitz / element-template.tmpl.html
Last active May 15, 2017
Polymer 2 Element Template Webstorm/IntelliJ (Bare Minimum)
View element-template.tmpl.html
<link rel="import" href="../bower_components/polymer/polymer-element.html">
<link rel="import" href="shared-styles.html">
<dom-module id="$NAME">
<template>
<style include="shared-styles">
:host {
display: block;
}
</style>
@TobiasSeitz
TobiasSeitz / take-picture-mediaDevices.getUserMedia.html
Last active Jan 29, 2017
How to use MediaDevices API to take picture from a web cam with getUserMedia
View take-picture-mediaDevices.getUserMedia.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HTML5 Media Device Access</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
video, img {
max-width:100%;
}
View mmn-tutorial04-nf-live
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
<title>Message Board</title>
<style>
body {
font: 12pt Arial, sans-serif;
background-color: #eee;
@TobiasSeitz
TobiasSeitz / anonymousZxcvbn.js
Created Jul 19, 2016
anonymous zxcvbn: strip sensitive information
View anonymousZxcvbn.js
/**
* Created by TbsStz on 19.07.2016.
*/
var zxcvbn = require('zxcvbn');
var lowercaseRegex = /[a-z]/g;
var uppercaseRegex = /[A-Z]/g;
var digitsRegex = /[0-9]/g;
var specialCharsRegex = /[@'#\.\$;%\^&\+=!"\(\)\*,-\/:<>\?§]/g;
You can’t perform that action at this time.