$argon2id$v=19$m=64,t=512,p=2$/Bx76haXdJ2GPvcK+ERvxA$ZdiZvrmVmbVZXEMkJx3GNw
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:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
######################################################################################### | |
# deploy_certificates.sh | |
# | |
# Copyright (c) 2023 Anthony Accioly <[email protected]> | |
# | |
# SPDX-License-Identifier: MIT | |
# | |
# Description: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum Shape: | |
case Diamond, Squiggle, Oval | |
enum Color: | |
case Red, Green, Purple | |
enum Shading: | |
case Open, Striped, Solid | |
enum NumberType: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 { |
NewerOlder