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
| /System/Library/Frameworks/JavaVM.framework/Versions/ | |
| /Library/Java/JavaVirtualMachines |
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
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-eclipse-plugin</artifactId> | |
| <version>2.9</version> | |
| <configuration> | |
| <wtpversion>2.0</wtpversion> | |
| </configuration> | |
| </plugin> |
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
| <dependency> | |
| <groupId>com.oracle</groupId> | |
| <artifactId>javafx</artifactId> | |
| <version>2.2</version> | |
| <systemPath>${java.home}/lib/jfxrt.jar</systemPath> | |
| <scope>system</scope> | |
| </dependency> |
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
| convert lock32.png -bordercolor "#00000000" -border 3 lock38.png |
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
| convert bigImg.png -set option:distort:viewport 1280x960+753+95 -distort SRT 0 croppedImg.png |
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
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.1</version> | |
| <configuration> | |
| <source>1.7</source> | |
| <target>1.7</target> | |
| </configuration> | |
| </plugin> |
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
| convert img.png -gravity center -extent 128x128 imgCenter.png |
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
| convert image.png -alpha set -virtual-pixel transparent -channel A -blur 0x8 -level 50%,100% +channel soft_edge.png |
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
| def listOfMap = [[a:"alpha", b:"beta", c:"chrome"],[a:"uno", b:"due",c:"drei"]] | |
| def ti = [a:"AKAY", c:"ccc", d:"dd"] | |
| List<Map> transformKeys(List<Map> lom, Map trans) { | |
| lom.collect{ map -> | |
| map.collectEntries{ entry -> | |
| trans.containsKey(entry.key) ? [(trans.get(entry.key)):entry.value] : entry | |
| } | |
| } | |
| } |
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
| List<Map> transformKeys(List<Map> lom, Map trans) { | |
| lom.collect{map-> | |
| trans.collectEntries{ti-> | |
| [(ti.value): map[ti.key]] | |
| } | |
| } | |
| } | |
| assert transformKeys([[a: 1, b:2, c:3], [a: 1, x:2, y:3]], [a: 'alpha', b: 'beta']) == [[alpha:1, beta:2], [alpha:1, beta:null]] |
OlderNewer