Normalize unicode file names (converts UTF-8 NFD to NFC).
Required by macOS clients through AFP/NFS/SMB.
Tested on Synology DSM 6.2 with built-in Python 2.7.12.
package main | |
import ( | |
"fmt" | |
"net/http" | |
"strconv" | |
"github.com/jinzhu/gorm" | |
_ "github.com/jinzhu/gorm/dialects/sqlite" | |
"github.com/labstack/echo" |
#!/bin/bash | |
# builds on: | |
# https://ubuntuforums.org/showthread.php?t=1370827 | |
# Prerequisites: | |
# On Mac OS: | |
# brew install --with-libtiff --with-ghostscript imagemagick | |
# brew install --all-languages tesseract | |
# brew install poppler |
Example of a D3js time series graph with X,Y crosshairs and a threshold line. Just copy the drawLineGraph function and call it with your data. The data shoud be an array of two element arrays. Something like:
var data = [
[new Date(2014, 01, 10), 404],
[new Date(2014, 01, 11), 123],
[new Date(2014, 01, 12), 666]
];
var warnLine = { lineValue: 200, label: 'my important threshold' };