make copy-paste from source markdown easier authored by anarcat's avatar anarcat
...@@ -607,12 +607,14 @@ to get the project ID, and from there, find the project using the API ...@@ -607,12 +607,14 @@ to get the project ID, and from there, find the project using the API
above. Here's a Python blob that will generate a hash for every above. Here's a Python blob that will generate a hash for every
project ID up to 2000: project ID up to 2000:
import hashlib ```
import hashlib
for i in range(2000): for i in range(2000):
h = hashlib.sha256() h = hashlib.sha256()
h.update(str(i).encode('ascii')) h.update(str(i).encode('ascii'))
print(i, h.hexdigest()) print(i, h.hexdigest())
```
## Connect to the PostgreSQL server ## Connect to the PostgreSQL server
... ...
......