The git installer for Mac that you used should have installed git into /usr/local/git.
Check if
/usr/local/git/bin is included
in PATH.
Running echo
$PATH from the terminal and make sure th...
分类:
系统相关 时间:
2015-04-09 01:02:38
阅读次数:
172
We all know that running "adb shell" from the command line is pretty crap, and when using a latter busybox version which has coloring support it‘s ultimately crap. One workaround was usually to sta...
分类:
数据库 时间:
2015-04-08 23:32:45
阅读次数:
438
HDFS is a filesystem designed for storing very large files with streaming data access patterns, running on clusters of commodity hardware. Let’s examine this statement?in more detail:? Very lar...
分类:
其他好文 时间:
2015-04-08 06:49:45
阅读次数:
128
进程的描述ulk那个大图 for task_struct提纲挈领,看代码前总览
序言 进程控制块PCB——task_struct为了管理进程,内核必须对每个进程进行清晰的描述,进程描述符提供了内核所需了解的进程信息。
struct task_struct数据结构很庞大Linux进程的状态与操作系统原理中的描述的进程状态似乎有所不同,比如就绪状态和运行状态都是TASK_RUNNING,为什么呢...
分类:
系统相关 时间:
2015-04-07 23:33:39
阅读次数:
382
Another MySQL daemon already running with the same unix socketservice mysqld stopmv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bakservice mys...
分类:
数据库 时间:
2015-04-07 23:10:06
阅读次数:
157
import random def get_data(): """返回0到9之间的3个随机数""" return random.sample(range(10), 3) def consume(): """显示每次传入的整数列表的动态平均值""" running_sum = ...
分类:
编程语言 时间:
2015-04-07 22:59:07
阅读次数:
179
`ceph-deploy mon create-initial` 命令执行后, 如果提示: ``` [ceph_deploy.mon][INFO ] Running gatherkeys... [ceph_deploy.gatherkeys][DEBUG ] Checking manila59 for /etc/ceph/ceph.client.admin.keyrin...
分类:
其他好文 时间:
2015-04-07 10:09:57
阅读次数:
575
A complete click-by-click, step-by-step video of this article is available here.OR… You can read the article, line-by-line.It all starts with a Linux....
Behavior Tree行为树通过子Task的返回值决定整棵树的走向Task行为树上的每个节点都称为一个Task, 每个Task存在三种状态, success, failure, running。其中running是临时状态,仅叶子节点才能返回running状态,running结束后也要返回suc...
分类:
其他好文 时间:
2015-04-05 23:26:58
阅读次数:
196
本章主讲Activity的生命周期
Activity整个生命周期有四种状态,7个方法,3个嵌套循环
状态:
1. Activity/Running 活动状态
指的是当前用户正在交互的activity状态
2. Paused 暂停状态
指的是当前activity可见,但是被吐司或者对话框遮罩时状态
...
分类:
移动开发 时间:
2015-04-05 16:07:03
阅读次数:
198