Skip to content

Instantly share code, notes, and snippets.

Building robots

Mark Wolfe wolfeidau

Building robots
Block or report user

Report or block wolfeidau

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
wolfeidau / coverage.go
Created Sep 17, 2019
Demo file for parsing and presenting test coverage
View coverage.go
package coverage
type Coverage struct {
XMLName xml.Name `xml:"coverage"`
Text string `xml:",chardata"`
LinesValid string `xml:"lines-valid,attr"`
LinesCovered string `xml:"lines-covered,attr"`
LineRate string `xml:"line-rate,attr"`
BranchesValid string `xml:"branches-valid,attr"`
BranchesCovered string `xml:"branches-covered,attr"`
View MyFirstEcsCluster.template.json
"Resources": {
"MyVpcF9F0CA6F": {
"Type": "AWS::EC2::VPC",
"Properties": {
"CidrBlock": "",
"EnableDnsHostnames": true,
"EnableDnsSupport": true,
"InstanceTenancy": "default",
"Tags": [
set -e
# provide a folder like ~/temp to build the opencv sources
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <Build Folder>"
wolfeidau /
Last active Jan 5, 2019
Commands I used to configure donkey car on raspberry pi 3 b+

Install i2c tools to check for PCA9685 board.

sudo apt-get install i2c-tools
sudo i2cdetect -y 1

Install vim and git.

wolfeidau /
Last active Dec 22, 2018
Notes from ROS setup on the deepracer

Load up the ROS environment.

source /opt/aws/deepracer/setup.bash

Listing nodes.

$ rosnode list
wolfeidau / cognito.yml
Created Dec 6, 2018
Cognito CFN stack with domain verification
View cognito.yml
AWSTemplateFormatVersion: 2010-09-09
Description: 'authentication: Resources for hosting authentication using AWS Cognito, a @wolfeidau template'
Description: Name of application, used in signup emails and naming of aws resources.
Type: String
AllowedPattern: '^[a-zA-Z0-9]*$'
wolfeidau / main.go
Created Sep 7, 2018
Lambda endpoint from cmd/raven_lambda folder.
View main.go
package main
import (
log ""
_ ""
wolfeidau / Dockerfile
Last active Aug 27, 2018
ROS experiments
View Dockerfile
FROM ros:melodic-robot
RUN apt-get update && apt-get install vim curl -y
RUN mkdir -p /src/ydlidar/src
WORKDIR /src/ydlidar
RUN /bin/bash -c "source /opt/ros/melodic/setup.bash && catkin_make"
WORKDIR /src/ydlidar/src
RUN git clone
WORKDIR /src/ydlidar
RUN /bin/bash -c "source /opt/ros/melodic/setup.bash && catkin_make install && rospack profile"
wolfeidau / default.conf
Created Aug 8, 2018
NGINX configuration used to serve an SPA
View default.conf
server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html index.htm;
# rely on X-Forwarded-Proto to redirect to HTTPS
if ($http_x_forwarded_proto = "http") {
return 301 https://$server_name$request_uri;
wolfeidau /
Created Jun 10, 2018
Building ydlidar SDK
apt install git cmake g++ gcc
git clone
cd ydlidar/sdk
cmake .
make -j4
samples/ydlidar_test /dev/ttyUSB0 128000 0
You can’t perform that action at this time.