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
import groovy.json.JsonBuilder | |
import org.apache.log4j.Logger | |
import org.apache.log4j.Level | |
import groovyx.net.http.* | |
def key = issue.key | |
def customFields = get("/rest/api/2/field") | |
.asObject(List) | |
.body | |
.findAll { (it as Map).custom } as List<Map> |
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
import groovy.json.JsonBuilder | |
import groovyx.net.http.ContentType | |
import groovyx.net.http.HTTPBuilder | |
import groovyx.net.http.Method | |
import org.apache.log4j.Logger | |
import org.apache.log4j.Level | |
import groovyx.net.http.* | |
/** | |
Change these based on api.airtable.com | |
*/ |
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
Index: src/main/jmvc/steal/clean/clean.js | |
=================================================================== | |
--- src/main/jmvc/steal/clean/clean.js (revision 510) | |
+++ src/main/jmvc/steal/clean/clean.js (working copy) | |
@@ -2,12 +2,18 @@ | |
// using with jslint: js steal/cleanjs path/to/file -jslint | |
steal.plugins('steal/build').then('//steal/clean/beautify','//steal/clean/jslint','//steal/rhino/prompt', function(steal){ | |
- var lintAndPrint = function(out, predefined){ | |
- |
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
# Prompt | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
export PS1="\[\033[31;38m\]\u@\h\[\033[00m\]:\[\033[31;38m\]\w\[\033[1;31m\]\$(parse_git_branch)\[\033[00m\] " | |
# Editor | |
export GIT_EDITOR='nano -Y patch' |
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
<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> | |
<artifactId>StaticContent</artifactId> | |
<packaging>jar</packaging> | |
<name>StaticContent</name> | |
<version>${version.properties}</version> | |
<url>http://maven.apache.org</url> | |
<build> | |
<plugins> |