I hereby claim:
- I am arivictor on github.
- I am arisafari (https://keybase.io/arisafari) on keybase.
- I have a public key ASDLhNWgVLbFOvteVSyqCQ9N2DYJNTruMnmaDQZ4ZKm7dQo
To claim this, I am signing this object:
| from flask import Flask, render_template_string, request | |
| app = Flask(__name__) | |
| # In-memory storage | |
| WORKFLOWS = [] | |
| NEXT_ID = 1 | |
| HTML_BASE = """ | |
| <!doctype html> |
| from http.server import BaseHTTPRequestHandler, HTTPServer | |
| HOST, PORT = "127.0.0.1", 8000 | |
| HTML_PAGE = """<!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>HTMX Example</title> | |
| <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/htmx.min.js"></script> |
| import SwiftUI | |
| import Combine | |
| import CoreData | |
| // MARK: - Domain | |
| protocol EventBus { | |
| func publish<T: DomainEvent>(_ event: T) | |
| func subscribe<T: DomainEvent>(_ type: T.Type, handler: @escaping (T) -> Void) -> AnyCancellable | |
| } |
I hereby claim:
To claim this, I am signing this object:
| const web3 = require('@solana/web3.js'); | |
| const { Metadata } = require('@metaplex-foundation/mpl-token-metadata'); | |
| async function getNFTUpdateAuthority(mintAddress) { | |
| // Connect to Solana cluster | |
| const connection = new web3.Connection(web3.clusterApiUrl('mainnet-beta')); | |
| // Convert the mint address to a PublicKey | |
| const mintPublicKey = new web3.PublicKey(mintAddress); |
| package main | |
| import "cloud.google.com/go/storage" | |
| func main() { | |
| // Hardcoded credentials | |
| credsJSON := `{ | |
| "type": "service_account", | |
| "project_id": "my_project", | |
| // ... other credentials ... |
| #!/bin/bash | |
| # Set your list of GCS bucket names, log file path, and threshold | |
| BUCKET_NAMES=("bucket1" "bucket2" "bucket3") | |
| LOG_FILE="/path/to/log_file.json" | |
| THRESHOLD=10 | |
| # Iterate over the list of bucket names | |
| for BUCKET_NAME in "${BUCKET_NAMES[@]}"; do | |
| # Get the list of top-level subfolders in the bucket (folders only) |
| // | |
| // Persistence.swift | |
| // Note Taker | |
| // | |
| // Created by Ari Laverty on 15/1/2023. | |
| // | |
| import CoreData | |
| struct PersistenceController { |
| // "@metaplex-foundation/js": "^0.15.0", | |
| import {Metaplex} from "@metaplex-foundation/js"; | |
| import {Connection, PublicKey} from "@solana/web3.js"; | |
| const RPC_URL = 'https://...'; | |
| const MASTER_EDITION_ADDRESS = 'DdK...NFHaH'; | |
| const RESULT_OUTPUT_PATH = './hashlist.json'; | |
| (async () => { | |
| const connection = new Connection(RPC_URL); |
| // "@metaplex-foundation/js": "^0.15.0", | |
| import {Metaplex} from "@metaplex-foundation/js"; | |
| import {Connection, PublicKey, ConfirmedSignatureInfo} from "@solana/web3.js"; | |
| import * as fs from "fs"; | |
| const RPC_URL = 'https://...'; | |
| const MASTER_EDITION_ADDRESS = '6g2...ZfK2'; | |
| const RESULT_OUTPUT_PATH = './hashlist.json'; | |
| (async () => { |