#coding=utf-8 import http.client, urllib.parse import http.client, urllib.parse import random USER_…
🔗 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> &…
网络配置细节 用户使用 --net=none 后,可以自行配置网络,让容器达到跟平常一样具有访问网络的权 限。通过这个过程,可以了解 Docker 配置网络的细节。 首先,启动一个 /bin/b…
# WebSocket 配置 map $http_upgrade $connection_upgrade { default upgrade; '' clos…
# _*_ coding: utf-8 _*_ class Field(object): def __init__(self, name, column_type): se…
class Synthesizer: def __init__(self, name): self.name = name def __str__(self): …
[root@aliyun_1 ~]# vim /usr/lib/systemd/system/redis.service [Unit] Description=Redis persistent ke…
def required_login_1(func): def wrapper(request,*args,**kwargs): func(request,*args,**kw…
安装virtualenvwrapper yum install python-setuptools python-devel pip install virtualenvwrapper # lin…
create database userinfo charset="utf-8"; use userinfo; create table it user info( ui_user…