express: web application framework 第一个express 基本应用: const express = require('express'); const port = 3000; const app = express(); app.use((req, res) = ...
分类:
Web程序 时间:
2020-06-06 16:53:14
阅读次数:
76
Python requests multipart/form-data ...
分类:
编程语言 时间:
2020-06-06 15:42:02
阅读次数:
84
先来看一看老版本HashMap扩容代码: void resize(int newCapacity) { Entry[] oldTable = table; int oldCapacity = oldTable.length; ...... //创建一个新的Hash Table Entry[] new ...
分类:
其他好文 时间:
2020-06-06 13:05:28
阅读次数:
87
0x00rt 现有Excel题库如下图所示,不方便复习怎么办,百度谷歌找了许久也没有找到靠谱的方法,只有自力更生了。 0X01 使用Word的邮件合并功能 使用现有列表 0x02 插入合并域 0x04 完成并合并 完成合并后,在每一页生成一道对应的题目。 我们从word的的选项-高级-显示,里面有对 ...
分类:
其他好文 时间:
2020-06-06 11:25:19
阅读次数:
255
Given two non-negative integers num1 and num2 represented as string, return the sum of num1 and num2. Note: The length of both num1 and num2 is < 5100 ...
分类:
其他好文 时间:
2020-06-06 11:10:45
阅读次数:
57
高斯消元 考虑如何解下面的方程组: $a_{11}x_1+a_{12}x_2+...+a_{1m}x_m=y_1$ $a_{21}x_1+a_{22}x_2+...+a_{2m}x_m=y_2$ ... $a_{n1}x_1+a_{n2}x_2+...+a_{nm}x_m=y_n$ 求满足条件的$x ...
分类:
其他好文 时间:
2020-06-06 10:58:40
阅读次数:
43
yum方式安装1.下载初始化镜像dockerpullubuntudockerrun-it-p80:80ubuntu/bin/bashapt-getupdate&&apt-getinstallvim-yvim/etc/apt/sources.list修改为阿里的镜像源apt-getupdate2.安装nginx以及配套软件包apt-getinstallnginxwgetlibpcre
分类:
其他好文 时间:
2020-06-06 09:16:23
阅读次数:
329
1 1创建项目 first_pro 2 2创建app app01 3 做一个登录页面的web项目,浏览器输入一个网址得到一个web页面 4 5 用户: http:127.0.0.1:8001/login/ 6 7 1urls.py 8 from django.conf.urls import url ...
分类:
Web程序 时间:
2020-06-06 00:47:27
阅读次数:
72
概述 之前在听到数据压缩的时候, 想着肯定是某些高深莫测的算法, 能够完成数据的压缩这种事情, 最近看了看, 嗯, 至少咱还是能看懂的. 无损压缩 众所周知, 不管你是exe, word, txt, dmg等等, 在存储上都是以二进制进行存储的, 所以, 在讨论压缩时, 忽略文件格式即可, 只要将其 ...
分类:
编程语言 时间:
2020-06-06 00:44:26
阅读次数:
71