To generate an ed25519 key used for certification, use the following command:
gpg --quick-generate-key "Name (comment) <[email protected]>" ed25519 cert 10y| -------------------------------------------- | |
| System.nanoTime() | |
| -------------------------------------------- | |
| Avg Time: 0.99 | |
| Max Time: 1.90 | |
| Min Time: 0.51 | |
| -------------------------------------------- | |
| System.currentTimeMillis() | |
| -------------------------------------------- | |
| Avg Time: 1.00 |
| import java.math.BigDecimal; | |
| import java.util.*; | |
| import java.util.stream.Collectors; | |
| import java.util.stream.IntStream; | |
| /** | |
| * Created by Anthony on 11/10/2014. | |
| */ | |
| public class Teste { |
| #!/bin/bash | |
| # Extracts Artist;Album and Title from a CSV file exported by Mp3tag | |
| if [ $# -ne 1 ]; then | |
| echo usage: cleanMp3tagCSV file | |
| exit 1 | |
| fi | |
| ORIGINAL_FILE=$1 |
| package com.rockthejvm.blog | |
| import kotlinx.coroutines.* | |
| import mu.KotlinLogging | |
| import java.util.concurrent.Executors | |
| // coroutine = "thread" | |
| // parallel + concurrent apps | |
| private val logger = KotlinLogging.logger {} |
| enum Shape: | |
| case Diamond, Squiggle, Oval | |
| enum Color: | |
| case Red, Green, Purple | |
| enum Shading: | |
| case Open, Striped, Solid | |
| enum NumberType: |
| #!/usr/bin/env bash | |
| ######################################################################################### | |
| # deploy_certificates.sh | |
| # | |
| # Copyright (c) 2023 Anthony Accioly <[email protected]> | |
| # | |
| # SPDX-License-Identifier: MIT | |
| # | |
| # Description: |
To generate an ed25519 key used for certification, use the following command:
gpg --quick-generate-key "Name (comment) <[email protected]>" ed25519 cert 10y| // Remove all outdated kind 10002 events | |
| // SPDX-License-Identifier: Unlicense | |
| // SPDX-FileCopyrightText: 2024 Anthony Accioly <[email protected]> | |
| import WebSocket from 'ws' | |
| import { SimplePool, useWebSocketImplementation } from 'nostr-tools/pool' | |
| import { finalizeEvent, getPublicKey, sortEvents } from 'nostr-tools/pure' | |
| import * as nip19 from 'nostr-tools/nip19' | |
| const relays = [ |
I hereby claim:
To claim this, I am signing this object: