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
<?xml version="1.0" encoding="UTF-8"?> | |
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 | |
https://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
<mirrors> | |
<mirror> | |
<id>anupam.com</id> | |
<name>anupam</name> | |
<url>https://repo.maven.apache.org/maven2/</url> |
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
#!/bin/bash | |
URL_TOKEN="url webhook from Rocket.Chat" | |
# Params get by request - add params on zabbix on type of media configuration settings to match a script params | |
USER="$1" | |
SUBJECT="$2" | |
MESSAGE="$3" | |
# Change color emoji depending on the MESSAGE contains property - Green (RECOVERY), Red (PROBLEM), Yellow (UPDATE) |
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
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
using Microsoft.EntityFrameworkCore; | |
using Moq; | |
namespace TestExamples01.Setup | |
{ | |
public class Setup | |
{ |
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
$Uri = "http://localhost:8080/engine-rest/process-instance/" | |
$ProcessInstances = Invoke-WebRequest -Uri $Uri | select -ExpandProperty content | ConvertFrom-Json | |
foreach ($ProcessInstance in $ProcessInstances) { | |
Invoke-WebRequest -Method Delete -Uri $($Uri + $ProcessInstance.id) | |
} |
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
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
//CSS | |
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
function ExitPageConfirmer(message) { | |
this.message = message; | |
this.needToConfirm = false; | |
var myself = this; | |
window.onbeforeunload = function() { | |
if (myself.needToConfirm) { | |
return myself.message; | |
} |