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 socket | |
| HOST = "127.0.0.1" | |
| PORT = 5000 | |
| s = socket.socket() | |
| s.connect((HOST, PORT)) | |
| # msg = str(input("Message -> ")) |
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
| # -*- coding: utf-8 -*- | |
| """ | |
| Defines the method patters the are supposed to be implemented in concrete. | |
| There is no actual implementation here. This serves as a interface. The | |
| consumer should use the concrete implementations only to the extend defined | |
| here. | |
| """ |
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
| <div style="padding: 100px;background: rgb(11, 11, 11);"> | |
| <div style="background: white;border-radius: 9999px;width: 100px;height: 100px;margin: 50 auto;box-shadow: 12px -26px 27px 4px black inset, 5px -9px 33px -10px white;ack;ac;"></div> | |
| </div> |
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
| # Bash "strict mode" | |
| set -euo pipefail | |
| IFS=$'\n\t' | |
| echo "Transfer data from PostgreSQL to SQLite" | |
| DUMP_FILE=$DB_DIR/dbdump.json | |
| echo "Migrate SQLite database..." | |
| USE_SQLITE=true ./manage.py migrate --no-input |
OlderNewer