转自:https://blog.csdn.net/pansaky/article/details/90710751 1 基本使用 配置logging基本的设置,然后在控制台输出日志: import logging logging.basicConfig(level = logging.INFO,fo ...
分类:
编程语言 时间:
2020-01-29 19:56:46
阅读次数:
84
基于流的管道实际上就是一种全双工管道,它必须在基于流的系统上才能实现,Linux 默认对它是不支持的,而同样的逻辑,我们通常可以用基于 UNIX domain 的 socket 来实现,所以这里对它只作简单介绍。17.2 UNIX域套接字12//使用他们面向网络的域的套接字借口或者使用socketp... ...
分类:
系统相关 时间:
2020-01-29 12:11:44
阅读次数:
83
# sysname Huawei # vlan batch 2 to 4 # dhcp enable # diffserv domain default # drop-profile default # vlan 4 aggregate-vlan access-vlan 2 to 3 # aaa a ...
分类:
其他好文 时间:
2020-01-29 10:29:22
阅读次数:
86
肺炎形势严峻,人心惶惶,愿祖国早日解决,社会早点稳定。 这次主要实现的功能就是商品展示以及购物车,购物车信息保存在mysql数据库中。我们先来看商品数据库层 // IProductDao package com.yang.dao; import com.yang.domain.Product; im ...
分类:
编程语言 时间:
2020-01-29 01:05:28
阅读次数:
104
asp.net cache.count 报错,未将对象引用到对象实例,错误: 对应的Cache实例不是null,但是调用实例方法或者方位实例属性时候还是报错。 原因: 使用cache类自己创建了实例,在Asp.net的iis的进程中出错了 public Cache _cache=new Cache( ...
分类:
Web程序 时间:
2020-01-28 12:20:42
阅读次数:
79
1、准备工作 1.1 给虚拟机取个 hostname。 而且配置 hosts。如果要和win做联合开发的话,和win的hosts文件,做一样的域名映射。 # 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdo ...
分类:
系统相关 时间:
2020-01-27 22:00:19
阅读次数:
106
源(origin): <protocol, domain, port> Protocol: http://, file://, ftp:// Domain: microsoft.com, google.com Port: 80, 8080, 21, 3128, etc (1)SOP 使用网站的源信息 ...
分类:
Web程序 时间:
2020-01-27 15:22:55
阅读次数:
143
Every email consists of a local name and a domain name, separated by the @ sign. For example, in , is the local name, and is the domain name. Besides ...
分类:
其他好文 时间:
2020-01-27 09:33:24
阅读次数:
73
Using WebSocket to build an interactive web application This guide walks you through the process of creating a “Hello, world” application that sends m ...
分类:
移动开发 时间:
2020-01-26 17:34:32
阅读次数:
208
来自官方文档:https://spring.io/guides/gs/serving-web-content/ This guide walks you through the process of creating a “Hello, World” web site with Spring. Wh ...
分类:
编程语言 时间:
2020-01-26 16:07:59
阅读次数:
98