ITeye博客

2012 年文章归档

共 15 篇文章

Eclipse SVN Plugin Error

http://0609xiaohua.iteye.com/blog/1428684

2012-12-20 23:53

Eclipse Plugins - Marketplace Client

Install New Software: http://download.eclipse.org/mpc/indigo/

2012-12-19 13:25

Eclipse中用Java的System.getProperty得到null

应该在Debug的Debug Configuration的Arguments的VM Arguments中设置 -Dkey="value"

2012-12-18 22:31

Flash Air ActionScript3 二进制数据写入文件

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; import…

2012-12-18 15:17

Top命令VIRT,RES,SHR,DATA的含义

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、除了自身进程的共享内存,也包括其他进程的共享内存 2、虽然进程只使用了…

2012-12-18 09:52

AS读写文件(文本、二进制)

http://googolflex.com/?p=703

2012-12-17 20:40

Linux环境下安装JDK

http://forum.ubuntu.org.cn/viewtopic.php?t=183803

2012-12-13 22:47

Git Basics

git clonehttps://github.com/Poechant/Betachi.git

2012-12-08 14:01

Linux常用alias

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

SVN Basics

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 Resolved conflicted state of 'e…

2012-12-08 06:03

URLStream使用范例

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:URLStream; public function…

2012-12-07 21:00

Perl背包客日记(1):为源码文件所有函数添加 access log

Perl背包客日记(1):为源码文件所有函数添加 access log 作者:苏 原文链接: blog.csdn.net/prevention ~ 如果你有一系列 C 源文件,想为每个函数添加一句 access log,来方便的知道函数执行流程的话,这篇文章会告诉你一个特定范例下的实践方式。 下面是本文中的 C 源文件格式范例: void function1(int a, int b) { ... } static int _function2() { ... } static char* function3(char b, int x, double z) { ... } typedef …

2012-12-02 02:41

Thinking in Java 2: Arrays.toString vs. Arrays.deepToString

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,5,6}};…

2012-10-14 01:45

Thinking in Java 1: Returning an array

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 lifeti…

2012-10-14 01:38

The Architecture of Open Source Applications: Nginx

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, like load ba…

2012-09-26 01:00