Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Teaching how to code for living and how to survive in SkyNet's world

Andreas Heil aheil

:octocat:
Teaching how to code for living and how to survive in SkyNet's world
View GitHub Profile
@aheil
aheil / remux.bat
Last active Oct 21, 2020
Remux all MK4 fileks in a folder to MP4
View remux.bat
@echo off
for /f "delims=" %%f in ('dir /b /a-d-h-s') do (
if "%%~xf" == ".mkv" (
if not exist "%cd%\%%~nf.mp4" (
ffmpeg -i "%cd%\%%f" -c copy -map 0 "%cd%\%%~nf.mp4"
)
)
)
@aheil
aheil / main.yml
Created Jan 12, 2020
Ansible role for Raspberry Pi automated wifi rapair installation
View main.yml
# Raspberry Pi (and Linux) Wifi Repair Automation
# Created: 2020/01/09 19:41:05
# Last modified: 2020/01/12 13:44:17
- name: Install prerequisite packages
become: yes
apt:
name: "{{ packages }}"
state: latest
@aheil
aheil / main.yml
Created Jan 7, 2020
exa Ansible role
View main.yml
---
- name: Make sure packages are installed
apt:
name:
- libgit2-27
- cmake
state: present
tags:
- wsl
@aheil
aheil / dist-upgrade.yml
Created Nov 9, 2019
Ansible task to upgrade Windows WSL 1.x Ubunto to latest release
View dist-upgrade.yml
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # #
# # Upgrade Windows WSL 1.x Ubunto to latest release # #
# # # #
# # Upgrade process based on: # #
# # https://medium.com/@rockey5520/wsl-ubuntu-upgrade-to-disco-dingo-19-04-b4abff20452d # #
# # # #
# # Created: 2019/11/01 23:54:53 # #
# # Last modified: # #
# # # #
@aheil
aheil / c4.puml
Last active Jun 21, 2019
Beispiel Level 2 C4 Model vom Live Coding Stream am 22.6.2019
View c4.puml
!includeurl https://raw.githubusercontent.com/RicardoNiepel/C4-PlantUML/release/1-0/C4_Container.puml
Person(user, "Anwender", "Stellt Reisekostenanträge")
Person(consultant, "Sachbearbeiter", "Prüft und genehmigt")
System_Boundary(portal, "Reisekostenportal"){
Container(web_app, "Web Applikation", "Spring Boot, Apache", "Stellt die Busainesslogik für das Reisekostenportal bereit")
@aheil
aheil / rfc.bat
Created Jun 13, 2019
Open RFC in Chrome by typing rfc 1234
View rfc.bat
@echo off
start chrome https://tools.ietf.org/html/rfc%1