https://docs.python.org/3/library/index.html
-1. print format and f string, use print()
eg: x='seven' print('x is {}'.format(x)) print ('x is {} {}'.format (8,10)) print ('x is {1:<09} {0:>09}'.format (8,10)) a=8 b=10 x= f'seven {b} {a}' print (x) -2. decimal
eg: from decimal import * a = Decimal('.10') b = Decimal('.30') x = a+a+a-b print (x) -->0.00 if no decimal, x is almost 0 but not 0 due to accuracy and precision -3.
Class Example
Class Example-Java SSH Client
- Hadoop :处理大数据的开源框架
including:
- MapReduce: 处理大数据的program
- HDFS: 文件系统
-1. 基本概念
free -m sync echo 1 > /proc/sys/vm/drop_caches echo 2 > /proc/sys/vm/drop_caches echo 3 > /proc/sys/vm/drop_caches free -m refrence http://www.cnblogs.com/52linux/archive/2012/03/08/2385399.html
以Weblogic+Eclipse为例
1. Enalbe remote debug at Weblogic
-> Open Weblogic Console Page
-> Click Environment
-> Click Servers
-> Select server which you want debug on
-> Click server start tab
-> Add Arguments with
agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999
-> Restart the server from Weblogic Console Page(Server -> Control)
-> If failed to restart, pls run startNodeManager.sh
-> Start the server by scripts will not work