2014年10月30日 星期四

Cancel Hangouts Event.

Ref: https://support.google.com/plus/answer/2660446?hl=en
Desktop computer:
  1. Open Google+. Place your cursor in the top left corner for the Google+ main menu. Click Events.
  2. Place your cursor over the event card and click the  dropdown arrow.
  3. Click Delete Event
The dropdown arrow is in the event page rather than the list page.
2-1) Entering events list page
2-2 Click into the selected event
2-3 The dropdown arrow and the delete option is on this page.

2014年10月5日 星期日

Android 懶人包

ref: http://www.inote.tw/adt-bundle-setup-tutorial
1. Download Java SDK
   
2. Download Android 懶人包 (http://developer.android.com/sdk/index.html#download)

3. Install Java SDK
4. Unzip 懶人包
5. 執行 Eclipse 

2014年10月4日 星期六

Google Go 2 -- for

Ref : http://www.golang-book.com/5/index.htm

Hardware ASUS X450J
OS : Windows 8.1 Prof

1. Edit ForEx.go
//------------
package main

import "fmt"

func main() {
    i := 1
    for i <= 10 {
        fmt.Println(i)
        i = i + 1
    }
}
//---------------
5. Run ForEx.go

Google Go -- 1 (Hello World)

Ref : http://golang.org/doc/install

Hardware ASUS X450J
OS : Windows 8.1 Prof
1. Download compile
http://golang.org/dl/
2. Install go

3. Reboot
4. Edit Hello.go
//------------
package main

import "fmt"

func main() {
    fmt.Printf("hello, world\n")
}
//---------------
5. Run Hello.go

2014年9月14日 星期日

Kinect for Windows v2 Test - 1

1. ASUS BM6660
2. Windows 8.1
3. Kinect for Windows SDK 2.0

One Kinect sensor can support 3 application in the same time.

2014年9月11日 星期四

Leap Motion -Hello World

1. ASUS X450J
2. Windows 8.1
3. VS 2012
4. Leap Motion SDK 1.0.9+8391

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//----
// 1. Copy LeapC#.NET.4.0, Leap.DLL, LeapC#.DLL  into project folder
// 2.  Add the first one as reference and  add two others as existed items.
//----
using Leap;

namespace ConsoleEx1
{
    class Program
    {
        static void Main(string[] args)
        {
            SampleListener listener = new SampleListener();
            Controller controller = new Controller();
            controller.AddListener(listener);

            // Keep this process running until Enter is pressed
            Console.WriteLine("Press Enter to quit...");
            Console.ReadLine();

            controller.RemoveListener(listener);
            controller.Dispose();
        }

    }
    class SampleListener : Listener
    {
        private Object thisLock = new Object();

        private void SafeWriteLine(String line)
        {
            lock (thisLock)
            {
                Console.WriteLine(line);
            }
        }

        public override void OnConnect(Controller controller)
        {
            SafeWriteLine("Connected");
        }


        //public override void OnFrame(Controller controller)
        //{
        //    SafeWriteLine("Frame available");
        //}
        public override void OnFrame(Controller controller)
        {
            Frame frame = controller.Frame();

            SafeWriteLine("Frame id: " + frame.Id
                     + ", timestamp: " + frame.Timestamp
                     + ", hands: " + frame.Hands.Count
                     + ", fingers: " + frame.Fingers.Count
                     + ", tools: " + frame.Tools.Count
                     + ", gestures: " + frame.Gestures().Count);
        }
    }
}


2014年9月3日 星期三

Schedule task (PowerShell)

Ref: http://key.chtouch.com/ContentView.aspx?P=1533
1. 控制台 系統與安全
2. 工作排程窗右側新增工作
3. 設定排程名稱

 4. 設定排程觸發時間
5. 啟用PowerShell


Notes: PowerShell.exe 檔名