This file contains hidden or 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
@import url(http://fonts.googleapis.com/css?family=Russo+One); | |
#wrapper { | |
background: hsla(30, 20%, 95%, .25) | |
-webkit-linear-gradient(45deg, hsla(0, 0%, 0%, 0) 0px, | |
hsla(0, 0%, 0%, 0) 1px, hsla(0, 0%, 0%, .1) 2px, hsla(0, 0%, 0%, .1) | |
3px ); | |
text-align: center; | |
display: -webkit-box; | |
display: -moz-box; |
This file contains hidden or 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 com.e2info.groovy | |
// groovy.lang.GroovyObject#getMetaClass | |
String.metaClass.define { | |
hello { return "hello " + delegate } | |
bye { return "bye " + delegate } | |
} | |
println "world".hello() |
This file contains hidden or 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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.e2info</groupId> | |
<artifactId>SpringMVCSample</artifactId> | |
<packaging>war</packaging> | |
<version>1.0</version> | |
<organization> | |
<name>e2info</name> |
This file contains hidden or 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
<?php | |
require_once "lib/ImageFileProperty.php"; | |
$imageUrl = "http://example.com/file_path_here.jpg"; | |
$ex = new ImageFileProperty(); | |
$ex->image = $imageUrl; | |
$colors = $ex->getColor(); |
This file contains hidden or 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 com.e2info.groovy | |
class Hello { | |
static hello(String arg) { | |
println "hello $arg." | |
} | |
} | |
class Bye { | |
static bye(String arg){ |
This file contains hidden or 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 com.e2info.groovy | |
[1, 2, 3, 4].each({x -> println x}) | |
/* | |
1 | |
2 | |
3 | |
4 | |
*/ |
This file contains hidden or 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 com.e2info.groovy | |
if(true){ | |
def a = 123 | |
b = {print a} | |
} | |
if(true){ | |
def a = 456 | |
b.call(); |
This file contains hidden or 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 com.e2info.groovy | |
a = "xxx" | |
def c = { | |
def a = "x_x" | |
return { println a } | |
}() | |
a = "xxx" |
This file contains hidden or 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 com.e2info.developer.springmvcsample.controller; | |
import org.junit.Assert; | |
import org.junit.Test; | |
import org.junit.runner.RunWith; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.test.context.ContextConfiguration; | |
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; | |
import org.springframework.ui.ModelMap; |
This file contains hidden or 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 com.e2info.groovy | |
a = "xxx" | |
def method(){ | |
def a = "x_x" | |
return { println a } | |
} | |
a = "xxx" |