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
| #!/bin/bash | |
| HIPCHAT_URL={YOUR HIPCHAT SERVER URL} | |
| HIPCHAT_TOKEN={AUTHENTICATION TOKEN} | |
| HIPCHAT_ROOM={ROOM NAME OR ID} | |
| COLOR="green" # one of yellow, green, red, purple, gray, random. | |
| if [ -n "$1" ] | |
| then | |
| MESSAGE=$1 | |
| else |
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
| [ | |
| "hubot-google", | |
| "hubot-google-images" | |
| ] |
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
| [ | |
| "redis-brain.coffee", | |
| "shipit.coffee", | |
| "deadline.coffee", | |
| "xkcd.coffee", | |
| "zen.coffee", | |
| "setenv.coffee", | |
| "hello.coffee", | |
| "working-on.coffee", | |
| "wolfram.coffee" |
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
| #!/bin/bash | |
| # Ensure that all nodes in /dev/mapper correspond to mapped devices currently loaded by the device-mapper kernel driver | |
| dmsetup mknodes | |
| # First, make sure that cgroups are mounted correctly. | |
| CGROUP=/sys/fs/cgroup | |
| : {LOG:=stdio} | |
| [ -d $CGROUP ] || |
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
| input { | |
| s3 { | |
| 'bucket' => 'com.tabtale.cloudtrail' | |
| 'credentials' => ['AWS_ID','AWS_SECRET'] | |
| 'delete' => false | |
| 'interval' => '60' | |
| 'codec' => 'cloudtrail' | |
| 'prefix' => 'AWSLogs/' | |
| # 'region' => 'us-east-1' | |
| 'region_endpoint' => 'us-east-1' |
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 com.atlassian.jira.component.ComponentAccessor | |
| import com.atlassian.jira.issue.MutableIssue | |
| import com.atlassian.jira.issue.security.IssueSecuritySchemeManager | |
| import com.atlassian.jira.issue.IssueManager | |
| import com.atlassian.jira.util.ErrorCollection | |
| import com.atlassian.jira.event.issue.AbstractIssueEventListener | |
| import com.atlassian.jira.event.issue.IssueEvent | |
| import com.atlassian.jira.issue.IssueManager | |
| import com.atlassian.jira.event.type.EventDispatchOption | |
| import com.atlassian.jira.user.util.UserManager |
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
| <script type="text/javascript"> | |
| (function($) { | |
| AJS.$("#customfield_<id> option[value='-1']").remove(); //Removes the default value "None" | |
| function convertMulti(id){ | |
| if (AJS.$('#'+id+"-textarea").length == 0){ | |
| new AJS.MultiSelect({ | |
| element: $("#"+id), | |
| itemAttrDisplayed: "label", | |
| errorMessage: AJS.params.multiselectComponentsError | |
| }); |