This file contains hidden or 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
module.exports = { | |
apps: [{ | |
name: "app", | |
script: "app.js" | |
}], | |
deploy: { | |
// "production" is the environment name | |
production: { | |
// SSH key path, default to $HOME/.ssh | |
key: "/path/to/some.pem", |
This file contains hidden or 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
#!/bin/sh | |
# label node with ARMv7 32 bits | |
docker node update --label-add foo --label-add os=linux-arm <worker-arm> | |
# label node with ARMv8 64 Bits | |
docker node update --label-add foo --label-add os=linux-arm64 <worker-arm64> |
This file contains hidden or 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
#!/bin/sh | |
set -e | |
# This script is meant for quick & easy install via: | |
curl -fsSL get.docker.com -o get-docker.sh | |
sh get-docker.sh | |
# | |
# For test builds (ie. release candidates): | |
# $ curl -fsSL test.docker.com -o test-docker.sh | |
# $ sh test-docker.sh |
This file contains hidden or 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
# reverse-proxy --port 80 --target 192.168.0.1:3000 --config ~/defaults.yaml | |
port: 443 | |
target: 192.168.43.4:80 | |
ssl: | |
cert: "/path/to/ssl/cert.file" | |
key: "/path/to/ssl/key.file" |
This file contains hidden or 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
/********************************************************************* | |
* INCLUDES | |
*/ | |
#include <string.h> | |
#include <stdlib.h> | |
#include <ti/sysbios/BIOS.h> | |
#include <ti/sysbios/knl/Task.h> | |
#include <ti/sysbios/knl/Clock.h> | |
#include <ti/sysbios/knl/Event.h> |
This file contains hidden or 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
author: karim | |
description: Setup Chatbot FC on ESP32 | |
version: 1.0 | |
libs_version: ${mos.version} | |
modules_version: ${mos.version} | |
mongoose_os_version: ${mos.version} | |
filesystem: | |
- fs |
NewerOlder