$argon2id$v=19$m=8192,t=2,p=4$UI7ROOW9P6KCBfqBlIchjQ$ZStqbRUpdfwFB9reCb6UyMj/RVGP+i92
Rewrite done by openai
(PROMPT) rewrite this script in python3 and change the -s and -n args to be input from an input box , without argparse
#! /bin/bash
while getopts s:n: flag
do
case "${flag}" in
s) size=${OPTARG};;
This is a proof of concept for voting on blockchain using Ravencoin assets
Generate a main asset for the election
CAN_VOTE_2024
Generate a series of unique assets ( as many as you need to fill the voter registry wallets with one unique asset per)
This file contains 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
sudo apt-get install htop -y # This is not necessary, I just have it for check the resources consumption | |
sudo apt-get update | |
sudo apt-get install golang-go -y | |
export PATH=$PATH:$GOROOT/bin:$GOPATH/ | |
export GOPATH=$HOME/go | |
wget https://dist.ipfs.io/go-ipfs/v0.4.15/go-ipfs_v0.4.15_linux-amd64.tar.gz | |
tar xvfz go-ipfs_v0.4.15_linux-amd64.tar.gz | |
sudo mv go-ipfs/ipfs /usr/local/bin/ipfs | |
ipfs init | |
ipfs config Addresses.Gateway /ip4/0.0.0.0/tcp/8080 |
This file contains 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
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
server_name _; | |
add_header 'Access-Control-Allow-Origin' '*' always; | |
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always; | |
add_header 'Access-Control-Allow-Headers' 'X-Requested-With, Range, Content-Range, X-Chunked-Output, X-Stream-Output' always; | |
add_header 'Access-Control-Expose-Headers' 'Content-Range, X-Chunked-Output, X-Stream-Output' always; |
I hereby claim:
- I am didnt1able on github.
- I am didnt1able (https://keybase.io/didnt1able) on keybase.
- I have a public key ASCmvPuOI3z6tfIQig3kXJYF1A_F3T9rRNJtlJVFdtoJLwo
To claim this, I am signing this object: