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 |
import cv2 | |
import numpy as np | |
def draw_text( | |
img, | |
*, | |
text, | |
uv_top_left, | |
color=(255, 255, 255), |
This script reads PascalVOC xml files, and converts them to YOLO txt files.
Note: This script was written and tested on Ubuntu. YMMV on other OS's.
Disclaimer: This code is a modified version of Joseph Redmon's voc_label.py
#!/usr/bin/env python3 | |
# coding=utf8 | |
# | |
# Simple script to scale a KiCad footprint | |
# Usage: | |
# python kicad-resize-footprint.py <input.kicad_mod> <output.kicad_mod> <scale> | |
# | |
# Where scale is how much to scale (1 = 100%) | |
# | |
# Copyright (C) 2020, Uri Shaked. |
from words import words | |
minionese_to_english = {v: k for k, v in words.items()} | |
def translate(sentence, minionese=False): | |
dictionary = words if not minionese else minionese_to_english | |
result = "" | |
for word in sentence.split(" "): | |
if word in dictionary.keys(): |
import urllib | |
from wordpress_xmlrpc import Client, WordPressPost | |
from wordpress_xmlrpc.methods import posts | |
import xmlrpclib | |
from wordpress_xmlrpc.compat import xmlrpc_client | |
from wordpress_xmlrpc.methods import media, posts | |
import os | |
########################### Read Me First ############################### | |
''' | |
------------------------------------------In DETAIL-------------------------------- |
'''This script goes along the blog post | |
"Building powerful image classification models using very little data" | |
from blog.keras.io. | |
It uses data that can be downloaded at: | |
https://www.kaggle.com/c/dogs-vs-cats/data | |
In our setup, we: | |
- created a data/ folder | |
- created train/ and validation/ subfolders inside data/ | |
- created cats/ and dogs/ subfolders inside train/ and validation/ | |
- put the cat pictures index 0-999 in data/train/cats |
@echo off | |
FOR /f "tokens=*" %%i IN ('docker ps -aq') DO docker rm %%i | |
FOR /f "tokens=*" %%i IN ('docker images --format "{{.ID}}"') DO docker rmi %%i |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
# install wine and ltspice | |
sudo apt-get install wine | |
# sudo pacman -S wine | |
cd /tmp/ | |
wget http://ltspice.linear-tech.com/software/LTspiceIV.exe | |
wine LTspiceIV.exe | |
rm LTspiceIV.exe | |
# start lstpice through wine | |
wine ~/.wine/drive_c/Program\ Files/LTC/LTspiceIV/scad3.exe |