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
name: Dependabot auto-merge | |
on: pull_request | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
dependabot: | |
runs-on: ubuntu-latest |
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
{ | |
"branches": [ | |
{ | |
"name": "main", | |
"channel": "development", | |
"prerelease": "dev" | |
}, | |
{ | |
"name": "preview", | |
"channel": "preview", |
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
# Stage 1 - Create yarn install skeleton layer | |
FROM base/alpine-npm:alpine-3.17 AS packages | |
USER root | |
WORKDIR /app | |
COPY package.json yarn.lock ./ | |
COPY packages packages | |
# Comment this out if you don't have any internal plugins |
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
public interface IPseudoRandomGenerator { | |
/** | |
* The iteration count is increased on every failure and reset on a success. | |
* <p>You can reset it manually by calling {@link #reset()}. | |
* | |
* @return the current iteration count | |
*/ | |
int iteration(); | |
float chance(); |
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 java.util.Random; | |
import java.util.concurrent.ThreadLocalRandom; | |
/** | |
* The PseudoRandomGenerator is used to test an increasing chance based of the initial chance. | |
* <p> | |
* Use it to align the preceived chance of randomness for users with the actual randomness. | |
* <p> | |
* The generator will keep track of an iteration counter that will increase with every | |
* failed check and increase the chance for the next check. It resets after the chance was hit. |
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
version: '3.7' | |
services: | |
backup: | |
image: silthus/mc-restic-compose-backup | |
env_file: | |
- backup.env | |
- backup.secrets.env | |
- sql.secrets.env | |
volumes: | |
# We need to communicate with docker |
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
version: '3.7' | |
services: | |
rcon: | |
image: itzg/rcon | |
user: ${CURRENT_USER} | |
environment: | |
RWA_WEBSOCKET_URL_SSL: wss://wss.rcon.your-url.com | |
RWA_WEBSOCKET_URL: ws://ws.rcon.your-url.com | |
env_file: | |
- rcon.env |
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
{ | |
"settingsReloadIntervalMinutes": 1, | |
"fullscreen": false, | |
"autoStart": true, | |
"lazyLoadTabs": true, | |
"websites": [ | |
{ | |
"url": "https://www.patreon.com/kevdev", | |
"duration": 10, | |
"tabReloadIntervalSeconds": 15 |
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
/* USE [YOUR_DATABASE] */ | |
DECLARE @schema VARCHAR(128) | |
SELECT @schema = (SELECT TOP 1 [name] FROM sys.schemas ORDER BY [name]) | |
WHILE @schema is not null | |
BEGIN | |
/* Drop all non-system stored procs */ |
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
param ( | |
[parameter(Mandatory=$true)] | |
$VM, | |
[parameter(Mandatory=$true)] | |
[string] | |
$TemplateName, | |
[parameter(Mandatory=$false)] | |
$VMMServer, |
NewerOlder