Skip to content

Instantly share code, notes, and snippets.

View andrewintw's full-sized avatar
👻

Andrew andrewintw

👻
  • Taiwan
  • 22:07 (UTC +08:00)
View GitHub Profile
@andrewintw
andrewintw / Comparison Espressif ESP MCUs.md
Created August 1, 2024 03:00 — forked from sekcompsci/Comparison Espressif ESP MCUs.md
Comparison chips (SoCs) table for ESP8266/ESP32/ESP32-S2/ESP32-S3/ESP32-C3/ESP32-C6. Forked from @fabianoriccardi

Comparison chips (SoCs) table for ESP8266/ESP32/ESP32-S2/ESP32-S3/ESP32-C3/ESP32-C6

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
@andrewintw
andrewintw / gist:62bcf2ea13aec8629aa926972acd6d92
Last active July 5, 2024 14:15
A simple (yeah, right) password generation rule provided by Hsieh.Bridge.
#! /bin/sh
# # Ref: https://www.facebook.com/Hsieh.Bridge/posts/pfbid02W53TaUe9hLoc88is77HRXS4ubDQmTMrWeoUkL8BKJa3fQJcjETnECZ3H44xTGXYJl
#
# $ ./passgen.sh 0506 489 1991 facebook
# BASESTR> (6*506)+(3*489)+(5*1991*10000)=99554503
# PASSWRD> 9A9e55450#
#
# $ ./passgen.sh 0506 489 1991 facebook
# BASESTR> (6*506)+(3*489)+(5*1991*10000)=99554503
@andrewintw
andrewintw / s3-v4-file-download.sh
Created February 21, 2022 08:07 — forked from saii9/s3-v4-file-download.sh
download file from s3 using curl v4 authentication
#!/bin/bash
set -e
# set -x
function log(){
echo "$(date -u +'%Y%m%dT%H%M%SZ') - $*"
}
# variable declaration - start
bucket=<bucket>