Skip to content

Instantly share code, notes, and snippets.

View busser's full-sized avatar
☁️
La tête dans le cloud...

Arthur Busser busser

☁️
La tête dans le cloud...
View GitHub Profile
@busser
busser / 01-kubectl-hello-source.sh
Last active October 11, 2020 15:00
Code samples for blog article on kubectl plugins
#!/usr/bin/env bash
echo "Congrats ${USER}, you just used a kubectl plugin! 💪"
@busser
busser / 01-aws-profile.ini
Last active April 1, 2021 15:00
Code samples for blog article on AWS profiles
[padok]
aws_access_key_id = AKIA2EKSU7Q0RUO9M5WI
aws_secret_access_key = W8uVHOrecDxuufuSeY2OjYcGIemcxHz4KH9QsHKr
@busser
busser / workflow.yml
Created April 20, 2020 08:18
Sample GitHub Actions workflow
name: Docker Image CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
@busser
busser / Dockerfile
Created February 11, 2020 17:52
A simple Dockerfile
# Start from an image that already contains Python 3.8.
FROM python:3.8
# Install dependencies; be explicit about versions.
RUN pip install flask==1.1
# Copy the application's source code into the image.
COPY src/ /code
# Add useful information for operators.
#!/usr/bin/env python3
"""
Write a function that takes two strings as arguments, s and p,
and returns a boolean denoting whether s matches p.
p is a sequence of any number of the following:
1. a-z - which stands for itself
2. . - which matches any character
3. * - which matches 0 or more occurences of the previous single character

Keybase proof

I hereby claim:

  • I am busser on github.
  • I am laitdebanane (https://keybase.io/laitdebanane) on keybase.
  • I have a public key ASBPt_a1IgiY7-0DhjCoRf2Se6YOwdJz6IdEQISUKvNc3go

To claim this, I am signing this object: