Display a file as plain text in a browser
$ (echo -e 'HTTP/1.0 200 OK\n' && cat myfile.txt) | nc -lp 8080
diff --git a/dffml/df/memory.py b/dffml/df/memory.py | |
index 7d29c84f..f6c7cdfb 100644 | |
--- a/dffml/df/memory.py | |
+++ b/dffml/df/memory.py | |
@@ -586,8 +586,27 @@ class MemoryInputNetworkContext(BaseInputNetworkContext): | |
], | |
) | |
) | |
- # Return if there is no data for an input | |
+ # There is no data in the network for an input |
dffml service dev export -configloader yaml test:dataflow |
diff --git a/dffml/util/cli/cmds.py b/dffml/util/cli/cmds.py | |
index 26227b49..0ccb2c25 100644 | |
--- a/dffml/util/cli/cmds.py | |
+++ b/dffml/util/cli/cmds.py | |
@@ -1,3 +1,4 @@ | |
+import json | |
import inspect | |
from typing import List | |
@@ -9,6 +10,7 @@ from ...base import config, field |
''' | |
Retrieval access and caching of NIST CVE database | |
''' | |
import os | |
import re | |
import gzip | |
import json | |
import glob | |
import asyncio | |
import hashlib |
import os | |
import shutil | |
import pathlib | |
import tempfile | |
import functools | |
import subprocess | |
import contextlib | |
import urllib.request |
diff --git a/dffml/feature/feature.py b/dffml/feature/feature.py | |
index 9e9c1341..e6d92cca 100644 | |
--- a/dffml/feature/feature.py | |
+++ b/dffml/feature/feature.py | |
@@ -14,6 +14,7 @@ from typing import List, Dict, Type, Any | |
from .log import LOGGER | |
from ..util.entrypoint import Entrypoint | |
+from ..util.data import parser_helper | |
$ (echo -e 'HTTP/1.0 200 OK\n' && cat myfile.txt) | nc -lp 8080
diff --git a/dffml/service/dev.py b/dffml/service/dev.py | |
index 982f30fe..a94e0b39 100644 | |
--- a/dffml/service/dev.py | |
+++ b/dffml/service/dev.py | |
@@ -7,6 +7,7 @@ import shutil | |
import asyncio | |
import pathlib | |
import getpass | |
+import inspect | |
import tempfile |
Wireguard is a VPN that comes built into Linux kernels >= 5.6 It also has clients for OSs like Windows, OSX, and Android.
If you're looking for how to have a virtual LAN party, Wireguard is a great way to do it. Since it's cross platform. You can even play Windows games on Linux using Lutris and network them with Wireguard to get Windows and Linux machines playing together.