Skip to content

Instantly share code, notes, and snippets.

View DennisMatthiasScherf's full-sized avatar
🐽
Hey!

Dennis Matthias Scherf DennisMatthiasScherf

🐽
Hey!
View GitHub Profile
@DennisMatthiasScherf
DennisMatthiasScherf / dynamodb_batch_delete.js
Created September 2, 2022 10:39 — forked from rproenca/dynamodb_batch_delete.js
Delete multiple items in a DynamoDB table
const AWS = require('aws-sdk');
const {parallelScan} = require('@shelf/dynamodb-parallel-scan');
const TABLE_NAME = '[table-name]';
const PRIMARY_PARTITION_KEY = '[partition-key]';
async function fetchAll() {
const CONCURRENCY = 250;
const alias = `#${PRIMARY_PARTITION_KEY}`;
const name = PRIMARY_PARTITION_KEY;
@DennisMatthiasScherf
DennisMatthiasScherf / configure.md
Created August 25, 2022 08:13 — forked from jherax/configure.md
VS Code: Debugging with Jest

VS Code: Debugging Jest

Sometimes, debugging with console.log is not enough to find out what is happening in the code, as console.log prints only plain objects but neither functions nor objects with circular references. Besides, it's possible you may need to know the context and flow of the code.

Read more about debugging with VS Code in VS Code: Debugging.

@DennisMatthiasScherf
DennisMatthiasScherf / Raspberry Pi Speedtest Cronjob.md
Created July 30, 2022 18:25 — forked from jlis/Raspberry Pi Speedtest Cronjob.md
Automated speedtest using a Raspberry Pi, Cronjobs and Airtables

Automated speedtest using a Raspberry Pi, Cronjobs and Airtables

We're gonna install the Okla Speedtest (speedtest.net) CLI and a write the results into a Airtables table.

Setup

First we're gonna install all required dependecies to run the speedtest CLI.

sudo apt-get install gnupg1 apt-transport-https dirmngr jq
@DennisMatthiasScherf
DennisMatthiasScherf / apple-certificate-project-overview.csv
Last active July 22, 2022 13:11
A Table for the Apple Certificate Medium Article
Environment development staging production
App ID de.nanogiants.starter.* de.nanogiants.starter.staging de.nanogiants.starter.production
Apple Account Enterprise/Developer Account Enterprise Account Developer Account
Distribution/Development Certificate Development Distribution Distribution
Certificate iOS Development Certificate iOS Distribution Certificate iOS Distribution Certificate
Provisioning Profile Development In-House/Universal Distribution App Store
Deploy Target Local App Center App Store