http://asiloop.com/windows_7_sticky_notes


wbkuo 發表在 痞客邦 留言(0) 人氣()

直接將 C:\Users\wbkuo\AppData\Roaming\Microsoft\Sticky Notes\StickyNotes.snt 檔案備份,還原時直接覆蓋回去就好了


文章標籤

wbkuo 發表在 痞客邦 留言(0) 人氣()

在網路上找到這樣的解法,不過還是無法修正問題,找時間再試一下

  1. Open Task Scheduler and click OK when prompted with the error. It may seem like you are receiving the same error over and over, but this is really due to the number of tasks which are broken. Make a note of the number of times you are prompted with the the selected task "{0}" error. This is the number of task files that are out of sync with the registry.
  2. Start with the first folder under Windows tasks (Task Scheduler(Local)\Task Scheduler Library\Microsoft\Windows) and select each folder in turn until you receive the the selected task "{0}" error. This folder contains files that are not in sync with the task scheduler.
  3. Open Windows Explorer and navigate to the tasks file folder (%SystemFolder%\Tasks\Microsoft\Windows) and find the folder which corresponds to the folder in which you received the error.
  4. For some tasks you will be able to determine which files need to be deleted by comparing the list in the Task Scheduler with the list of files in Explorer. Some tasks will only have a single file in explorer, or, in one case I had 2 and the first was missing. Once Task Scheduler encounters this error it will no longer display tasks so it makes the job of getting the two in sync a little more difficult. Once you have determined which files exist in the File Folder but do not exist in the Task Scheduler folder, delete those files.
  5. IMPORTANT - Close and Re-open Task Scheduler. Once the error is encountered, Task Scheduler no longer displays the tasks so you need to close it and restart in order to continue your synchronization effort.
  6. Continue to select folders in Task Scheduler under Windows tasks until you encounter the error again and repeat the process of determining which file exists on the file system, but not in Task Scheduler.

參考
http://social.technet.microsoft.com/Forums/zh-TW/windowsserver2008zhcht/thread/28679c38-ae9c-4442-bf03-a2cdf558774e/
http://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/1f677dd3-bdb7-4650-9164-d8e2c66b7708
http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/error-messege-the-selected-task-0-no-longer-exists/01e60fa1-8004-40b4-9cf0-247fb80edb56?auth=1

wbkuo 發表在 痞客邦 留言(1) 人氣()

呼叫 ajax

<script src='/sys/lib/js/jquery.js'></script>
<script>
        /* 一般陣列 */
        var arr1 = [];
            arr1[0] = 1;
            arr1[1] = 3;
            arr1[3] = 8;
        
        /* 有 key 的陣列 */
        var arr2 = {no0:'哈,哈',no3:'1,23'};
        
        /* 二維陣列 */
        var arr3 = [ {id:1,type:3}, {id:3,type:2}, {id:1001,type:3} ];

        $j.ajax({
                 url: 'http_ajax.php',
                 cache: false,
                 dataType: 'html',
                 type:'POST',                
                 data: {arr1:arr1, arr2:arr2, arr3:arr3},
                 error:function(){alert('Ajax request 發生錯誤');},
                 success: function(res){alert('Ajax success!');}
               });
</script>


接收的php: http_ajax.php

<?
    print_r($_POST);
?>



wbkuo 發表在 痞客邦 留言(0) 人氣()

程式:

<?
$a[] = 1;
$a[] = 1;
$b['a'] = 1;
$b['b'] = 1;

if (is_key_array($a)) echo "a";
if (is_key_array($b)) echo "b";

function is_key_array($arr)
{
    return is_string(key($arr));
}
?>

結果:
b


wbkuo 發表在 痞客邦 留言(0) 人氣()

之前一直好像有聽過這個東西,可是一直沒試過,今天試了一下發現對 Debug 來說真是太好用了
詳細請參考:https://getfirebug.com/wiki/index.php/Console_API

用法:

<script>
/* 列印物件 */
var a = {id:1, name:"wbkuo", age:18};
console.log(a);

/* 可用 printf 的顯示方式 */
var b = "cool";
var c = "tool";
console.log("console.log is %s %s", b, c);

/* 計算開始與結束時間 */
console.time("test")
for (var i=0; i<1000000; i++) ;
console.timeEnd("test")
</script>


wbkuo 發表在 痞客邦 留言(0) 人氣()

作法 1:直接在 shell sciprt 裡下 SQL
#! /bin/sh
mysql -u root -ppassword test << EOFMYSQL
SELECT * FROM test
EOFMYSQL

wbkuo 發表在 痞客邦 留言(0) 人氣()

本篇是參考鳥哥的文件所寫的筆記:http://linux.vbird.org/linux_server/0330nfs.php

====  分享主機  ====

1. 安裝 nfs

wbkuo 發表在 痞客邦 留言(0) 人氣()

http://boobo.pixnet.net/blog/post/91750563


wbkuo 發表在 痞客邦 留言(0) 人氣()

這是昨天在處理客戶的問題所遇到的錯誤訊息

問題:service mysqld start 時出現錯誤訊息 Timeout error occurred trying to start MySQL Daemon

當下有找到幾種解法

wbkuo 發表在 痞客邦 留言(0) 人氣()