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 |
# Good tips here: https://www.cyberciti.biz/faq/install-lxd-on-ubuntu-20-04-lts-using-apt/ | |
# List all running services | |
systemctl list-units --all --type=service --no-pager | grep running | |
# Clean install of lxc (on host) - first lxd system, then lxc command line tools | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt install lxd | |
sudo adduser YOURUSERID lxd # (probably already there) |
Note: This gist may be outdated, thanks to all contributors in comments.
adb
is the Android CLI tool with which you can interact with your android device, from your PC
You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.
Don't hesitate to read comments, there is useful tips, thanks guys for this !
// What is the Google Document ID for your email template? | |
var googleDocId = "abcd0000abcd0000abcd0000abcd0000"; | |
// Which column has the email address? Enter the column row header exactly. | |
var emailField = 'Email'; | |
// What is the subject line? | |
var emailSubject = 'You\'re bringing {Type}!'; | |
// Which column is the indicator for email drafted? Enter the column row header exactly. | |
var emailStatus = 'Date drafted'; | |
/* ----------------------------------- */ |
Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex
#!/bin/bash | |
INSIDE_PREFIX="fdxx::/64" | |
OUTSIDE_INTERFACE="eth2" | |
DUMMY_INTERFACE="dummypd0" | |
OUTSIDE_PREFIX_FILE="/var/run/my-npt-outside-prefix" | |
logger -p info -t my-npt "my-npt-dhcp6c-script invoked" | |
OLD_OUTSIDE_PREFIX="" |
import Foundation | |
/// NSURLSession synchronous behavior | |
/// Particularly for playground sessions that need to run sequentially | |
public extension NSURLSession { | |
/// Return data from synchronous URL request | |
public static func requestSynchronousData(request: NSURLRequest) -> NSData? { | |
var data: NSData? = nil | |
let semaphore: dispatch_semaphore_t = dispatch_semaphore_create(0) |
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key | |
# Don't add passphrase | |
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
cat jwtRS256.key | |
cat jwtRS256.key.pub |
Using WebSockets, React and Reflux together can be a beautiful thing, but the intial setup can be a bit of a pain. The below examples attempt to offer one (arguably enjoyable) way to use these tools together.
This trifect works well if you think of things like so:
this.state
in react should instead live within stores. Stores can listen to other stores as well as to events being fired.