- before everything, add
ssh
file in/boot/
- update & upgrade
sudo apt-get update
&sudo apt-get upgrade
- install tmux, ntfs-3g, mediainfo
sudo apt install tmux ntfs-3g mediainfo
- unmount external HDD & mount with ntfs-3g
- download go-omxremote
- use caddy
- install transmission
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
.fb-row { | |
letter-spacing: -0.31em; | |
*letter-spacing: normal; | |
*word-spacing: -0.43em; | |
text-rendering: optimizespeed; | |
} | |
.opera-only :-o-prefocus, | |
.fb-row { | |
word-spacing: -0.43em; |
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
<?php | |
$app_id = "YOUR_APP_ID"; | |
$app_secret = "YOUR_APP_SECRET"; | |
$my_url = "YOUR_CALLBACK_URL"; | |
session_start(); | |
$code = $_REQUEST["code"]; | |
if(empty($code)){ |
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 | |
#parameters: | |
# $1 - mp4 url | |
# $2 - start time in format hh:mm:ss.mic | |
# $3 - duration in seconds | |
# $4 - text for gif overlay | |
# $5 - output file without extension | |
if [ "$#" -ne 5 ] | |
then | |
echo "Usage: gifenc.sh \$1 \$2 \$3 \$4 \$5 |
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
package main | |
import ( | |
"fmt" | |
"log" | |
"os/exec" | |
"path/filepath" | |
"sync" | |
) |