Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
In summary, DDNS stands for Dynamic DNS. DDNS updates a DNS name in real-time to point to a changing IP address. This is useful for devices without a static IP. For example, companies like Google use static IPs and IP ranges, which are more expensive than ephemeral IPs and IP ranges. DDNS provides a cost-effective alternative, linking a hostname to a dynamic IP address.
To use DDNS, you need an account with a DDNS provider. While some services are paid, they are still cheaper than static public IPs from ISPs. A script or service on your device updates the DDNS server with your current IP at regular intervals to maintain the link between your hostname and IP address. Luckily for us, DuckDNS is free for everybody and relays on donations to keep their services running.
| colors: | |
| # Default colors | |
| primary: | |
| background: '#1f2430' | |
| foreground: '#cbccc6' | |
| bright_foreground: '#f28779' | |
| # Normal colors | |
| normal: | |
| black: '#212733' # |
python main.py data.json| from torchtext import data | |
| class DataFrameDataset(data.Dataset): | |
| def __init__(self, df, text_field, label_field, is_test=False, **kwargs): | |
| fields = [('text', text_field), ('label', label_field)] | |
| examples = [] | |
| for i, row in df.iterrows(): | |
| label = row.sentiment if not is_test else None | |
| text = row.text |
| 204.15.20.0/22 | |
| 69.63.176.0/20 | |
| 66.220.144.0/20 | |
| 66.220.144.0/21 | |
| 69.63.184.0/21 | |
| 69.63.176.0/21 | |
| 74.119.76.0/22 | |
| 69.171.255.0/24 | |
| 173.252.64.0/18 | |
| 69.171.224.0/19 |
| #!/bin/env python | |
| from time import sleep | |
| import signal | |
| from jpype import * | |
| startJVM(getDefaultJVMPath()) | |
| def handler(signum, frame): | |
| raise KeyboardInterrupt |
| # start GremlinServer | |
| # bin/gremlin-server.sh -i org.apache.tinkerpop gremlin-python 3.2.2-SNAPSHOT | |
| # bin/gremlin-server.sh conf/gremlin-server-modern-py.yaml | |
| from gremlin_python.process.graph_traversal import GraphTraversal | |
| from gremlin_python.process.graph_traversal import GraphTraversalSource | |
| from gremlin_python.process.graph_traversal import __ | |
| from gremlin_python.process.traversal import Operator | |
| from gremlin_python.structure.io.graphson import GraphSONReader |
| """Global LRU caching utility. For that little bit of extra speed. | |
| The caching utility provides a single wrapper function that can be used to | |
| provide a bit of extra speed for some often used function. The cache is an LRU | |
| cache including a key timeout. | |
| Usage:: | |
| import cache | |
| @cache.memoize |