command | description |
---|---|
ctrl + a | Goto BEGINNING of command line |
A warning occurred (42 apples) | |
An error occurred |
-- C definitions | |
local ffi = require('ffi') | |
local csym = ffi.C | |
ffi.cdef[[ | |
/* DHCP header format */ | |
struct __attribute__((packed)) dhcp_msg { | |
/* Header */ | |
uint8_t op; | |
uint8_t htype; | |
uint8_t hlen; |
#MicroXplorer Configuration settings - do not modify | |
File.Version=6 | |
KeepUserPlacement=false | |
Mcu.Family=STM32F1 | |
Mcu.IP0=NVIC | |
Mcu.IP1=RCC | |
Mcu.IP2=RTC | |
Mcu.IP3=SYS | |
Mcu.IP4=USB | |
Mcu.IPNb=5 |
# OpenOCD script for GD32VF103 with improved reset procedure | |
# Invoke it like this. | |
# for Digilent HS2 | |
# openocd -f interface/ftdi/digilent-hs2.cfg -c "ftdi_device_desc {Digilent USB Device}" -f gd32vf103.cfg -c "program binary.elf verify reset exit" | |
# openocd -f interface/ftdi/digilent-hs2.cfg -c "ftdi_device_desc {Digilent USB Device}" -f gd32vf103.cfg -c "program binary.bin 0x08000000 verify reset exit" | |
# openocd -f interface/ftdi/digilent-hs2.cfg -c "ftdi_device_desc {Digilent USB Device}" -f gd32vf103.cfg -c "init; reset run; exit" | |
# for SiPEED USB-JTAG/TTL ( RV-Debugger ) | |
# openocd -f interface/ftdi/minimodule.cfg -c "ftdi_device_desc {Dual RS232}" -f gd32vf103.cfg -c "init; reset run; exit" |
How to fix Processing (https://processing.org) Camera and Microphone on macOS 10.15 Catalina
Last updated on 2020_11_08
Update: In Processing alpha2 (15 September 2020) with the libraries Sound 2.2.3 and Video 2.0, Audio and Video input are still broken. The workaround below should work with that version as well, although I have not tested it.
Apple has been changing around things for developers quite a lot since 2019. This concerns (among others):
- newly required permissions for apps that access the camera and microphone
From the comments: "These exact instructions are not working on Ubuntu 24.04. Ubuntu has changed the naming of ZFS partitions, partition 2 and 3 are switched around, and the boot/efi folder is now different."
I don't have my dual-disk test system any longer, and so can't adjust these steps myself.
Ubuntu Desktop 20.04 supports a single ZFS boot drive out of the box. I wanted a ZFS mirror, without going through an entirely manual setup of Ubuntu as described by OpenZFS in their instructions for Ubuntu 20.04 and instructions for Ubuntu 22.04
.build_testpypi_to_oficial_pypi: &build_production_script | |
- pip install virtualenv wheel | |
- python -m virtualenv venv && source venv/bin/activate | |
- python -m pip download --no-deps --index-url https://test.pypi.org/simple/ $PROGRAM | |
- PACKAGE=$(ls -la $PROGRAM* | awk '{ print $9 }') | |
- wheel unpack $PACKAGE | |
- rm $PACKAGE | |
- WHEEL_FOLDER=$(ls -la | awk '{ print $9 }' | grep $PROGRAM) | |
- mkdir $PROGRAM-$VERSION | |
- mkdir $PROGRAM-$VERSION/$PROGRAM |