mysql之数据备份与还原: 原文地址:https://www.cnblogs.com/q455674496/p/10305997.html #1. 物理备份: 直接复制数据库文件,适用于大型数据库环境。但不能恢复到异构系统中如Windows。 #2. 逻辑备份: 备份的是建表、建库、插入等操作所执 ...
分类:
数据库 时间:
2020-05-09 00:48:11
阅读次数:
84
【Windows 终端程序】 (1)Windows自带 CMD power shell (2)第三方应用 cmder ConEmu 【需要用到终端的情况】 1 Windows中命令使用 2 本地的git命令使用 3 bash - linux shell - bash脚本? ...
As you probably know, Anton goes to school. One of the school subjects that Anton studies is Bracketology. On the Bracketology lessons students usuall ...
分类:
其他好文 时间:
2020-05-08 18:40:45
阅读次数:
82
定义结构: struct tag { //tag是结构体标签 //member-list //标准的变量定义 member-list member-list member-list ... }variable-list //variable-list结构变量 ,定义在结构的末尾,放在最后一个分号之前 ...
分类:
其他好文 时间:
2020-05-08 18:35:10
阅读次数:
64
1. 字符串测试举例 提示:下面的$file并未定义,而$file1 在上面测试中已定义。 范例1:单条件字符串测试: [root@test-1 ~]# file1=/etc/services;file2=/etc/rc.local [root@test-1 ~]# echo $file1 $fil ...
分类:
系统相关 时间:
2020-05-08 18:31:52
阅读次数:
76
1. 整数测试举例范例1:整数条件测试举例 root@test-1 ~]# a1=10;a2=13 [root@test-1 ~]# echo $a1 $a2 10 13 [root@test-1 ~]# [ $a1 -eq $a2 ] && echo 1 || echo 0 #条件不成立,返回为0 ...
分类:
系统相关 时间:
2020-05-08 18:05:05
阅读次数:
80
#include <stdio.h>int main(){ int n; double s=0,t=1; //s不应定义为int int所能存储数据范围较小 t同理 作为阶乘存储数据范围较大 for(n=1;n<=20;n++) { t=t*n; s=t+s; } printf("前二十项阶乘:%2 ...
分类:
其他好文 时间:
2020-05-08 18:02:36
阅读次数:
198
顶号功能的基本实现原理 1、建议修改PHP/JAVA的配置,使sessionid保存到memcache; 2、每次登录时,查询表所有该user_id的sessionid; 3、删除memcache或文件中第2步查到的sessionid,即可注销其他设备上的登录凭证; 4、每次登录时,记录登录者use ...
分类:
其他好文 时间:
2020-05-08 15:55:26
阅读次数:
121
使用cat+uniq命令 其实就是统计每行重复多少次 格式:uniq [options][file1 [files]] uniq c file file中的重复行输出一次,并在每行前显示重复次数 uniq d file file中的重复行输出一次,但不输出唯一的行 uniq u file 只输出fi ...
分类:
系统相关 时间:
2020-05-08 13:28:17
阅读次数:
280
nikkei2019_2_qual_e Non triangular Triplets https://atcoder.jp/contests/nikkei2019 2 qual/tasks/nikkei2019_2_qual_e 给出 $N$ 和 $K$ . 判断对于这 $3N$ 个数 $K,K+ ...
分类:
其他好文 时间:
2020-05-08 13:14:59
阅读次数:
56