- Download modified Eclipse
- Download Tera Term
- Standard install
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
--- | |
kind: pipeline | |
name: production | |
steps: | |
- name: now | |
image: one000mph/drone-now | |
environment: | |
NOW_TOKEN: | |
from_secret: now_token |
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
$ docker run -d \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-e DRONE_RPC_PROTO=http \ | |
-e DRONE_RPC_HOST= \ | |
-e DRONE_RPC_SECRET= \ | |
-e DRONE_RUNNER_CAPACITY=2 \ | |
-e DRONE_RUNNER_NAME=${HOSTNAME} \ | |
-p 3000:3000 \ | |
--restart always \ | |
--name runner \ |
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
docker run \ | |
--volume=/var/lib/drone:/data \ | |
--env=DRONE_GITEA_SERVER= \ | |
--env=DRONE_GITEA_CLIENT_ID= \ | |
--env=DRONE_GITEA_CLIENT_SECRET= \ | |
--env=DRONE_RPC_SECRET= \ | |
--env=DRONE_SERVER_HOST= \ | |
--env=DRONE_SERVER_PROTO=http \ | |
--publish=80:80 \ | |
--publish=443:443 \ |
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
--- | |
kind: pipeline | |
name: default | |
steps: | |
- name: now | |
image: one000mph/drone-now # Use one000mph's version as lucaperret's is outdated | |
environment: | |
NOW_TOKEN: | |
from_secret: now_token # Refers to a secret in your drone repo titled "NOW_TOKEN" |
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
// Copy this file to the .vscode directory in your workspace | |
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "Build with Clang", | |
"type": "shell", | |
"command": "clang", | |
"args": [ | |
"${file}", |
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
// Text File | |
fetch('file.txt') | |
.then(response => response.text()) | |
.then(text => console.log(text)) | |
// ---------------------------------------------------------------------------- | |
// JSON File |