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
smooker@shd2 ~/src/FreeCAD/cMake $ cat FindOpenCasCade.cmake | |
# Try to find OCE / OCC | |
# Once done this will define | |
# | |
# OCC_FOUND - system has OCC - OpenCASCADE | |
# OCC_INCLUDE_DIR - where the OCC include directory can be found | |
# OCC_LIBRARY_DIR - where the OCC library directory can be found | |
# OCC_LIBRARIES - Link this to use OCC | |
# OCC_OCAF_LIBRARIES - Link this to use OCC OCAF framework |
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 | |
dd if=EVGA.RTX3070.8192.200916.rom of=EVGA.RTX3070.8192.200916.rom.stripped bs=1 skip=37376 |
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
smooker@shd2 ~/src/stm32/libopencm3 $ cat ../libopencm3_rx_idle.diff | |
diff --git a/include/libopencm3/stm32/common/usart_common_all.h b/include/libopencm3/stm32/common/usart_common_all.h | |
index a39d6833..a3626559 100644 | |
--- a/include/libopencm3/stm32/common/usart_common_all.h | |
+++ b/include/libopencm3/stm32/common/usart_common_all.h | |
@@ -123,6 +123,7 @@ void usart_disable_tx_interrupt(uint32_t usart); | |
void usart_enable_error_interrupt(uint32_t usart); | |
void usart_disable_error_interrupt(uint32_t usart); | |
bool usart_get_flag(uint32_t usart, uint32_t flag); | |
+void usart_enable_rx_idle_interrupt(uint32_t usart); |
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 |
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
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
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
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
#!/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
#!/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 |
OlderNewer