This file contains hidden or 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
| echo 1 > /sys/kernel/debug/tracing/events/spi/enable | |
| echo 1 > /sys/kernel/debug/tracing/events/gpio/enable | |
| echo "spi:*" > /sys/kernel/debug/tracing/set_event | |
| echo "gpio:*" >> /sys/kernel/debug/tracing/set_event | |
| echo "irq:irq_handler_entry" >> /sys/kernel/debug/tracing/set_event |
This file contains hidden or 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
| Pipeline to send video (simulating SRC) get the data from video0 | |
| gst-launch-1.0 v4l2src device=/dev/video0 \ | |
| ! decodebin \ | |
| ! x264enc \ | |
| ! rtph264pay \ | |
| ! udpsink host=localhost port=5000 | |
| // if you are running it inside a docker container be aware of the host ip in udpsink | |
| gst-launch-1.0 v4l2src device=/dev/video0 \ | |
| ! decodebin \ |
This file contains hidden or 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
| printf "\e[?1007h" | |
| add to .bashrc |
This file contains hidden or 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
| adb shell am start -n com.android.dialer/.DialtactsActivity | |
| *#*#64663#*#* | |
| adb shell pm list packages | |
| dumpsys package | grep Cit | |
| adb shell am start -n com.miui.cit/.CitLauncherActivity | |
| adb shell pm clear com.android.settings |
This file contains hidden or 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
| cat /etc/udev/rules.d/50-ttyusb.rules | |
| SUBSYSTEM=="tty",MODE="0666",GROUP="dialout" |
This file contains hidden or 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
| rem run under Vivado 2021.2 Tcl Shell | |
| rem or https://wiki.analog.com/resources/fpga/docs/build | |
| rem "ghdl\projects\scripts\adi_project_xilinx.tcl" for version no | |
| rem and "ghdl\library\scripts\adi_ip_xilinx.tcl" | |
| rem cd c:/github/hdl/projects/pluto | |
| rem source ../scripts/adi_make.tcl |
This file contains hidden or 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
| options: | |
| parameters: | |
| author: '' | |
| category: '[GRC Hier Blocks]' | |
| cmake_opt: '' | |
| comment: '' | |
| copyright: '' | |
| description: '' | |
| gen_cmake: 'On' | |
| gen_linking: dynamic |
This file contains hidden or 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
| open -a simulator | |
| xcrun simctl list | |
| # get the guid thats booted | |
| xcrun simctl install GUID ~/Downloads/ios/MissionPlanner.IOS.app | |
This file contains hidden or 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
| fetch("https://api.github.com/repos/ArduPilot/MissionPlanner/actions/artifacts") | |
| .then(response => response.json()) | |
| .then(data => data.artifacts.sort((a,b) => Date.parse(b.created_at) - Date.parse(a.created_at))) | |
| .then(data => data.filter(a=>a.name.includes(".apk"))) | |
| .then(data => setTimeout(function () | |
| { | |
| window.location = data[0].archive_download_url; | |
| }, 5000)); |
This file contains hidden or 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
| ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i index-v1-a1.m3u8 -map 0:0 -vcodec copy my_movie.h264 -map 0:1 -acodec copy my_movie.aac | |
| ffmpeg -i my_movie.h264 -i my_movie.aac -r 60 -c:v copy -c:a copy muxed.mp4 | |
| ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i index-v1-a1.m3u8 -c copy my_movie.ts | |
| ffmpeg -i my_movie.ts -map 0:0 -vcodec copy my_movie.h264 -map 0:1 -acodec copy my_movie.aac |