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 | |
TAR="/bin/tar --use-compress-program=\"pigz --best --recursive | pv\" -cf" | |
#echo $TAR | |
#exit | |
eval ${TAR[@]} ./etc.tar.gz /etc | |
eval ${TAR[@]} ./usr.share.tar.gz /usr/share | |
eval ${TAR[@]} ./smooker.config.tar.gz /home/smooker/.config |
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
# General options | |
# sets the verbosity of the program; available values are "warn", "info", "debug". | |
logLevel: info | |
# destinations of log messages; available values are "stdout", "file" and "syslog". | |
logDestinations: [stdout] | |
# if "file" is in logDestinations, this is the file which will receive the logs. | |
logFile: rtsp-simple-server.log | |
# timeout of read operations. | |
readTimeout: 10s | |
# timeout of write operations. |
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
find . -iname "*flac" -type f -exec mpv {} \; |
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 | |
#ffmpeg -re -stream_loop -1 -strict 1 -y -vsync 1 -threads:v 2 -threads:a 8 -filter_threads 2 -thread_queue_size 512 -hwaccel cuda -hwaccel_output_format cuda -f v4l2 -input_format mjpeg -video_size 1920x1080 -framerate 25 -extra_hw_frames 9 -i /dev/video0 -f pulse -i default -bsf:a aac_adtstoasc -c:a aac -ac 2 -b:a 128k -c:v h264_nvenc -b:v 5M -f rtsp -rtsp_transport tcp rtsp://localhost:8554/proxy1 | |
ffmpeg -re -stream_loop -1 -strict 1 -y -vsync 1 -threads:v 2 -threads:a 8 -filter_threads 2 -thread_queue_size 64 -hwaccel cuda -hwaccel_output_format cuda -extra_hw_frames 16 -f v4l2 -input_format mjpeg -video_size 1920x1080 -framerate 25 -extra_hw_frames 16 -i /dev/video0 -f pulse -i default -bsf:a aac_adtstoasc -c:a aac -ac 2 -b:a 128k -c:v h264_nvenc -b:v 5M -f rtsp -rtsp_transport tcp rtsp://localhost:8554/proxy1 |
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
#!/usr/bin/perl | |
#ffmpeg -y -loglevel info -threads 4 -hwaccel nvdec -i $1 -i $2 -i $3 -filter_complex "\ | |
#[0:v]trim=50:,setpts=PTS-STARTPTS[v0]; \ | |
#[1:v]trim=0:,setpts=PTS-STARTPTS[v1]; \ | |
#[2:v]trim=0:,setpts=PTS-STARTPTS[v2]; \ | |
#[v0][v1][v2]concat=n=3:v=1:a=0[out]" \ | |
#-map "[out]" output3.mkv |
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
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c | |
index ee595d1bea0a..76ae39fe4e15 100644 | |
--- a/drivers/usb/serial/cp210x.c | |
+++ b/drivers/usb/serial/cp210x.c | |
@@ -51,6 +51,7 @@ static void cp210x_enable_event_mode(struct usb_serial_port *port); | |
static void cp210x_disable_event_mode(struct usb_serial_port *port); | |
static const struct usb_device_id id_table[] = { | |
+ { USB_DEVICE(0x188a, 0x3001) }, /* smooker Bus 003 Device 035: ID 188a:3001 Silicon Labs EASY800-USB-CAB */ | |
{ USB_DEVICE(0x045B, 0x0053) }, /* Renesas RX610 RX-Stick */ |
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
diff --git a/src/plugins/clangformat/clangformatutils.cpp b/src/plugins/clangformat/clangformatutils.cpp | |
index a249327d0e..1908dca1c3 100644 | |
--- a/src/plugins/clangformat/clangformatutils.cpp | |
+++ b/src/plugins/clangformat/clangformatutils.cpp | |
@@ -120,7 +120,7 @@ static clang::format::FormatStyle qtcStyle() | |
style.ExperimentalAutoDetectBinPacking = false; | |
style.FixNamespaceComments = true; | |
style.ForEachMacros = {"forever", "foreach", "Q_FOREACH", "BOOST_FOREACH"}; | |
- style.IncludeStyle.IncludeCategories = {{"^<Q.*", 200, 200}}; | |
+ style.IncludeStyle.IncludeCategories = {{"^<Q.*", 200}}; |
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
cmake -DBUILD_QT5:BOOL=ON -D -DFREECAD_USE_EXTERNAL_SMESH:BOOL=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_FEM:BOOL=OFF -DPYTHON_EXECUTABLE=/usr/bin/python3.7m -DPYTHON_INCLUDE_DIR=/usr/include/python3.7m -DOpenCASCADE_DIR:PATH=/usr/lib64/opencascade-7.4.0/ros/include/opencascade/ -DOCC_INCLUDE_DIR=/usr/lib64/opencascade-7.4.0/ros/include/opencascade/ -DOCC_LIBRARY_DIR="/usr/lib64/opencascade-7.4.0/ros/lib64/" -DFREECAD_USE_OCC_VARIANT:STRING="Official Version" -DOCCT_CMAKE_FALLBACK:BOOL=OFF -DFREECAD_USE_EXTERNAL_SMESH:BOOL=OFF -DBUILD_ASSEMBLY:BOOL=OFF -DPySide2_DIR:PATH=/home/smooker/src/pyside-setup/pyside3_install/py3.7-qt5.15.2-64bit-release/lib/cmake/PySide2-5.15.2/ -DShiboken2_DIR:PATH=/home/smooker/src/pyside-setup/pyside3_install/py3.7-qt5.15.2-64bit-release/lib/cmake/Shiboken2-5.15.2/ .. -Wno-dev -DBUILD_CLOUD:BOOL=OFF -DBUILD_COMPLETE:BOOL=OFF -DBUILD_DYNAMIC_LINK_PYTHON:BOOL=OFF -DBUILD_FEM_NETGEN:BOOL=OFF -DBUILD_PLOT:BOOL=ON -DBUILD_SANDBOX:BOOL=ON -DBUILD_TEMPLATE:BOOL=ON -DCOIN3D_DOC_PATH:PATH=/usr |
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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use File::Find qw(finddepth); | |
use File::Basename; | |
use sigtrap qw/handler signal_handler normal-signals/; | |
#perl -e 'foreach (keys %SIG) { print "$_\n" }' | |
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
1. origin https://github.com/crosstool-ng/crosstool-ng.git (push) | |
2. origin https://github.com/espressif/crosstool-NG.git (fetch) | |
git checkout esp-2020r3 | |
smooker@sd4 ~/src/espressif/crosstool-NG $ ./bootstrap && ./configure --enable-local --prefix=/home/smooker/src/espressif/root/ | |
INFO :: *** Generating package version descriptions | |
make -j8 |