Given two strings A and B, find the minimum number of times A has to be repeated such that B is a substring of it. If no such solution, return 1. For ...
分类:
其他好文 时间:
2019-01-09 18:37:36
阅读次数:
162
Ethernet cable 加voltage 通过voltage变化传输信息到另一端 假如是这样加电压的 可以看到有两种状态,一个是5v 另一个是0v we call these states symbols -we call these symbols because we can use th ...
分类:
其他好文 时间:
2019-01-05 16:31:53
阅读次数:
172
1.在git push时无法提交代码,相对于git服务器上,本身代码可能不是最新的,因此提交的时候会报以下这个错误 Updates were rejected because the tip of your current branch is behind 如果和团队其他人确认你可以强制提交,可以使 ...
分类:
其他好文 时间:
2019-01-04 14:40:52
阅读次数:
190
前言今天在更新运行apt-get update的时候出现了如下的错误: W: GPG error: http://extras.ubuntu.com trusty Release: The following signatures couldn't be verified because the p ...
分类:
系统相关 时间:
2019-01-03 12:03:00
阅读次数:
226
Because an installed PWA is really just a web app running in a browser, there are some browser behaviors that we may not want in our app, if we're goi ...
分类:
移动开发 时间:
2018-12-30 16:18:10
阅读次数:
243
题面 Bzoj Luogu 题解 先来颓柿子 $$ \sum_{i=0}^n\sum_{j=0}^iS(i,j)2^jj! \\ =\sum_{j=0}^n2^jj!\sum_{i=0}^nS(i,j) \\ \because S(n, m)=\frac1{m!}\sum_{i=0}^m(-1)^i ...
分类:
其他好文 时间:
2018-12-30 12:08:02
阅读次数:
195
以下的文章主要介绍的是MySQL使用rand 随机查询记录效率测试,我们大家一直都以为MySQL数据库随机查询的几条数据,就用以下的东东,其实其实际效率是十分低的,以下就是文章的主要内容。 就可以了。但是真正测试一下才发现这样效率非常低。一个15万余条的库,查询5条数据,居然要8秒以上 查看官方手册 ...
分类:
数据库 时间:
2018-12-30 02:44:19
阅读次数:
233
一 docker安装-CentOS系统 1.1 docker自动安装脚本 注意:若出现以下错误,可使用yum解决依赖—— Delta RPMs disabled because /usr/bin/yum provides applydeltarpmnot installed. 1.2 docker ...
分类:
其他好文 时间:
2018-12-29 11:07:13
阅读次数:
195
We can view the PWA offline because we are caching the static and CDN assets for the app - but the list of todo items won't display, because those API ...
分类:
Web程序 时间:
2018-12-28 22:22:45
阅读次数:
306
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:
其他好文 时间:
2018-12-26 11:36:54
阅读次数:
75