This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0.检查插件logs目录是否有webserver的文件夹 | |
1. 添加hosts解析,IHS主机对APP主机的 | |
2. 检查和整理所需要的参数。 | |
webserver名字 对应插件的目录 | |
web服务端口 | |
admin管理端口 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
源码包的拷贝 节点目录 | |
Profile_root/config/cells/cell_name/applications/<app_name>.ear | |
A部分 | |
+++ | |
0检查步骤 | |
0.1 Cognos版本所兼容的数据库大版本。数据库相关 | |
0.2 系统版本 | |
0.3 WAS详细版本 精确到fp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coding=utf-8 | |
def double(x): | |
return x*2 | |
def getoddnum(k, getEvenNumber): | |
return 1 + getEvenNumber(k) | |
def main(): | |
k = 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coding=utf-8 | |
import multiprocessing | |
import time | |
def proc1(pipe): | |
while True: | |
for i in range(10000): | |
print 'send %s' % i | |
pipe.send(i) | |
time.sleep(1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def func(m): | |
n, a, b = 0, 1, 1 | |
while n < m: | |
yield a | |
a, b = b, a+b | |
n = n + 1 | |
def main(): | |
for one in func(10): | |
print one |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from threading import Thread | |
import time | |
a = 0 | |
def th1(): | |
global a | |
a = a + 1 | |
##print 'a: ', a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main; | |
import java.util.Arrays; | |
public class heapSort { | |
private int[] arr; | |
public HeapSort(int[] arr){ | |
this.arr = arr; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 来自 http://xinqiu.me/2017/05/09/a-byte-of-go/ 的练习代码 | |
package main | |
import "fmt" | |
func main() { | |
s := []int{0, 1, 2, 3, 4, 5, 6, 7, 8, 9} | |
a := s[3:6] | |
b := a[1:2] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"os/exec"; | |
"fmt"; | |
"bytes"; | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net; | |
import java.io.BufferedReader; | |
import java.io.BufferedWriter; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.OutputStreamWriter; | |
import java.net.*; | |
public class Server { |
NewerOlder