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
<?xml version="1.0" encoding="UTF-8"?> | |
<scheme name="spoonman" version="1" parent_scheme="Default"> | |
<option name="LINE_SPACING" value="1.0" /> | |
<option name="EDITOR_FONT_SIZE" value="12" /> | |
<option name="EDITOR_FONT_NAME" value="DejaVu Sans Mono" /> | |
<colors /> | |
<attributes> | |
<option name="ABSTRACT_CLASS_NAME_ATTRIBUTES"> | |
<value> | |
<option name="FOREGROUND" value="141496" /> |
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
class Person { | |
private String name | |
public String surname | |
private Person() {} | |
private String signature() { "${name?.substring(0, 1)}. $surname"} | |
public String toString() { "I am $name $surname"} | |
} |
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
plugins { | |
// add this if you've packaged a plugin by yourself | |
runtime ":envers:0.3-SNAPSHOT" | |
// add this if you want to use plugin from Grails central repository | |
runtime ":envers:2.1.0" | |
} |
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
Tweet readTweet(String id) throws TwitterError |
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
class Book { | |
def libraryService | |
String author | |
String title | |
int pageCount | |
Book() { | |
println("Finished constructor Book()") | |
} |
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
class RestJsonCatchController { | |
def grailsJson() { | |
render([first: 'foo', second: 5] as grails.converters.JSON) | |
} | |
def netSfJson() { | |
render([first: 'foo', second: 5] as net.sf.json.JSON) | |
} | |
} |
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
grails.plugin.databasemigration.updateOnStart = true | |
grails.plugin.databasemigration.updateOnStartFileNames = ["changelog.groovy"] | |
// grails.plugin.databasemigration.updateOnStartFileNames = ["changelog.xml"] |
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 eu.spoonman.specs.rest | |
import groovyx.net.http.ContentType | |
import groovyx.net.http.Method | |
import eu.spoonman.connectors.RestConnector | |
import spock.lang.Specification | |
import spock.lang.Shared | |
import spock.lang.Stepwise | |
@Stepwise |
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/bash | |
# How to install Graphite as a user on CentOS 5.5 (with neither internet access and root account) | |
# -------------------------------------------------------------------------------- | |
# Tomasz Kalkosiński - refaktor.blogspot.com | |
# | |
# Graphite is a Scalable Realtime Graphing (http://graphite.wikidot.com/) | |
# This script is based on two excellent tutorials: | |
# http://community.webfaction.com/questions/10038/how-to-install-pycairo-in-python27-thanks |
This file has been truncated, but you can view the full file.
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
Started by user anonymous | |
[EnvInject] - Loading node environment variables. | |
Building in workspace /var/lib/jenkins/jobs/sonar-gerrit-plugin/workspace | |
Fetching changes from the remote Git repository | |
Fetching upstream changes from https://github.com/TouK/sonar-gerrit-plugin.git | |
Checking out Revision 170de847ed8830c77091df09c1ddf53423aabdf9 (origin/master) | |
Cleaning workspace | |
Resetting working tree | |
Parsing POMs | |
envs: _:/usr/bin/daemon, BUILD_CAUSE:MANUALTRIGGER, BUILD_CAUSE_MANUALTRIGGER:true, BUILD_DISPLAY_NAME:#10, BUILD_ID:2013-12-19_14-04-55, BUILD_NUMBER:10, BUILD_TAG:jenkins-sonar-gerrit-plugin-10, BUILD_URL:http://touk.touk.pl:8081/jenkins/job/sonar-gerrit-plugin/10/, CLASSPATH:, EXECUTOR_NUMBER:1, GIT_BRANCH:origin/master, GIT_COMMIT:170de847ed8830c77091df09c1ddf53423aabdf9, GIT_PREVIOUS_COMMIT:170de847ed8830c77091df09c1ddf53423aabdf9, GIT_URL:https://github.com/TouK/sonar-gerrit-plugin.git, HOME:/var/lib/jenkins, HUDSON_HOME:/var/lib/jenkins, HUDSON_SERVER_COOKIE:75f83a15a6d8a7e1, HUDSON_URL:http://touk. |