I hereby claim:
- I am franzramadhan on github.
- I am franzramadhan (https://keybase.io/franzramadhan) on keybase.
- I have a public key ASC1ifqy6nQMcNtPMLjTyRRNY7AQvlXqNMSB7jPlSjFp3Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
3.9.7 |
[[source]] | |
url = "https://pypi.org/simple" | |
verify_ssl = true | |
name = "pypi" | |
[packages] | |
urllib3 = "*" | |
[dev-packages] |
variable "object_list" { | |
type = "map" | |
default = { | |
content1 = "this is example content 1", | |
content2 = "this is example content 2" | |
} | |
} | |
resource "local_file" "local_files" { | |
count = "${length(var.object_list)}" # perform this action based on the amount of items in the map |
To remove a submodule you need to:
#!/bin/bash | |
set -ex | |
TF_VERSION="0.11.11" | |
NOMAD_VERSION="0.8.7" | |
CONSUL_VERSION="1.4.2" | |
VAULT_VERSION="1.0.3" | |
PACKER_VERSION="1.3.4" | |
VERSION="" |
grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b" |
MariaDB [(none)]> set @start := (select sum(VARIABLE_VALUE/1024/1024) from information_schema.global_status where VARIABLE_NAME like 'WSREP%bytes'); do sleep(60); set @end := (slect sum(VARIABLE_VALUE/1024/1024) from information_schema.global_status where VARIABLE_NAME like 'WSREP%bytes'); set @gcache := (select SUBSTRING_INDEX(SUBSTRING_INDEX(@@GLOBALwsrep_provider_options,'gcache.size = ',-1), 'M', 1)); select round((@end - @start),2) as `MB/min`, round((@end - @start),2) * 60 as `MB/hour`, @gcache as `gcache Size(MB)`, roud(@gcache/round((@end - @start),2),2) as `Time to full(minutes)`; | |
Query OK, 0 rows affected (0.05 sec) | |
Query OK, 0 rows affected (1 min 0.00 sec) | |
Query OK, 0 rows affected (0.00 sec) | |
Query OK, 0 rows affected (0.00 sec) | |
+--------+---------+-----------------+-----------------------+ |
[admin@tscredit-dedge ~]$ parquet-tools cat part-00000-c00f3303-2c93-467e-847d-6049e99980bf-c000.gz.parquet | awk '{print $3}'| awk NF | head -n 10 | sed ':a;N;$!ba;s/\n/,/g' | |
1245541338292,755914356949,1666447420906,841814584100,85899498045,103079686442,773095309528,704375532464,1348619892622,34737697829747 | |
[admin@tscredit-dedge ~]$ parquet-tools cat part-00000-c00f3303-2c93-467e-847d-6049e99980bf-c000.gz.parquet | awk '{print $3}'| awk NF | head -n 10 | |
1245541338292 | |
755914356949 | |
1666447420906 | |
841814584100 | |
85899498045 | |
103079686442 |
#!/bin/bash | |
getIndices=$(curl -s "http://127.0.0.1:9200/_cat/indices?v" | awk '/'filebeat'/{match($0, /[:blank]*('filebeat'.[^ ]+)[:blank]*/, m); print m[1];}' | awk -F "-" '{print $2}') | |
now=$(date +%s) | |
for i in $getIndices; | |
do | |
converttoTime=$(echo $i|tr . -) | |
result=$((($now - $(date -d "$converttoTime" +%s))/(24 * 60 * 60))) | |
if [ $result -gt 7 ]; |