原创 Xen虛擬機熱遷移:Xen live migrate by xm toolstack Base on Ubuntu 14.04 LTS
工具:VMware Workstation 11.0 虛擬機:Ubuntu 14.04 2臺 Ubuntu-14.04.1-desktop-amd64.iso Xen 內虛擬機 Ubuntu-10.04.
原创 SElinux 學習筆記一
SElinux學習筆記 一 2015-09-11 SElinux的安全上下文格式: user:role:type 其中各種標識符是正交的,即允許使用相同的標識符 查看標示符:使用 “-Z” 例如: ps -Z id -Z ls -Z
原创 算法實驗二 TEST #2
TEST #2. (Hardness: EASY) A binary search tree is a binary tree that satisfies the following properties: • The left
原创 SElinux 學習筆記--例子實現
目前工作進度總結 測試環境介紹 操作系統:Fedora 22 MATE /Fedora 21 環境搭建: root# yum install -y policycoreutils-python policycoreutils-deve
原创 關於Git Hub 配置遇到的問題
跟着極客學院的GIT HUB配置的過程中遇到兩個問題: Could not open a connection to your authentication agent 這個是在配置通過視頻學習GIT中SSH-key的過程中遇到的問題
原创 算法實驗二 TEST #1
TEST #1. (Time complexity <=O(nlogn) Hardness: Medium) Figure 1 The Josephus problem is defined as follows: assume the
原创 Python字符編碼學習理解
使用Python處理字符時需要注意的幾點 最近被python的字符串處理搞昏了頭,又跑回去看了看字符編碼的區別,現在記下來,以供後面自己查閱: Python默認使用Unicode編碼 Unicode使用兩個字節用來表示一個字符 存儲
原创 算法實驗一 TEST #3
TEST # 3 Description: In computer science, binary tree is a widely used data structure. Here we will look at infinite
原创 算法實驗二 TEST #3
TEST #3. (Hardness: Easy) Figure 3 Hanoi Tower 可能大家都學過Hanoi Tower。Hanoi Tower originated from an Indian story,上帝創造世界時作
原创 算法實驗一 TEST #2
TEST # 2 Description: Given two strings X and Y, we define that X*Y to be their concatenation. For instance, if X = “a
原创 算法實驗一 TEST #1
TEST # 1 Description: If your are in a company, and you have just finished writing a program, the output of which is a