Old / Default Path:
C:\Users\Dell\AppData\Local\Arduino15
New Path:
D:\AppData\Local\Arduino15
| # annotated by dave eddy (@yousuckatprogramming) | |
| # explained - https://youtu.be/D0sG2fj0G4Y | |
| # borrowed heavily from https://grml.org | |
| # Begin blinking text mode | |
| # I just use bold red here since my terminal has blinking disabled | |
| export LESS_TERMCAP_mb=$'\e[1;31m' | |
| # Begin bold text mode | |
| export LESS_TERMCAP_md=$'\e[1;31m' |
| from functools import wraps | |
| from async_fastapi_jwt_auth import AuthJWT | |
| from fastapi import Depends, Request, status | |
| from fastapi.security import HTTPBearer | |
| from sqlalchemy.ext.asyncio import AsyncSession | |
| from db.db import get_session | |
| from helpers.auth_request import AuthRequest | |
| from helpers.exceptions import AuthException |
| -- This script will: | |
| -- (1) Flatten each group into a layer; | |
| -- (2) Invoke the 'export sprite sheet' command; | |
| -- (3) Undo the changes. | |
| -- | |
| -- v1.0: Initial version. | |
| -- | |
| -- Ref: https://github.com/aseprite/aseprite/blob/main/src/app/commands/cmd_export_sprite_sheet.cpp | |
| local spr = app.activeSprite |
| #!/usr/bin/awk -f | |
| # This program is a copy of guff, a plot device. https://github.com/silentbicycle/guff | |
| # My copy here is written in awk instead of C, has no compelling benefit. | |
| # Public domain. @thingskatedid | |
| # Run as awk -v x=xyz ... or env variables for stuff? | |
| # Assumptions: the data is evenly spaced along the x-axis | |
| # TODO: moving average |
| ''' | |
| Blackletter grid generator | |
| Generador de retícula para letra gótica | |
| - | |
| Eduardo Aire Torres 2020 | |
| ''' | |
| # Size of your pen / Tamaño de tu pluma | |
| mmPen = 7 # Size in mm / Tamaño en mm |
| license: gpl-3.0 | |
| border: no | |
| redirect: https://observablehq.com/@mbostock/circle-wave |
Simple guide for setting up OTG modes on the Raspberry Pi Zero - By Andrew Mulholland (gbaman).
The Raspberry Pi Zero (and model A and A+) support USB On The Go, given the processor is connected directly to the USB port, unlike on the B, B+ or Pi 2 B, which goes via a USB hub.
Because of this, if setup to, the Pi can act as a USB slave instead, providing virtual serial (a terminal), virtual ethernet, virtual mass storage device (pendrive) or even other virtual devices like HID, MIDI, or act as a virtual webcam!
It is important to note that, although the model A and A+ can support being a USB slave, they are missing the ID pin (is tied to ground internally) so are unable to dynamically switch between USB master/slave mode. As such, they default to USB master mode. There is no easy way to change this right now.
It is also important to note, that a USB to UART serial adapter is not needed for any of these guides, as may be documented elsewhere across the int