I hereby claim:
- I am nford on github.
- I am nelfo (https://keybase.io/nelfo) on keybase.
- I have a public key ASAo-GpvtXZnlzfxIEHxg-N_TwFXiMYVreDRN-Bpk06logo
To claim this, I am signing this object:
| FROM --platform=linux/amd64 python:3.12-bookworm | |
| # how to set up an alternative base image for lambda | |
| # https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-ric | |
| COPY ./ ${LAMBDA_TASK_ROOT}/ | |
| ENV TZ=America/New_York \ | |
| DEBIAN_FRONTEND=noninteractive \ | |
| MAILBAGIT_LOG_LEVEL=info \ |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/env sh | |
| #This was done for a Bitnami Wordpress instance that was producing a lot of wand related errors | |
| #and then supported formats errors in Apache PHP | |
| sudo apt update | |
| sudo apt install libmagickwand-dev imagemagick -y | |
| sudo ln -s /usr/lib/x86_64-linux-gnu/pkgconfig/ImageMagick.pc /usr/lib/pkgconfig/ImageMagick.pc |
| var arr = [[1,2,[3]],4,[5,6,[7],8,[9,[10,11,12,[13]]]]]; | |
| const flatten = (arr) => arr.reduce( | |
| (a, b) => a.concat(Array.isArray(b) ? flatten(b) : b), [] | |
| ); | |
| flatten(arr); |