This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.XCompose | |
# This file defines custom Compose sequence for Unicode characters | |
# 2021-10-26 Matthias C. Hormann aka Moonbase59 | |
# Import default rules from the system Compose file: | |
include "%L" | |
# Extra Math symbols | |
<Multi_key> <minus> <period> : "−" U2212 # MINUS SIGN | |
<Multi_key> <period> <slash> <period> : "⁒" U2052 # COMMERCIAL MINUS SIGN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Save as "dboflin", create symlink as "linofdb" | |
# Calculate dB from amplitude, amplitude from dB, using bc. | |
# 2024-05-12 - Moonbase59 | |
# 2024-05-14 - Moonbase59 - add correct rounding | |
# | |
# Note: For AMPLITUDE, the factor is 20, | |
# for POWER/ENERGY, the factor is 10! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# spec - Copyright (c) 2024 Matthias C. Hormann | |
# 2024-03-26 | |
# Show spectrogram for an audio file, using ffmpeg's showspectrumpic | |
# Add this to the "Open with…" context menu of your file manager! | |
# define me | |
me=`basename "$0"` | |
version="0.2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Iframe widget resizing test</title> | |
</head> | |
<body> | |
<h1>Iframe widget resizing test</h1> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Server-sent events demo (Centrifugo)</title> | |
<!-- style the indicators: -isonline, -islive, isrequest, progress bar --> | |
<style> | |
.label { border-radius: 0.1rem; padding: .1rem .2rem; background: #f0f1f4; color: #5b657a; display: inline-block; } | |
.label.label-success { background: #32b643; color: #fff; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# encoding: utf-8 | |
# azuracast_xmltv.py | |
# 2023-10-14 - Moonbase - initial version - QUICK-N-DIRTY! | |
# | |
# Parses station 1’s schedule into XMLTV.xml format, | |
# writes to stdout (or a file). | |
# | |
# Depending on your Python installation, you might need to install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# pl-copyfiles | |
# | |
# Copies media files from M3U playlists to a destination folder, | |
# keeping folder structure and file attributes. | |
# | |
# Can use .m3u, .m3u8 (or actually any text file containing a newline- | |
# separated list of files) with absolute or relative file paths, | |
# both simple (one line per file) and #EXTM3U formats. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ql-playlists | |
# | |
# Generate radio playlists from Quod Libet saved searches. | |
# Quod Libet must be running before starting this script, | |
# and the library should be up-to-date. | |
# The "Include Saved Search" plugin MUST be activated for this to work! | |
# | |
# This may not be the fastest way to do it (~250 songs/s on my system), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Homebrew build logs for open-mpi on Linux Mint 19.2 Tina | |
Build date: 2019-08-11 07:05:50 |