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 | |
# Icinga2 Maintenance mode / Downtime | |
# | |
# https://icinga.com/docs/icinga2/latest/doc/12-icinga2-api/#icinga2-api-actions | |
# Program details | |
PROGNAME=$(basename $0) | |
RELEASE="Revision 1.0.0" | |
AUTHOR="(c) 2020 Paul Bargewell ([email protected])" |
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 | |
EXAMPLE="example default" | |
# Plugin variable description | |
PROGNAME=$(basename $0) | |
RELEASE="Revision 1.0.0" | |
AUTHOR="(c) 2020 Warlord0" | |
# Functions plugin usage |
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
#!/usr/bin/env bash | |
set -e | |
[ "$DEBUG" == 'true' ] && set -x | |
DAEMON=sshd | |
echo "> Starting SSHD" |
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
map_hash_max_size 262144; | |
map_hash_bucket_size 262144; | |
map $sent_http_content_type $expires { | |
"text/html" epoch; | |
"text/html; charset=utf-8" epoch; | |
default off; | |
} | |
server { |
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
<?php | |
/** | |
* FireSync Observer | |
* | |
* Watch for changes and replicate them to the Firebase database | |
* | |
* PHP Version 7.1 | |
* | |
* @category Observer | |
* @package Firebase |
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 { | |
loadScript, | |
loadModules | |
} from 'esri-loader' | |
// preload the ArcGIS API | |
const options = { | |
url: '//js.arcgis.com/3.27/', | |
} |
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
<config control-bind="127.0.0.1:8059" version="1.0"> | |
<!-- see example-config.xml and config.xsd for more documentation --> | |
<web-server context="/crucible" site-url="https://jira.domain.local/crucible"> | |
<http bind=":8060" proxy-host="jira.domain.local" proxy-port="443" proxy-scheme="https"/> | |
</web-server> | |
<security allow-anon="true" allow-cru-anon="true"/> | |
<repository-defaults> | |
<linker/> | |
<allow/> | |
<tarball enabled="false" maxFileCount="0"/> |
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
Show hidden characters
{ | |
"presets":[ | |
"@babel/preset-env", "@babel/preset-react" | |
] | |
} |
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
<?php | |
namespace App\Http\Controllers\Lagan; | |
use Illuminate\Http\Request; | |
use App\Http\Controllers\Controller; | |
// We need Guzzle for the POST requests | |
use GuzzleHttp\Exception\GuzzleException; | |
use GuzzleHttp\Client; |
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
<?php | |
namespace App\Http\Controllers\Lagan; | |
use Illuminate\Http\Request; | |
use App\Http\Controllers\Controller; | |
// We need Guzzle for the POST requests | |
use GuzzleHttp\Exception\GuzzleException; | |
use GuzzleHttp\Client; |
NewerOlder