6월, 2016의 게시물 표시

Android Wireless Debug

Wireless usage adb is usually used over USB. However, it is also possible to use over Wi-Fi, as described here. Connect your Android device and adb host computer to a common Wi-Fi network accessible to both. We have found that not all access points are suitable; you may need to use an access point whose firewall is configured properly to support adb. Note:  If you are attempting to connect to a Wear device, force it to connect to Wi-Fi by shutting off Bluetooth on the phone connected to it. Connect the device to the host computer with a USB cable. Set the target device to listen for a TCP/IP connection on port 5555. $ adb tcpip 5555 Disconnect the USB cable from the target device. Find the IP address of the Android device. For example, on a Nexus device, you can find the IP address at  Settings  > About tablet  (or  About phone ) >  Status  >  IP address . Or, on an Android Wear device, you can find the IP address at Settings  >  Wi-Fi Settings  >  Advance

Brew

Tip #1: Update Your Homebrew You want to always ensure that you’re running the newest version of Homebrew and that it has the newest list of formulae available from the main repository. This is done with the “brew update” command: 1 2 $ brew update Already up - to - date . Tip #2: Know What You Have Installed The problem with a package management tool is that it can cause app-creep, as new and wonderful software gets downloaded to your Mac, and then never gets used again. So, every once in a while you should type “brew list,” which will show everything installed on your machine with Homebrew: 1 2 $ brew list lynx openssl wget As usual, you can then use “brew info [package]” to get more info on an individual package: 1 $ brew info wget Tip #3: Uninstall Unused Software If you find software that’s outdated, it’s easy to get rid of it. You just “brew uninstall [package]” and the software disappears: 1