原创 safedata在socket程序中的使用
client不用twisted的協議和factory方式發送數據,而採用普通的socket程序,這也更加靈活,也可以按需要增加自己的scheduler. 其中,發送的數據是safedata, 使用方法如下: safedata是intern
原创 sql查詢語句select 應用舉例
數據表的查詢(select) select 字段列表 [as 別名], * from 數據表名 [where 條件語句] [group by 分組字段] [order by 排序字段列表 desc] [LIMIT
原创 rt-wmp, bandwidth
Regarding the fact that not all the flows are working, I thinks the problem is that the bandwidth is not enough. Lookin
原创 Postgresql 學習筆記 (還在對postgresql迷茫的xdjm有福啦~~)
1. In a terminal: $ psql 2. Get into a postgresql with role "postgres", then create a user "db"postgres-# create role
原创 Try to use "twisted.enterprise.adbapi" accessing database nonblockingly in Twisted (failed)
- Download pyPgSQL from the following website: http://sourceforge.net/projects/mysql-python/?source=recommended - Ex
原创 SVN remains in conflict?
svn resolved <filename or directory that gives trouble>
原创 bandwidth in rt-wmp
Regarding the fact that not all the flows are working, I thinks the problem is that the bandwidth is not enough. Lookin
原创 在Ubuntu 14.04上裝teamviewer
問題: Installed Teamviewer using a 64-bits system, but I get a dependency error 解決方法: 首先, 下載: wget http://www.teamv
原创 多個log文件合併到一個文件
awk 'FNR==1{print ""}{print $4}' qos_logger_one-map-msg_2014_9_9_5_* > map2014090905.log
原创 Oracle VM Virtualbox使用總結
1. 網絡設置 NAT, NAT network, bridge 等網絡連接方式可通過主機上網。 Host-only 不能接外網,但是可以組建一個局域網在192.168.56.x. 如果 Clone virtual node,默認的MA
原创 Dell m4800 裝Ubuntu 14.04 無線網卡驅動的問題
由於系統驅動問題,DELL M4800安裝Ubuntu 14.04找不到wifi模塊,需要更新驅動。步驟如下: Update of the driver : sudo apt-get update sudo apt-get --re
原创 remove unwanted space line
:g/^$/d
原创 wmp Sniffer
Under Statistics: Flows->Global Flow you have the fields1. "Message delivery delay + PAP" that indica
原创 dynamicly change priority on rt-wmp
To change the priority of some R1 topic FROM R1, you have to call the service: /R1/wmp_controlwhile if you have to chan
原创 Install Matlab in Ubuntu 12.04
First, make a mount point, which is just a folder. For example: mkdir /media/mathworks --------------------------------