-
redux form http://redux-form.com/6.0.0-rc.1/examples/react-widgets/
-
react widgets http://jquense.github.io/react-widgets/docs/#/datetimepicker/value?_k=d4o0gf
-
Dashboard widget https://github.com/Raathigesh/Dazzle
-
SB Dashboard http://start-react.github.io/sb-admin-react/#/home
src https://community.letsencrypt.org/t/how-to-automatically-renew-certificates/4393/4
@monthly letsencrypt-auto --config /etc/letsencrypt/cli.ini -d www.yourdomain.com certonly && service nginx restart
/etc/letsencrypt/cli.ini
authenticator = webroot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ddns-update-style none; | |
option domain-name "thpi"; | |
option domain-name-servers 208.67.222.222, 208.67.220.220; | |
default-lease-time 86400; | |
max-lease-time 604800; | |
authoritative; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl test1:test1@localhost:8090/auth/oauth/token -d grant_type=client_credentials |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2017 FBK/CREATE-NET | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var s = "886953285be646dee459532b743aeb3c" | |
var out = [] | |
for(var i=0; i<s.length; i++){ | |
var i1 = s[i] | |
i++ | |
var i2 = s[i] | |
out.push(`0x${i1}${i2}`) | |
} | |
console.log("{ %s }", out.join(", ")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var items = [] | |
var read = ()=> { | |
var clr = (s) => s.replace("\n", "").trim() | |
jQuery('.media-body').each((i, el) => { | |
var item = jQuery(el) | |
//console.log(item) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var items = [] | |
var read = ()=> { | |
var clr = (s) => s.replace("\n", "").trim() | |
jQuery('.media-body').each((i, el) => { | |
var item = jQuery(el) | |
var url = clr(item.find('h4 a').attr('href').trim()) |
- Start OpenFaaS
- Install node-red-admin
sudo npm i -g node-red-admin
- Start node-red
docker run -it --rm -p 1880:1880 -v `pwd`:/shared --network host --name mynodered nodered/node-red-docker
- Install openfaas module
node-red-admin install node-red-contrib-openfaas
- Done go to http://127.0.0.1:1880
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Get a release here https://github.com/google/protobuf/releases | |
sudo -s | |
cd /usr/local/include | |
mkdir google | |
wget https://github.com/google/protobuf/releases/download/v3.5.0/protoc-3.5.0-linux-x86_64.zip -O protoc.zip | |
unzip protoc.zip -d tmp |