Skip to content

Instantly share code, notes, and snippets.

View p0n1's full-sized avatar
🔍
Searching...

p0n1

🔍
Searching...
View GitHub Profile
@p0n1
p0n1 / epub_to_audiobook_guide_for_windows.md
Last active March 26, 2024 14:26
This tutorial was crafted with the help of ChatGPT. Leave a comment if you find any mistakes.

EPUB to Audiobook Converter for Windows Users

Welcome to the tutorial on using the EPUB to Audiobook Converter tool on Windows. If you're not familiar with command-line tools or programming, don't worry. This guide is specially designed for users like you. Let's get started!

This tutorial may be out of date. So also check the README of https://github.com/p0n1/epub_to_audiobook for latest command options.

1. Pre-requisites:

  • A working internet connection
  • An active Microsoft Azure account with access to the Microsoft Cognitive Services Speech Services. If you don't have one, follow this link to create it.
@p0n1
p0n1 / export_dune.md
Last active July 12, 2023 11:39
Export Query Results From Dune Analytics

This Gist provides a set of JavaScript snippets that can be executed directly in the browser console to export query results from Dune Analytics. It includes methods to extract data from the first page of results, paginate through subsequent pages, and download the data into a .json file.

The selector for query results row and next page button may change over time. Find the correct one at that time.

Instructions

Open your web browser console. These snippets have been tested on Google Chrome.

Copy the desired snippet from the Gist and paste it into the console.

@p0n1
p0n1 / attestation.txt
Created April 12, 2022 05:56
Attestation
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: semaphore16
Contributor # 328
Hash: 50356f45 e8c23950 73b7d4d3 c2793b31
3735f1ae 104c6761 7f7b78b8 210f1e2a
e73eedbb 240f139c 1b704514 ab266d80
2e217799 0282ae79 ff6c35ae b03003ca
@p0n1
p0n1 / attestation.txt
Created March 26, 2021 09:59
zkparty phase2 tusted setup MPC contribution summary
{
"ceremony": "zk_transaction_1_4",
"ceremonyId": "VgOEuoAjThuaDosXRroW",
"time": "2021-03-26T09:59:42.970Z",
"contributionNumber": 12,
"hash": "c6f06265 9c7eb04f efd58ba3 c7d59353\n 88dc09cb 6279de9e a105ddf8 86d897e4\n 5632ebda 2bc0129b d5673288 75291a07\n d36fbfc6 b830774f e6cbad99 82272993\n"
}
@p0n1
p0n1 / attestation.txt
Created March 26, 2021 09:59
zkparty phase2 tusted setup MPC contribution summary
{
"ceremony": "zk_transaction_1_3",
"ceremonyId": "k9CJHwJoeSRMGtjHUiF6",
"time": "2021-03-26T09:59:02.414Z",
"contributionNumber": 12,
"hash": "b466e514 17e16d2f 8a91ed73 d447a0f1\n 6b895005 7bc74760 8e70ef56 d882923d\n df4cdb6d 0dae2b66 a2cc95a9 d0315ffe\n ca851be0 6823ce63 a2f40646 d3a06a8a\n"
}
@p0n1
p0n1 / attestation.txt
Created March 26, 2021 09:56
zkparty phase2 tusted setup MPC contribution summary
{
"ceremony": "zk_transaction_1_2",
"ceremonyId": "3lHsQDxM4lQKxkwA0Oyj",
"time": "2021-03-26T09:56:04.709Z",
"contributionNumber": 13,
"hash": "17dff62f 3f7790df 9909559b e58889b7\n 293eb5b3 bbfb96e6 a3d9cea2 bfff17f4\n e4269823 05e898b7 4acba66c 7fb6fe92\n 581e859c 38109de5 d4ec5a8d 01d4d75d\n"
}
@p0n1
p0n1 / attestation.txt
Created March 26, 2021 09:51
zkparty phase2 tusted setup MPC contribution summary
{
"ceremony": "zk_transaction_1_1",
"ceremonyId": "hIfLWePJPn6ldES7OZjB",
"time": "2021-03-26T09:51:17.626Z",
"contributionNumber": 15,
"hash": "2e7f3caf cd16b723 d0865290 4a5976ba\n 81f013be 7aea6687 20c07b0f 6d87fb88\n 813e58b8 b57c3749 b2d95954 87bf19fd\n f0bf373c 7f58b451 f97ee96a 1c520a63\n"
}
@p0n1
p0n1 / pubkey.gpg
Created June 26, 2020 01:55
for fil p2
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF71VNsBEADYprnMYsH/Tom+vz32C4aJsSfxUpXqjk6KjbMB6SaTMxn9ZYlr
vd5BYAlshgAQ72xonKIPj5+NXExnmVIkGsm/UnyV6t9wSsG0f7ymUVKdjxRwxg0v
mmSnmc1Se01sUNiUFhITnR9Fx0OFCmkVQNYVJ3EbgLOjCO48Jzl/xN2Q35hjtqKU
+O5+AEfm04H3C9di4RsmyRMgw1cT/YgMpddsmNhSUvOC+2JxqgnEa1d7MatDj4Va
PxCuVtwcpPiWdIIAT3B+FsJfcNNYf0f3adIhK47jGXNUr7bgoNb6e9D1ihN3OCYw
QcVgTrrnUkmGz7TtbqcxnCt4R4v6SYCs6hvJ23jASXsNwUIune2zVtncpAMByuGH
LLhmubJr46alr2t/JwlhlS+mwq2+zj+UWvYBc9NEbt4HVVPyB9LA/gZuuEBunNhT
tqea58PdjiwJyrJLHdX5TiZdMVS1OthQbj9LJiYfC/xNyw8xiH59eDR32ZPRryWX
@p0n1
p0n1 / ethsnarks-osx-cxx11.md
Last active January 9, 2020 06:36
Fix ethsnarks usage on osx

Failed to use ethsnarks library latest version on macOS.

Error log:

ethsnarks/depends/libsnark/depends/libff/libff/common/utils.hpp:34:40: error:
      no template named 'initializer_list' in namespace 'std'

Should set CMAKE_CXX_STANDARD in CMakeLists.txt.

@p0n1
p0n1 / ethsnarks-build-solution.md
Last active January 9, 2020 02:20
fix ethsnarks compiling error about 'gmp.h' file not found

Error log

ethsnarks/depends/libsnark/depends/libff/libff/algebra/fields/bigint.hpp:15:10: fatal error: 'gmp.h' file not found

Reference

HarryR/ethsnarks-miximus#12 (comment)

Thanks for responding with the information, I'm still unsure of why you can compile a single file and it finds gmp.h but when building it's unable to find it, but my thoughts are: