gradle.properties

org.gradle.daemon=true
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
org.gradle.parallel=true
org.gradle.configureondemand=true

org.gradle.daemon=trueorg.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8org.gradle.parallel=trueorg.gradle.configureondemand=true

Importing the Official Android Code Style to Android Studio/IntelliJ

  • Download AndroidStyle.xml from the Android platform_development repository.
    a. You might think you can just click the link above and Save As…, but you’re wrong. Click the link, then choose the “Raw” display option.
  • Save it to ~/Library/Preferences/AndroidStudioBeta/codestyles.
    Hidden files and folders will need to be visible to do this. To make hidden files and folders visible, follow the steps here:http://www.mikesel.info/show-hidden-files-mac-os-x-10-7-lion/
  • Restart Android Studio
  • Navigate to Android Studio > Preferences
  • Navigate to Code Style > Java
  • From the Scheme drop-down, select the name of the imported code style
  • Click OK
  • Android Studio with OpenCV

    • Download OpenCV-2.4.5-android-sdk.zip from OpenCV site
    • Extract to where ever as OpenCV-2.4.5-android-sdk, mine happened to be

      /home/anthony/Documents/OpenCV-2.4.5-android-sdk/

    • Open Android Studio and choose Import
    • Select the folder to import

      /home/anthony/Documents/OpenCV-2.4.5-android-sdk/sdk/java/

       yours will be a little different,
       don't worry, just chose where you
       extracted OpenCV-2.4.5-android-sdk
    • Once the Import wizard finishes, build the app with menu

    Build -> Rebuild Project

    • Close Project

    • Create New or Open existing project
    • Then

    File->Import Module

    • This time select

    /home/anthony/Documents/OpenCV-2.4.5-android-sdk/sdk/java/XXX.iml

    mine was sdk.iml, but yours could be anything but there will be only one

    iml file

    ![] (/upfiles/13724316303530617.png)(http://)

    You can now start using OpenCV functions, start by typing

    import org.

    once you type the period Android Studio should drop a list of options one of which is

    opencv

    image description

    Source: http://answers.opencv.org/question/14546/how-to-work-with-opencv4android-in-android-studio/

    Toyota TRD Application Privacy

    โปรแกรมนี้ต้องการสิทธิในการ Tag เพื่อน เพื่อใช้ในการท้าให้เข้ามาใช้งาน

    Restarting the Management agents on an ESXi or ESX host

    From the Local Console or SSH:

    1. Log in to SSH or Local console as root.
    2. Run these commands:

      /etc/init.d/hostd restart
      /etc/init.d/vpxa restart

      Note: In ESXi 4.x, run this command to restart the vpxa agent:

      service vmware-vpxa restart

      Alternatively:

    • To reset the management network on a specific VMkernel interface, by default vmk0, run the command:

      esxcli network ip interface set -e false -i vmk0; esxcli network ip interface set -e true -i vmk0

      Note: Using a semicolon (;) between the two commands ensures the VMkernel interface is disabled and then re-enabled in succession. If the management interface is not running on vmk0, change the above command according to the VMkernel interface used.

    • To restart all management agents on the host, run the command:

      services.sh restart

      Caution:

    • Check if LACP is enabled on DVS for version 5.x and above. For more information, see vSphere 5.0 Networking Guide.
    • If LACP is not configured, the services.sh script can be safely executed.
    • If LACP is enabled and configured, do not restart management services using services.sh script instead restart independent services using /etc/init.d/module restart command.
    • If the issue is not resolved, and you have to restart all the services that are a part of the services.sh script, take a downtime before proceeding to the script.

      Note: For more information about restarting the management service on an ESXi host, see Service mgmt-vmware restart may not restart hostd in ESX/ESXi (1005566).

    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003490