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 |
<?php | |
/** | |
* UUID class | |
* | |
* The following class generates VALID RFC 4122 COMPLIANT | |
* Universally Unique IDentifiers (UUID) version 3, 4 and 5. | |
* | |
* UUIDs generated validates using OSSP UUID Tool, and output | |
* for named-based UUIDs are exactly the same. This is a pure | |
* PHP implementation. |
#!/bin/bash | |
# You will need to make this file executable (chmod +x) and run it with sudo | |
# Optionally supply the version number you want to build | |
[[ $1 ]] && VERSION=$1 || VERSION=R16B03-1 | |
apt-get update | |
apt-get --fix-missing -y install build-essential m4 libncurses5-dev libssh-dev unixodbc-dev libgmp3-dev libwxgtk2.8-dev libglu1-mesa-dev fop xsltproc default-jdk | |
mkdir -p /src/erlang | |
cd /src/erlang | |
wget -c http://www.erlang.org/download/otp_src_${VERSION}.tar.gz | |
tar zxvf otp_src_${VERSION}.tar.gz |
<?php | |
interface SimpleCache { | |
function seen($key, $value=false); | |
function invalidate($key=false, DateTime $expire=null); | |
} | |
class FluentCache extends \ArrayObject implements SimpleCache | |
{ | |
private $cache, |
<?php | |
$paths = array( | |
'/users', | |
'/users/*', | |
'/users/*/lists', | |
'/users/*/lists/*', | |
); | |
// Multiple paths handled by single callback | |
$r3->any($paths, function ($userId=null,$listId=null) {/***/} |