- 浏览: 70958 次
最新评论
-
再_见孙悟空:
大锐哥掉渣天啊
大锐哥的iOS开发教程(1)对象Objects
文章列表
Install New Software:
http://download.eclipse.org/mpc/indigo/
- 2012-12-19 13:25
- 浏览 711
- 评论(0)
应该在Debug的Debug Configuration的Arguments的VM Arguments中设置 -Dkey="value"
- 2012-12-18 22:31
- 浏览 686
- 评论(0)
package
{
import flash.display.Sprite;
import flash.events.NetStatusEvent;
import flash.filesystem.File;
import flash.filesystem.FileMode;
import flash.filesystem.FileStream;
import flash.media.Video;
import flash.net.FileReference;
import flash.net.NetConnection;
import flash.net.NetStream; ...
- 2012-12-18 15:17
- 浏览 274
- 评论(0)
VIRT:virtual memory usage
1、进程“需要的”虚拟内存大小,包括进程使用的库、代码、数据等
2、假如进程申请100m的内存,但实际只使用了10m,那么它会增长100m,而不是实际的使用量
RES:resident memory usage 常驻内存
1、进程当前使用的内存大小,但不包括swap out
2、包含其他进程的共享
3、如果申请100m的内存,实际使用10m,它只增长10m,与VIRT相反
4、关于库占用内存的情况,它只统计加载的库文件所占内存大小
SHR:shared memory
1、除了自身进程的共享内存 ...
- 2012-12-18 09:52
- 浏览 597
- 评论(0)
alias c='clear'
alias l='ls -l'
alias ll='ls -als'
alias wgetall='wget -c -r -k -np -L'
alias psgrep='ps -ef | grep'
alias netgrep='netstat -npl| grep'
alias cdp='cd ..'
alias cdpp='cd ../..'
alias cdppp='cd ../../..'
alias cdpppp='cd ../../../..'
- 2012-12-08 14:00
- 浏览 236
- 评论(0)
1. check out
svn co svn://xxx.xxx.xxx.xxx/xxx/xxx
2. update
svn up
3. update后发现conflict
svn up
tc
4. 当遇到如下情况:
Skipped 'emotion' -- Node remains in conflict
Summary of conflicts:
Skipped paths: 1
可以用如下解决方式:
localhost:image michael$ svn resolve --accept=working emotion
...
- 2012-12-08 06:03
- 浏览 262
- 评论(0)
package {
import flash.display.Sprite;
import flash.errors.*;
import flash.events.*;
import flash.net.URLRequest;
import flash.net.URLStream;
import flash.utils.ByteArray;
public class Test extends Sprite {
private static const ZLIB_CODE:String = "CWS";
private var stream:URLSt ...
- 2012-12-07 21:00
- 浏览 267
- 评论(0)
Perl背包客日记(1):为源码文件所有函数添加 access log
作者:苏
原文链接:blog.csdn.net/prevention
~
如果你有一系列 C 源文件,想为每个函数添加一句 access log,来方便的知道函数执行流程的话,这篇文章会告诉你一个特定范例下的实践方式。
下面是本文中的 C 源文件格式范例:
void
function1(int a, int b)
{
...
}
static
- 2012-12-02 02:41
- 浏览 456
- 评论(0)
In Thinking in Java 1: Returning an array, I use a low-efficient method to print out an array. Now I wanna introduce you an easy way to show an array, even a multidimensional array.
import java.util.Arrays;
public class Test {
public static void main(String[] args) {
int[][] a = {{1,2,3}, {4 ...
- 2012-10-14 01:45
- 浏览 228
- 评论(0)
Page 753
Suppose you're writing a method and you don't want to return just one thing, but a whole bunch of things. Languages like C and C++ make this difficult because you can't just return an array, only a pointer to an array. This introduces problems because it
becomes messy to control the lif ...
- 2012-10-14 01:38
- 浏览 303
- 评论(0)
nginx (pronounced "engine x") is a free open source web server written by Igor Sysoev, a Russian software engineer. Since its public launch in 2004, nginx has focused on high performance, high concurrency and low memory usage. Additional features
on top of the web server functionality, li ...
- 2012-09-26 01:00
- 浏览 727
- 评论(0)