Skip to content

Instantly share code, notes, and snippets.

@Clemv95
Clemv95 / ygg-api-download.yml
Last active November 17, 2025 19:01 — forked from LimeDrive/ygg-api.yml
Indexeur ygg-api pour jackett / prowlarr
---
id: yggapi
name: YggAPI
description: Indexeur non-officiel pour YggTorrent (YGG) - MOVIES / TV
language: fr-FR
type: private
encoding: UTF-8
testlinktorrent: false
links:
- https://yggapi.eu/
@1player
1player / bazarr.docker-compose.yml
Last active January 17, 2025 15:40
Poor man's media centre
# Bazarr downloads subtitles
version: "3.4"
services:
bazarr:
image: linuxserver/bazarr:1.0.5-development
container_name: bazarr
restart: unless-stopped
environment:
- TZ=Europe/London
@mcfrojd
mcfrojd / Shield_Intents.MD
Last active November 2, 2025 23:02
Working INTENTS to use with Community Hass.io Add-ons: Android Debug Bridge for your Nvidia Shield TV

Latest Update 2021-03-06 : New image showing the new "Services" in Home Assistant and got some tips from the comments below.

Credits and thanks: Home Assistant Forum users & Github users: @ocso, @wiphye, @teachingbirds, @tboyce1, @simbesh, @JeffLIrion @ff12 @rebmemer @siaox @DiederikvandenB @Thebuz @clapbr @Finsterclown


Start apps on your android device (in the examples below, my Nvidia Shield TV) from Home Assistant

alt text

Starts Youtube App

entity_id: media_player.shield
command: >-
@sampi
sampi / pmp-rpi-updater.sh
Last active March 2, 2022 07:56
Plex Media Player on Raspberry Pi, Nightlies Auto-Updater script
#!/usr/bin/env sh
PMP_HOST='192.168.86.117';
PMP_USER='root';
PMP_PASS='plex';
LATEST_URL='https://nightlies.plex.tv/public-test/plexmediaplayer/embedded-testing/latest-full/';
PMP_UPDATE_FOLDER='/storage/.update/'
CURRENT_FILE='current_pmp.txt';
@spuniun
spuniun / A_Facebook_Group_Notification_Script_for_Taultulli.md
Last active July 10, 2020 16:25
Tautulli notification script for Facebook Groups

Since GraphAPI was revoked, no apps are getting approved and posting via email was shutdown, I pulled together a Tautulli notification python script for Facebook Groups using HTTP POST.

@shikendon
shikendon / uptimerobot_discord.js
Last active April 21, 2021 11:52
Uptime Robot Discord integrations
// Alert Contact Type: Web-Hooks
// URL to Notify: https://discordapp.com/api/webhooks/{WEB_HOOK_ID}/{TOKEN}?
// POST Value (JSON Format):
{
"content": "Monitor is *alertTypeFriendlyName*: *monitorFriendlyName* ( *monitorURL* )\n```*alertDetails*```"
}
@quelleck
quelleck / rpi-hdmi.sh
Last active January 13, 2024 07:45 — forked from AGWA/rpi-hdmi.sh
Enable and disable the HDMI port on the Raspberry Pi: `rpi-hdmi on` to turn on, `rpi-hdmi off` to turn off.
#!/bin/sh
# Enable and disable HDMI output on the Raspberry Pi
is_off ()
{
vcgencmd display_power | grep "display_power=0" >/dev/null
}
case $1 in
@notEvil
notEvil / mb.vm.upgrade.sh
Created August 26, 2016 09:13
Musicbrainz VM upgrade to 23
# With the following commands I upgraded the current VM (2015-08-06) so it would import the current db dumps (Schema 23).
# Please follow the script step by step. It is not an automated script but rather a sequence of commands and instructions.
# You certainly have to adjust the postgres install section to your distro, the git tag to check out, and the import section at the end.
# https://github.com/metabrainz/musicbrainz-server/blob/master/INSTALL.md
cd /home/musicbrainz/musicbrainz-server
## update postgresql
@russellaugust
russellaugust / PlexVideoSnippets.py
Last active December 18, 2017 14:25
Script that will grab a one minute clip from the current playhead of Plex. The idea is if you're watching Plex and see something funny/awesome/weird, you can click a button and grab that moment.
# Meant to allow you to grab and save 1 minute videos at any given moment while watching something on Plex.
# This also saves it to Dropbox. It needs to be run locally.
# This has a few dependencies. Needs moviepy, ffmpeg, anddddddd I think that's it.
import os
import urllib
import urllib2
import xml.etree.ElementTree as etree
from moviepy.editor import *
@lokhman
lokhman / ubuntu-hardening.md
Last active October 24, 2025 16:14
List of things for hardening Ubuntu

WARNING

May contain out of date information. Check the comments below!

The list of actions listed below was taken mostly from Book Of Zeus with minor modifications and did the job well for Ubuntu version, which was available at that moment (May 2016). This gist was created for internal use and was never meant to be discovered by the web, although Google managed to find and index this page, which was a great surprise for me. Please check the original source for the updated information (links are provided in most of the sections), and read the comments below: they provide more details about the usage experience.

System Updates

http://bookofzeus.com/harden-ubuntu/initial-setup/system-updates/

Keeping the system updated is vital before starting anything on your system. This will prevent people to use known vulnerabilities to enter in your system.