使用JavaScript实现栈、队列、链表、集合等常见数据结构。可能会有点用? ...
分类:
编程语言 时间:
2020-01-30 10:11:08
阅读次数:
79
介绍 每个app下都可以有一个 目录。Django将 为该目录中每个名称都不以下划线开头的Python模块注册一个命令。官网 该模块mytest.py只有一个需求–它必须定义一个类 并继承 或其 子类之一。 mytest.py如下: 使用 来执行该脚本文件 Command对象 BaseCommand ...
分类:
其他好文 时间:
2020-01-29 22:04:41
阅读次数:
91
Behind the scenes in the computer's memory, color is always talked about as a series of 24 bits of information for each pixel. In an image, the color ...
分类:
其他好文 时间:
2020-01-29 21:48:12
阅读次数:
94
在同一文件下定义子组件 import React from 'react'; class ShowInput extends React.Component { constructor () { super(); this.state = { txt: 'this is the txt state. ...
分类:
其他好文 时间:
2020-01-29 21:39:56
阅读次数:
78
# 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
一.安装erlang 二.安装rabbitmq 三.可能出现的问题 1、如果出现如下错误,但是的确安装了erlang对应版本: 2、出现如下错误的情况;说缺少socat依赖 四.启动和配置 1.RabbitMQ的一些基本操作: 2、基本配置:(配置的时候输入命令需要在/usr/local/src/ ...
分类:
其他好文 时间:
2020-01-29 10:20:51
阅读次数:
69
参考1: https://www.javatpoint.com/hello-android-example 首先下载android studio 然后新建一个empty activity的项目。 然后新建一个虚拟设备,AVD。我选择pixel xl,API level 29,也就是android 1 ...
分类:
移动开发 时间:
2020-01-28 19:34:55
阅读次数:
101
RequestUtils.java 操作类 package cn.utils; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import o ...
分类:
Web程序 时间:
2020-01-28 19:26:25
阅读次数:
93
难度 super hard 题意 "官方中文题意" 做法 定义1 :$G$为邻接矩阵,$I$为单位矩阵 定义2 :$H$为转移矩阵,可以不动,即$H=G+I$ 定义3 :$e_i(x_1,...,x_n)$为$(x_1,...,x_n)$的所有$i$子集乘积和 $i$到$j$走$K$步的方案数即$G ...
分类:
其他好文 时间:
2020-01-28 00:04:23
阅读次数:
79
diango后台管理平台 1. 后台添加管理员用户 python manage.py createsuperuser (admin 、 admin123456) 如下图: 2. 访问django后台管理, http://127.0.0.1:8000/admin/login/ 3. diango后台配 ...
分类:
其他好文 时间:
2020-01-27 15:27:03
阅读次数:
56