Skip to content

Instantly share code, notes, and snippets.

Joe Saraceno honestcomrade

Block or report user

Report or block honestcomrade

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
View stringCompression_test.go
package main
import "testing"
func TestStringCompression(t *testing.T) {
tables := []struct {
in string // the string to test against
out string // the result of the compression
}{
View main.go
package main
import "fmt"
// StringCompression ...
// @param input string
// returns string
// given an input string
// write an algorithm which compresses the string
// by converting sequential repeats of characters
View gist:5a55eb9b778e4037e708e964cafcd505
Price Quantity Total
Chameleon
Chameleon
Color :
Silver
Cam braces:
Rubber tilt mechanism (for HS1177)
Power Distribution Board *Not needed with AIO flight controllers:
Yes, please (with regulator)
Flight Controller:
View gist:b0e3b3d48b036d5e1c5e1c02d7426179
// overload_date.cpp
// compile with: /EHsc
#include <iostream>
using namespace std;
class Date
{
int mo, da, yr;
public:
Date(int m, int d, int y)
View post.md

Multirotor

Base Chassis: MRM Machete

Wheel Base: 430mm

Weight: 300g

Material: Carbon Fiber

View gist:98910bea91d4042b9632b694ee80e7c2
#include <Wire.h>
#include <Time.h>
#include <SPI.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BME280.h>
#include <ESP8266WiFi.h>
#include <DS1302.h> // rst - pin 12 // io - pin 13 // scl - pin 14
#define BME_SCK 13
#define BME_MISO 12
View motor-control.ino
#include <Servo.h>
#include <SPI.h>
#include <PS3USB.h>
#include <Usb.h>
USB Usb;
PS3USB PS3(&Usb);
Servo right_servo;
Servo left_servo;
View gist:56cc1382231a806d7625abb4edd16314
/*
Simple HTTP get webclient test
*/
#include <Wire.h>
#include <SPI.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BME280.h>
#include <ESP8266WiFi.h>
#define BME_SCK 13
You can’t perform that action at this time.