Skip to content

Instantly share code, notes, and snippets.

Packing List

Clothing

  • Trail-Running Shoes
  • Hiking/Barefoot Shoes
  • Merino Shirts
  • Hiking Trousers
  • Set of nice Cloths
  • socks and underwear
@SpikePy
SpikePy / Dockerfile_alpine
Created January 8, 2025 19:23
Dockerfile Ansible Alpine
FROM python:alpine
RUN apk add --no-cache --virtual .build-deps gcc make python3-dev linux-headers libgcc musl-dev
RUN pip install ansible-core
RUN ansible-galaxy collection install azure.azcollection community.general kubernetes.core
RUN pip install -r ~/.ansible/collections/ansible_collections/azure/azcollection/requirements-azure.txt
#RUN pip install azure-cli==$(grep azure-cli-core ~/.ansible/collections/ansible_collections/azure/azcollection/requirements-azure.txt | cut -d'=' -f3)
RUN apk del .build-deps
ENV ANSIBLE_STDOUT_CALLBACK=yaml

An die Liebe

Ich habe dich nicht gebeten zu bleiben, doch du bist geblieben.

Ich habe dich niemals gefragt wer du bist oder was du auch willst.

@SpikePy
SpikePy / trip_preparationsa.md
Last active February 27, 2025 22:14
Trip Preparations

Trip Preparation

Before starting look for weather forecast.

Thinks to Pack

rations

  • some fruits and vegi
  • sliced bread
@SpikePy
SpikePy / ansible_multiline.yaml
Last active June 1, 2022 18:48
playing with multiline commands in ansible
#! /usr/bin/env -S ansible-playbook --inventory=localhost, -v
# execute me by running `./multiline_commands.yaml`
---
- name: Playground
hosts: localhost
connection: local
gather_facts: no
tasks:
- name: >
multiline command don't need `\` because
twitter_api_bearer_token=xxx
hashtag=spotify
granularity=hour
curl \
-X GET \
-H "Authorization: Bearer ${twitter_api_bearer_token}" \
"https://api.twitter.com/2/tweets/counts/recent?query=%23${hashtag}&granularity=${granularity}&search_count.fields" \
| jq -r '.data[] \
| {"start","end","tweet_count"} \
@SpikePy
SpikePy / wlan_signal_strength.sh
Created December 15, 2021 07:14
Linux: Scan WLAN Signal Strength
sudo iwlist wlan0 scan|grep -E '(Cell|ESSID|dBm)' | less