This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO: Scanner configuration file: /Users/-/Workspaces/tools/sonar-scanner-3.2.0.1227-macosx/conf/sonar-scanner.properties | |
INFO: Project root configuration file: /Users/-/Workspaces/tools/sonar-scala/examples/sbt/multi-module/sonar-project.properties | |
10:18:13.887 INFO: SonarQube Scanner 3.2.0.1227 | |
10:18:13.890 INFO: Java 1.8.0_121 Oracle Corporation (64-bit) | |
10:18:13.890 INFO: Mac OS X 10.13.6 x86_64 | |
10:18:13.998 DEBUG: keyStore is : | |
10:18:13.998 DEBUG: keyStore type is : jks | |
10:18:13.998 DEBUG: keyStore provider is : | |
10:18:13.998 DEBUG: init keystore | |
10:18:13.998 DEBUG: init keymanager of type SunX509 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "bar":"hello" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.full_set.aggregate({$match:{your query here...}},{$out:"sub_set"}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Store the passphrase in your keychain: | |
ssh-add -K ~/.ssh/id_rsa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name '*.scala' -print0 | xargs -0 sed -i "" "s/this/that/g" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object FibonacciBinet { | |
def fib(n: Int) = { | |
def A = Math.pow(1 + Math.sqrt(5), n) | |
def B = Math.pow(1 - Math.sqrt(5), n) | |
def C = Math.pow(2, n) * Math.sqrt(5) | |
Math.floor((A - B) / C) | |
} |