[Pipeline] { (Checkout) [Pipeline] checkout > git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > g ...
分类:
其他好文 时间:
2018-11-06 11:57:35
阅读次数:
1375
这个题目主要用到循环、字符串拼接和排序,代码如下: a = [12,34,56] d = [] #保存新的list for i in a: for j in a: for k in a: if (i != j) and (j != k) and (i != k): #循环不重复组合 b = str( ...
分类:
其他好文 时间:
2018-11-05 19:02:45
阅读次数:
184
/** *翻转utf格式的字符串,使用正则和数组实现 *@param string $str *@return string */ function strrvev_utf8($str){ return join("," , array_reverse(preg_split("//u" , $str... ...
分类:
其他好文 时间:
2018-11-05 16:18:14
阅读次数:
105
相关插件的引用: grunt-usemin 对页面的操作 grunt-contrib-cssmin 压缩css load-grunt-tasks 瘦身gruntfile grunt-rev 给md5加密 相关插件的引用: grunt-usemin 对页面的操作 grunt-contrib-cssmi ...
分类:
其他好文 时间:
2018-11-04 23:58:48
阅读次数:
292
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward.Example 1:Input: 121Output: trueEx... ...
分类:
其他好文 时间:
2018-11-03 23:07:47
阅读次数:
174
1. 创建表结构 a. 命令: php artisan make:migration create_posts_table 2.生产文件 3. 当自定义完表属性后,生成表 命令: php artisan migrate 注意:如果是laravel5.4 会报错 解决方案: a.修改文件:app\Pr ...
分类:
其他好文 时间:
2018-11-03 19:21:35
阅读次数:
121
在日常开发中,我们用的最多的就是 绑定数据 如果你有ng的开发经验,假设 data 你要更新数据了 但是这在vue中 并不会起到作用,DOM并没有触发变化。 vue不是已经实现的实时数据双向绑定,那么model层发生了变化之后,为什么view层没有更新呢??? 看官网 这里才发现 深入响应式原理 列 ...
分类:
编程语言 时间:
2018-11-03 16:27:47
阅读次数:
136
用匿名函数lambda做些事: 1.输入一个序列,求长度 2.对输入的元素从大到小进行排序: ...
分类:
编程语言 时间:
2018-11-02 23:53:11
阅读次数:
181
loggin: https://howtodoinjava.com/spring-boot/configure-logging-application-yml/ Spring Boot Logging with application.yml By Lokesh Gupta | Filed Unde ...
分类:
移动开发 时间:
2018-11-02 23:51:06
阅读次数:
467
在做react移动端项目的时候,连续点击底部导航,浏览器就会报Unable to preventDefault inside passive event listener due to target being treated as passive的错: 解决方案: 给html加上CSS 属性 to ...
分类:
移动开发 时间:
2018-11-02 17:20:20
阅读次数:
1925