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
# Initialize Git Submodules if not already done on clone | |
find_package(Git QUIET) | |
if(GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git") | |
# Update submodules as needed | |
option(GIT_SUBMODULE "Check submodules during build" ON) | |
if(GIT_SUBMODULE) | |
message(STATUS "Submodule update") | |
execute_process(COMMAND ${GIT_EXECUTABLE} submodule update --init --recursive | |
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} | |
RESULT_VARIABLE GIT_SUBMOD_RESULT) |
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
int main(int argc, char const *argv[]) { | |
mavlink_message_t msg; | |
time_t boot = time(NULL); | |
mavlink_msg_system_time_pack(mavlink_system.sysid, mavlink_system.compid, &msg, time(NULL), boot); | |
unsigned char buf[sizeof(msg)]; | |
printf("Message Size: %ld\n", sizeof(msg)); | |
mavlink_msg_to_send_buffer(buf, &msg); | |
std::fstream fs("samplepacket.txt", std::fstream::out | std::fstream::binary); |
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
get_cmake_property(_variableNames VARIABLES) | |
foreach (_variableName ${_variableNames}) | |
message(STATUS "${_variableName}=${${_variableName}}") | |
endforeach() |
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
main article section:last-child { | |
width: 100% !important; | |
overflow-x: hidden; | |
} | |
main article section:last-child .content-wrapper { | |
padding: 0px !important; | |
margin: 0px !important; | |
width: 100%; | |
max-width: unset; |
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
$(document).ready(function(){ | |
// start edit | |
var new_html_string = ''; | |
var i; | |
var blog_post = ''; | |
var items = new Array(); | |
var item = new Object(); | |
$('.summary-item-list:not(:first)').each(function() { |
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 | |
# | |
# This is a simple CLi-based installer. Usually it's used from the website as: | |
# | |
# curl https://www.teleconsole.com/get.sh | sh | |
# | |
# | |
FORMAT="tar.gz" | |
TARBALL="teleconsole-$$.$FORMAT" | |
HOST=teleconsole.com |
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
[program:prometheus] | |
process_name=%(program_name)s_%(process_num)02d | |
command=/root/prometheus/prometheus --config.file=/root/prometheus/prometheus.yml --web.listen-address="127.0.0.1:9090" | |
autostart=true | |
autorestart=true | |
user=root | |
numprocs=1 | |
redirect_stderr=true | |
stdout_logfile=/root/prometheus/logs/error.log |
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
May 12 10:31:53 derick-asus kernel: [ 3606.125743] audit: type=1400 audit(1589293913.532:69656): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=8933 comm="Discord" requested_mask="read" denied_mask="read" peer="snap.slack.slack" | |
May 12 10:31:53 derick-asus kernel: [ 3606.125810] audit: type=1400 audit(1589293913.532:69657): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=8933 comm="Discord" requested_mask="read" denied_mask="read" peer="snap.slack.slack" | |
May 12 10:31:53 derick-asus kernel: [ 3606.125879] audit: type=1400 audit(1589293913.532:69658): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=8933 comm="Discord" requested_mask="read" denied_mask="read" peer="snap.slack.slack" | |
May 12 10:31:53 derick-asus kernel: [ 3606.125956] audit: type=1400 audit(1589293913.532:69659): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=8933 comm="Discord" requested_mask="read" denied_mask="read" peer="unconfined" | |
May 12 10:31:5 |
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 | |
# This way you can customize which branches should be skipped when | |
# prepending commit message. | |
if [ -z "$BRANCHES_TO_SKIP" ]; then | |
BRANCHES_TO_SKIP=(master develop test) | |
fi | |
BRANCH_NAME=$(git symbolic-ref --short HEAD) | |
BRANCH_NAME="${BRANCH_NAME##*/}" |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |