// watch 简单应用 watch(data, () => { document.title = 'updated ' + data.count }) // watch 的两个参数,代表新的值和旧的值 watch(refData.count, (newValue, oldValue) => { ...
分类:
其他好文 时间:
2021-04-28 12:15:10
阅读次数:
0
0x00 Docker 快速入门 1.基础介绍 描述:Docker [?dɑ:k?(r)] 是一个基于Go语言开发实现的遵循Apache 2.0协议开源项目,目标是实现轻量级的操作系统虚拟化解决方案; ,诞生于2013年初最初发起者是dotCloud公司创始人 Solomon Hykes 在法国期间 ...
分类:
其他好文 时间:
2021-04-28 11:46:47
阅读次数:
0
1、for语句 for (i in 1:5) { print("hello world!") } 2、for语句 sum = 0 for (i in 1:100){ sum = sum + i } print(sum) 3、for语句 sum = 0 for (i in 1:100) { if (i ...
分类:
编程语言 时间:
2021-04-27 15:30:33
阅读次数:
0
Button btn = this.GetComponent<Button>(); btn.onClick.AddListener(onExp); ...
分类:
编程语言 时间:
2021-04-27 15:19:33
阅读次数:
0
1. find . -regex '.*\.c\|.*\.cc' | xargs grep "string" --color --line-number 2. sed -n '5,10p' filename 查看文件的第5行到第10行。 3. grep -o hello test.log | wc ...
分类:
其他好文 时间:
2021-04-27 15:16:42
阅读次数:
0
c语言 4-20 为九九乘法表增加横纵标题。 1、for语句二层循环 #include <stdio.h> int main(void) { int i, j; printf(" |"); for (i = 1; i <= 9; i++) { printf("%3d", i); } putchar( ...
分类:
编程语言 时间:
2021-04-27 15:05:59
阅读次数:
0
#include <bits/stdc++.h> typedef unsigned long long ll; const ll P=1331; using namespace std; ll hash1[1000000],u[1000000]; ll get(int l,int r){ retur ...
分类:
其他好文 时间:
2021-04-27 15:00:27
阅读次数:
0
1.基本if语句 Python的写法 If条件: 条件满足 Else: 条件不满足时 案例:话费计算 #计算话费 #(1)输入通话的秒数 n = input("请输入通话秒数:") #(2)将通话的秒数转换成分钟 n = int(n) if n < 0: print("请输入正确的秒数") exit ...
分类:
编程语言 时间:
2021-04-27 14:57:59
阅读次数:
0
1.在root权限下登录mysql 2.进入mysql库 mysql>use mysql 3.查看root用户权限 mysql>select User,Host,plugin from user; 4.将root用户的auth_sock改为mysql_native_password mysql>up ...
分类:
数据库 时间:
2021-04-27 14:42:37
阅读次数:
0
Master配置 global_defs { notification_email { root@localhost } notification_email_from keeplived@localhost smtp_server 127.0.0.1 smtp_connect_timeout 30 ...
分类:
其他好文 时间:
2021-04-27 14:42:00
阅读次数:
0