Skip to content

Instantly share code, notes, and snippets.

View thomasmassmann's full-sized avatar
👨‍💻

Thomas Massmann thomasmassmann

👨‍💻
View GitHub Profile
/Volumes/Work/Personal/Plone/Core/plone5devel 5.2> ./bin/instance fg  ✓  11:37:39
ImportError: PyCapsule_Import could not import module "Acquisition"
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "./bin/instance", line 272, in <module>
+ sys.argv[1:]))
File "/Volumes/Work/Configurations/buildout/shared-eggs/plone.recipe.zope2instance-6.7.2-py3.7.egg/plone/recipe/zope2instance/ctl.py", line 944, in main
options.realize(args, doc=__doc__)
@thomasmassmann
thomasmassmann / index.ts
Last active January 12, 2025 09:11
capacitor-barcode-scanner web patch
/**
* Patch for the `@capacitor/barcode-scanner` plugin for web.
* This is related to
* https://github.com/ionic-team/capacitor-barcode-scanner/issues/50
*
* This patch registers a new plugin for Capacitor that provides a fixed
* web implementation of the barcode scanner.
*
* The plugin is named `CapacitorBarcodeScannerPatchWeb` and only contains
* the web version. For iOS and Android, the original plugin needs to be used.