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 -e | |
#this script requires a routing table named $IFACE (ie. bond0) exists in /etc/iproute2/rt_tables | |
#the $IFACE routing table is used to place the default route in for the source routing table | |
#ip route list table $IFACE will list the routing table for this interface | |
set -x | |
set_netinfo() { | |
NETWORK=$(ip route show dev $IFACE | grep -v default | head -n 1 | awk '{print $1}') | |
GATEWAY=$(ip route show dev $IFACE default | head -n 1 | awk '{print $3}') |
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
if [ "$reason" = "BOUND" ] || [ "$reason" = "REBOOT" ]; then | |
ip rule del lookup "$interface" || true | |
ip route flush table "$interface" | |
ip route add default via "$new_routers" dev "$interface" table "$interface" | |
ip rule add from "$new_ip_address" lookup "$interface" | |
fi |
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/libobs/obs-source.c b/libobs/obs-source.c | |
index ce88b8219..1ef1ce2a0 100644 | |
--- a/libobs/obs-source.c | |
+++ b/libobs/obs-source.c | |
@@ -2878,6 +2878,7 @@ cache_video(struct obs_source *source, const struct obs_source_frame *frame) | |
} | |
if (!available) { | |
+ free_async_cache(source); | |
source->last_frame_ts = 0; |
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 | |
# run this script by executing: | |
# wget https://gist.githubusercontent.com/rationalsa/803859153892a9278ad826aabb4276fe/raw/jetson_nano_flash_bootloader.sh | |
# bash jetson_nano_flash_bootloader.sh | |
BSP=https://developer.nvidia.com/downloads/remetpack-463r32releasev73t210jetson-210linur3273aarch64tbz2 | |
VER=32.7.3 | |
SHA256=3e7c304b56c2c9f2ca865d560d22e8ab3d99d2e79d782342fb0fb1c4a5e7946e |