Skip to content

Instantly share code, notes, and snippets.

@HerrLevin
HerrLevin / ReweBonMailer.sh
Created August 5, 2021 14:10
This script is to semi-automatically re-send all REWE eBons to k118.de.
#!/bin/bash
to="<fillthisout>@reweebon.k118.de"
filetype="*.pdf";
cnt=$(ls -1q $filetype | wc -l)
i=0
for f in $filetype;
do
let i++;
@HerrLevin
HerrLevin / gist:50651c11f39fc817e1e1e29638a25cb9
Last active October 16, 2023 07:02
ASCII Periodic Table
| | | | | | | | | | | | | | | | | | |
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| | | | | | | | | | | | | | | | | | |
-----+-----------------+
@HerrLevin
HerrLevin / Rename3000_v2.0.ps1
Created March 31, 2019 17:09
Powershell-Script for renaming (image)files to creation-date
#
# ===================================================================
# RENAME 3000
# ===================================================================
# Purpose: Rename every file with extension $extension (Line 21) with EXIF-Date or CreationDate
# Append "(1)", "(2)", etc. for already-existent files
# Keeping old filename, if new one is the same
#
# Author: Levin Baumann
# ===================================================================
@HerrLevin
HerrLevin / Parteyampel3000.html
Last active September 16, 2017 14:31
A small sonoff-traffic light controlling javascript. Don't ask. Please. | Sonoff 4CH running Tasmota (https://github.com/arendst/Sonoff-Tasmota) | Demo: https://twitter.com/HerrLevin_/status/909058890364592128
<html>
<head>
<title>Parteyampel3000</title>
<meta name="author" content="HerrLevin_">
</head>
<script>
//Made for Sonoff 4CH running tasmota
//red on CH1
//yellow on CH2
//green on CH3
@HerrLevin
HerrLevin / now.html
Created April 15, 2014 17:59
A simple script to display a specific #NowPlaying-Page of last.fm with a clock. (Mostly not working because of the frame-SecurityError.) //Live preview: http://np.oderso.org/
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style type="text/css">
body {
margin: 0;
}
html, body {