Skip to content

Instantly share code, notes, and snippets.

View rrmichel's full-sized avatar

Michel rrmichel

View GitHub Profile
@rrmichel
rrmichel / stock.json
Last active April 10, 2025 12:37
Stock Ticker Data
[
"DE0007030009",
"US02209S1033",
"US88160R1014",
"SE0013647385",
"US67066G1040"
]
@rrmichel
rrmichel / icsview.py
Created November 20, 2024 08:04
mutt ics viewer
#!/bin/env python
import icalendar
import argparse
import pathlib
from colorama import init
from termcolor import colored
from pathlib import Path
@echo off
Title Converter Office 2016 Retail to Volume
echo Press Enter to start VL-Conversion...
echo.
pause
echo.
for /f "tokens=6 delims=[]. " %%G in ('ver') do set win=%%G
@rrmichel
rrmichel / delete-dockerhub-images.sh
Created June 21, 2019 07:50 — forked from jriguera/delete-dockerhub-images.sh
Delete Docker images on DockerHub
#!/bin/bash
# Based on kizbitz/dockerhub-v2-api-organization.sh at https://gist.github.com/kizbitz/175be06d0fbbb39bc9bfa6c0cb0d4721
# Example for the Docker Hub V2 API
# Returns all images and tags associated with a Docker Hub organization account.
# Requires 'jq': https://stedolan.github.io/jq/
# set username, password, and organization
UNAME=""
UPASS=""
@rrmichel
rrmichel / flac2mp3
Created December 23, 2018 17:22
[macos] [brew] howto convert flac to mp3
#!/bin/bash
for f in "$@"; do
[[ "$f" != *.flac ]] && continue
album="$(metaflac --show-tag=album "$f" | sed 's/[^=]*=//')"
artist="$(metaflac --show-tag=artist "$f" | sed 's/[^=]*=//')"
date="$(metaflac --show-tag=date "$f" | sed 's/[^=]*=//')"
title="$(metaflac --show-tag=title "$f" | sed 's/[^=]*=//')"
year="$(metaflac --show-tag=date "$f" | sed 's/[^=]*=//')"
genre="$(metaflac --show-tag=genre "$f" | sed 's/[^=]*=//')"