环境搭建:参考网址: http://weex.apache.org/cn/guide/set-up-env.html第一步 : 安装nodeJS npm install -g weex-toolkit 也会报错第二步 : 安装依赖 npm install 注:这个需要在D:\addApp\agent ...
分类:
移动开发 时间:
2018-04-23 15:46:55
阅读次数:
191
[抄题]: Given m arrays, and each array is sorted in ascending order. Now you can pick up two integers from two different arrays (each array picks one) a ...
分类:
编程语言 时间:
2018-04-23 00:12:44
阅读次数:
193
引体向上 - 宽握/窄握引体向上动作图解 引体向上(Chin-up)是锻炼背部的王牌动作,主要锻炼背阔肌和大圆肌。由于可以在握距、握法、拉起位置有所变化,引体向上种类形式多样。 目标锻炼部位:背阔肌、以及背部其他小肌群(大圆肌等) 宽握引体向上:背阔肌上侧、外侧两部分,有效增加背阔肌的宽度; 窄握引 ...
分类:
其他好文 时间:
2018-04-21 22:25:16
阅读次数:
218
在一次提交git的途中,出现了一下问题 1.git push origin master后出现 Everything up-to-date 当时以为问题自己点错了,又重新提交了一次,在 git commit之后出现HEAD detached from 4d1722c错误 立即用git status查 ...
分类:
其他好文 时间:
2018-04-21 21:21:32
阅读次数:
363
1、 第一种,用?占位符,如: //登录(用?占位符) public List LoginUser(UserPO up)throws Exception{ Session session = HibernateSessionFactory.getSession(); String hql = "fr... ...
分类:
Web程序 时间:
2018-04-21 19:25:20
阅读次数:
200
Given a singly linked list, determine if it is a palindrome. Follow up: Could you do it in O(n) time and O(1) space? 思路: 把链表一分为二。把右边的一半翻转,再逐个比对左右的链表就可 ...
分类:
其他好文 时间:
2018-04-21 17:48:41
阅读次数:
136
问题: Courtois et al于1971年提出。 可以多读取,但是写入时不允许读取、写入。 临界区变量互斥操作 读: 第一次访问数据库信号量down 访问全部退出数据库信号量up 写: 只有信号量可down才写 自第一次访问,数据库信号量就一直不可再down,所以写不了,必须全读完才可写(读者 ...
分类:
其他好文 时间:
2018-04-21 17:47:25
阅读次数:
181
类似于Windows的任务管理器这个命令默认就可以动态的显示进程状态21:39:20 这个是当前时间up 15 min 是top进程的运行时间1 user 是在线用户数load average 负载的平均值 过去1分钟 5分钟 15分钟的负载值tasks 工作总数量 running运行状态的进程数量 sleeping处于睡眠状态的进程数量 stopped 处于停止状态的进程数量 zombie处于僵
分类:
系统相关 时间:
2018-04-20 23:46:54
阅读次数:
278
讲得详细清楚明白的好文。Setting Up an NFS Server and Client on CentOS 7.2https://www.howtoforge.com/tutorial/setting-up-an-nfs-server-and-client-on-centos-7/ ...
分类:
其他好文 时间:
2018-04-20 12:15:35
阅读次数:
129
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:
其他好文 时间:
2018-04-19 13:59:26
阅读次数:
145