Skip to content

Instantly share code, notes, and snippets.

View johnsibly's full-sized avatar

John Sibly johnsibly

View GitHub Profile
@donnfelker
donnfelker / android-19-circle.yml
Last active March 12, 2021 13:19
Sample CircleCI Configuration For an Android App
#
# Build configuration for Circle CI
#
general:
artifacts:
- /home/ubuntu/your-app-name/app/build/outputs/apk/
machine:
environment:
1. Use openssl
openssl smime -in /path/to/your.mobileprovision -inform der -verify
2. Use security command
security cms -Di /path/to/your.mobileprovision
@kiewic
kiewic / dynamoDbTest.js
Last active January 11, 2021 21:57
How to insert or delete items from a DynamoDB table using Node.js
var AWS = require('aws-sdk');
var region = "us-west-2";
var accessKeyId = process.env.DYNAMODB_ACCESS_KEY_ID;
var secretAccessKey = process.env.DYNAMODB_SECRET_ACCESS_KEY;
var tableName = "your table name";
var dynamoDB = new AWS.DynamoDB({
region: region,
accessKeyId: accessKeyId,