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
Initializing modules... | |
╷ | |
│ Error: Invalid registry module source address | |
│ | |
│ on main.tf line 21, in module "vpc": | |
│ 21: source = "git::ssh://[email protected]/team/system/tfmods/aws-vpc.git" | |
│ | |
│ Failed to parse module registry address: a module registry source address must have either three or four slash-separated components. | |
│ | |
│ Terraform assumed that you intended a module registry source address because you also set the argument "version", which applies only to registry |
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
""" | |
Custom filters for Ansible. | |
Can be used by saving it (for example) as ~/.ansible/plugins/filter/filters.py | |
""" | |
def depem(string): | |
import re | |
return re.sub(r'\s+|(-----(BEGIN|END).*-----)', '', string) |
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
-- dzvents script Instructions | |
-- Create the dummy hardware in Domoticz if you haven't done so already and | |
-- from there create two 'Custom Sensor' devices with the axis labels | |
-- '€/kWh' and '€/m³'. Then set the following two device ids: | |
local powerDeviceIdx = 48 | |
local gasDeviceIdx = 49 | |
return { | |
on = { |
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 | |
# Configure the instance to run as a Port Address Translator (PAT) to provide | |
# Internet connectivity to private instances. | |
# | |
#set -x | |
echo "Determining default interface" | |
IFACE=`ip -o route show default | grep default | awk '{print $5}'` |
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 | |
# Configure the instance to run as a Port Address Translator (PAT) to provide | |
# Internet connectivity to private instances. | |
# | |
#set -x | |
echo "Determining default interface" | |
IFACE=`ip -o route show default | awk '{print $5}'` |
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
### Keybase proof | |
I hereby claim: | |
* I am dnmvisser on github. | |
* I am dnmvisser (https://keybase.io/dnmvisser) on keybase. | |
* I have a public key ASA8k2crPtuKsY3roihxTzYj1O44-56fpdKYKTtxmUhO4wo | |
To claim this, I am signing this object: |
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
<?php | |
/* | |
Hand picked entities from eduGAIN, with tags that correspond to the available tabs in the discopower module. | |
Corresponding configuration for module_discopower.php: | |
$config = [ | |
'taborder' => [ | |
'edugain', |
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 | |
OLDIFS=$IFS | |
export IFS=$'\n' | |
# Find all boxes which have updates | |
AVAILABLE_UPDATES=$(vagrant box outdated --global | grep outdated | tr -d "*'" | cut -d ' ' -f 2 | sort | uniq 2>/dev/null) | |
if [[ ${#AVAILABLE_UPDATES[@]} -ne 0 ]]; then |