Category Archives: IT Matters

Sublime Text 2 Trick: How to change the default auto-complete commitment keystroke to Tab

By default, you can select an option from the auto-completion list by hitting Enter. But when the choosing dialogue pops up automatically, sometimes you just want to type a line break instead of choosing one from the list. 
And when you hit Enter to type a line break, you get a completion selected instead.

So this could be very annoying.

Continue reading

How to remote control your PC from outside your home network

Note: Although Our tutorial uses RDP protocol to control Windows PC, the same idea also applies to remote control Mac or Linux with VNC protocol.

 

 

1. Allow remote connections on Windows

RDP success

To access one computer from another, you first need to allow remote connections on the computer you want to access, which must be running one of the following versions of Windows:
Continue reading

A look inside Google’s Driverless Car

Table of Contents
* YouTube video
* 大陆用户请看这里

Next time you go to a restaurant, you don’t have to spend time looking for parking spot any more.
Ask the vehicle to drop you off, and it will go park itself.
Driving a machine controlled vehicle is safer.
Technology is awesome!

国内用户请点这里: Continue reading

How to hide and show elements with JavaScript (updated)

webThere are times that we just want to hide an element first, and shows it later when the user performs something like clicking a button.

Implementing this functionality with JavaScript is quite easy. (On a side note, there is a really great section on Embedding JavaScript in HTML in JavaScript: The Definitive Guide: Activate Your Web Pages. If you don’t have that book, you really should.)
The strategy is to place the controlled element on a hidden layer (div), and then change the display attribute to make it show up.

First, Let’s define a variable, which tells if the video should be shown, in JavaScript.
Continue reading

Kinect Controlled AR. Drone Quadrocopter


Introduction

        Feeling cool using Kinect to control your avatar in Xbox games? Perhaps you’d be more excited controlling actual, physical things with your movements, rather than a virtual representation. “Kinect is a motion sensing input device by Microsoft for the Xbox 360 video game console and Windows PCs”1. With the Kinect, technology just gives another reason for the world to keep on believing, dreaming and achieving. Really enjoyed operating an AR.Drone quadrocopter with your iPhone or iPad? How cool is that if your can control it with your body movement captured with Kinect?

You must be wondering how it is implemented and make your own.



Implementation

With the Kinect SDK(software development kit), we are able to take the advantage of:
Continue reading