The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Revised by Bytes Unlimited : Feb 3rd 2020
#! /bin/bash | |
# | |
# Diffusion youtube avec ffmpeg | |
# Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée. | |
VBR="2500k" # Bitrate de la vidéo en sortie | |
FPS="30" # FPS de la vidéo en sortie | |
QUAL="medium" # Preset de qualité FFMPEG | |
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube |
#!/bin/bash | |
dir=$1 | |
[[ -z dir ]] && echo "Missing bins dir!" | |
fastboot flash recovery {dir}/recovery.img | |
fastboot flash boot {dir}/boot.img | |
fastboot flash system {dir}/system.img | |
fastboot flash userdata {dir}/userdata.img |
obs --startrecording --startstreaming | |
# For OBS Studio, | |
# --collection [scene collection name], | |
# --profile [profile name], | |
# --scene [scene name], | |
# --startstreaming, | |
# --startrecording. | |
# https://obsproject.com/forum/threads/obs-studio-command-line-parameters.56185/ |
""" | |
Create a Plex Playlist with what was aired on this today's month-day, sort by oldest first. | |
If Playlist from yesterday exists delete and create today's. | |
If today's Playlist exists exit. | |
""" | |
import operator, time | |
from plexapi.server import PlexServer | |
import requests |
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
Credits and thanks: Home Assistant Forum users & Github users: @ocso, @wiphye, @teachingbirds, @tboyce1, @simbesh, @JeffLIrion @ff12 @rebmemer @siaox @DiederikvandenB @Thebuz @clapbr @Finsterclown
Starts Youtube App
entity_id: media_player.shield
command: >-
import collections | |
import math | |
import os | |
import cv2 | |
import numpy as np | |
import time | |
MAX_LINES = 4000 | |
N_PINS = 36*8 | |
MIN_LOOP = 20 # To avoid getting stuck in a loop |
#!/usr/bin/env python3 | |
''' | |
calisuck: index, filter-out smartly and download ebooks from Calibre open directories | |
Installation: | |
You need python 3.5 installed | |
Download the file as a zip and unzip-it and get into the dir |
curl -X POST \ | |
-H 'X-Plex-Version: 0.3.0' \ | |
-H 'X-Plex-Product: YOUR PRODUCT NAME' \ | |
-H 'X-Plex-Client-Identifier: YOUR-PRODUCT-ID' \ | |
-H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \ | |
--data-urlencode 'user[password]=PLEX_PASSWORD' \ | |
--data-urlencode 'user[login]=PLEX_USERNAME' \ | |
https://plex.tv/users/sign_in.json |