Hosting MongoDB version 4 server on DigitalOcean
My gripe comes from the limitation with free tier and lower tiers of MongoDB Atlas. (Where can I host MongoDB with allowDiskUse=true?) So, I have decided to host my own MongoDB on DigitalOcean.
As I am creating memorable-password project, I am challenged on whether diceware-type passwords / memorable passwords are really strong.
I learnt about Entropy and created (actually updated an old project) passwordstrength.
I formularized the concept on memorability based on pronounceability with NLTK and double metaphone -- pronounceable.
Here is the result.
I find that the issue may includes:-
brew install phantomjs
This is what I have got:
from ui.mainWindow import MainWindow from webview.controller import initServer from PyQt5.QtWidgets import * import sys import httplib2 from time import sleep if __name__ == '__main__': initServer().start() h = httplib2.Http() while True: try: resp = h.request("http://0.0.0.0:8080/", 'HEAD') break except ConnectionRefusedError: sleep(1) continue app = QApplication(sys.argv) window = MainWindow() window.showUI() window.setBaseSize(1000, 600) window.move(QDesktopWidget().rect().center().x()-window.rect().center().x(), window.rect().y()) sys.exit(app.exec_())
I am programming in modules, and it is easy to share
*.py within a project. How?