例 子 定义数据结构,通过函数 data 返回数组 classmates,假设 classmates 数组中的每一个元素是班上的每一个同学的信息,然后通过 v-for 将每个同学的信息在页面上输出,p 是当前值,index 是当前索引。 <template> <div class="hello"> ...
分类:
编程语言 时间:
2020-07-04 01:19:38
阅读次数:
122
A函数: axios的拦截器封装 1 import axios from 'axios' 2 import {Message} from 'element-ui' 3 import store from '@/store' 4 5 // 创建axios实例 6 const service = axi ...
分类:
其他好文 时间:
2020-07-04 01:12:37
阅读次数:
82
1.mysql的安装教程: 安装教程 2.datagrip安装 1.官网下载: 2.解压: mkdir /opt/datagrip tar -zvsf datagrip-2020.1.5 -C /opt/datagrip #进入解压目录下bin文件夹,执行.sh文件 ./datagrip.sh 软件 ...
分类:
数据库 时间:
2020-07-04 01:11:18
阅读次数:
71
package LeetCode_295 import java.util.* /** * 295. Find Median from Data Stream * https://leetcode.com/problems/find-median-from-data-stream/descripti ...
分类:
其他好文 时间:
2020-07-04 01:10:12
阅读次数:
49
#include <stdio.h> #include <stdlib.h> typedef char ElemType; typedef struct BiNode{//二叉树 ElemType data; struct BiNode *lchild,*rchlid; }BiNode,*BiTre ...
分类:
编程语言 时间:
2020-07-04 01:05:11
阅读次数:
74
Byte和byte的区别 背景 今天学习网络编程中,在建立Udp连接时,使用byte[]数组接收传输的数据,但是byte[]错写为Byte[],导致错误。 //接收数据; Byte[] buffer = new Byte[1024]; DatagramPacket packet = new Data ...
分类:
其他好文 时间:
2020-07-03 23:48:54
阅读次数:
100
在golang官网下载源文件,解压,并添加到PATH。 ~ # tar -C /usr/local/ -xzvf go1.14.4.linux-amd64.tar.gz ~ # echo 'export PATH=$PATH:/usr/local/go/bin' >> /etc/profile ~ ...
分类:
其他好文 时间:
2020-07-03 23:38:40
阅读次数:
115
#include<stdio.h> #define MaxSize 10 typedef char ElemType; typedef struct { ElemType data[MaxSize]; int top; }SList; void InitSList(SList &S) { S.top ...
分类:
其他好文 时间:
2020-07-03 23:05:20
阅读次数:
45
Python学习基础后,是不是不知道怎么加固练习?今天分享几个小游戏,让你在游戏中把知识给巩固了。 小时候大家一定都玩过俄罗斯方块,下面我们看看Python是怎么实现这个游戏的. 1、绑定功能 # 绑定功能 class App(Frame): def __init__(self,master): F ...
分类:
编程语言 时间:
2020-07-03 23:03:28
阅读次数:
360
vi /home/kali/.local/lib/python3.8/site-packages/pwnlib/util/misc.py # 在Launching a new terminal 这一行后面添加 argv = argv[:-1] + [x.strip('"') for x in arg ...
分类:
数据库 时间:
2020-07-03 23:01:36
阅读次数:
139