原创 (二)Graphivz 簡單結構圖及子圖
一、簡單數據結構圖digraph structs { node [shape=record]; struct1 [shape=record,label="<f0> left|<f1> mid\ dle|<f2> right"]
原创 (四) Graphivz 顏色選擇
digraph g { a; b[color=red]; c[color=yellow]; }650) this.width=650;" src="http://img1.51cto.com/attachment/2
原创 (五) Graphivz 箭頭連接方向
Ports based on the 8 compass points "n", "ne","e", "se", "s", "sw", "w" or "nw" can be specified for any node.有八種連接方向:
原创 (三) Graphivz 基本圖片類型
digraph g { a; b[shape=box]; c[shape=circle]; d[shape=point];}650) this.width=650;" src="http://www.graphv
原创 convert jpg轉換爲png
#!/bin/bash
原创 Sdp Plan-b UnifiedPlan
Unified Plan and Plan B were two competing IETF drafts for the negotiation and exchange of multiple media sources (
原创 java runtime waitfor 阻塞
public static String GetResultnew(String command) { String result = ""; Process p =null; Runtime r
原创 win7 激活工具
附件工具。本文出自 “一路風景” 博客,請務必保留此出處http://which.blog.51cto.com/7179876/1303287 點贊 收藏 分享 文章舉報 ja
原创 (六) Graphivz 字體設置
The default font is 14-point Times-Roman, in black。 fontname, fontsize and fontcolor 設置字體類型,大小,顏色。 Times, Helvetica, C
原创 socket shutdown
socket關閉的問題,shutdown 和close區別close()和shutdown()函數 你已經整天都在發送 (send()) 和接收 (recv()) 數據了,現在你準備關 閉你的套接字描述符了。這很簡單,你可以使用一般的
原创 const 類型
1、const的普通用法const int n = 10;意思很明顯,n是一個只讀變量,程序不可以直接修改其值。這裏還有一個問題需要注意,即如下使用:int a[n];在ANSI C中,這種寫法是錯誤的,因爲數組的大小應該是個常量,而n只
原创 linux 腳本程序開機自啓動
Ubuntu開機之後會執行/etc/rc.local文件中的腳本,所以我們可以直接在/etc/rc.local中添加啓動腳本。當然要添加到語句:exit 0 前面才行。如:sudo vi /etc/rc.local然後在 exit 0 前
原创 python 程序生成exe文件
windows 下安裝python環境,好像不裝也可以?下載解壓相應版本pyinstaller, 進入主目錄,運行python pyinstaller.py -F pyfile_path 會生成相應py文件名的目錄exe在dist目錄下。
原创 設置服務開機自啓動
複製要開機自啓動服務的快捷方式,點擊開始/所有程序/啓動,在啓動上右鍵,選擇打開,粘貼。 點贊 收藏 分享 文章舉報 jaygno 發佈了53 篇原創文章 · 獲贊 5 ·
原创 python yield
def fab(max): n, a, b = 0, 0, 1 while n < max: yield b # print b a, b = b, a + b n = n + 1>