When you run terraform init terraform will download required providers from its server,
unless you have cached providers in your directory.
create folder .terraform.d/plugins in your home directory, then create file update-providers.sh
| apiVersion: batch/v1beta1 | |
| kind: CronJob | |
| metadata: | |
| name: backup | |
| namespace: jenkins | |
| spec: | |
| schedule: 0 17 * * * # 00:00 GMT+7 | |
| successfulJobsHistoryLimit: 5 | |
| failedJobsHistoryLimit: 5 | |
| jobTemplate: |
| { | |
| "workbench.colorCustomizations": { | |
| "[Default Dark+]": { | |
| "focusBorder": "#404552", | |
| "foreground": "#D3DAE3", | |
| "button.background": "#383C4A", | |
| "button.foreground": "#FFF", | |
| "input.border": "#F5F6F7", | |
| "input.background": "#393f4c", | |
| "input.foreground": "#FFF", |
| aws ec2 describe-subnets | jq '[ .Subnets[] | {name: (.Tags[] | select(.Key == "Name") | .Value), id: .SubnetId} ] | sort_by(.name) | .[] | (.id + " " + .name)' |
I hereby claim:
To claim this, I am signing this object:
| <?xml version="1.0" encoding="UTF-8"?> | |
| <lircmap> | |
| <remote device="devinput"> | |
| <power>KEY_POWER</power> | |
| <obc161>KEY_F24</obc161><!-- TV/Radio (unused) --> | |
| <contentsmenu>KEY_CONTEXT_MENU</contentsmenu> | |
| <guide>KEY_EPG</guide> | |
| <display>KEY_ZOOM</display> | |
| <obc162>KEY_F23</obc162> | |
| <one>KEY_1</one> |
| #!/usr/bin/env python | |
| # How to use: | |
| # ensure lircd is stoped then run | |
| # $ mode2 | python nec-decode.py | |
| # | |
| # Example output: | |
| # ----------------- | |
| # 00100000 11011111 - 0xfb04 | |
| # 00100010 11011101 - 0xbb44 |
| #!/usr/bin/env python2 | |
| import sys | |
| import httplib | |
| import json | |
| import xml.etree.ElementTree as ET | |
| from datetime import datetime | |
| channels = { | |
| 'net': 'NET.Digital', |
| #!/usr/bin/env python2 | |
| import yaml | |
| from sets import Set | |
| from os import path | |
| import sys | |
| roles_dirs = ['roles', '.'] | |
| loaded_roles = Set() |
| #!/usr/bin/env python | |
| from docker import Client | |
| from os import listdir | |
| from os.path import isfile, join | |
| import re | |
| def main(): | |
| docker_host = 'unix://var/run/docker.sock' | |
| docker_network_name = 'load_balancer' |