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
# instructions: | |
# on the first run you to target apply otherwise terraform will complain with for_each | |
# 1. terraform apply -target='null_resource.projects' | |
# 2. terraform apply | |
terraform { | |
required_providers { | |
google = { | |
source = "hashicorp/google" | |
} |
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
locals { | |
azurerm_private_endpoint = { | |
custom_dns_configs = [ | |
{ | |
"fqdn" = "something.westeurope.data.azurecr.io" | |
"ip_addresses" = [ | |
"10.10.10.202" | |
] | |
}, | |
{ |
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
/* Como executar:td:icontains | |
* Abrir o site na página das faturas a classificar e abrir a consola javascript nas DevTools. | |
* Copy & Paste do código js e executar para cada página | |
*/ | |
// comparação case insensitive | |
jQuery.expr[':'].icontains = function(a, i, m) { | |
return jQuery(a).text().toUpperCase().indexOf(m[3].toUpperCase()) >= 0; | |
}; | |
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 | |
# Inspired on https://david-kerwick.github.io/2017-01-04-combining-zsh-history-files/ | |
set -e | |
history1=$1 | |
history2=$2 | |
merged=$3 | |
echo "Merging history files: $history1 + $history2" | |
test ! -f $history1 && echo "File $history1 not found" && exit 1 |
OlderNewer