#Docker
##Files and Folders.
|
|\_ app
|...
|\_ docker
| |
#Installs in seconds | |
#Make sure PowerShell 5 (or later, include PowerShell Core) and .NET Framework 4.5 (or later) are installed. Then run: | |
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh') | |
# or shorter | |
iwr -useb get.scoop.sh | iex | |
#Note: if you get an error you might need to change the execution policy (i.e. enable Powershell) with | |
Set-ExecutionPolicy RemoteSigned -scope CurrentUser |
JAVA_OPTS="$JAVA_OPTS -javaagent:{full_path_to_agent_directory}/apminsight-javaagent.jar -Datlassian.org.osgi.framework.bootdelegation=com.manageengine.*,sun.*,org.apache.xerces,org.apache.xerces.*" |
import com.atlassian.jira.component.ComponentAccessor; | |
import com.atlassian.jira.issue.CustomFieldManager; | |
import com.atlassian.jira.ComponentManager; | |
import com.atlassian.jira.issue.fields.CustomField; | |
import com.atlassian.jira.issue.IssueManager; | |
import com.atlassian.jira.issue.Issue; | |
import com.atlassian.jira.issue.customfields.manager.OptionsManager; | |
import com.atlassian.jira.issue.fields.config.FieldConfig; | |
import com.atlassian.jira.issue.context.IssueContextImpl; | |
import com.atlassian.jira.issue.customfields.manager.OptionsManager; |
#Docker
##Files and Folders.
|
|\_ app
|...
|\_ docker
| |
(function ($) { | |
$(function () { | |
AJS.dialog2.on("show", function (e) { | |
var targetId = e.target.id; | |
if (targetId == "my-own-dialog") { | |
var someDialog = AJS.dialog2(e.target); | |
$(e.target).find("#dialog-close-button").click(function (e) { | |
e.preventDefault(); | |
someDialog.hide(); | |
someDialog.remove(); |
package examples.docs | |
import com.atlassian.greenhopper.service.rapid.view.RapidViewService | |
import com.atlassian.greenhopper.service.sprint.SprintIssueService | |
import com.atlassian.greenhopper.service.sprint.SprintManager | |
import com.atlassian.jira.component.ComponentAccessor | |
import com.atlassian.jira.issue.Issue | |
import com.onresolve.scriptrunner.runner.customisers.JiraAgileBean | |
import com.onresolve.scriptrunner.runner.customisers.WithPlugin |
# Disable Gatekeeper | |
sudo spctl --master-disable |
# https://github.com/chubin/cheat.sh | |
curl https://cht.sh/:cht.sh | sudo tee /usr/local/bin/cht.sh | |
chmod +x /usr/local/bin/cht.sh |
# TODO code a fish function | |
docker stop (docker ps -a -q) | |
open $TMPDIR../C/com.apple.appstore/ |