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
public class Memory { | |
// Dummy Entity representing usual data objects | |
private static class Entity { | |
public String name; | |
public String detail; | |
public Double amount; | |
public Integer age; | |
} |
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
#!/bin/sh | |
echo Install all AppStore Apps at first! | |
# no solution to automate AppStore installs | |
read -p "Press any key to continue... " -n1 -s | |
echo '\n' | |
echo Install and Set San Francisco as System Font | |
ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)" | |
echo Install Homebrew, Postgres, wget and cask | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" |
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
; in global gradle file | |
; /home/<username>/.gradle/gradle.properties (Linux) | |
; /Users/<username>/.gradle/gradle.properties (Mac) | |
; C:\Users\<username>\.gradle\gradle.properties (Windows) | |
; org.gradle.daemon=true | |
; in project folder | |
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 |
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
new Dataset(List( | |
Array("my", "dog", "has", "flea", "problems", "help", "please"), | |
Array("maybe", "not", "take", "him", "to", "dog", "park", "stupid"), | |
Array("my", "dalmation", "is", "so", "cute", "I", "love", "him"), | |
Array("stop", "posting", "stupid", "worthless", "garbage"), | |
Array("mr", "licks", "ate", "my", "steak", "how", "to", "stop", "him"), | |
Array("quit", "buying", "worthless", "dog", "food", "stupid") | |
), List(0, 1, 0, 1, 0, 1)) |
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
[merge] | |
keepBackup = false | |
tool = custom | |
[mergetool "custom"] | |
cmd = /Applications/p4merge.app/Contents/Resources/launchp4merge "$PWD/$BASE" "$PWD/$REMOTE" "$PWD/$LOCAL" "$PWD/$MERGED" | |
keepTemporaries = false | |
trustExitCode = false | |
keepBackup = false |