WhatsApp (web version)

January 23rd, 2015
WhatsApp (web version)

I tried WhatsApp, Web version, that is very easy to use. Firstly, go to https://web.whatsapp.com/. Then open WhatsApp in my phone, click Menu->WhatsApp. Finally, Scanning QR code by using phone. Then it will works.
Now, I can send and receive messages in my computer. Using a bigger screen and a full-size keyboard, that is more comfortable to read and reply message. Also, you only need to drag and drop the files to the images into the message window, then the images will be sent out.
Only disadvantage is only working on Chrome

HP Stream 13 - Light weight and Stylish Budget Laptop

December 31st, 2014
HP Stream 13 - Light weight and Stylish Budget Laptop

A week ago, I bought a budget laptop. It was only HKD$2010. That is only a bit more expensive than a tablet, so I don't expect much. Well, actually it offered a lot. It comes with Windows 8.1 and 1 year subscription of Office 365 + 1TB One Drive. That is Windows 8.1, not Chrome OS or Android, a real PC os. I am very happy about in the software. It hasIntel Celeron N2840 2.16 GHz and 2GB RAM. Not too bad Hardware. I think their storage is not enough. That is only 32 GB eMMC. Windows 8.1+ Office 365 will used around 10GB. Not many space left, so I bought a 16GB microSD for this. In addition, they are eMMC, which is similar speed of SD card, much slower than SDD. For its case, that is plastic, so it can have just 1.5KG weight. It has Blue or Pink Color, that is very stylish.
In conclusion, that is value for money. Office 365 runs in this box very well, not too slow. I even run sharpdevelop in this box for coding. Moreover, its weight is only 1.5KG. I brought it to another places a lot! I love this laptop! Plus, it looks cool!

Powershell running as a schedule task

December 23rd, 2014

That is possible to set as a schedule task.
You can use the following command line:
powershell -Set-Executionpolicy bypass - file test.ps1
Please remember to set Set-Executionpolicy bypass. It can avoid the confirm message.

How to make read only text field in xcode

December 9th, 2014
How to make read only text field in xcode

I spent about half hour to find a read-only property for Text field in xcode. There is no such function. Should I modify text change event to reject any user typing? Actually, the most proper way is to uncheck user interaction enabled under the properties window for that text field.
If you need to do it programmatically, please following this example:

Code

self.text1.userInteractionEnabled

Java Problem on OSX Yosemite

December 8th, 2014

I tried to run my Android Studion in Mac after I upgarded to OSX to Yosemite. I got this error message: To open 'this Java application' you need to install the legacy Java SE 6 runtime." Even I installed java sdk, that is not working. To overcome this issue, I installed java for OSX, please follow this link,http://support.apple.com/kb/dl1572. That will works!

 
\