Follow this guide to generate an SSH private/public key pair, retrieve it, or send it to a client machine.
# 1) Generate an SSH Key
ssh-keygen -t rsa
<!-- Put in ./Library/Application Support/Plex Media Server/Profiles/Android-SHIELD Android TV.xml --> | |
<!-- Author: Donald Webster [email protected] --> | |
<?xml version="1.0" encoding="utf-8"?> | |
<Client name="SHIELD Android TV"> | |
<Identification> | |
<Header name="User-Agent" substring="SHIELD Android TV" /> | |
</Identification> | |
<TranscodeTargets> | |
<VideoProfile container="mkv" codec="h264" audioCodec="aac" context="streaming" /> | |
<MusicProfile container="flac" codec="flac" id="StereoMusicTranscodeProfile" /> |
frontend fe_ssh | |
bind *:2222 ssl crt /etc/haproxy/certs/ssl.pem | |
mode tcp | |
log-format "%ci:%cp [%t] %ft %b/%s %Tw/%Tc/%Tt %B %ts %ac/%fc/%bc/%sc/%rc %sq/%bq dst:%[var(sess.dst)] " | |
tcp-request content set-var(sess.dst) ssl_fc_sni | |
use_backend %[ssl_fc_sni] |
<!-- Modified from https://gist.github.com/NicholasKimuli/2b167ca1c6ce03cb860e3f89d17db1eb | |
Bonaire, Saba and Sint Eustatius may need a future flag update --> | |
<select class="input-block-level" id="countryCode" name="countryCode"> | |
<option data-countryCode="AF" value="93">🇦🇫 Afghanistan (+93)</option> | |
<option data-countryCode="AL" value="355">🇦🇽 Albania (+355)</option> | |
<option data-countryCode="DZ" value="213">🇩🇿 Algeria (+213)</option> | |
<option data-countryCode="AD" value="376">🇦🇩 Andorra (+376)</option> | |
<option data-countryCode="AO" value="244">🇦🇴 Angola (+244)</option> | |
<option data-countryCode="AI" value="1264">🇦🇮 Anguilla (+1264)</option> | |
<option data-countryCode="AG" value="1268">🇦🇬 Antigua & Barbuda (+1268)</option> |
@font-face { | |
font-family: 'Netflix Sans'; | |
font-weight: 100; | |
font-display: optional; | |
src: url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Th.woff2) format('woff2'),url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Th.woff) format('woff') | |
} | |
@font-face { | |
font-family: 'Netflix Sans'; |
<Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns"> | |
<TypePattern DisplayName="Non-reorderable types"> | |
<TypePattern.Match> | |
<Or> | |
<And> | |
<Kind Is="Interface" /> | |
<Or> | |
<HasAttribute Name="System.Runtime.InteropServices.InterfaceTypeAttribute" /> | |
<HasAttribute Name="System.Runtime.InteropServices.ComImport" /> | |
</Or> |
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 |
#!/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 |
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 |
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: >-