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
yum remove -y rpmforge-release | |
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm | |
yum install -y ipython |
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
#!/usr/bin/env bash | |
SSH_CONNECTIONS=(${SSH_CONNECTION}) | |
SERVER_HOST=${SSH_CONNECTIONS[2]} | |
SERVER_PORT=${SSH_CONNECTIONS[3]} | |
CURRENT_DIR=$(pwd) | |
echo upload_file ${SERVER_PORT} ${USER}@${SERVER_HOST}:${CURRENT_DIR} |
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
#!/usr/bin/env bash | |
FILE_PATH=$(readlink -e $1) | |
SSH_CONNECTIONS=(${SSH_CONNECTION}) | |
SERVER_HOST=${SSH_CONNECTIONS[2]} | |
SERVER_PORT=${SSH_CONNECTIONS[3]} | |
echo download_file ${SERVER_PORT} ${USER}@${SERVER_HOST}:${FILE_PATH} |
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
[WANdiscoSVN] | |
name=WANdisco SVN Repo 1.8 | |
enabled=1 | |
baseurl=http://opensource.wandisco.com/centos/6/svn-1.8/RPMS/$basearch/ | |
gpgcheck=1 | |
gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco |
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
#!/usr/bin/python | |
import pwd | |
import os | |
import re | |
import glob | |
PROC_TCP = "/proc/net/tcp" | |
STATE = { | |
'01':'ESTABLISHED', |
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
《软件工程》复习指南 | |
一、试卷题型和分值分布 | |
1.选择题(单选)10个,每个2分,共20分。 | |
2.判断题10个,每个1分,供10分。 | |
3.简答题10个,每个4分,共40分。 | |
4.测试用例设计题,10分。 | |
5.应用题,20分。 | |
二、对考试出题范围的解释 | |
1. 应用题将考察结构化分析与设计技术的掌握情况。给定某个软件的背景及需求描述材料,要求根据题目要求完成数据流图(某一分层DFD)、数据字典(词条)定义。参考平时小测验的例子。 |
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
javascript: for (var i = 0; i < 99999; i++) clearInterval(i); document.onselectstart = document.body.ondrag = document.oncontextmenu = null; $('body').css('-moz-user-select', 'text');$('body').css('-webkit-user-select', 'text');$('body').css('-ms-user-select', 'text');$('body').css('-khtml-user-select', 'text');$('body').css('user-select', 'text'); $('.tpc_content').css({'background': 'none'}); |
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
#!/usr/bin/env bash | |
buffer_size=10000 | |
thread_nums=(1 3 5 7 9) | |
sizes=(10000000 1000000000) | |
types=(default hflush hsync) | |
echo "=========================" | |
echo "Start Test Cases...." |
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 me.haosdent.test; | |
import java.io.IOException; | |
import java.util.LinkedList; | |
import java.util.List; | |
import java.util.concurrent.Callable; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.atomic.AtomicInteger; | |
import java.util.concurrent.atomic.AtomicLong; |
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
#!/usr/bin/env bash | |
hbase org.apache.hadoop.hbase.PerformanceEvaluation randomRead 10 | |
hbase org.apache.hadoop.hbase.PerformanceEvaluation randomWrite 10 | |
hbase org.apache.hadoop.hbase.PerformanceEvaluation scan 10 | |
hbase org.apache.hadoop.hbase.PerformanceEvaluation sequentialRead 10 | |
hbase org.apache.hadoop.hbase.PerformanceEvaluation sequentialWrite 10 |