实现用户注册网站,编辑用户名时判断是否已经存在: 若存在则提示“The name you used have already existed,please change your name” 若不存在,则提示“register success!”,并将其加入用户列表。 最后打印出用户列表 PS:不区 ...
分类:
编程语言 时间:
2019-01-30 15:53:17
阅读次数:
228
放假回家,想设置一下teamviewer,结果一直报错"TeamViewer not ready. Please check your connection" 查了一通,发现这个方法解决了,就是重启一下服务,执行以下命令,然后重新打开: ...
分类:
其他好文 时间:
2019-01-30 13:13:58
阅读次数:
239
最近在学习springbooot2 和 thymeleaf 程序文件 application.properties文件配置: 在编译的时候,发现一直报这个错误: 之后再网上找了各种答案,发现都不能使用 下面是正确的方案: 在pom.xml中引入如下配置 在pom.xml中引入的文件,这样applic ...
分类:
编程语言 时间:
2019-01-30 12:48:30
阅读次数:
4549
背景 用jmap打dump文件经常遇到如下异常,打不出来,哥今天告拆大家一个终极解决方法,嘘,不要告拆别人。。 Attaching to core -F from executable 421442, please wait...Error attaching to core file: canno ...
分类:
其他好文 时间:
2019-01-29 21:19:03
阅读次数:
650
1. Write a testing program (not sort.c from task 2) that contains a stack bufferoverflow vulnerability. Show what the stack layout looks like and expl ...
分类:
其他好文 时间:
2019-01-29 20:25:18
阅读次数:
109
终端读写操作终端相关文件句柄常量os.Stdin:标准输入os.Stdout:标准输出os.Stderr:标准错误输出终端读写示例:packagemainimport("fmt")var(firstName,lastName,sstringiintffloat32input="56.12/5212/Go"format="%f/%d/%s")funcmain(){fmt.Println("Pleas
分类:
其他好文 时间:
2019-01-29 18:11:03
阅读次数:
169
测试环境,初步配置ogg,添加ogg用户连接数据库,提示无权限报错。 1.0 报错信息 2.0 数据库用户登录,权限排查 从报错字面理解报错信息: 无法连接数据库Ogg用户,请检查权限,数据库没有问题,Ogg是否存在问题 3.0 修改oracle_sid ...
分类:
数据库 时间:
2019-01-28 12:12:45
阅读次数:
1018
1. redis查看当前所有的key 1 KEYS * 1 KEYS * 1 1 KEYS * KEYS * 2. 查看当前redis的配置信息 1 CONFIG GET * 1 CONFIG GET * 1 1 CONFIG GET * CONFIG GET * 3. MISCONF Redis ...
分类:
其他好文 时间:
2019-01-27 21:35:25
阅读次数:
134
今天程序烧录后,进行调试时keil提示:Could not stop Cortex-M device! please check the JTAG cable 如图: 于是我在网上搜了一下,发现与stm32的三种启动方式有关(我听信别人,如果使用swd下载程序,则boot0就可以悬空,才导致出现fl ...
分类:
其他好文 时间:
2019-01-27 19:14:59
阅读次数:
1514
QMQTT mqtt client for Qt Please compile the library with Qt >= 5.3 version. On Windows you need to specify CONFIG += NO_UNIT_TESTS, since gtest is not ...
分类:
其他好文 时间:
2019-01-25 14:09:20
阅读次数:
1044