Installing software from source in Linux

< Installing software from source in Linux - 1.2 > So you've downloaded a software package with tar.gz or tar.bz2 e...

2011-01-06 20:31:56

阅读数 19

评论数 0

MySQL DML

1. to show current mysql version: >show variables like '%version%';   2. create database or table with specified character set &amp...

2011-01-04 08:28:38

阅读数 26

评论数 0

Colors

1. Classic windows backgroup: R:58 G:110 B:165

2010-12-30 23:16:08

阅读数 32

评论数 0

vim preferences

  How to use 4 spaces instead of tab in vim:   1 :set ts=4   2 :set number   3 :set autoindent   4 :set expandtab   5 :set softtabstop=4   6 :...

2010-12-26 15:06:16

阅读数 11

评论数 0

How to build static library and how to use it in Linux

1. declare the interface of libray:  max.h  ------------------------------  int max(int,int); 2. implement the interface:  max.c  ------------------...

2010-12-23 08:46:57

阅读数 33

评论数 0

const

There are two type of const: 1. const int  *p;  <----- pointer 'p' is not const, while to what it points is const.e.g.: int i; const in...

2010-12-22 21:33:14

阅读数 42

评论数 0

Eclipse

1. highlight warning log message in eclipse console: Configure two separate appenders. One for the levels WARN and higher and one for the levels ...

2010-12-22 13:29:40

阅读数 17

评论数 0

Programming C in Linux

0. install compiler and associate environment. sudo apt-get install build-essential or install with CD(without internet): sudo apt-cdrom add s...

2010-12-22 13:28:47

阅读数 13

评论数 0

Java Advance

1. A class with a given name can only be loaded once by a given classloader.   2. When the JVM is started, three class loaders are used:     1....

2010-12-22 13:27:40

阅读数 24

评论数 0

J2EE EJB OpenEJB

1.Generally speaking the only way to get a Container-Managed Resource is via dependency injection or lookup from within a Container-Managed Compon...

2010-12-22 13:26:46

阅读数 16

评论数 0

Spring

1. @Autowired vs. setter @Autowired can mark in field or setter, with @Autowired, setter is not necessary; If @Autowired is not apply to propert...

2010-12-22 13:25:41

阅读数 20

评论数 0

JPA Toplink

1.persistence.xml -------------------------------------------------------------------------------- <?xml version="1.0&qu...

2010-12-22 13:25:01

阅读数 11

评论数 0

Apache Ant

1. Add additional command line arguments for <javac> task: <javac srcdir="${dist}/trsWeb" dest...

2010-12-22 13:22:47

阅读数 17

评论数 0

Trouble Shooting

1. Problem: log4j:WARN Document root element "log4j:configuration", must match DOCTYPE root "null". Solut...

2010-12-22 13:22:13

阅读数 9

评论数 0

Maven Basic

0. useful commands:     mvn install:install-file -DgroupId=org.apache.maven.archetypes -DartifactId=${myArtifactId} -Dversion=RELEASE -Dpackaging...

2010-12-22 13:20:49

阅读数 19

评论数 0

Install Ubuntu9.10 in Oracle VirtualBox

1. How to use share folder in VirtualBox for Windows XP -> Ubuntu:   a. From VBox menu, Install Guest Additional first (your guest ...

2010-12-22 13:12:44

阅读数 16

评论数 0

Oracle

1. SHOW USER(or SELECT USER FROM DUAL) /   2. SELECT USERNAME, USER_ID, PASSWORD FROM DBA_USERS ORDER BY USERNAME /   3. SELECT DEFAULT_T...

2010-12-22 13:09:44

阅读数 9

评论数 0

Utility bat scripts

1. To launch a application in command-line without open a cmd window: >start putty -load Ubuntu -l root -pw ***     2. copy /Y fil...

2010-12-22 11:57:32

阅读数 13

评论数 0

Ubuntu Beginer

  Ubuntu version ======================================================== uname -a uname -r   Ubuntu rpm / VMware / root / java / vi / putty / ...

2010-12-22 00:26:04

阅读数 15

评论数 0

How to boot up Ubuntu in text terminal mode?

Ubuntu9.10 boot by 'grub', to change the boot mode to text-mode, we just need to change boot settings in '/boot/grub/grub.cfg'.   a. #vim /boot/gru...

2010-12-22 00:21:08

阅读数 13

评论数 0

提示
确定要删除当前文章?
取消 删除
关闭
关闭