码迷,mamicode.com
首页 >  
搜索关键字:git init    ( 57340个结果)
android启动之ServiceManager启动
其实init进程启动后,ServiceManager进程的启动,远比zygote要早,因为在启动zygote进程时需要用到ServiceManager进程的服务。ServiceManager是一个守护进程,它维护着系统服务和客户端的binder通信。 在Android系统中用到最多的通信机制就是Binder,Binder主要由Client、Server、ServiceManager和Binder...
分类:移动开发   时间:2014-06-20 12:53:13    阅读次数:306
linux c中的僵尸问题
给进程设置僵尸状态的目的是维护子进程的信息,以便父进程在以后某个时间获取。这些信息包括子进程的进程ID、终止状态以及资源利用信息(CPU时间,内存使用量等等)。如果一个进程终止,而该进程有子进程处于僵尸状态,那么它的所有僵尸子进程的父进程ID将被重置为1(init进程)。继承这些子进程的init进程将清理它们(init进程将wait它们,从而去除僵尸状态)。         但通常情况下,我们是...
分类:系统相关   时间:2014-06-20 11:29:25    阅读次数:336
一个统计代码行数的简单方法
安装Git, 到项目目录下右击->Git Bash, 输入命令:find . -name "*.cs" | xargs wc -l效果如下, 还是挺简便的.
分类:其他好文   时间:2014-06-13 14:02:58    阅读次数:221
Svn Replacement For Git Stash
svn 实现git stash类似的功能% svn diff > WorkInProgress.txt% svn revert -R .% svn commit -m "Patched to support server schema change"% patch -p0 -i WorkInProg...
分类:其他好文   时间:2014-06-12 00:32:47    阅读次数:367
IOS 本地通知UILocalNotification
//发送通知UILocalNotification*notification=[[UILocalNotificationalloc]init];if(notification!=nil){NSDate*now=[NSDatenew];notification.fireDate=[nowdateByA...
分类:移动开发   时间:2014-06-11 22:49:44    阅读次数:373
Git和Code Review流程
Code Review流程1、根据开发任务,建立git分支, 分支名称模式为feature/任务名,比如关于API相关的一项任务,建立分支feature/api。git checkout -b feature/api2、运行git branch 确认切换到了feature/api分支3、编辑代码完成...
分类:其他好文   时间:2014-06-11 11:11:49    阅读次数:1100
rails Ajax--利用Jquery
viewfunction init_tree(product_name) { var htmlobj=$.ajax({url: "get_all_file?param=" + param_value, async: false}); var jsonNodes = htmlobj.respon...
分类:Web程序   时间:2014-06-11 08:03:40    阅读次数:245
linux命令之-pstree使用说明
pstree shows running processes as a tree. The tree is rooted at either pid or init if pid is omitted. If a user name is specified, all process trees r...
分类:系统相关   时间:2014-06-11 07:46:47    阅读次数:522
linux系统关机与重启
在linux下关机和重启系统有shutdown、halt、reboot、init命令...
分类:系统相关   时间:2014-06-07 12:46:58    阅读次数:330
python实现的链表
python实现的链表,包括插入、查找、删除操作 #!/usr/bin/python class linknode(): def __init__(self,k,n=None): self.key=k; self.next=n; def createlist(): #创建链表 n=raw_input("enter the num of nodes"); n=int(...
分类:编程语言   时间:2014-06-07 12:23:46    阅读次数:204
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!