I hereby claim:
- I am aaccioly on github.
- I am aaccioly (https://keybase.io/aaccioly) on keybase.
- I have a public key ASD5jRhBTOGbqSmkNa1ZnQvj1Vybw6TZ18wP3Z3yOsGfHwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// 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 = [ |
To generate an ed25519 key used for certification, use the following command:
gpg --quick-generate-key "Name (comment) <[email protected]>" ed25519 cert 10y
#!/usr/bin/env bash | |
######################################################################################### | |
# deploy_certificates.sh | |
# | |
# Copyright (c) 2023 Anthony Accioly <[email protected]> | |
# | |
# SPDX-License-Identifier: MIT | |
# | |
# Description: |
enum Shape: | |
case Diamond, Squiggle, Oval | |
enum Color: | |
case Red, Green, Purple | |
enum Shading: | |
case Open, Striped, Solid | |
enum NumberType: |
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 {} |
#!/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 |
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 { |
-------------------------------------------- | |
System.nanoTime() | |
-------------------------------------------- | |
Avg Time: 0.99 | |
Max Time: 1.90 | |
Min Time: 0.51 | |
-------------------------------------------- | |
System.currentTimeMillis() | |
-------------------------------------------- | |
Avg Time: 1.00 |