Skip to content

Instantly share code, notes, and snippets.

@renderedSafe
renderedSafe / diffbot_system.cpp
Last active March 28, 2024 20:53
ROS2 Control Demos diffbot hardware interface publisher. Useful for micro-ROS hardware control.
// Copyright 2021 ros2_control Development Team
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
@renderedSafe
renderedSafe / smspython.py
Created June 18, 2018 23:21 — forked from alexle/smspython.py
Simple Python script to send SMS! Can send image attachments as well.
# smspython.py
# Sends sms message to any cell phone using gmail smtp gateway
# Written by Alex Le (http://alexanderle.com)
import smtplib, base64, sys, re
from email.MIMEMultipart import MIMEMultipart
from email.MIMEText import MIMEText
from email.MIMEImage import MIMEImage