Skip to content

Instantly share code, notes, and snippets.

🙃
Crafting.

Brian brianfoody

🙃
Crafting.
Block or report user

Report or block brianfoody

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Lambda Linux Make - rsvg-convert
# ssh -i ./MY.pem ec2-user@ec2-99-999-999-999.ap-southeast-2.compute.amazonaws.com
export PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/lib/pkgconfig
export PATH=/usr/bin:$PATH
# No c compiler error
# export LDFLAGS="-static -L/usr/lib64:/usr/lib"
export LDFLAGS=-L/usr/lib64:/usr/lib
export LD_LIBRARY_PATH=/usr/lib64:/usr/lib:/usr/lib/libharfbuzz.a
export CPPFLAGS=-I/usr/include
sudo yum-config-manager --enable epel
View gm
const gm = require('gm').subClass({ imageMagick: true }); // Enable ImageMagick integration.
gm()
.command("convert")
.in(imageIn)
.borderColor("white")
.border(1, 1)
.fill("none")
.fuzz(`${fuzz}%`)
.draw("matte 1,1 floodfill")
@brianfoody
brianfoody / count.sh
Created Sep 19, 2018
Count Items in a DynamoDB Table
View count.sh
aws dynamodb scan --table-name <TABLE_NAME> --select "COUNT"
You can’t perform that action at this time.