2014年11月23日 星期日
舒壓
感謝整理並分享這個影片的人
請依自身症狀,找影片練習排除,儘量少吃藥,多運動,運動來流汗,總比看醫生好!
深層肌肉訓練及通全身經絡....
請注意第20項:站樁....可提高免疫系統!
2:臉部按摩及眼睛放鬆法
www.youtube.com/watch?v=O7hTcpLGdmE
www.youtube.com/watch?v=O7hTcpLGdmE
3:肩頸放鬆法(1)
www.youtube.com/watch?v=4m9Fy1bHVwc
www.youtube.com/watch?v=4m9Fy1bHVwc
4:肩頸放鬆法(2)
www.youtube.com/watch?v=oVX7-cGwOLI
www.youtube.com/watch?v=oVX7-cGwOLI
6:頸部放鬆,手不會麻痺
www.youtube.com/watch?v=ElYzVDI9l_I
www.youtube.com/watch?v=ElYzVDI9l_I
7:強化淋巴及增強免疫系統
www.youtube.com/watch?v=JP2QbD6uxwo
www.youtube.com/watch?v=JP2QbD6uxwo
10:搓胸部、可防乳癌
www.youtube.com/watch?v=akI_WE0eo-I
www.youtube.com/watch?v=akI_WE0eo-I
11:強化手指力量
www.youtube.com/watch?v=EZAhAJgdX7o
www.youtube.com/watch?v=EZAhAJgdX7o
12:打開全身所有經絡
www.youtube.com/watch?v=pjsvu-OGR74
www.youtube.com/watch?v=pjsvu-OGR74
13:五十肩、板機手、網球肘、媽媽手
www.youtube.com/watch?v=sSQkh8xNRSc
www.youtube.com/watch?v=sSQkh8xNRSc
13:五十肩、板機手、網球肘、媽媽手
www.youtube.com/watch?v=1H6BGfOxmPo
www.youtube.com/watch?v=1H6BGfOxmPo
14:強化腰部(擰腰)
www.youtube.com/watch?v=F9GYQsBOIF4
www.youtube.com/watch?v=F9GYQsBOIF4
15:可治腰痠,胃、腸、子宮不下垂
www.youtube.com/watch?v=xyazJB6OaH0
www.youtube.com/watch?v=xyazJB6OaH0
17:矯正脊椎—地板式
www.youtube.com/watch?v=-vjZXtasHA0
www.youtube.com/watch?v=-vjZXtasHA0
18:矯正脊椎—烏龜式 www.youtube.com/watch?v=FnReGp5bb_o
19:對高血壓、糖尿病、痛風有幫助
www.youtube.com/watch?v=SSoXmHt9_7I
www.youtube.com/watch?v=SSoXmHt9_7I
20:站樁,提高免疫系統
www.youtube.com/watch?v=BaAtGtP0nHI
www.youtube.com/watch?v=BaAtGtP0nHI
22:瘦大腿內側及小腹
www.youtube.com/watch?v=s5-YNSXxBSw
www.youtube.com/watch?v=s5-YNSXxBSw
24:拉開帶脈,鬆軟跨骨
www.youtube.com/watch?v=8IV8gFrGf6o
www.youtube.com/watch?v=8IV8gFrGf6o
25:任脈與督脈搓揉法
www.youtube.com/watch?v=j3cZEqDW3MY
www.youtube.com/watch?v=j3cZEqDW3MY
26:矯正長短腳—粗略調整
www.youtube.com/watch?v=al3XGME9Gm0
www.youtube.com/watch?v=al3XGME9Gm0
27:矯正長短腳—細部調整
www.youtube.com/watch?v=rZQka6aWYHg
www.youtube.com/watch?v=rZQka6aWYHg
28:深層及舒緩按摩法(腹部按摩)
www.youtube.com/watch?v=oH4MnWhfvsc
www.youtube.com/watch?v=oH4MnWhfvsc
30:顏面神經,咀巴歪曲
www.youtube.com/watch?v=Jarv_MFdSew
www.youtube.com/watch?v=Jarv_MFdSew
31:神經重新接觸法(活化細胞)
www.youtube.com/watch?v=8VdNWg8ONd0
www.youtube.com/watch?v=8VdNWg8ONd0
32:歐洲單人放鬆法
www.youtube.com/watch?v=Q37CNQGBPq0
www.youtube.com/watch?v=Q37CNQGBPq0
33:日本雙人放鬆法
www.youtube.com/watch?v=YZaugr2OVEA
www.youtube.com/watch?v=YZaugr2OVEA
祝福好友們身體都健康!^_^
2014年11月18日 星期二
2014年11月13日 星期四
2014年10月7日 星期二
call for paper data
admin-apps.webofknowledge.com
http://www.wikicfp.com/cfp/
http://www.allconferences.com/ http://www.conferencealerts.com/
http://www.allconferences.com/ http://www.conferencealerts.com/
www.wikicfp.com
2014年7月27日 星期日
N900 快捷鍵
一般
* Ctrl + Backspace鍵:快速回去桌面
* Ctrl + C:複製
* Ctrl + V:貼上
* Ctrl + X:剪下
* Ctrl + A:選擇全部
* Ctrl + N:創建一個新的項目(如果適用)
* Ctrl + S:保存(編輯文件時或某些程式)
* Ctrl + Z:還原(編輯文件時或某些程式)
* Ctrl + Y:取消還原(編輯文件時或某些程式)
* Ctrl + F:打開搜索欄(編輯文件時或某些程式)
* Ctrl + →(右箭頭):將插入點移動到最後
* Ctrl + ←(左箭頭):將插入點移動到開頭
Web瀏覽器
* Ctrl + N:打開一個新頁面
* Ctrl + R:刷新目前頁面
* Ctrl + B:打開書籤
* Ctrl + D:新增一個書籤
電郵
* Ctrl + Enter:發送消息
* Ctrl + R:回覆郵件
RSS閱讀器
* Ctrl +R:刷新RSS
截圖
* Ctrl + Shift(最左邊的最下面那顆很像↑的按鈕) + P:螢幕截圖
其他
* Ctrl + Shift + x :打開終端機(cmd)
2014年7月24日 星期四
.mysql忘記root密碼重設
1
2
| /etc/init.d/mysql restart/etc/init.d/apache2 restart |
如果忘記 mysql 的 root密碼可以用以下方式重設
1.先停止mysql
/etc/init.d/mysql stop
2.以安全模式執行
mysqld_safe --skip-grant-tables &
這樣可以啟動mysql後不用輸入密碼就直接登入。
3.登入mysql介面變更root密碼
mysql -u root
mysql> use mysql;
mysql> UPDATE user SET Password=PASSWORD("password") WHERE User='root';
mysql> flush privileges;
mysql> quit
Run mysql_install_db in initialise the user
accounts
Look over /etc/mysql/my.cnf to see if anything needs changing
Run "mysqld_safe &" to start the server
Run mysql_secure_installation to tighten the security
done
Look over /etc/mysql/my.cnf to see if anything needs changing
Run "mysqld_safe &" to start the server
Run mysql_secure_installation to tighten the security
done
CREATE TABLE employees
(employeeid INTEGER NOT NULL,
lastname VARCHAR(25) NOT NULL,
firstname VARCHAR(25) NOT NULL,
reportsto INTEGER NULL);
//資料庫主機設定
$db_host = "localhost";
$db_username = "studdb";
$db_password = "www2013";
//連線伺服器
$db_link = @mysql_connect($db_host, $db_username, $db_password);
if (!$db_link) die("資料連結失敗!");
//設定字元集與連線校對
mysql_query("SET NAMES 'utf8'");
?>
----------
測試範例 1
----------
==請在test資料庫中,建立兩個表格test1, test2
--(1)先進入test資料庫
use test;
--(2)在test資料庫中建立下列兩個空表格
CREATE TABLE test1 (
name text,
phone texr,
add text,);
CREATE TABLE test2
(Project_name CHAR(10) NOT NULL,
Project_no INT NOT NULL,
PRIMARY KEY(Project_no)
) ENGINE=INNODB;
******************
建立新的使用者帳號
******************
--建立一個jacy的帳號,且此帳號僅可登入系統
GRANT usage ON *.* TO jacy@localhost IDENTIFIED BY '123456';
--自行修改自已的密碼
set password = password('654321');
set password for jacy@localhost = password('123456');
----------
測試範例 2
----------
--建立一個test_user1的帳號,且此帳號可以對test資料庫中的所有資料表格作delete、insert、select、update的操作,其辨識密碼是123456
GRANT delete,insert,select,update
ON test.*
TO test_user1@localhost
IDENTIFIED BY '123456';
--建立一個test_user2的帳號,且此帳號可以對test資料庫中的test2資料表格作delete、insert、select、update的操作,其辨識密碼是123456
GRANT delete,insert,select,update
ON test.test2
TO test_user2@localhost
IDENTIFIED BY '123456';
--檢視一下目前資料庫系統內有哪些使用者(正式說明在後面會提到)
--(1)先進入mysql資料庫
use mysql;
--(2)用下列指令來看目前有哪些使用者帳號、登入的主機及其密碼
SELECT user, host, password
FROM user;
**************
取消使用者帳號
**************
----------
測試範例 3
----------
==(1)拿掉使用者的權限 (但使用者尚能夠登入MySQL資料庫系統)
revoke all
on *.*
from jacy@localhost;
==(2)完整的移除使用者
--a. 先進入 mysql 這個資料庫
use mysql;
--b. 將mysql資料庫中的表格user裡,滿足user='jacy'與host='localhost'的資料全部刪除
delete from user
where user='jacy' and host='localhost';
--c. 對MySQL資料庫的權限修改立即生效
flush privileges;
***************
MySQL的安全機制
***************
--利用User資料表來檢視目前系統中有哪些帳號(User)及其登入主機(Host),以及密碼(Password)
SELECT user, host, password FROM user;
--利用User資料表來檢視目前系統中有哪些帳號(User)及其登入主機(Host),以及是否具備全域性資料查詢(SELECT)權限
SELECT user, host, select_priv FROM user;
--利用db資料表來檢視有哪些帳號(User)對於哪些特定資料庫(db)內的所有資料具有操作權限,這些帳號登入的主機(Host)為何
SELECT user, host, db FROM db;
利用User資料表來檢視有哪些帳號(User)對於哪些特定資料庫(db)是否具有delete與create的操作權限
SELECT user, db, delete_priv, create_priv FROM db;
--利用Tables_priv資料表來檢視有哪些帳號(User)對於哪些特定資料庫(db)內的某特定表格(table_name)具有操作權限,這些帳號登入的主機(Host)為何
SELECT user, host, db, table_name FROM Tables_priv;
--利用Tables_priv資料表來檢視有哪些帳號(User)對於某個特定資料庫(db)內的某特定表格(table_name)具有哪些操作權限(table_priv)
SELECT user, db, table_name, table_priv FROM Tables_priv;
--當使用者登入MySQL資料庫系統後,可利用下列指令來檢視自已被賦與哪些權限
show grants;
****************
備份和回復資料庫
****************
==A.備份某個資料庫中特定表格的指令
--(1)備份 "test" 資料庫中的表格 "test1",備份的檔名為 "test1_bak"
此備份檔所存放的位置視執行mysqldump程式當下的dos路徑而定。(易搞混!!)
mysqldump -u root -p test test1>test1_bak.sql
--(2)若想要將所備份的檔案放於特定路徑的檔案夾 (如:d:/testdb) 下,則
mysqldump -u root -p test test1>d:\testdb\test1_bak.sql
==B.備份特定資料庫的指令
--(1)備份 "test" 資料庫,備份的檔名為 "testdb_bak"
此備份檔所存放的位置視執行mysqldump程式當下的dos路徑而定。(易搞混!!)
mysqldump -u root -p --databases test>testdb_bak.sql
--(2)若想要將所備份的檔案放於特定路徑的檔案夾 (如:d:/testdb) 下,則
mysqldump -u root -p test test1>d:\testdb\test1_bak.sql
==C.備份所有資料庫的指令於特定路徑的檔案夾 (如:d:/testdb) 下
mysqldump -u root -p --all-databases>d:\testdb\alldb.sql
==D.回復"test"資料庫中的表格"test1",備份的檔名為 "test1_bak"
mysql -u root -p test
==E.回復"test"資料庫,備份的檔名為"testdb_bak"
mysql -u root -p
mysql -u root -p581114
http://registerboy.pixnet.net/blog/post/21684093-mysql%E5%91%BD%E4%BB%A4%E8%A1%8C%E7%9A%84%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95(%E9%80%9A%E7%94%A8linux%E5%92%8Cwindows)
2014年6月14日 星期六
2014年6月13日 星期五
2014年6月7日 星期六
2014年5月15日 星期四
2014年5月13日 星期二
2014年5月1日 星期四
2014年4月24日 星期四
2014年4月23日 星期三
2014年4月4日 星期五
2014年4月2日 星期三
2014年3月30日 星期日
RELATED WORK
Power Efficient Gathering in Sensor Information Systems (PEGASIS) protocol in 2002. It is an improved version of LEACH. Instead of forming clusters, it is based on forming chains of sensor nodes. One node is responsible for routing the aggregated data to the sink. Each node aggregates the collected data with its own data, and then passes the aggregated data to the next ring. The difference from LEACH is to employ multi-hop transmission and selecting only one node to transmit to the sink or base station. Since the overhead caused by dynamic cluster formation is eliminated, multi-hop transmission and data aggregation is employed, PEGASIS outperforms the LEACH. However excessive delay is introduced for distant nodes, especially for large networks and single leader can be a bottleneck.
In 2001, A. Manjeshwar and D. P. Agarwal [7] proposed Threshold sensitive Energy Efficient sensor Network Protocol (TEEN) protocol. Closer nodes form clusters, with a cluster heads to transmit the collected data to one upper layer. Forming the clusters, cluster heads broadcast two threshold values. First one is hard threshold; it is minimum possible value of an attribute to trigger a sensor node. Hard threshold allows nodes transmit the event, if the event occurs in the range of interest. Therefore a significant reduction of the transmission delay occurs. Unless a change of minimum soft threshold occurs, the nodes don’t send a new data packet. Employing soft threshold prevents from the redundant data transmission. Since the protocol is to be responsive to the sudden changes in the sensed attribute, it is suitable for time-critical applications.
A. Manjeshwar and D. P. Agarwal [8] proposed AdaPtive Threshold sensitive Energy Efficient sensor Network Protocol (APTEEN) protocol in 2002. The protocol is an extension of TEEN aiming to capture both time-critical events and periodic data collections. The network architecture is same as TEEN. After forming clusters the cluster heads broadcast attributes, the threshold values, and the transmission schedule to all nodes. Cluster heads are also responsible for data aggregation in order to decrease the size data transmitted so energy consumed. According to energy dissipation and network lifetime, TEEN gives better performance than LEACH and APTEEN because of the decreased number of transmissions. The main drawbacks of TEEN and APTEEN are overhead and complexity of forming clusters in multiple levels, implementing threshold-based functions and dealing with attribute based naming of queries.
In 2004, G. Smaragdakis, I. Matta and A. Bestavros [9] proposed Stable Election Protocol (SEP) protocol. This protocol is an extension to the LEACH protocol. It is a heterogeneous aware protocol, based on weighted election probabilities of each node to become cluster head according to their respective energy. This approach ensures that the cluster head election is randomly selected and distributed based on the fraction of energy of each node assuring a uniform use of the nodes energy. In this protocol, two types of nodes (two tier in-clustering) and two level hierarchies were considered
In 2005, M. Ye, C. Li, G. Chen and J. Wu [10] proposed Energy Efficient Clustering Scheme (EECS) protocol. It is novel clustering scheme for periodical data gathering applications for wireless sensor networks. It elects cluster heads with more residual energy through local radio communication. In the cluster head election phase, a constant number of candidate nodes are elected and compete for cluster heads according to the node residual energy. The competition process is localized and without iteration. The method also produces a near uniform distribution of cluster heads. Further in the cluster formation phase, a novel approach is introduced to balance the load among cluster heads. But on the other hand, it increases the requirement of global knowledge about the distances between the cluster-heads and the base station.
In 2006, Q. Li, Z. Qingxin and W. Mingwen [11] proposed Distributed Energy Efficient Clustering Protocol (DEEC) protocol. This protocol is a cluster based scheme for multi level and two level energy heterogeneous wireless sensor networks. In this scheme, the cluster heads are selected using the probability based on the ratio between residual energy of each node and the average energy of the network. The epochs of being cluster-heads for nodes are different according to their initial and residual energy. The nodes with high initial and residual energy have more chances of the becoming cluster heads compared to nodes with low energy.
O. Younis and S. Fahmy proposed [4] Hybrid Energy Efficient Distributed clustering Protocol (HEED) protocol in 2004. It extends the basic scheme of LEACH by using residual energy as primary parameter and network topology features (e.g. node degree, distances to neighbors) are only used as secondary parameters to break tie between candidate cluster heads, as a metric for cluster selection to achieve power balancing. The clustering process is divided into a number of iterations, and in each iterations, nodes which are not covered by any cluster head double their probability of becoming a cluster head. Since these energy-efficient clustering protocols enable every node to independently and probabilistically decide on its role in the clustered network, they cannot guarantee optimal elected set of cluster heads.
2014年3月29日 星期六
2014年3月28日 星期五
2014年3月26日 星期三
2014年3月24日 星期一
2014年3月23日 星期日
2014年3月20日 星期四
2014年3月11日 星期二
2014年3月8日 星期六
2014年3月5日 星期三
2014年2月27日 星期四
2014年2月26日 星期三
2014年2月12日 星期三
小破車175000公里保養
这輛MAZDA MVP跟著我也有10年了,從93年(2004)開始在讀博士班時期陪著我到處兼課,甚至遠征到宜蘭頭城的蘭陽技術學院;畢業後又天天陪著我跑那條又陡又爛,通往醒吾的登林路,如此操法終於要開始要錢了。四條輪胎4300×4+方向机連接桿1559+定位800,幹!實在是太伤本了。
2014年2月10日 星期一
2014年2月8日 星期六
訂閱:
文章 (Atom)









