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
| sed -i "s/CMakePlainProjectFlavor/CMakeWestFlavor/" .idea/workspace.xml |
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
| #!/bin/bash | |
| NCS_VER="v2.9.1" | |
| NRFUTIL=$(which nrfutil) | |
| if [ -z "${NRFUTIL}" ]; then | |
| echo "nrfutil not installed" | |
| exit 1 | |
| fi |
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
| #!/bin/sh | |
| on_exit() | |
| { | |
| mountpoint -q /proc && umount /proc | |
| exec /sbin/init $* | |
| } | |
| trap on_exit 0 | |
| mount -t proc proc /proc || exit |
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
| #!/usr/bin/python3 | |
| # Simple script to capture the screen of a Tektronix TDS 2022B | |
| from PIL import Image | |
| from io import BytesIO | |
| import sys | |
| if len(sys.argv) != 2: | |
| print("Usage: %s OUTPUT_FILE" % sys.argv[0]) |
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
| #!/usr/bin/python3 | |
| # Simple script to capture the screen of a Tektronix TDS 2022B | |
| from PIL import Image | |
| from io import BytesIO | |
| import sys | |
| if len(sys.argv) != 2: | |
| print("Usage: %s OUTPUT_FILE" % sys.argv[0]) |