码迷,mamicode.com
首页 >  
搜索关键字:fork source exec    ( 27029个结果)
勾选Create git respository的作用
在Xcode中创建项目时会弹出Source Control选项,勾选Create git repository选项可以帮助我们对照以前项目中代码中修改的部分,为开发提供方便。在项目完成到一定程度时,点击屏幕上方Source Control选项,然后点击commit选项,会弹出一个窗口在Enter c...
分类:其他好文   时间:2014-05-22 15:03:33    阅读次数:260
获取终端下光标的位置
1 #!/bin/bash 2 #based on a script from http://invisible-island.net/xterm/xterm.faq.html 3 exec /dev/tty 8 # tput u7 > /dev/tty # when TERM=xt...
分类:其他好文   时间:2014-05-21 18:43:15    阅读次数:300
2C01-View-Layout-Animation-Grid-Fade
介绍一个grid layout 顺序显示的代码 LayoutAnimation1.java /* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use th...
分类:其他好文   时间:2014-05-21 16:58:47    阅读次数:214
shell的内部命令和外部命令
shell命令分成内置命令和外部命令。 内置命令(builtin command) 是shell解释程序内建的,有shell直接执行,不需要派生新的进程。有一些内部命令可以用来改变当前的shell环境。 常见的内部命令有:.(点命令)、bg、cd、continue、echo、exec、exit、export、fg、jobs、pwd、read、return、set、shift、t...
分类:其他好文   时间:2014-05-21 13:33:24    阅读次数:213
2C02-View-Layout-Animation-list-Cascade
描述list layout item有上倒下依次显示的代码实现形式 LayoutAnimation2.java /* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may no...
分类:其他好文   时间:2014-05-21 09:02:15    阅读次数:250
2C03-View-Layout-Animation-list-Reverse-Order
介绍list  item倒序显示 LayoutAnimation3.java /* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file e...
分类:其他好文   时间:2014-05-21 08:25:44    阅读次数:278
并行计算有向无环图和fork/join 框架
从多任务OS开始,线程主要用来表示IO异步;而今随着4G和多核等的到来,计算密集型又热门起来了。 硬件价格和性能从低到高: PC/Laptop multi core, memory shared PC clusters SuperComputers 假设一个理想并行计算机:每个处理器计算能力相同,忽略调度, static thread 是对一个虚拟处理器的软件层面的抽象; s...
分类:其他好文   时间:2014-05-21 08:17:39    阅读次数:326
执行SQL存储脚本
using System.Data.SqlClient;static void Main(string[] args) { string connString = @"Data Source=.; Initial Catalog=lh0216; User ID=s...
分类:数据库   时间:2014-05-21 04:18:08    阅读次数:388
自动生成数据同步存储过程的存储过程
最近几天都在搞数据库,特别是今天,因为需要,自己写了一个自动生成同步数据存储过程的存储过程。。。废话不多少,直接上代码: --开始 --create proc exec_copy --as --begin --因为同步的表是内网表,基本不做业务逻辑处理,所以所有的表都没有标示列,故我也就没做标示列....
分类:其他好文   时间:2014-05-21 04:00:28    阅读次数:330
[转]BSD编码规范
转自一个命令(man 9 style)挺好的文档。STYLE(9) FreeBSD Kernel Developer’s Manual STYLE(9)NAME style — kernel source file style guideDESCRIPTION This file specifies...
分类:其他好文   时间:2014-05-21 03:53:34    阅读次数:415
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!