This is a small tutorial on how to debug a ROS2 C++ node usign VSCode.
This implementation was done using:
cmake_minimum_required(VERSION 3.14) | |
project("ROS2 Master") | |
# usually I put this in a separate file include("/opt/ros/_common/Colcon.cmake") | |
function(colcon_add_subdirectories) | |
cmake_parse_arguments(PARSE_ARGV 0 "ARG" "" "BUILD_BASE;BASE_PATHS" "") | |
message("search criteria: ${ARGV}") | |
execute_process(COMMAND colcon list |
With kerbrute.py:
python kerbrute.py -domain <domain_name> -users <users_file> -passwords <passwords_file> -outputfile <output_file>
With Rubeus version with brute module:
This document assumes the use of Linux as the chosen development platform. Items in bold are highly recommended.
It is recommended to use SocketCAN when working with CAN bus on Linux. It is supported by the Linux kernel mainline and follows the Linux interface model, allowing you to use other network tools such as Wireshark. This also allows the creation of virtual CAN interfaces where no physical hardware is required to simulate or replay CAN messages.
#!/bin/bash | |
__get_random_string () { | |
openssl rand -hex "${1}" | cut -c "1-${1}" | |
} | |
__my_vm='W10' |
# Assumes releases are tagged with "vMAJOR.MINOR.PATCH" (semver) | |
# The first sed removes the leading "v" (this step is not entirely necessary) | |
# The second sed uses the "number of commits since tag" to create a dev version and uses the sha as the "local version" | |
# | |
# If the second sed fails, it will just print the returns of the first sed | |
# | |
# Sample output: | |
# 0.3.0.dev1+g7a45b05 | |
# 0.3.0.dev3+g8418ac6.dirty | |
# 2.7.1rc2.dev17.dirty |
# The entries in this file are checked regularly for validity via the Github Action | |
# sited at github.com/bskinn/intersphinx-gist. | |
# Please feel free to post an issue at that repo if any of these mappings don't work for you, | |
# or if you're having trouble constructing a mapping for a project not listed here. | |
Python 3 [latest]: ('https://docs.python.org/3/', None) | |
Python 3 [3.x]: ('https://docs.python.org/3.9/', None) | |
attrs [stable]: ('https://www.attrs.org/en/stable/', None) | |
Django [dev]: ('https://docs.djangoproject.com/en/dev/', 'https://docs.djangoproject.com/en/dev/_objects/') | |
Flask [2.2.x]: ('https://flask.palletsprojects.com/en/2.2.x/', None) |
""" | |
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
BSD License | |
""" | |
import numpy as np | |
# data I/O | |
data = open('input.txt', 'r').read() # should be simple plain text file | |
chars = list(set(data)) | |
data_size, vocab_size = len(data), len(chars) |
# Author: Pieter Noordhuis | |
# Description: Simple demo to showcase Redis PubSub with EventMachine | |
# | |
# Update 7 Oct 2010: | |
# - This example does *not* appear to work with Chrome >=6.0. Apparently, | |
# the WebSocket protocol implementation in the cramp gem does not work | |
# well with Chrome's (newer) WebSocket implementation. | |
# | |
# Requirements: | |
# - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby |