1.0 ThinkPHP人门 1.1 什么是ThinkPHP 在认识ThinkPHP框架之前,我们需要了解一个概念一-PHIP 框架 PHP框架就是一种可以在项目开发过程中, 提高开发效率,创建更为稳定的程序,并减少开发者重复编写代码的基础架构。下面介绍几个主流的PHP框架。 (1) Zend Fr ...
分类:
Web程序 时间:
2018-10-26 16:18:32
阅读次数:
255
参考博客: https://www.pyimagesearch.com/2016/07/11/compiling-opencv-with-cuda-support// https://docs.opencv.org/3.4.0/d7/d9f/tutorial_linux_install.html h ...
分类:
系统相关 时间:
2018-10-25 23:46:58
阅读次数:
378
转自:https://codedefault.com/2018/does-dapper-support-the-like-operator-in-csharp-application 问题描述 如题,在.NET/C#的程序开发中,使用Dapper查询数据时,如何实现类似SQL查询语句中的like操作 ...
分类:
数据库 时间:
2018-10-25 17:58:28
阅读次数:
211
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put. get(key) - Get the ...
分类:
系统相关 时间:
2018-10-25 17:08:06
阅读次数:
181
今天升级mac系统到macOS mojave后,在终端操作gitlab时遇到一行莫名其妙的错误: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: ...
分类:
系统相关 时间:
2018-10-25 15:42:48
阅读次数:
302
Springboot自动配置原理: 主类 @SpringBootApplication 开启了自动配置 自动化配置类都有一个这样的注解@EnableConfigurationProperties ,例如 @EnableConfigurationProperties(HttpEncodingPrope ...
分类:
编程语言 时间:
2018-10-24 20:18:14
阅读次数:
218
1、提示 "svn: Commit failed (details follow): svn: 'xxx文件(例如xxx.txt)' is scheduled for addition, but is missing " 原因:之前用SVN提交过的文件,被标记为"add"状态,等待被加入到仓库。若此 ...
分类:
其他好文 时间:
2018-10-24 19:51:01
阅读次数:
137
在Riibon中一个非常重要的组件为LoadBalancerClient,它作为负载均衡的一个客户端 ServiceInstance choose(String serviceId); 从负载均衡器中挑选一个对应服务的实例 choose 调用到getserver ILoadBalancer在ribb ...
分类:
其他好文 时间:
2018-10-24 17:44:19
阅读次数:
163
通过非托管自定义镜像创建VM 官网有很多文档介绍如何创建自定义镜像,之前support一个客户,已经使用Azure两年多,很多机器都是非托管磁盘,所以帮客户去测试使用通过非托管自定义镜像创建VM,整个脚本很简单,只需要改掉一个参数就可以实现,但是因为没有直接文档说明,当时花了时间去测试,所以直接把成 ...
分类:
其他好文 时间:
2018-10-23 20:49:48
阅读次数:
165
用Jsoup在获取一些网站的数据时,起初获取很顺利,但是在访问某浪的数据是Jsoup报错,应该是请求头里面的请求类型(ContextType)不符合要求。 请求代码如下: private static void testOuGuanMatch() throws IOException{ Docume ...
分类:
移动开发 时间:
2018-10-23 18:01:38
阅读次数:
191