Note: this assumes Colima v0.4.0 or newer.
SSH into the VM colima ssh
Edit docker init script sudo vi /etc/init.d/docker
.
#!/usr/bin/env python | |
from ipaddress import ip_network, ip_address | |
import sys | |
cidrs = [] | |
with open(sys.argv[1], "r") as f: | |
for line in f: |
Note: this assumes Colima v0.4.0 or newer.
SSH into the VM colima ssh
Edit docker init script sudo vi /etc/init.d/docker
.
const http = require('https'); | |
exports.handler = async (event, context) => { | |
return new Promise((resolve, reject) => { | |
const options = { | |
host: 'httpbin.org', | |
path: '/uuid', | |
port: 443, | |
method: 'GET' | |
}; | |
const req = http.request(options, (res) => { |
/!\ Be very carrefull in your setup : any misconfiguration make all the git config to fail silently ! Go trought this guide step by step and it should be fine 😉
~/.ssh/config
, set each ssh key for each repository as in this exemple:{ | |
"detail-type": [ | |
"ECR Image Scan" | |
], | |
"source": [ | |
"aws.ecr" | |
], | |
"detail": { | |
"finding-severity-counts": { | |
"CRITICAL": [{ |
http://audio.ra.co/podcast/RA586_170821_Zadig-residentadvisor.net.mp3 | |
http://audio.ra.co/podcast/RA590_170918_Jon-K-residentadvisor.net.mp3 | |
http://audio.ra.co/podcast/RA591_170925_Noncompliant-residentadvisor.net.mp3 | |
http://audio.ra.co/podcast/RA592_171002_DJ-Minx-residentadvisor.net.mp3 | |
http://audio.ra.co/podcast/RA593_171009_Phase-Fatale-residentadvisor.net.mp3 | |
http://audio.ra.co/podcast/RA595_171023_MESH-residentadvisor.net.mp3 | |
http://audio.ra.co/podcast/RA596_171030_Oscar-Mulero-residentadvisor.net.mp3 | |
http://audio.ra.co/podcast/RA597_171106_Mafalda-residentadvisor.net.mp3 | |
http://audio.ra.co/podcast/RA598_171113_Anastasia-Kristensen-residentadvisor.net.mp3 | |
http://audio.ra.co/podcast/RA599_171120_Partok-residentadvisor.net.mp3 |
#!/usr/bin/env python | |
with open('plugins.txt', 'r') as f: | |
for line in f.readlines(): | |
plugin, version = line.split(':') | |
version = version.strip() | |
print("- name: %s\n version: \"%s\"" % (plugin, version)) |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: hello-world | |
namespace: default | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: hello-world |
export PS1="$(hr '━')\n\$(kube_ps1)\n\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[0;31m\]\$(__git_ps1)\n\$\[\033[00m\] " |
#!/usr/bin/env python | |
import json | |
import sys | |
# https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-objects.html | |
# USAGE: | |
# aws s3api list-object-versions --bucket > versions.json | |
# ./delete-old-versions.py ./versions.json > delete.json |