http://codeforces.com/contest/1312/problem/C题目链接 这道题有许多种解法,在此介绍一种类似题都能通用的方法。相信许多人也最想看这种方法。 在介绍之前,先理解一下当k=2时的情况。 k=2,n=23时 有23=2^4+2^2+2^1+2^0; 这个式子能说明 ...
分类:
其他好文 时间:
2020-03-10 16:01:49
阅读次数:
49
1.MyBatis全局配置 以下标签均在父标签Configuration中 1.<properties resource="jdbc.conf"></properties> 引入外部文件文件 1.resource:从类路径引入(只有spring中才需要加上:classpath) 2.url:从磁盘路 ...
分类:
其他好文 时间:
2020-03-10 14:21:05
阅读次数:
60
1. 必须在 Debug模式下启动! 一般这样设置之后就可以了 2. 可能需要手动重新编译(点那个锤子??) 或者点击上面的 Build 总结:Debug模式启动是最关键的! 然后点更新类和资源就可以生效了 ...
分类:
其他好文 时间:
2020-03-10 14:06:35
阅读次数:
44
Home 打开Chrome 开发者工具 了解面板 设备模式 注释:移动端开发工具 元素面板 使用元素面板可以自由的操作DOM和CSS来迭代布局和设计页面 注释:Elements标签页 控制台面板 在开发期间,可以使用控制台面板记录诊断信息,或者使用它作为 shell(壳) 在页面上与JavaScri ...
分类:
其他好文 时间:
2020-03-10 12:03:58
阅读次数:
46
1查看概要文件中设置的密码错误后限制的登录次数,默认为10次。 SQL语句为:select * from dba_profiles where profile='DEFAULT' and resource_name='FAILED_LOGIN_ATTEMPTS'; LIMIT列应为红色的数字10。 ...
分类:
数据库 时间:
2020-03-09 22:42:16
阅读次数:
231
1.创建数据库表 create table system_resource ( id bigint(11) not null primary key auto_increment comment 'id', resource_name varchar(20) not null comment '资源 ...
分类:
其他好文 时间:
2020-03-08 18:02:05
阅读次数:
89
链接【https://github.com/Davis Samuel/JavaWeb order】 1.准备 创建JavaWeb父工程 添加Servlet和servlet jsp的依赖: 创建Javaweb子工程(servlet 01) 添加,Java和resource文件夹。 添加com.it.h ...
分类:
编程语言 时间:
2020-03-08 14:14:01
阅读次数:
69
Now, let's say we would like to give a specific consumer a higher rate-limit. For this, we can create a KongPlugin resource and then associate it with ...
分类:
其他好文 时间:
2020-03-07 20:25:17
阅读次数:
80
今天装了一台centos7,像往常一样通过/etc/inittab去修改启动级别,然而进去之后却看到如下情况: # inittab is no longer used when using systemd. # # ADDING CONFIGURATION HERE WILL HAVE NO EFF ...
分类:
其他好文 时间:
2020-03-07 16:09:42
阅读次数:
62
Ajax,restful/Rest JSON和JSONP之间的差异 Ajax – “异步Javascript和XML”。 Ajax宽松地定义了一组技术,以帮助使Web应用程序提供更丰富的用户体验。屏幕的数据更新和刷新是使用javascript和xml(或json或只是一个正常的http post)异 ...
分类:
Web程序 时间:
2020-03-07 14:36:35
阅读次数:
94