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
#load a bin using jlink to a memory address. Should "Just work" | |
#usage: loadbin <file name with or without path> <address> | |
function loadbin() | |
{ | |
fname="$1" | |
addr="$2" | |
bn="$(basename $1)" | |
fn="${bn%.*}" | |
ext="${fname##.}" | |
if [ "$ext" != "bin" ]; then |
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
git config --global https.proxy http://127.0.0.1:1080 | |
git config --global https.proxy https://127.0.0.1:1080 | |
git config --global --unset http.proxy | |
git config --global --unset https.proxy | |
npm config delete proxy |
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
#include <configuration.pb.h> | |
#include <google/protobuf/text_format.h> | |
#include <gtest/gtest.h> | |
#include <iostream> | |
#include <libconf/Util.hpp> | |
#include <string> | |
using namespace std; | |
TEST(confman, util_equal) { |
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
mavlink stop-all | |
mavlink start -r 800000 -d /dev/ttyACM0 -m config -x | |
mavlink boot_complete |
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
find . -name "*.o" | xargs rm -f |