#Docker
##Files and Folders.
|
|\_ app
|...
|\_ docker
| |
#Docker
##Files and Folders.
|
|\_ app
|...
|\_ docker
| |
version: '3.7' | |
services: | |
nginx: | |
image: nginx:1.15.9-alpine | |
container_name: dle-nginx | |
# restart: unless-stopped | |
volumes: | |
- ./data/nginx:/etc/nginx/conf.d | |
- ./data/certbot/conf:/etc/letsencrypt |
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; |
#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 |
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 |
(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(); |
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.*" |
# TODO code a fish function | |
docker stop (docker ps -a -q) | |
Running as a service
The next step would be to register AdGuard Home as a system service on Windows, Linux/(systemd | Upstart | SysV), or OSX/Launchd.
Run sudo ./AdGuardHome -s install to install AdGuard Home as a system service.
On Windows run cmd.exe with admin privileges and run AdGuardHome.exe -s install to register a windows service.
Here are the other commands you might need to control the service.
# 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 |