- 基于STM32设计的酒驾检测报警系统(OneNet+4G模块)(222)
DS小龙哥
智能家居与物联网项目实战stm32嵌入式硬件单片机酒驾检测酒驾监测
文章目录一、前言1.1项目介绍【1】项目背景【2】项目实现的功能【3】项目硬件模块组成1.2设计思路1.3项目开发背景【1】选题的意义【2】可行性分析【3】参考文献【4】摘要1.4开发工具的选择【1】设备端开发【2】可视化页面开发1.5系统框架图1.6系统功能总结1.7设备原理图1.8硬件实物图二、硬件选型2.1STM32开发板2.2USB下载线2.3杜邦线(2排)2.4OLED显示屏2.5Air
- Foundation框架详细解析 (二) —— Foundation的结构组成和它在iOS系统中的地位和位置(一)
刀客传奇
版本记录版本号时间V1.02018.05.22前言前面写了那么多篇包括一些具体功能的实现,也包含了关于架构方面的一些想法,这一篇回归一下iOS系统框架中的一个基本框架Foundation,可以说这个框架是所有其他框架的基础,它里面定义了数据类型等相关的信息。接下来几篇我们就一起看一下该基本框架Foundation的相关内容。感兴趣的可以参考下面几篇。1.Foundation框架详细解析(一)——基
- 基于STM32L431小熊派设计的智能花盆(微信小程序+腾讯云IOT)(223)
DS小龙哥
智能家居与物联网项目实战stm32微信小程序腾讯云
文章目录一、前言1.1项目介绍【1】项目背景【2】设计实现的功能【3】项目硬件模块组成1.2设计思路【1】整体设计思路【2】ESP8266工作模式配置1.3项目开发背景【1】选题的意义【2】可行性分析【3】参考文献1.4开发工具的选择【1】设备端开发【2】上位机开发1.5系统框架图1.6系统功能总结1.7系统原理图1.8硬件实物图二、硬件选型2.1小熊派开发板2.2土壤湿度传感器2.3抽水马达2.
- 计算机网络12——IM聊天系统——项目分析和架构搭建
徐_菲
计算机网络计算机网络架构职场和发展开发语言服务器
1、IM——聊天系统主要功能(1)注册根据:昵称,手机号,密码(2)登录根据:手机号,密码(3)添加好友根据:昵称(4)聊天根据:昵称(5)下线根据:id2、面向对象编程分析系统框架(1)客户端QT1、ui界面2、核心处理类(处理收到的数据、组织要发送的数据)3、中介者类(不做数据处理,单纯转发)4、网络类(收发数据、初始化网络、关闭网络)(2)服务端VS1、数据库类2、核心处理类(处理服务端收到
- 基于QT与STM32的电力参数采集系统(华为云IOT)(211)
DS小龙哥
智能家居与物联网项目实战qtstm32华为云电力采集
文章目录一、前言1.1项目介绍【1】开发背景【2】项目实现的功能【3】项目硬件模块组成1.2设计思路【1】整体设计思路【2】整体构架【3】上位机开发思路【4】供电方式1.3项目开发背景【1】选题的意义【2】可行性分析【3】参考文献【4】摘要1.4开发工具的选择【1】设备端开发【2】上位机开发1.5系统框架图1.6系统功能总结1.7设备原理图1.8硬件实物图二、硬件选型2.1STM32开发板2.2U
- Linux内核编程(十四)IIC总线驱动FT5X06触摸屏
小仇学长
LinuxlinuxIIC驱动FT5X06
本文目录前述:一、IIC子系统框架二、I2C设备驱动层1.i2c_client编写(C语言版-旧内核)2.i2c_client编写(设备树版-新内核) 前述:对于IIC的基础知识,这里不做过多的介绍,详细情况查看下面的两篇文章。文章一:超详细!新手必看!STM32基础-IIC串行通信协议-IO口模拟IIC操作BMP180。文章二:Linux应用编程(四)IIC(获取BMP180温度/气压数据)。
- 基于STM32设计的校园智慧路灯系统(华为云IOT)(212)
DS小龙哥
智能家居与物联网项目实战stm32华为云物联网路灯智慧路灯
文章目录一、前言1.1项目介绍【1】开发背景【2】项目实现的功能【3】项目硬件模块组成1.2设计思路【1】整体设计思路【2】整体构架【3】上位机开发思路【4】开发阶段供电方式1.3项目开发背景【1】选题的意义【2】可行性分析【3】参考文献【4】摘要【5】项目背景1.4开发工具的选择【1】设备端开发【2】上位机开发1.5系统框架图1.6系统功能总结1.7设备原理图1.8硬件实物图二、硬件选型2.1S
- RK3568驱动指南|第十六篇 SPI-第185章 SPI子系统框架
北京迅为
#第十六期SPI嵌入式硬件linux驱动开发RK3568
瑞芯微RK3568芯片是一款定位中高端的通用型SOC,采用22nm制程工艺,搭载一颗四核Cortex-A55处理器和MaliG522EE图形处理器。RK3568支持4K解码和1080P编码,支持SATA/PCIE/USB3.0外围接口。RK3568内置独立NPU,可用于轻量级人工智能应用。RK3568支持安卓11和linux系统,主要面向物联网网关、NVR存储、工控平板、工业检测、工控盒、卡拉OK
- 使用Vue 2 + Element UI搭建后台管理系统框架实战教程
不知名靓仔
vue.jsui前端
后台管理系统作为企业内部的核心业务平台,其界面的易用性和功能性至关重要。Vue2作为一个成熟的前端框架,以其轻量级和高效著称,而ElementUI则是一套专为桌面端设计的Vue2组件库,它提供了丰富的UI元素和组件,大大简化了后台管理系统的开发过程。本篇博客将深入介绍如何利用Vue2和ElementUI快速搭建一个功能完善的后台管理系统框架。vue2后台管理项目下载地址:https://downl
- uniapp x 相比于其他的开发系统框架怎么样?
uni-app
首先我们要知道niapp这是一种基于Vue.js开发的跨平台应用框架,可以将同一套代码同时运行在多个平台上,包括iOS、Android、H5等。相比其他开发系统框架,他有什么优点呢?让我们共同探讨一下吧!图片来源:https://news.gulufenfa.com/post/274易用性Uniapp提供了非常便捷的开发API,使得开发者仅需要掌握少量技能即可完成一部分功能的开发。同时,Uniap
- .NET有哪些微服务框架
科学的发展-只不过是读大自然写的代码
.net微服务微服务架构.net
1.概述想要对.net的微服务方案进行一下调查,看有什么可选的方案和框架,与springclound相比.net创建微服务是相对较麻烦的。ID名称说明1ServiceFabricSteeltoe是帮助.NET开发的服务接入SpringCloud技术栈的官方支持工具。也就是说,微服务的系统框架,还是由SpringCloud来实现,而业务服务,通过.NETCore来实现。2DaprDapr(Distr
- 【iOS】系统框架
温柔何曾赋我
ios
文章目录前言四十七、熟悉系统框架四十八、多用块枚举,少用for循环四十九、对自定义其内存管理语义的collection使用无缝桥接五十、构建缓存时选用NSCache而非NSDictionary五十一、精简initialize与load的实现代码五十二、别忘了NSTimer会保留其目标对象前言本次博客撰写小蓝书的最后一章系统框架四十七、熟悉系统框架OC的Foundation框架,像NSObjectN
- 【springboot+vue项目(十五)】基于Oauth2的SSO单点登录(二)vue-element-admin框架改造整合Oauth2.0
幸福巡礼
springbootvue.js后端
Vue-element-admin是一个基于Vue.js和ElementUI的后台管理系统框架,提供了丰富的组件和功能,可以帮助开发者快速搭建现代化的后台管理系统。一、基本知识(一)Vue-element-admin的主要文件和目录vue-element-admin/|--build/#构建相关配置文件||--build.js#生产环境构建脚本||--check-versions.js#检查Nod
- 融入动画技术的交互应用
SkyLchnoise
一、背景此交互应用《ThenatureofCode》一书中的技术,基于Processing的Java框架,主要以粒子动画来展现几种自然变化,融入音乐,带来轻松闲适的观感。二、总体框架系统框架图交互系统一共有五个场景,每个场景环环相扣,层层递进,均可进行交互。在每个场景点击特定位置即可进入下一场景。随着场景的切换,音乐也会产生变化。由海面大雨到电闪雷鸣再到旭日东升最后到广袤宇宙,总体呈现由暗到明。三
- lv15 input子系统框架、外设驱动开发 5
4IOT
嵌入式开发驱动开发arm开发linux
一、input子系统基本框架 在我们日常的Linux系统中,存在大量的输入设备,例如按键、鼠标、键盘、触摸屏、摇杆等,他们本身就是字符设备,linux内核将这些字符设备的共同性抽象出来,简化驱动开发建立了一个input子系统。Linux内核为了两个目的:简化纯输入类外设(如:键盘、鼠标、游戏杆、轨迹球、触摸屏。。。等等)的驱动开发统一输入类外设产生的数据格式(structinput_event),
- iOS 系统框架学习(1.系统框架的四个层级)
码上飞
iOS框架iOS框架iOS系统
一整体框架iOS的整体系统框架图如下图所示,iOS的系统架构主要由ApplicationLayer(应用层)、CocoaTouchLayer(触摸层)、MediaLayer(媒体层)、CoreServicesLayer(核心服务层)、CoreOSLayer(核心系统操作层)和TheKernelandDeviceDriverslayer(内核和驱动层)。了解了系统架构,那么每一层的主要功能是什么呢?
- iOS技术图谱之再谈Block
iOS大蝠
Block最早出现是在MacOSX10.6和iOS4中,作为对C语言的扩展,用来实现匿名函数的特性,在如今Objective-C开发的项目中Block随处可见。Block为Objective-C提供了强大的函数式编程能力,为日常开发带来了极大的便利。那么对于Block,你又了解多少?初识在AShortPracticalGuidetoBlocks文章中,Apple列举了几种在系统框架API中Bloc
- Contractfuzzer 框架分析(源码分析)
区区小块
测试用例智能合约区块链
最近阅读了Contractfuzzer的源代码,总结了Contractfuzzer的系统框架图Contractfuzzer是第一篇智能合约fuzz的文章,其主要分为三个模块,分别是测试用例生成模块、交易自动化发送模块和交易执行与漏洞检测模块。一、测试用例生成模块(对应文件Contract_fuzzer)测试用例生成模块主要负责测试用例的生成以及接收来自geth-cf的测试结果,并对测试结果进行处理
- 思维理念
阳光男孩邓祥
找准自己要学习的理念,然后进行思考与学习,养成好习惯不能像盲人摸象一样,心中要有概念。想要学习更快速,就要不断输出,与人产生连接性,这样才能更加的快速。因为你的思维传递出去,让另一个收到,另一个人有他的思路一分享,一碰撞,思路更广了。总之,学习要有系统框架。
- vue3 + tsrpc +mongodb 实现后台管理系统
前言之前上线了一个vue后台管理系统,有小伙伴问我有没有后端代码,咱只是个小前端,这就有点为难我了。不过不能辜负小伙伴的信任,nodejs也可以啊,废话不多说,开搞!后端采用TSRPC框架实现API接口,前端采用vue-manage-system后台管理系统框架,数据库采用mongodb。TSRPC是专为TypeScript设计的RPC框架,经千万级用户验证。适用于HTTPAPI、WebSocke
- java生成二维码、窗体程序 完整源码
计算机程序
桌面程序javaJAVA二维码课程设计生成二维码
今天为大家分享一个java语言生成二维码的程序,目前系统已经完成了初步功能,后续会进一步完善。整个系统界面漂亮,有完整源码,希望大家可以喜欢。喜欢的帮忙点赞和关注。一起编程、一起进步开发环境开发语言为Java,开发环境Eclipse或者IDEA都可以,无需要数据库。运行主程序,或者执行打开JAR文件即可以运行本程序。系统框架利用JDK自带的SWING框架开发,下载。纯窗体模式,直接运行Main文件
- 剖析 .Net 下的数据访问层技术
小小暴徒
.net.netdataset数据库sqlservermicrosoftborland
自从.NET真正走入开发人员那天起,“效率”两个字就一直成为众多程序员津津乐道的话题。无论是从开发模式(CrossLanguage)、系统框架(.NETFramework),还是各种使用方便的工具(VS.NET),无一不体现出了它的胜人一筹。同时,在另一方面,.NET是否可以真正胜任企业级应用(EnterpriseApplication)开发的重任,却依然争论不断,褒贬不一。通常来说,对于一个企业
- [原创-开源博客系统框架]Yeliheng的技术小站正式开源
Yeliheng
Yeliheng-Blog说明在GitHub上同步更新,地址:https://github.com/yeliheng/yeliheng-blog欢迎Star,Issue,Pullrequests以及任何对本项目的贡献。开发不易,感谢支持!系统介绍这个开源仓库是Yeliheng的技术小站的前后端实现。Yeliheng-Blog是一个基于SpringBoot+Vue3开发的前后端分离的完整博客系统。它
- 金融学python应该学哪些知识_哪些Python基础知识必学
weixin_39714383
下面我们就来盘点一下Python基础阶段应该掌握的一些基础知识。一、Python语言基础Python核心:Python数据基本运算、语句、容器、函数Python面向对象编程:OOA、OOD、OOP、天龙八部技能系统框架设计Python高级:模块、包、函数式编程、文件二、Python高级软件开发技术Linux操作系统:Linux常用命令、编辑工具、vim/Pycharm数据结构与算法:链表、栈和队列
- PCD232A 3BHE022293R0101
DCS17750010683
fpga开发自动化机器人模块测试驱动开发
PCD232A3BHE022293R0101PCD232A3BHE022293R0101PCD232A3BHE022293R0101基于PXI总线接口的高速数字化仪模块...调理通路控制模块、存储接口模块、PXI接口控制模块等主要功能模块设计。FPGA内部模块划分和数据...的标准操作系统框架,要求所有仪器模块带有配置信息(configurationinformation)和支持标准...ESPU
- 基于单片机温度控制系统的研究
电气_空空
毕业设计单片机嵌入式硬件
摘要:笔者基于单片机的温度控制系统,从单片机选择、传感器选择、系统框架设计等方面概述了单片机的温度控制系统内涵,分析了其运行原理,列举了单片机温度控制系统设计的实操方法,从硬件系统、软件系统、温度检测方法等方面阐述了单片机温度控制系统的开发与应用。仿真结果表明:企业可利用单片机温度控制系统,实现对环境温度的精准检测、有效控制,提升工业生产效率,保证产品质量。关键词:单片机;温度控制系统;传感器;热
- Linux input子系统框架--Apple的学习笔记
applecai
按键中断解决irq_of_parse_and_map返回0的问题--Apple的学习笔记我为了复习相关函数和io模型,所以自己写按键中断,其实linux中有input子系统就像pinctrl子系统一样,已经抽象的写好了按键驱动。因为一般的驱动就是要实现open,read,write的io模型。所以linux内核都帮我们写好了。我们可以复用。到document的input文件夹中看相关帮助资料。网上
- 一个基于 .NET 7 + Vue.js 的前后端分离的通用后台管理系统框架 - DncZeus
追逐时光者
.NET.NETCore开源项目.netvue.js前端
前言今天给大家推荐一个基于.NET7+Vue.js(iview-admin)的前后端分离的通用后台权限(页面访问、操作按钮控制)管理系统框架:DncZeus。官方项目简介DncZeus是一个基于.NET7+Vue.js的前后端分离的通用后台管理系统框架。后端使用.NET7+EntityFrameworkCore构建,UI则是目前流行的基于Vue.js的iView。项目实现了前后端的动态权限管理和控
- Hadoop3.x基础(1)
魅美
大数据基础大数据hadoop
来源:B站尚硅谷这里写目录标题大数据概论大数据概念大数据特点(4V)大数据应用场景Hadoop概述Hadoop是什么Hadoop发展历史(了解)Hadoop三大发行版本(了解)Hadoop优势(4高)Hadoop组成(面试重点)HDFS架构概述YARN架构概述MapReduce架构概述HDFS、YARN、MapReduce三者关系大数据技术生态体系推荐系统框架图常用端口号说明大数据概论大数据概念大
- 物联网操作系统AliOS Things之连接能力
LinkEverything
IoT物联网iot阿里云协议栈
AliOSThings是面向IOT领域的轻量级物联网嵌入式操作系统。2017年10月20日,AliOSThings正式开源。AliOSThings支持多种CPU架构,包括:ARM,C-Sky,MIPS,RISCV等,下图是AliOSThings的系统框架图,架构图中跟网络连接相关的模块有网络组件、蓝牙组件、连接协议族。从官网的描述看到AliOSThings支持的连接协议包括局域网连接(WiFi、B
- 项目中 枚举与注解的结合使用
飞翔的马甲
javaenumannotation
前言:版本兼容,一直是迭代开发头疼的事,最近新版本加上了支持新题型,如果新创建一份问卷包含了新题型,那旧版本客户端就不支持,如果新创建的问卷不包含新题型,那么新旧客户端都支持。这里面我们通过给问卷类型枚举增加自定义注解的方式完成。顺便巩固下枚举与注解。
一、枚举
1.在创建枚举类的时候,该类已继承java.lang.Enum类,所以自定义枚举类无法继承别的类,但可以实现接口。
- 【Scala十七】Scala核心十一:下划线_的用法
bit1129
scala
下划线_在Scala中广泛应用,_的基本含义是作为占位符使用。_在使用时是出问题非常多的地方,本文将不断完善_的使用场景以及所表达的含义
1. 在高阶函数中使用
scala> val list = List(-3,8,7,9)
list: List[Int] = List(-3, 8, 7, 9)
scala> list.filter(_ > 7)
r
- web缓存基础:术语、http报头和缓存策略
dalan_123
Web
对于很多人来说,去访问某一个站点,若是该站点能够提供智能化的内容缓存来提高用户体验,那么最终该站点的访问者将络绎不绝。缓存或者对之前的请求临时存储,是http协议实现中最核心的内容分发策略之一。分发路径中的组件均可以缓存内容来加速后续的请求,这是受控于对该内容所声明的缓存策略。接下来将讨web内容缓存策略的基本概念,具体包括如如何选择缓存策略以保证互联网范围内的缓存能够正确处理的您的内容,并谈论下
- crontab 问题
周凡杨
linuxcrontabunix
一: 0481-079 Reached a symbol that is not expected.
背景:
*/5 * * * * /usr/IBMIHS/rsync.sh
- 让tomcat支持2级域名共享session
g21121
session
tomcat默认情况下是不支持2级域名共享session的,所有有些情况下登陆后从主域名跳转到子域名会发生链接session不相同的情况,但是只需修改几处配置就可以了。
打开tomcat下conf下context.xml文件
找到Context标签,修改为如下内容
如果你的域名是www.test.com
<Context sessionCookiePath="/path&q
- web报表工具FineReport常用函数的用法总结(数学和三角函数)
老A不折腾
Webfinereport总结
ABS
ABS(number):返回指定数字的绝对值。绝对值是指没有正负符号的数值。
Number:需要求出绝对值的任意实数。
示例:
ABS(-1.5)等于1.5。
ABS(0)等于0。
ABS(2.5)等于2.5。
ACOS
ACOS(number):返回指定数值的反余弦值。反余弦值为一个角度,返回角度以弧度形式表示。
Number:需要返回角
- linux 启动java进程 sh文件
墙头上一根草
linuxshelljar
#!/bin/bash
#初始化服务器的进程PId变量
user_pid=0;
robot_pid=0;
loadlort_pid=0;
gateway_pid=0;
#########
#检查相关服务器是否启动成功
#说明:
#使用JDK自带的JPS命令及grep命令组合,准确查找pid
#jps 加 l 参数,表示显示java的完整包路径
#使用awk,分割出pid
- 我的spring学习笔记5-如何使用ApplicationContext替换BeanFactory
aijuans
Spring 3 系列
如何使用ApplicationContext替换BeanFactory?
package onlyfun.caterpillar.device;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import
- Linux 内存使用方法详细解析
annan211
linux内存Linux内存解析
来源 http://blog.jobbole.com/45748/
我是一名程序员,那么我在这里以一个程序员的角度来讲解Linux内存的使用。
一提到内存管理,我们头脑中闪出的两个概念,就是虚拟内存,与物理内存。这两个概念主要来自于linux内核的支持。
Linux在内存管理上份为两级,一级是线性区,类似于00c73000-00c88000,对应于虚拟内存,它实际上不占用
- 数据库的单表查询常用命令及使用方法(-)
百合不是茶
oracle函数单表查询
创建数据库;
--建表
create table bloguser(username varchar2(20),userage number(10),usersex char(2));
创建bloguser表,里面有三个字段
&nbs
- 多线程基础知识
bijian1013
java多线程threadjava多线程
一.进程和线程
进程就是一个在内存中独立运行的程序,有自己的地址空间。如正在运行的写字板程序就是一个进程。
“多任务”:指操作系统能同时运行多个进程(程序)。如WINDOWS系统可以同时运行写字板程序、画图程序、WORD、Eclipse等。
线程:是进程内部单一的一个顺序控制流。
线程和进程
a. 每个进程都有独立的
- fastjson简单使用实例
bijian1013
fastjson
一.简介
阿里巴巴fastjson是一个Java语言编写的高性能功能完善的JSON库。它采用一种“假定有序快速匹配”的算法,把JSON Parse的性能提升到极致,是目前Java语言中最快的JSON库;包括“序列化”和“反序列化”两部分,它具备如下特征:  
- 【RPC框架Burlap】Spring集成Burlap
bit1129
spring
Burlap和Hessian同属于codehaus的RPC调用框架,但是Burlap已经几年不更新,所以Spring在4.0里已经将Burlap的支持置为Deprecated,所以在选择RPC框架时,不应该考虑Burlap了。
这篇文章还是记录下Burlap的用法吧,主要是复制粘贴了Hessian与Spring集成一文,【RPC框架Hessian四】Hessian与Spring集成
 
- 【Mahout一】基于Mahout 命令参数含义
bit1129
Mahout
1. mahout seqdirectory
$ mahout seqdirectory
--input (-i) input Path to job input directory(原始文本文件).
--output (-o) output The directory pathna
- linux使用flock文件锁解决脚本重复执行问题
ronin47
linux lock 重复执行
linux的crontab命令,可以定时执行操作,最小周期是每分钟执行一次。关于crontab实现每秒执行可参考我之前的文章《linux crontab 实现每秒执行》现在有个问题,如果设定了任务每分钟执行一次,但有可能一分钟内任务并没有执行完成,这时系统会再执行任务。导致两个相同的任务在执行。
例如:
<?
//
test
.php
- java-74-数组中有一个数字出现的次数超过了数组长度的一半,找出这个数字
bylijinnan
java
public class OcuppyMoreThanHalf {
/**
* Q74 数组中有一个数字出现的次数超过了数组长度的一半,找出这个数字
* two solutions:
* 1.O(n)
* see <beauty of coding>--每次删除两个不同的数字,不改变数组的特性
* 2.O(nlogn)
* 排序。中间
- linux 系统相关命令
candiio
linux
系统参数
cat /proc/cpuinfo cpu相关参数
cat /proc/meminfo 内存相关参数
cat /proc/loadavg 负载情况
性能参数
1)top
M:按内存使用排序
P:按CPU占用排序
1:显示各CPU的使用情况
k:kill进程
o:更多排序规则
回车:刷新数据
2)ulimit
ulimit -a:显示本用户的系统限制参
- [经营与资产]保持独立性和稳定性对于软件开发的重要意义
comsci
软件开发
一个软件的架构从诞生到成熟,中间要经过很多次的修正和改造
如果在这个过程中,外界的其它行业的资本不断的介入这种软件架构的升级过程中
那么软件开发者原有的设计思想和开发路线
- 在CentOS5.5上编译OpenJDK6
Cwind
linuxOpenJDK
几番周折终于在自己的CentOS5.5上编译成功了OpenJDK6,将编译过程和遇到的问题作一简要记录,备查。
0. OpenJDK介绍
OpenJDK是Sun(现Oracle)公司发布的基于GPL许可的Java平台的实现。其优点:
1、它的核心代码与同时期Sun(-> Oracle)的产品版基本上是一样的,血统纯正,不用担心性能问题,也基本上没什么兼容性问题;(代码上最主要的差异是
- java乱码问题
dashuaifu
java乱码问题js中文乱码
swfupload上传文件参数值为中文传递到后台接收中文乱码 在js中用setPostParams({"tag" : encodeURI( document.getElementByIdx_x("filetag").value,"utf-8")});
然后在servlet中String t
- cygwin很多命令显示command not found的解决办法
dcj3sjt126com
cygwin
cygwin很多命令显示command not found的解决办法
修改cygwin.BAT文件如下
@echo off
D:
set CYGWIN=tty notitle glob
set PATH=%PATH%;d:\cygwin\bin;d:\cygwin\sbin;d:\cygwin\usr\bin;d:\cygwin\usr\sbin;d:\cygwin\us
- [介绍]从 Yii 1.1 升级
dcj3sjt126com
PHPyii2
2.0 版框架是完全重写的,在 1.1 和 2.0 两个版本之间存在相当多差异。因此从 1.1 版升级并不像小版本间的跨越那么简单,通过本指南你将会了解两个版本间主要的不同之处。
如果你之前没有用过 Yii 1.1,可以跳过本章,直接从"入门篇"开始读起。
请注意,Yii 2.0 引入了很多本章并没有涉及到的新功能。强烈建议你通读整部权威指南来了解所有新特性。这样有可能会发
- Linux SSH免登录配置总结
eksliang
ssh-keygenLinux SSH免登录认证Linux SSH互信
转载请出自出处:http://eksliang.iteye.com/blog/2187265 一、原理
我们使用ssh-keygen在ServerA上生成私钥跟公钥,将生成的公钥拷贝到远程机器ServerB上后,就可以使用ssh命令无需密码登录到另外一台机器ServerB上。
生成公钥与私钥有两种加密方式,第一种是
- 手势滑动销毁Activity
gundumw100
android
老是效仿ios,做android的真悲催!
有需求:需要手势滑动销毁一个Activity
怎么办尼?自己写?
不用~,网上先问一下百度。
结果:
http://blog.csdn.net/xiaanming/article/details/20934541
首先将你需要的Activity继承SwipeBackActivity,它会在你的布局根目录新增一层SwipeBackLay
- JavaScript变换表格边框颜色
ini
JavaScripthtmlWebhtml5css
效果查看:http://hovertree.com/texiao/js/2.htm代码如下,保存到HTML文件也可以查看效果:
<html>
<head>
<meta charset="utf-8">
<title>表格边框变换颜色代码-何问起</title>
</head>
<body&
- Kafka Rest : Confluent
kane_xie
kafkaRESTconfluent
最近拿到一个kafka rest的需求,但kafka暂时还没有提供rest api(应该是有在开发中,毕竟rest这么火),上网搜了一下,找到一个Confluent Platform,本文简单介绍一下安装。
这里插一句,给大家推荐一个九尾搜索,原名叫谷粉SOSO,不想fanqiang谷歌的可以用这个。以前在外企用谷歌用习惯了,出来之后用度娘搜技术问题,那匹配度简直感人。
环境声明:Ubu
- Calender不是单例
men4661273
单例Calender
在我们使用Calender的时候,使用过Calendar.getInstance()来获取一个日期类的对象,这种方式跟单例的获取方式一样,那么它到底是不是单例呢,如果是单例的话,一个对象修改内容之后,另外一个线程中的数据不久乱套了吗?从试验以及源码中可以得出,Calendar不是单例。
测试:
Calendar c1 =
- 线程内存和主内存之间联系
qifeifei
java thread
1, java多线程共享主内存中变量的时候,一共会经过几个阶段,
lock:将主内存中的变量锁定,为一个线程所独占。
unclock:将lock加的锁定解除,此时其它的线程可以有机会访问此变量。
read:将主内存中的变量值读到工作内存当中。
load:将read读取的值保存到工作内存中的变量副本中。
- schedule和scheduleAtFixedRate
tangqi609567707
javatimerschedule
原文地址:http://blog.csdn.net/weidan1121/article/details/527307
import java.util.Timer;import java.util.TimerTask;import java.util.Date;
/** * @author vincent */public class TimerTest {
 
- erlang 部署
wudixiaotie
erlang
1.如果在启动节点的时候报这个错 :
{"init terminating in do_boot",{'cannot load',elf_format,get_files}}
则需要在reltool.config中加入
{app, hipe, [{incl_cond, exclude}]},
2.当generate时,遇到:
ERROR