See also:
Service | Type | Storage | Limitations |
---|---|---|---|
Amazon DynamoDB | 25 GB | ||
Amazon RDS | |||
Azure SQL Database | MS SQL Server | ||
👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
#!/usr/bin/env python | |
# | |
# find-entropy.py | |
# | |
# A simple Utility to measure entropy of strings. | |
# Usage should be something like this: | |
# | |
# $ strings file.txt | python find-entropy.py | |
# |
See also:
Service | Type | Storage | Limitations |
---|---|---|---|
Amazon DynamoDB | 25 GB | ||
Amazon RDS | |||
Azure SQL Database | MS SQL Server | ||
👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
import 'dart:async'; | |
import 'dart:convert'; | |
import 'dart:io'; | |
import 'package:meta/meta.dart'; | |
import 'package:mime/mime.dart'; | |
import 'package:path/path.dart'; | |
import 'package:http/http.dart' as http; | |
abstract class ApiClient { |
# FindZIP.cmake - Pack and unpack ZIP files as custom targets | |
# ------------------------------------------------------------------------------ | |
# Provides: | |
# | |
# ZIP_PACK_TARGET TARGET WORKING_DIRECTORY ARCHIVE FILES... | |
# TARGET - The name of the custom target | |
# WORKING_DIRECTORY - The working directory for the zip command | |
# ARCHIVE - The full archive path | |
# FILES... - The files and directories to include in the archive | |
# (relative to WORKING_DIRECTORY) |
The below is a breakdown / bird's eye view of how a sparse-array backed ECS like EnTT or Shipyard works.
Please see the thanks and references at the bottom - without their help I would not have been able to share this breakdown with you... everything here is really just notes and rephrasing of what they've written already :)
Also, these notes do not cover archetype systems (like unity) nor adaptations of archetypes (like in Flecs). Though there's a couple comparative footnotes at the end.
Here we go!
function myAsyncFunction() { | |
return new Promise((resolve, reject) => { | |
setTimeout(() => { | |
const randomNumber = Math.random(); | |
if (randomNumber > 0.5) { | |
resolve(randomNumber); // Resolve the promise with a value | |
} else { | |
reject(new Error("Random number is less than 0.5")); // Reject the promise with an error | |
} | |
}, 1000); |
#!/usr/bin/env bash | |
# To fix the " gpg: WARNING: unsafe permissions on homedir '/home/path/to/user/.gnupg' " error | |
# Make sure that the .gnupg directory and its contents is accessibile by your user. | |
chown -R $(whoami) ~/.gnupg/ | |
# Also correct the permissions and access rights on the directory | |
chmod 600 ~/.gnupg/* | |
chmod 700 ~/.gnupg |