<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
分类:
编程语言 时间:
2021-04-06 15:03:33
阅读次数:
0
2.1 序列化概述 1)什么是序列化 序列化就是把内存中的对象,转换成字节序列(或其他数据传输协议)以便于存储到磁盘(持久化)和网络传输。 反序列化就是将收到字节序列(或其他数据传输协议)或者是磁盘的持久化数据,转换成内存中的对象。 2)为什么要序列化 一般来说,“活的”对象只生存在内存里,关机断电 ...
分类:
其他好文 时间:
2021-04-06 14:52:31
阅读次数:
0
使用 jsonify 时,返回的 http response 的 Content-Type 是:Content-Type: application/json 使用json.dumps时,Content-Type则是:Content-Type: text/html; charset=utf-8 其他基 ...
分类:
Web程序 时间:
2021-04-06 14:40:10
阅读次数:
0
先创建后台实体类 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 using System. ...
### [RFC4511 Result Code](https://datatracker.ietf.org/doc/rfc4511/?include_text=1) ``` success (0), operationsError (1), protocolError (2), timeLimit ...
分类:
其他好文 时间:
2021-04-06 14:19:59
阅读次数:
0
Description Link. 求 \(\sum_{i=1}^{n}\text{fibonacci}_{i}\times i^{k}=\sum_{i=1}^{n}(F_{i-1}+\text{fibonacci}_{i-2})\times i^{k}\),\(1\le n\le10^{17},1 ...
分类:
其他好文 时间:
2021-04-06 14:07:28
阅读次数:
0
一.HTML基本结构标签 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <me ...
分类:
Web程序 时间:
2021-04-05 12:44:40
阅读次数:
0
1 重写 authenticate 函数 目的是取代自带的登录校验方式 from django.contrib.auth.backends import ModelBackend, UserModel from . import models class CustomBackend(ModelBac ...
分类:
其他好文 时间:
2021-04-05 12:37:18
阅读次数:
0
Sublime Text 3 https://www.sublimetext.com/ Preferences --> Settings File Path: C:\Users\wuyong\AppData\Roaming\Sublime Text 3\Packages\User\Preferenc ...
分类:
其他好文 时间:
2021-04-05 12:36:42
阅读次数:
0
1.1 MapReduce定义 MapReduce 是一个分布式运算程序的编程框架,是用户开发“基于 Hadoop 的数据分析 应用”的核心框架。 MapReduce 核心功能是将用户编写的业务逻辑代码和自带默认组件整合成一个完整的分布式运算程序,并发运行在一个 Hadoop 集群上。 1.2 Ma ...
分类:
其他好文 时间:
2021-04-05 12:32:51
阅读次数:
0