Client sends a request, then server parses and then processes the request, finally send a response to the client, which parses it and consumes.
- Web, HTTP, DNS. SSH
- RPC (Remote Procedure Call)
Install ERPNext V13, FRAPPE-BENCH 13 on Ubuntu 20.04 and configure for production Environment | |
# Install GIT | |
$ apt install -y git | |
# Ubuntu update and upgrade packages | |
$ apt update -y && apt upgrade -y | |
# Install Python 3.8 and dependencies |
# see rkengler.com for related blog post | |
# https://www.rkengler.com/how-to-capture-network-traffic-when-scraping-with-selenium-and-python/ | |
import json | |
import pprint | |
from selenium import webdriver | |
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities | |
capabilities = DesiredCapabilities.CHROME |
sudo apt update | |
sudo apt install firefox python3-pip xvfb x11-utils --yes | |
sudo -H pip3 install bpython selenium | |
export DISPLAY=:2 | |
Xvfb $DISPLAY -ac & | |
export GECKO_DRIVER_VERSION='v0.24.0' | |
wget https://github.com/mozilla/geckodriver/releases/download/$GECKO_DRIVER_VERSION/geckodriver-$GECKO_DRIVER_VERSION-linux64.tar.gz | |
tar -xvzf geckodriver-$GECKO_DRIVER_VERSION-linux64.tar.gz |
See also:
Service | Type | Storage | Limitations |
---|---|---|---|
Amazon DynamoDB | 25 GB | ||
Amazon RDS | |||
Azure SQL Database | MS SQL Server | ||
👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
# -*- coding: utf-8 -*- | |
import logging | |
import os | |
import datetime | |
import time | |
class SingletonType(type): | |
_instances = {} |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.