在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
介绍一个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命令分成内置命令和外部命令。
内置命令(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
描述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
介绍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
从多任务OS开始,线程主要用来表示IO异步;而今随着4G和多核等的到来,计算密集型又热门起来了。
硬件价格和性能从低到高:
PC/Laptop multi core, memory shared
PC clusters
SuperComputers
假设一个理想并行计算机:每个处理器计算能力相同,忽略调度,
static thread 是对一个虚拟处理器的软件层面的抽象;
s...
分类:
其他好文 时间:
2014-05-21 08:17:39
阅读次数:
326
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
转自一个命令(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