Skip to content

Instantly share code, notes, and snippets.

@marco79cgn
marco79cgn / top_500_albums_widget.js
Last active February 21, 2024 03:26
A scriptable widget that shows a random Top 500 album and opens it in Spotify
// insert your Spotify client id and secret here
let clientId = "xxx"
let clientSecret = "xxx"
// use your spotify country iso code to optimize search results
let spotifyCountry = "DE"
// optional: the ip of your node-sonos-http-api and room name; use "sonos" as parameter in your widget settings to activate it
let sonosUrl = "http://192.168.178.10:5005/Kitchen"
@todmephis
todmephis / brew-update-notifier.sh
Last active March 22, 2024 17:21 — forked from streeter/brew-update-notifier.sh
Homebrew Package Update Notifications on macOS Mojave
#!/bin/bash
#
# Notify of Homebrew updates via Notification Center on macOS
# Forked from: https://gist.github.com/streeter/3254906
# https://github.com/julienXX/terminal-notifier
# https://github.com/vjeantet/alerter
# Author: Ivan Sanchez https://todmephis.cf/
# Twetter: https://twitter.com/todmephis
# Requires: terminal-notifier, alerter. Install with:
# brew install terminal-notifier
@aurorabbit
aurorabbit / progress.10s.sh
Last active August 5, 2020 00:16
Bitbar timely progress bar
#!/bin/sh
# add this to your bitbar directory
# don't forget to chmod +x
# width and characters for the progress bars
# feel free to configure these
width=30
fill_char="█"
empty_char="▁"
@dennispipper
dennispipper / HTML5 Template
Last active August 16, 2016 14:37
A simple HTML 5 tempplate
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Edited August 16, 2016 by Dennis Pipper, pipperd@lcc.edu -->
<meta charset="utf-8" />
<title>Good Page Title Goes Here</title>
</head>
<body>