Beim Anhören einer Nachricht:
2
Nachricht löschen
Hauptmenü / nach dem Abhören aller Nachrichten:
4
Nachricht versenden
9
Konfiguration
// ==UserScript== | |
// @name Play embedded Youtube videos for two seconds | |
// @version 1.0 | |
// @grant none | |
// @include https://www.youtube.com/embed/* | |
// @include https://www.youtube-nocookie.com/embed/* | |
// ==/UserScript== | |
// I chose two seconds because that's how long the bottom bar with play/pause/time stays visible | |
// Once that bar disappears, the time won't update, and the script can't react to |
... without installing Maven on your computer. This process will use the Docker container maven:3.5-jdk-8-alpine
instead of a local Maven installation.
I used Ubuntu 16.04 server with the NGINX webserver.
Traccar can now be run in Docker without building it yourself, just get the container from Docker Hub: https://hub.docker.com/r/traccar/traccar/
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<title>...</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<style type="text/css"> | |
html, body, #watercup { | |
margin:0; | |
padding:0; | |
width:100%; |
// ==UserScript== | |
// @name YouTube HTML5 AutoPause | |
// @namespace https://greasyfork.org/en/users/13981-chk1 | |
// @description Automatically pause YouTube HTML5 videos on Youtube | |
// @include https://*.youtube.com/watch* | |
// @include http://*.youtube.com/watch* | |
// @version 0.3 | |
// @grant none | |
// @run-at document-end | |
// ==/UserScript== |
server { | |
listen 80; | |
root /var/www/campusplan/app; | |
server_name campusplan.example.com; | |
index index.html index.php; | |
gzip on; | |
gzip_types application/x-javascript text/css; |
<?php | |
// input: r,g,b in range 0..255 | |
function RGBtoHSV($r, $g, $b) { | |
$r = $r/255.; // convert to range 0..1 | |
$g = $g/255.; | |
$b = $b/255.; | |
$cols = array("r" => $r, "g" => $g, "b" => $b); | |
asort($cols, SORT_NUMERIC); | |
$min = key(array_slice($cols, 1)); // "r", "g" or "b" | |
$max = key(array_slice($cols, -1)); // "r", "g" or "b" |