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 vals = [50, 25, 5, 0, -5, -25, 50] | |
| vals.each{ | |
| println "\n\nVal is $it" | |
| int i = 50 | |
| i =- it | |
| println "(50 =- $it) is equal to $i" | |
| i = 50 |
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 binding = new Binding() | |
| def shell = new GroovyShell(binding) | |
| def script = '''println "hello world" ''' | |
| shell.evaluate(script) |
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.infinum | |
| import java.sql.Types | |
| import org.hibernate.dialect.MySQL5Dialect | |
| import org.hibernate.type.StandardBasicTypes | |
| class InfinumMysqlDialect extends MySQL5Dialect { | |
| InfinumMysqlDialect () { | |
| super () |
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
| from __future__ import (absolute_import, division) | |
| __metaclass__ = type | |
| from ansible.errors import AnsibleError | |
| from ansible.plugins.lookup import LookupBase | |
| from ansible.utils.listify import listify_lookup_plugin_terms | |
| import xml.etree.ElementTree as etree | |
| # Version for Ansible 2.0 | |
| # forked from https://gist.github.com/benbramley/xmlfile.py |
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
| <executions> | |
| <execution> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>shade</goal> | |
| </goals> | |
| <configuration> | |
| <artifactSet> | |
| <excludes> | |
| <exclude>org.bouncycastle:*</exclude> |
OlderNewer