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
--- | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: tekton-pipelinerun-cleaner | |
labels: | |
app: tekton-pipelinerun-cleaner | |
app.kubernetes.io/name: tekton-pipelinerun-cleaner | |
app.kubernetes.io/component: pipelinerun-cleaner | |
app.kubernetes.io/part-of: tekton |
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
import sys | |
import re | |
regex = r"^([0-9]+)\s+([0-9]{4}\-[0-1][1-9]-[0-3][0-9]-[0-2][0-9]:[0-6][0-9]:[0-6][0-9])\s+(\"[^\"]*\"|\w+)\s+(\"[^\"]*\"|\w+)\s+(\"[\w]*\"|\w+)$" | |
def dep(fildep): | |
deps = 0 | |
nodeps = list() | |
for line in open(fildep): | |
regdeps = re.search(regex, line, re.MULTILINE) |
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
Cloud Native Barcelona overview | |
05-2019 | |
Introduction to the Cloud Native Barcelona, the official Cloud Native Computing Foundation user group in Barcelona. | |
500 | |
https://rael.io/talk/cnbcn-overview/ | |
--- | |
Kubernetes for all: AWS, Azure and GCP | |
06-2019 | |
Breakdown of the managed Kubernetes distributions in AWS, Azure and GCP. | |
28 |
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
sudo: required | |
language: go | |
go: | |
- "1.12" | |
services: | |
- docker | |
install: true |
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
for u in $(curl -sq https://destinytracker.com/d2/clan/427309/the-packets | sed -n 's@.*clanmembers = \(.*\)</script>@\1@p' | jq -c '.[] | { id: .DestinyUserInfo.membershipId, name:.DestinyUserInfo.displayName }' 2>/dev/null); do echo "$(echo $u | jq -c '.name') - Last played on $(curl -sq https://destinytracker.com/d2/api/profile/2/$(echo $u | jq -r -c '.id' )/recentgames | jq -c '.matches | .[0].period' 2>/dev/null)"; done; |
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 | |
date | |
function sendMessage { | |
MESSAGE=$@; | |
if [ "${MESSAGE}" != "" ]; | |
then |
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/sh | |
set -euo pipefail | |
function EnableStackDynamoDbBackups { | |
local CF_STACK="$1" | |
local CF_REGION=${2:-eu-central-1} | |
echo "Getting tables from the $CF_STACK stack in the $CF_REGION region." |
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
<script src="https://unpkg.com/vue"></script> | |
<main id="app" class="site"> | |
<header class="menu">Twister</header> | |
<aside class="profile"> | |
Profile Information | |
</aside> | |
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 | |
# Get current disk usage | |
df -h | |
# Get the top 5 disk consuming folders | |
du -hxS / 2> /dev/null | sort -rh | head -n5 |
NewerOlder