5
btfs.sh
5
btfs.sh
@@ -36,8 +36,9 @@ movie=$(echo $movie|xargs)
|
||||
|
||||
printf "Playing: %s\n" "$movie"
|
||||
#smplayer -fullscreen "$movie" 1>/dev/null
|
||||
#mpv --fs --volume=100 "$movie" # 1>/dev/null
|
||||
vlc "$movie" 1>/dev/null
|
||||
mpv --fs --volume=100 "$movie" # 1>/dev/null
|
||||
#vlc "$movie" 1>/dev/null
|
||||
#kodi "$movie" 1>/dev/null
|
||||
printf "Unmounting: %s\n" "$mountpoint"
|
||||
fusermount -u "$mountpoint"
|
||||
printf "Removing dir: %s\n" "$mountpoint"
|
||||
|
||||
@@ -56,7 +56,7 @@ class MyHTMLParser(HTMLParser):
|
||||
self.a_href = False
|
||||
def handle_data(self, data):
|
||||
if self.tbody and self.div and self.a_href:
|
||||
print('\t| '.join(self.timestamps) + '\t| ' + self.get_category() + '| ' + data.strip())
|
||||
print(' \t| '.join(self.timestamps) + '\t| ' + self.get_category() + '| ' + data.strip())
|
||||
self.a_href = False
|
||||
self.timestamps = []
|
||||
elif self.timestamp:
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
#checkpatch --no-tree -f
|
||||
checkpatch="/usr/lib/modules/$(uname -r)/build/scripts/checkpatch.pl"
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
project_dir="$PWD"
|
||||
elif [ -d "$1" ]; then
|
||||
project_dir="$1"
|
||||
else
|
||||
source_file="$1"
|
||||
fi
|
||||
|
||||
if [ -z "$project_dir" ]; then
|
||||
"${checkpatch}" --no-tree -f "${source_file}"
|
||||
else
|
||||
find "${project_dir}" -regex '.*\.\(c\|h\)' -exec "${checkpatch}" --no-tree -f '{}' +
|
||||
fi
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Capture screen script
|
||||
prefix=`date +"%G.%m.%d_%H.%M.%S"`
|
||||
|
||||
ffmpeg -y -f x11grab \
|
||||
-video_size 1920x1080 \
|
||||
-r 30 \
|
||||
-i $DISPLAY \
|
||||
-f pulse \
|
||||
-ac 2 \
|
||||
-i default \
|
||||
-c:v libx264 \
|
||||
-crf 0 \
|
||||
-pix_fmt yuv420p \
|
||||
-preset ultrafast \
|
||||
-threads 0 \
|
||||
$prefix.mp4
|
||||
# -f alsa \
|
||||
# -i hw:2,1 \
|
||||
#-an \
|
||||
Reference in New Issue
Block a user