Skip to content

Instantly share code, notes, and snippets.

View tboerger's full-sized avatar
:shipit:
Getting mad with crazy stuff

Thomas Boerger tboerger

:shipit:
Getting mad with crazy stuff
  • Cloudpunks GmbH
  • Nuremberg, Germany
  • 06:27 (UTC +01:00)
  • X @tboerger
View GitHub Profile
@tboerger
tboerger / flake.nix
Created July 24, 2024 09:59
Ansible Role Flake
{
description = "Nix flake for development";
inputs = {
nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-unstable";
};
devenv = {
url = "github:cachix/devenv";
@tboerger
tboerger / README.md
Created November 14, 2022 13:43
Hack The Box: Starting Point Tier 0

Meow

Questionnaire

What does the acronym VM stand for?
Virtual Machine
@tboerger
tboerger / manifest.yml
Last active January 24, 2022 13:27
Flannel Manifest
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: flannel
labels:
tier: node
app: flannel
@tboerger
tboerger / hcloud.sh
Created October 22, 2020 07:10
Dynamic inventory for Ansible on Hetzner Cloud
#!/usr/bin/env python3
import json
import requests
import os
def main():
api_key = os.environ.get('HCLOUD_TOKEN', '')
if not api_key.strip():
@tboerger
tboerger / vcd.py
Created July 1, 2020 15:34
Dynamic Ansible inventory for VMWare vCloud Director
#!/usr/bin/env python3
import json
import requests
import os
import argparse
import xml.etree.cElementTree as ET
from time import time
GLOBALS = {
@tboerger
tboerger / inventory.py
Last active March 16, 2023 15:48
Dynamic inventory for Ansible on VMWare vCloud director
#!/usr/bin/env python3
import json
import requests
import os
import argparse
import xml.etree.cElementTree as ET
from time import time
GLOBALS = {
@tboerger
tboerger / .drone.yml
Created October 9, 2019 13:03
Drone YAML example for Digital Ocean runner
---
kind: pipeline
type: digitalocean
name: default
token:
from_secret: token
server:
image: docker-18-04
@tboerger
tboerger / .drone.yml
Created October 9, 2019 13:01
Drone YAML example for Exec runner
---
kind: pipeline
type: exec
name: default
platform:
os: linux
arch: amd64
steps:
@tboerger
tboerger / .drone.yml
Last active October 9, 2019 13:00
Drone YAML example for Docker runner
---
kind: pipeline
name: go-1.13
platform:
os: linux
arch: amd64
steps:
- name: test