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
services: | |
foundry: | |
image: felddy/foundryvtt:13 | |
restart: unless-stopped | |
volumes: | |
- ./data:/data | |
ports: | |
- 30000:30000 | |
environment: | |
- CONTAINER_CACHE=/data/container_cache |
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
const Compute = require("@google-cloud/compute"); | |
const compute = new Compute(); | |
const state = { | |
msg: "", | |
}; | |
exports.init = (req, res) => { | |
compute.getVMs().then((data) => { | |
data[0].forEach((vm) => { |
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
["dedmen"] call { | |
missionNamespace setVariable [_this select 0,player, true]; | |
[0, { | |
params ["_myName"]; | |
private _curVarName = _myName+"Cur"; | |
if (!isNil _curVarName) then { | |
[-1, compile format["if (player == %1) then {%1 sideChat 'deleting Curator';}", _myName]] call CBA_fnc_globalExecute; | |
deleteVehicle (missionNamespace getVariable [_curVarName, objNull]); | |
missionNamespace setVariable [_curVarName, nil, true]; |
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 | |
DEPLOYMENT=$1 | |
TEMPDIR="/tmp" | |
TEMPLATE=" | |
{ | |
\"apiVersion\": \"autoscaling.k8s.io/v1beta2\", | |
\"kind\": \"VerticalPodAutoscaler\", | |
\"metadata\": { | |
\"name\": \"$DEPLOYMENT-vpa\" |
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
/* | |
* This script cycles between two or more iframes on a page. | |
* | |
* Make sure to hide the iframe(s) with CSS before running this script on the page! | |
* | |
* Originally intended for use with Rasberry Pi's acting as digital signs. | |
*/ | |
window.onload = function () { | |
var options = { |
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
call plug#begin() | |
Plug 'crusoexia/vim-monokai' | |
Plug 'scrooloose/nerdtree' | |
Plug 'junegunn/fzf' | |
Plug 'itchyny/lightline.vim' | |
Plug 'terryma/vim-multiple-cursors' | |
Plug 'tpope/vim-eunuch' | |
Plug 'mattn/emmet-vim' | |
Plug 'airblade/vim-gitgutter' |
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
Set WshShell = CreateObject("WScript.Shell") | |
i = 0 | |
Do While i = 0 | |
cmd1=WshShell.RUN("SoundVolumeView /SetVolume ""{0.0.1.00000000}.{e62b029d-0dc8-4985-aa9d-75393ba9acea}"" 100", 0, True) ' Yeti | |
cmd2=WshShell.RUN("SoundVolumeView /SetVolume ""{0.0.1.00000000}.{8af538fe-61b6-4af7-b41e-a08e286c1e1f}"" 100", 0, True) ' VoiceMeter | |
WScript.Sleep(30000) ' every 30 seconds | |
Loop |
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/python3 | |
# MIT License | |
# | |
# Copyright (c) 2017 Marcel de Vries | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |