This file contains 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
// ==UserScript== | |
// @name youtube-cobalt-tools | |
// @version 1.00 | |
// @description A script that adds a button to YouTube which opens the video link in cobalt-tools (for downloading or extracting audio) | |
// @match *://*.youtube.com/* | |
// @exclude *://accounts.youtube.com/* | |
// @exclude *://www.youtube.com/live_chat_replay* | |
// @exclude *://www.youtube.com/persist_identity* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=YouTube.com | |
// @grant none |
This file contains 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 | |
docker stop wg-easy | |
docker rm wg-easy | |
docker pull ghcr.io/wg-easy/wg-easy | |
/home/pi/wg-easy/wg-easy-start.sh |
This file contains 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 | |
FILE=ard-plus-token | |
# parse input parameter | |
ardPlusUrl=$1 | |
username=$2 | |
password=$3 | |
skip=$4 | |
movieId='' | |
token='' | |
showPath=$(echo $ardPlusUrl | rev | cut -d "/" -f1 | rev) |
This file contains 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
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: orange; icon-glyph: volume-up; | |
// name: radioeins-widget.js | |
// description: A scriptable widget which displays the program and recent songs of radioeins vom rbb | |
// author: Marco Dengel | |
// email: [email protected] | |
// Insert your Spotify credentials here! |
This file contains 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
const canvSize = 200; | |
const canvTextSize = 80; | |
const canvas = new DrawContext(); | |
canvas.opaque = false; | |
const battCircleRemainColor = new Color("#32CD33"); // Charge circle remaining color | |
const battCircleDepletedColor = new Color("#fff"); | |
const battCircleBGColor = new Color('#fff'); // Widget background color | |
const battCircleTextColor = new Color('#000'); // Widget text color | |
const labelColor = new Color('#768178') | |
const textColor = new Color('#34443c') |
This file contains 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
/// Widget for Solar Manager Data | |
// read username:password from widget parameter, not hardcoded in the script | |
const token = args.widgetParameter | |
let smID = "SolarManagerID" | |
const gatewayData = await fetchGatewayProductionAndConsumption() | |
// Erstellen Sie das Widget | |
let widget = new ListWidget(); |
This file contains 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
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: blue; icon-glyph: car-alt; | |
let productId = 'HC1H2D3B61EU011295' // Produktnummer des gewünschten Fahrzeugs | |
let param = args.widgetParameter | |
if (param != null && param.length > 0) { | |
productId = param | |
} | |
const carImageFileName = productId + ".png" |
This file contains 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 | |
partNo=$1 | |
storeId=$2 | |
notifyUrl=https://ntfy.sh/$3 | |
FILE=$4/${partNo/\//-}-$storeId | |
if [ ! -f "$FILE" ]; then | |
echo "$FILE does not exist." | |
echo -n "1" > $FILE | |
fi |
This file contains 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
// Once you tap the widget, it plays her new single "Easy on me" on YouTube (default). | |
// You can configure "apple" or "spotify" as widget parameter | |
// to open the song in the corresponding app | |
const PARAM = args.widgetParameter | |
const DATE = "2021-11-19T08:00:00Z" | |
const BG_IMG_URL = "https://i.imgur.com/CycspeY.jpg" | |
const YOUTUBE_LINK = "https://www.youtube.com/watch?v=U3ASj1L6_sY" | |
const SPOTIFY_SONG_LINK = "https://open.spotify.com/track/0gplL1WMoJ6iYaPgMCL0gX?si=ea4b8de949d042dc" | |
const APPLE_ALBUM_LINK = "https://music.apple.com/de/album/30/1590035691" |
NewerOlder