A minimal table to compare the Espressif's MCU families.
| ESP8266 | ESP32 | ESP32-S2 | ESP32-S3 | ESP32-C3 | ESP32-C6 | |
|---|---|---|---|---|---|---|
| Announcement Date | 2014, August | 2016, September | 2019, September | 2020, December |
| #!/bin/sh | |
| # Mark all notifications as read, including "ghost" notifications. | |
| # Works on Linux, requires a "classic" auth token be present in `~/.github-oauthtoken` | |
| # and also that `gh` is installed. You could presumably use `gh auth login` instead | |
| # if you want to authenticate that way. | |
| # | |
| # Works for me, use at your own risk. | |
| # | |
| # https://github.com/orgs/community/discussions/6874 | |
| # https://docs.github.com/en/rest/activity/notifications?apiVersion=2022-11-28#mark-notifications-as-read |
| substitutions: | |
| device_name: car | |
| charging_voltage_threshold: '13.0' | |
| low_voltage_threshold: '12.0' | |
| low_voltage_sleep_duration: 30min | |
| deep_sleep_duration: 3min # 5 * 60000 | |
| first_boot_run_duration: '300000' | |
| abrp_key: !secret abrp_key | |
| abrp_token: !secret abrp_token | |
| hotspot1_ssid: !secret hotspot1_ssid |
| // this gist is no longer needed, | |
| // see https://github.com/glmnet/esphome-components/blob/main/docs/arduino_port_extender.md | |
| // for up to date information |
| # Check these threads before proceeding: | |
| # https://github.com/microsoft/WSL/discussions/5857 | |
| # https://github.com/microsoft/WSL/issues/5821 | |
| if (-Not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) { | |
| $CmdLine = "-File `"" + $MyInvocation.MyCommand.Path + "`" " + $MyInvocation.UnboundArguments | |
| Start-Process -FilePath PowerShell.exe -Verb Runas -ArgumentList $CmdLine | |
| Exit | |
| } | |
| # Restart the Host Network Service | |
| Restart-Service -Force -Name hns |
| /* | |
| Project: Arduino GSM GPS Device Tracker | |
| Board: Maker Uno | |
| GSM: SIM7600E | |
| GPS: SIM7600E | |
| Library: | |
| - Adafruit FONA | |
| */ | |
| #include <SoftwareSerial.h> |
| #!/usr/bin/env ruby | |
| ## disconnect | |
| # ./disconnect.rb -u yourusername | |
| # | |
| # This is a command-line utility for the bulk-downloading of run data from | |
| # the connect.garmin.com web application, which has lackluster export | |
| # capabilities. | |
| # |
| # in config/initializers | |
| module ActionView | |
| module Template::Handlers | |
| class Prawn < Template::Handler | |
| include ActionView::Template::Handlers::Compilable | |
| self.default_format = Mime::PDF | |
| def compile(template) |
| #!/usr/bin/ruby -w | |
| # | |
| # Testing Prawn PDF generation | |
| require 'rubygems' | |
| require 'prawn' | |
| require 'prawn/layout' | |
| require 'prawn/format' | |
| class TermSheet < Prawn::Document |