Skip to content

Instantly share code, notes, and snippets.

@chimmelb
chimmelb / chromiumpackages.config
Last active April 4, 2024 16:07
.ebextensions config file to load NodeJS EB instance with packages needed for Puppeteer/Chromium
# This is for ElasticBeanstalk with Amazon Linux 2023. For previous Linux 2 or Linux 1, see revisions for ideas
packages:
yum:
cups-libs: []
libdrm: []
libXdamage: []
libXfixes: []
libXrandr: []
mesa-libgbm: []
libxkbcommon: []
@stkent
stkent / android-bluetooth-low-energy-resources.md
Last active February 8, 2024 16:22
Android Bluetooth Low Energy (BLE) Resources
@tony-gutierrez
tony-gutierrez / aws_eb_cron.js
Last active October 11, 2023 02:59
AWS Elastic Beanstalk master instance nodejs cron.
const logger = require('./logger'),
AWS = require('aws-sdk'),
CronJob = require('cron').CronJob;
AWS.config.update({region: 'us-east-1'}); // change to your region
var opts = {
credentials: new AWS.EC2MetadataCredentials()// default to use the credentials for the ec2 instance
};
var elasticbeanstalk = new AWS.ElasticBeanstalk(opts);