(To get around certain build tools that actually require Xcode and not the cli tools)
From the App Store, open it once it's done then close it
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -license
(To get around certain build tools that actually require Xcode and not the cli tools)
From the App Store, open it once it's done then close it
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -license
| problem | |
| Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: The root scratch dir: /tmp/hive on HDFS should be writable. Current permissions are: rwx--x--x | |
| solve | |
| ./ephemeral-hdfs/bin/hadoop fs -chmod 777 /tmp | |
| ./ephemeral-hdfs/bin/hadoop fs -chmod 777 /tmp/hive |
| ################################################################## | |
| # /etc/elasticsearch/elasticsearch.yml | |
| # | |
| # Base configuration for a write heavy cluster | |
| # | |
| # wget https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/zip/elasticsearch/2.1.1/elasticsearch-2.1.1.zip | |
| # sudo unzip elasticsearch-2.1.1.zip -d /usr/local/elasticsearch | |
| # cd /usr/local/elasticsearch/elasticsearch-2.1.1 | |
| # sudo bin/plugin install cloud-aws |
| <form name="myForm" class="my-form"> | |
| <a href="#" ng-click="register(myForm)">aaa</a> | |
| userType: <input name="input" ng-model="userType" required> | |
| <span class="error" ng-show="myForm.input.$error.required">Required!</span><br> | |
| <tt>userType = {$ userType $}</tt><br> | |
| <tt>myForm.input.$valid = {$ myForm.input.$valid$}</tt><br> | |
| <tt>myForm.input.$error = {$ myForm.input.$error$}</tt><br> | |
| <tt>myForm.$valid = {$ myForm.$valid $}</tt><br> | |
| <tt>myForm.$error.required = {$!!myForm.$error.required$}</tt><br> | |
| </form> |