Just testing YouTube video embedding and code block snippets:
10 of the Milky Way's Most Interesting Stars
def count_out_degrees(adjacency_dict):
"""
Scan Value (edge) length for each Key (node) to
retrun outdegree(list)
"""
out_edges = defaultdict(int)
for node, edges in adjacency_dict.items():
# Additional check for an edge that has no out edge.
for edge in edges:
if edge not in out_edges:
out_edges[edge] = 0
# ---
out_edges[node] = len(edges)
return out_edges
I've been working on migrating an existing forum to nodebb and have the last steps left.
I did a working test import and everything looks good.
We are running NodeBB 0.6.1 on Mongo
Now I would like to empty the database from users and discussions, while keeping all the settings I've made. The ACP is not an option, as there are quite a lot of users and discussions.