From ff76b7322b177e995ef5947fd6f330b1ec27f145 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 15 Jul 2017 08:19:35 +0200 Subject: [PATCH 01/13] youtube-fix --- youtube.sh | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/youtube.sh b/youtube.sh index 4418270..f27ced2 100755 --- a/youtube.sh +++ b/youtube.sh @@ -9,7 +9,14 @@ read -p "Wie heißt das Stichwort? : " wort else read -p "Wie ist die URL? : " url fi -read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/audio/video/BEST] : " format + +read -p "Vollbild? : [Y/n] " vollbild +if [ "$vollbild" != "n" ] +then +voll="-fs" +fi + +read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/audio/video/BEST/60k] : " format if [ "$format" == "opus" ] then @@ -20,11 +27,14 @@ then elif [ "$format" == "video" ] then format="-f 43" +elif [ "$format" == "60k" ] +then + format="-f 303+251" fi if [ "$suche" == "suche" ] then -youtube-dl "ytsearch:$wort" -q $format -o- | mplayer -fs -cache 8192 - +youtube-dl "ytsearch:$wort" -q $format -o- | mplayer $voll -cache 8192 - else -youtube-dl -q $format -o- $url | mplayer -fs -cache 8192 - +youtube-dl -q $format -o- $url | mplayer $voll -cache 8192 - fi From f8709c792be96855253e2437fab51ef8b448b36d Mon Sep 17 00:00:00 2001 From: root Date: Wed, 19 Jul 2017 00:48:44 +0200 Subject: [PATCH 02/13] wifi --- wifi.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 wifi.txt diff --git a/wifi.txt b/wifi.txt new file mode 100644 index 0000000..4cc095c --- /dev/null +++ b/wifi.txt @@ -0,0 +1,5 @@ + +# WLAN aktivieren auf 100% + +sudo modprobe -r rtl8723be +sudo modprobe rtl8723be ant_sel=1 fwlps=N From 283e8f3d8b878a2cd37220282f7690830cfdd8ab Mon Sep 17 00:00:00 2001 From: root Date: Wed, 19 Jul 2017 00:48:58 +0200 Subject: [PATCH 03/13] wifi --- wifi.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 wifi.txt diff --git a/wifi.txt b/wifi.txt old mode 100644 new mode 100755 From 6245ffe37a9f1f4a9e4f9c949e9399804d062e27 Mon Sep 17 00:00:00 2001 From: * Date: Fri, 21 Jul 2017 02:40:41 +0200 Subject: [PATCH 04/13] fix --- befehle.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/befehle.txt b/befehle.txt index aea47a9..3e6801e 100755 --- a/befehle.txt +++ b/befehle.txt @@ -1,3 +1,4 @@ busybox mount -o remount rw /system/ BEFEHL=ffmpeg -ln -s /data/data/com.termux/files/usr/bin/$BEFEHL /system/xbin/ \ No newline at end of file +ln -s /data/data/com.termux/files/usr/bin/$BEFEHL /system/xbin/ +mount -o rw,remount,rw /system From 6c7e005da798bbb7af83645b67d2d172ea02a73c Mon Sep 17 00:00:00 2001 From: * <> Date: Mon, 24 Jul 2017 01:11:28 +0200 Subject: [PATCH 05/13] fix --- befehle.txt | 4 ++-- sgit | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100755 sgit diff --git a/befehle.txt b/befehle.txt index 3e6801e..20cc4f7 100755 --- a/befehle.txt +++ b/befehle.txt @@ -1,4 +1,4 @@ -busybox mount -o remount rw /system/ +busybox mount -o rw,remount /system +mount -o rw,remount /system BEFEHL=ffmpeg ln -s /data/data/com.termux/files/usr/bin/$BEFEHL /system/xbin/ -mount -o rw,remount,rw /system diff --git a/sgit b/sgit new file mode 100755 index 0000000..3be9f79 --- /dev/null +++ b/sgit @@ -0,0 +1,10 @@ +#!/bin/bash + +set -ex + +[ -n $"{1}" ] && git config --global user.email "${1}" +git add --all +git commit --all +git push +git show +git status From 6fc6666da53c72f43a2441ec78afaf6fad607b23 Mon Sep 17 00:00:00 2001 From: * <> Date: Mon, 24 Jul 2017 01:30:14 +0200 Subject: [PATCH 06/13] fix --- sgit | 2 +- youtube-dl-android.sh | 4 ++-- youtube-dl.sh | 5 ++++- youtube.sh | 4 ++-- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/sgit b/sgit index 3be9f79..0d16589 100755 --- a/sgit +++ b/sgit @@ -4,7 +4,7 @@ set -ex [ -n $"{1}" ] && git config --global user.email "${1}" git add --all -git commit --all +git commit --all -m fix git push git show git status diff --git a/youtube-dl-android.sh b/youtube-dl-android.sh index f09954d..f7b0502 100755 --- a/youtube-dl-android.sh +++ b/youtube-dl-android.sh @@ -4,7 +4,7 @@ set -ex read -p "Wie ist die URL? : " url read -p "Wo sollen die Dateien heruntergeladen werden? : " pfad -read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/audio/video/BEST/60k] : " format +read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/audio/video/BEST/4k] : " format if [ "$format" == "opus" ] then @@ -15,7 +15,7 @@ then elif [ "$format" == "video" ] then format="-f 43" -elif [ "$format" == "60k" ] +elif [ "$format" == "4k" ] then format="-f 303+251" fi diff --git a/youtube-dl.sh b/youtube-dl.sh index c9cef45..6209831 100755 --- a/youtube-dl.sh +++ b/youtube-dl.sh @@ -4,7 +4,7 @@ set -ex read -p "Wie ist die URL? : " url read -p "Wo sollen die Dateien heruntergeladen werden? : " pfad -read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/audio/video/BEST] : " format +read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/audio/video/BEST/4k] : " format if [ "$format" == "opus" ] then @@ -15,6 +15,9 @@ then elif [ "$format" == "video" ] then format="-f 43" +elif [ "$format" == "4k" ] +then + format="-f 303+251" fi mkdir -p $pfad diff --git a/youtube.sh b/youtube.sh index f27ced2..2bd3d4d 100755 --- a/youtube.sh +++ b/youtube.sh @@ -16,7 +16,7 @@ then voll="-fs" fi -read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/audio/video/BEST/60k] : " format +read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/audio/video/BEST/4k] : " format if [ "$format" == "opus" ] then @@ -27,7 +27,7 @@ then elif [ "$format" == "video" ] then format="-f 43" -elif [ "$format" == "60k" ] +elif [ "$format" == "4k" ] then format="-f 303+251" fi From a5b4a8162df3e80726e935727007085e3ad396c8 Mon Sep 17 00:00:00 2001 From: * <> Date: Mon, 24 Jul 2017 02:07:42 +0200 Subject: [PATCH 07/13] fix --- youtube-dl.sh | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/youtube-dl.sh b/youtube-dl.sh index 6209831..9073140 100755 --- a/youtube-dl.sh +++ b/youtube-dl.sh @@ -2,9 +2,20 @@ set -ex -read -p "Wie ist die URL? : " url -read -p "Wo sollen die Dateien heruntergeladen werden? : " pfad -read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/audio/video/BEST/4k] : " format +if [ "$1" == "--help" ] || [[ -z "$1" ]] +then +echo "bash ./youtube-dl.sh URL PFAD FORMAT" +echo "Formate: opus/audio/video/BEST/4k" +exit 0 +fi + +url="$1" +pfad="$2" +format="$3" + +#read -p "Wie ist die URL? : " url +#read -p "Wo sollen die Dateien heruntergeladen werden? : " pfad +#read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/audio/video/BEST/4k] : " format if [ "$format" == "opus" ] then @@ -23,4 +34,4 @@ fi mkdir -p $pfad cd $pfad -youtube-dl -i $format $url +youtube-dl -i --socket-timeout 10000 $format $url From daa002d9fed7f75ed1e47d6fd706868abf3363d5 Mon Sep 17 00:00:00 2001 From: root <> Date: Mon, 24 Jul 2017 17:49:15 +0200 Subject: [PATCH 08/13] fix --- x11vnc.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 x11vnc.service diff --git a/x11vnc.service b/x11vnc.service new file mode 100644 index 0000000..aa93940 --- /dev/null +++ b/x11vnc.service @@ -0,0 +1,10 @@ +[Unit] +Description=Start X11VNC +After=multi-user.target + +[Service] +Type=simple +ExecStart=/usr/bin/x11vnc -display :0 -auth guess -forever -loop -noxdamage -repeat -rfbauth /etc/x11vnc.pass -rfbport 5900 -shared + +[Install] +WantedBy=multi-user.target From 80a514d3429fe57474c6bca56f556c23d6d2a69a Mon Sep 17 00:00:00 2001 From: root <> Date: Mon, 24 Jul 2017 17:52:29 +0200 Subject: [PATCH 09/13] fix --- x11vnc.desktop | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 x11vnc.desktop diff --git a/x11vnc.desktop b/x11vnc.desktop new file mode 100644 index 0000000..a0dbdbc --- /dev/null +++ b/x11vnc.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Type=Application +Name=X11VNC +Exec=x11vnc -usepw -forever -display :0 +StartupNotify=false From 9af66ff50f18b4ea68564fa6d73cdbefdd11fcbf Mon Sep 17 00:00:00 2001 From: root Date: Mon, 24 Jul 2017 21:14:50 +0200 Subject: [PATCH 10/13] fix --- sgit | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/sgit b/sgit index 0d16589..b963512 100755 --- a/sgit +++ b/sgit @@ -2,9 +2,18 @@ set -ex -[ -n $"{1}" ] && git config --global user.email "${1}" +if [[ "--help" == "${1}" ]]; then +echo "bash ./sgit user.email commit" +fi + +if [[ -z "${2}" ]]; then +echo "Bitte commit angeben!!!" +exit 1 +fi + +git config --global user.email "${1}" git add --all -git commit --all -m fix +git commit --all -m "${2}" git push git show git status From dad1aada8a1b62a0db23557042a465c75890dc38 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 24 Jul 2017 21:26:23 +0200 Subject: [PATCH 11/13] fix --- sgit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sgit b/sgit index b963512..c44d6d0 100755 --- a/sgit +++ b/sgit @@ -7,7 +7,7 @@ echo "bash ./sgit user.email commit" fi if [[ -z "${2}" ]]; then -echo "Bitte commit angeben!!!" +echo "Bitte email und commit angeben!!!" exit 1 fi From 1ae7d94c20d6ca3dd5d4b268a8d0d4455bea839e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 25 Jul 2017 20:36:37 +0200 Subject: [PATCH 12/13] fix --- sgit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sgit b/sgit index c44d6d0..f85189a 100755 --- a/sgit +++ b/sgit @@ -14,6 +14,6 @@ fi git config --global user.email "${1}" git add --all git commit --all -m "${2}" -git push git show +git push git status From 442f32e44404d9e1cf55bbf685a936971da46daa Mon Sep 17 00:00:00 2001 From: * Date: Thu, 27 Jul 2017 02:31:57 +0200 Subject: [PATCH 13/13] fix --- sgit | 1 + 1 file changed, 1 insertion(+) diff --git a/sgit b/sgit index f85189a..3da722f 100755 --- a/sgit +++ b/sgit @@ -12,6 +12,7 @@ exit 1 fi git config --global user.email "${1}" +git status git add --all git commit --all -m "${2}" git show