在有些严格的系统中,我们需要做到干净的停止线程并清理相关状态。涉及到这个主题会带出很多的相关点,简单的总结如下: 我们知道,在java中,有一个volatile关键字,其官方说明(https://docs.oracle.com/javase/tutorial/essential/concurrenc ...
分类:
编程语言 时间:
2016-11-02 14:25:16
阅读次数:
256
一、前言: 上文中,笔者系统的阐述了1602的两种驱动方式,并简单的提到了Arduino的LiquidCrystal库。本文紧接上文,对以下两个问题进行更加深入的探讨:如何能够使1602对Arduino的端口占用降到最少?LiquidCrystal库到底应该如何学习?在Arduino下LCD1602 ...
分类:
其他好文 时间:
2016-11-01 19:30:33
阅读次数:
1218
本文介绍基于nodejs的CMS系统keystonejs的安装过程,涉及nodejs,mongo,iisnode等的安装。 ...
分类:
Web程序 时间:
2016-10-31 13:55:49
阅读次数:
1514
网上的资料太乱了,等弄好了再看官网才发现官网写的最清晰和简洁 推荐官网的副本集配置:https://docs.mongodb.com/manual/tutorial/deploy-replica-set/ 引述大神一段总结:http://blog.csdn.net/huwei2003/article ...
分类:
数据库 时间:
2016-10-31 13:12:19
阅读次数:
303
In this tutorial we are going to learn how simple it is to create custom form field driven validators while using Angular 2 model driven forms. These ...
分类:
其他好文 时间:
2016-10-28 20:30:22
阅读次数:
170
In this tutorial we are going to learn how we can also implement custom form field validation in Angular 2 template driven forms, by creating our own ...
分类:
其他好文 时间:
2016-10-28 20:19:52
阅读次数:
137
方法一、使用网友开发的EZHTTP程序包一键安装。 可以参考地址http://www.centos.bz/2013/08/ezhttp-tutorial/ 方法二、手工安装步骤如下: 1. 安装apache: yum install httpd httpd-devel 启动apache: 启动apa ...
分类:
Web程序 时间:
2016-10-27 12:28:17
阅读次数:
186
In this tutorial we are going to learn how we mark form fields in error and display error messages to the user in the case of Angular 2 model driven f ...
分类:
其他好文 时间:
2016-10-27 08:00:19
阅读次数:
163
在网站开发中,可能会使用折线图,圆饼图,等等 来丰富网页对数据的展示,可以使用echart http://echarts.baidu.com/tutorial.html#5%20%E5%88%86%E9%92%9F%E4%B8%8A%E6%89%8B%20ECharts 可以参考这个网址,快速上手 ...
分类:
Web程序 时间:
2016-10-25 19:30:25
阅读次数:
370