This guide shows per example the installation of the Java SDK versions 8 (LTS, already installed) and 11 (LTS).
apt --names-only search "openjdk-.*jre$"
> Sorting... Done| module.exports = { | |
| + images: { | |
| + path: 'https://<distribution-id>.cloudfront.net/_next/image' | |
| + }, | |
| } |
| terraform { | |
| required_providers { | |
| aws = { | |
| source = "hashicorp/aws" | |
| version = "~> 3.0" | |
| } | |
| } | |
| } | |
| # Main AWS region where the resources should be created in |
| # main.tf | |
| terraform { | |
| required_providers { | |
| aws = { | |
| source = "hashicorp/aws" | |
| version = "~> 3.0" | |
| } | |
| } | |
| } |
| // Reference implementation how to start a Next.js webserver inside a Lambda | |
| // from API Gateway invocation | |
| // https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html | |
| const { request } = require('http'); | |
| // Import the generated Next.js server from somewhere | |
| const NextServer = require('./dist'); | |
| exports.handler = async function (event) { |
| # Copies the length of the selected curve to the clipboard | |
| import bpy | |
| import subprocess | |
| def copy2clip(txt): | |
| cmd='echo '+str(txt).strip()+'|clip' | |
| return subprocess.check_call(cmd, shell=True) | |
| length = bpy.context.object.data.splines.active.calc_length() | |
| copy2clip(length) |
After installing the KeepassXC Browser extension in Google Chrome, it failed to connect to the KeepassXC Application.
Checking the ~/.config/google-chrome/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json file as described in the Troubleshooting guide I noticed that the file is missing.
So simple create this file and paste the content from the org.keepassxc.keepassxc_browser.json file from this gist and restart the browser to make it work again.
When using KeepassXC from the snap store, it usually does not create the keepassxc-proxy binary, because it's keepassxc.proxy here.
To fix this, create the file keepassxc-proxy in /usr/bin/keepassxc-proxy with the following content:
| /* polyfills.js */ | |
| import 'react-app-polyfill/ie11'; | |
| import 'core-js/features/array/find'; | |
| import 'core-js/features/array/includes'; | |
| import 'core-js/features/number/is-nan'; |
| // IIFE | |
| (function() { | |
| 'use strict'; | |
| // node | |
| var fs = require('fs'); | |
| var path = require('path'); | |
| // Patch encoding module due to iconv issues -> make it use iconv-lite |