Skip to content

Instantly share code, notes, and snippets.

@ganhammar
ganhammar / DynamoUtils.cs
Last active September 11, 2022 05:48
Truncate DynamoDB Table using dotnet and C#
using Amazon.DynamoDBv2;
using Amazon.DynamoDBv2.Model;
namespace OpenIddict.DynamoDB.Tests
{
public static class DynamoUtils
{
public static async Task TruncateTable(string tableName, IAmazonDynamoDB client)
{
var (numberOfItems, keys) = await GetKeyDefinitions(tableName, client);
@ganhammar
ganhammar / index.js
Created May 31, 2021 12:17
React invalid hook call - Built output Development
/*
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
/******/ (() => { // webpackBootstrap
/******/ "use strict";