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
import os | |
import time | |
PUBLIC_DATA = '/etc/lncrawl/public-data' | |
novels = [] | |
for user in os.listdir(PUBLIC_DATA): | |
user_dir = os.path.join(PUBLIC_DATA, user) | |
if not os.path.isdir(user_dir): | |
continue |
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
class URL { | |
final String original; | |
String _fragment = ''; | |
String _query = ''; | |
String _scheme = ''; | |
String _user = ''; | |
String _password = ''; | |
String _host = ''; | |
String _port = ''; | |
String _path = ''; |
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
{ | |
"$schema": "http://json-schema.org/schema", | |
"title": "JSON schema for a turing complete machine", | |
"type": "object", | |
"definitions": { | |
"statement": { | |
"description": "", | |
"type": "object", |
OlderNewer