Since updated to El Capitan, many things went wrong. Last time screen was blurry, now camera does not work. The symptom is camera is not recognized in FaceTime, in QuickTime Video recording, and in any video recorder app. So a little search online gives the solution:
Tag: tip
Mac El Capitan: Blurry Display Issue
Recently I updated my MacBook Pro to El Captain, and I don't like El Captain. One major thing I noticed is the screen went blurry. Text and everything. My Mac does not have retina display, and yet it looked fine when I still had Yosemite. Well, not saying Yosemite was good either, but it was at… Continue reading Mac El Capitan: Blurry Display Issue
VPS Setup Record - SSH Security
The VPS info I have is listed in VPS Setup Record - Basics, and I have talked about how to install LAMP at VPS Setup Record - LAMP. This is a follow-up post that targets at making our VPS more secure. Remember, to use vim to edit files, you need to press i to start inserting. When you… Continue reading VPS Setup Record - SSH Security
Project Fi Phone Number Tip
This is a tip for people who don't care about $3. I got the Project Fi sim card a while ago, but I got a very stupid number that I don't like. So I figured, since we could port our number to Project Fi, we should be able to find us a good number somewhere,… Continue reading Project Fi Phone Number Tip
Append the public key to remote server
Btw, id_rsa should be with permission 400. Found the following code to quickly append the public key to remote server. cat ~/.ssh/id_rsa.pub | ssh <user>@<hostname> 'cat >> .ssh/authorized_keys && echo "Key copied"'
Turn on/off Theater Mode on Android Wear Programatically
The simplest way is to leverage the adb shell to run settings put global theater_mode_on. settings put global theater_mode_on 1 will turn on theater mode settings put global theater_mode_on 0 will turn off theater mode And the following is the java code to turn on theater mode. Process su = Runtime.getRuntime().exec("su"); DataOutputStream os = new… Continue reading Turn on/off Theater Mode on Android Wear Programatically
It can be done by either simply look at the "About" in Android Settings, or by the following command using adb
:
cat /system/build.prop /default.prop | grep -m 1 "ro.product.cpu.abi="
My MobiCom 15' Presentation
I'm busy lately - mostly focusing on my presentation at MobiCom 2015. It was my first time presenting my work as a CS PhD in such a big conference (well, in any conferences). I spent almost 3 weeks to prepare for the presentation and potential questions people might ask. The story can be very long, and I'm… Continue reading My MobiCom 15' Presentation