-
2 Napa Cabbage
-
1 yellow or white onion
-
10 peeled garlic cloves
-
2 heaping spoonfulls of Sae woo jeot
-
10 heaping spoonfulls of coursely ground hot pepper
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
cl_interp 0 | |
cl_interp_ratio 1 | |
cl_cmdrate 128 | |
cl_updaterate 128 | |
rate 128000 | |
fps_max 999 | |
exec netcode |
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
package ratpack.example.java; | |
import ratpack.guice.Guice; | |
import ratpack.handling.Handler; | |
import ratpack.launch.LaunchConfig; | |
import java.util.Map; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; |
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
apply plugin: 'java' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
compile 'org.slf4j:slf4j-api:1.7.5' | |
// other dependencies go here in Maven style Group:Artifact:Version format | |
testCompile 'junit:junit:4.11' |
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
apply plugin: 'java' |
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
apply plugin: 'war' | |
apply from: 'https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin' | |
gretty { | |
servletContainer = 'tomcat7' | |
enableNaming = true | |
jvmArgs '-Xmx2048M', '-XX:+CMSClassUnloadingEnabled' | |
afterEvaluate { | |
clean.dependsOn cleanPrepareArchiveWebApp | |
clean.dependsOn cleanPrepareInplaceWebApp |
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
// map based constructor | |
def nightcrawler = new Hero(name: 'Nightcrawler') | |
assert nightcrawler.name == 'Nightcrawler' | |
// with block | |
def nightcrawler = new Hero().with { h-> | |
name = 'Nightcrawler' | |
power = 'teleportation' | |
h | |
} |
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
line_length = 80 | |
indent_length = 4 | |
def splitAndIndent(line): | |
indentation = "\n" + (" " * indent_length) | |
first_line = line[0:line_length] | |
lines = [first_line] | |
remainder = line[line_length:len(line)] | |
if remainder: | |
indented_length = line_length - indent_length |
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 String getPrettyAddress() { | |
String prettyAddress = null; | |
if (this.getAddresses() != null && !this.getAddresses().isEmpty()) { | |
Address mainAddress = null; | |
if (this.getAddresses().get(BusinessAddressType.PRIMARY.getType()) != null) { | |
mainAddress = this.getAddresses().get(BusinessAddressType.PRIMARY.getType()).getAddress(); | |
} else if (this.getAddresses().get(BusinessAddressType.SHIPPING.getType().toLowerCase()) != null) { | |
mainAddress = this.getAddresses().get(BusinessAddressType.SHIPPING.getType().toLowerCase()).getAddress(); | |
} |
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
apply plugin: 'java' | |
apply plugin: 'idea' | |
idea { | |
project.ipr.withXml { provider -> | |
provider.node.component | |
.find { it.@name == 'VcsDirectoryMappings' } | |
.mapping.@vcs = 'Git' | |
} |