Skip to content

Instantly share code, notes, and snippets.

View trisweb's full-sized avatar
🕶️

Tristan Harward trisweb

🕶️
View GitHub Profile
@trisweb
trisweb / gifgen
Last active September 11, 2019 23:54
Gifgen: ffmpeg gif generator script
#!/bin/bash
###############################################################################
# gifgen: a simple script to generate gifs
###############################################################################
# Usage:
# > gifgen [input.mov] [output.gif]
#
# [output.gif] is optional; if not given, filename will be auto-generated.
#
@trisweb
trisweb / lastfm_nowplaying.css
Last active April 11, 2022 17:31
Last.fm Now Playing Widget. Just add to a <script> and <style> tag on your site, or load from files, and call getNowPlaying() on page load.
.now-playing {
position: absolute;
right: 20px;
top: calc(50vh - (min(20vw, calc(100vh - 30px)) / 2, 400px));
z-index: 1001;
}
a.now-playing {
opacity: 1;
border: 0;
@trisweb
trisweb / compose.openwakeword.yml
Created October 22, 2023 02:45
Home Assistant Docker Compose Configurations
# Wyoming OpenWakeWord
version: '3.3'
services:
wyoming-openwakeword:
restart: unless-stopped
volumes:
- './data:/data'
ports:
- '10400:10400'
image: rhasspy/wyoming-openwakeword