1. ThinkPHP中如何多表查询? 之前一直使用ThinkPHP viewModel来多表查询,但是总是觉得缺少了点什么。现在查询了官网相关技术文章,抄录如下,以供以后参考。 ThinkPHP中关联查询(即多表联合查询)可以使用 table() 方法或和join方法,具体使用如下例所示: 1、原生查询示例: 代码如下: $Model = new Model(); $sql = 'select a.id,a.title,b.content from think_ ...

    阅读全文
  2. “青少儿编程”的概念,起源于麻省理工(MIT)推出的“可编程式积木”(Scratch)平台,使用者不需要了解编程,只需拖拽事先封装好的积木式模块,“搭建”出指令,设置或控制角色及其行动和变化即可。这个过程中,可以培训儿童的逻辑思维能力、创造力和解决问题的能力,能让儿童启发发现问题、分析问题和解决问题的系统性思考能力。同时,MIT针对幼儿(5-7岁)推出了更适合他们的编程平台——Scratchjr,相较 ...

    阅读全文
  3. by Bas Dijkstra  转自 https://learn.techbeacon.com/units/how-set-continuous-testing-framework-using-selenium-maven-jenkins Last time I talked about the key components of a test automation framework. Now I'm going to provide a st ...

    阅读全文
  4. ant tasks2016-08-01
    44250

    这里是ant tasks传送门。 Archive Tasks Audit/Coverage Tasks Compile Tasks Deployment Tasks Documentation Tasks EJB Tasks Execution Tasks File Tasks Java2 Extensions Tasks Logging Tasks Mail Tasks Miscellaneous Tasks Pre-process Tasks Property ...

    阅读全文
  5. Create JWT的在线工具: http://jwtbuilder.jamiekurtz.com http://kjur.github.io/jsjws/tool_jwt.html 验证JWT的在线工具 http://jwt.io/ Base64 encode/decode的在线工具: https://www.base64encode.org https://www.base64decode.org ...

    阅读全文
  6. 证书申请(腾讯云) 申请地址:https://buy.cloud.tencent.com/ssl?fromSource=ssl 申请时可以选择手动DNS验证 手动 DNS 验证 登录 SSL 证书管理控制台。 在 “证书列表” 页面,选择待查看证书详情的域名型证书 ID,进入 “证书详情” 页面。如下图所示: 添加解析记录。 若您的域名(例如 www.domain. ...

    阅读全文
  7. 44010

    朋友圈刚发的雅虎更名为altaba,网友戏称为阿里他爸。 于是好奇地去阿里云慰问了下阿哩她妈,阿哩她爷,阿哩她姥姥! 戏剧性的一幕发生了。 除了altama.com, altaya.com都是很久以前注册的。 就在刚刚一刻2017年1月10号。 阿哩他姥姥(altalaolao.com), 他爷爷(altayeye.com)都被抢注了。 而且出自同一个神手,这手神速啊啊啊啊!     要不我也去跟阿哩沾沾亲? ...

    阅读全文
  8. Spring Cloud学习过程中相关的知识点和软件项目: (1) Cloud Foundry: https://www.cloudfoundry.org/ ​   (2)Pivotal Web Services: https://run.pivotal.io/ (3)Zookeeper: https://zookeeper.apache.org/doc/current/zookeeperSt ...

    阅读全文
  9. 43960

    Gradle命令学习 Gradle的build.gradle其实是groovy script.(Gradle expresses its build files in Groovy. ) Gradle的基本build活动就是tasks.可以通过Gradle tasks命令来列出当前Root Project中可使用的任务。 Gradle tasks可以列出当前build.gradle中所有可以使用的tasks,包括自定义的task。主要有几类任务:Build任务 ...

    阅读全文
  10. 参考文档https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-centos-7 https://www.digitalocean.com/community/tutorials/initial-server-setup-with-centos-7 Step 1 — Installing Docker (使用Non-root user with sudo privi ...

    阅读全文
  11. php里base64_decode可以将base64字符串解析成图片。代码如下: $base64ImgStr = "................."; $imgData = base64_decode($base64ImgStr); $imgFile = __DIR__."/testImg.png"; file_put_contents($imgFile, $imgData);   ...

    阅读全文
  12. 这篇文章主要介绍了微信小程序 登录实例详解的相关资料,需要的朋友可以参考下。   微信小程序登录 一. 小程序不支持cookie会话   1. 通过传递与检验3rd_session来保持会话   2. 3rd_session可以执行‘`head -n 80 /dev/urandom | tr -dc A-Za-z0-9 | head -c 168`该命令生成   3. 使用Redis或者数据库存储session   4. ...

    阅读全文
  13. 本文转载自 http://codingstandards.iteye.com/blog/836625 用途说明 exit命令用于退出当前shell,在shell脚本中可以终止当前脚本执行。 常用参数 格式:exit n 退出。设置退出码为n。(Cause the shell to exit with a status of n.) 格式:exit 退出。退出码不变,即为最后一个命令的退出码。(If n is omitted, the exit ...

    阅读全文
  14. Spring Boot为Spring MVC 提供了 auto-configuration. The auto-configuration adds the following features on top of Spring’s defaults: Inclusion of ContentNegotiatingViewResolver and BeanNameViewResolver beans. Support fo ...

    阅读全文
  15. MVC - Model-View-Controller MVP - Model-View-Presenter MVVM - Model-View-ViewModel MVW / MV* - Model-View-Whatever Both MVP and MVVM are derivatives of MVC. The key difference between it and it’s derivatives&nb ...

    阅读全文
  16. 安装tensorflow时遇到的问题即解决方法。 安装tensoflow前的准备 (通过pip安装,如果还没有安装pip的话,可以通过下面的命令安装pip) curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py sudo python get-pip.py   安装命令: pip install tensorflow  ERROR: matplotlib 1.3.1 ...

    阅读全文
  17. 发现这个网站,值得推荐给所有的程序员看一下。 程序员的自我修养:网站链接如下: https://leohxj.gitbooks.io/a-programmer-prepares/content/ 文章简洁明了,列举了程序员必备的基础知识,已经作者收集的很多不错的网站链接。 这里列出该书(网站)的目录链接以供快速访问。 1. 程序员基础知识 1.1. 字符编码 1.2. 技术名词 1.3. 语义 ...

    阅读全文
  18. 这篇是腾讯云的思维导图。腾讯云的产品分类显的更为清晰,也是大体三层机构,比较让人记忆更深刻。 大体分为7大类。 基础仍然是云的产品核心。 各项展开:                                           ...

    阅读全文
  19. Veeva Systems2018-09-18

    Veeva System 官网:https://www.veeva.com/ Veeva Systems is a software company that provides cloud-based data management and CRM solutions to the life science industries. Veeva Systems's headquarters is in Pleasanton, California. Veeva Systems ...

    阅读全文
  20. 43340

    etcd学习资料 《Etcd github官方》https://github.com/etcd-io/etcd 《Etcd 使用入门》https://www.hi-linux.com/posts/40915.html etcd简介 etcd是CoreOS团队于2013年6月发起的开源项目,它的目标是构建一个高可用的分布式键值(key-value)数据库。etcd内部采用raft协议作为一致性算法,etcd基于Go语言实现。 etcd作为服务发现系统,有以下的 ...

    阅读全文