Consume knowledge
Video Walkthrough: https://youtu.be/blVIzpd-UQY
- Must have ArConnect extension installed and a wallet setup
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
//////////////////////////////////// | |
// WORTHLESS BLOCKCHAIN PROJECT // | |
//////////////////////////////////// | |
// The most basic imitation/implementation of how a Blockchain would work | |
// Still has lots of flaws (╯°□°)╯︵ ┻━┻ | |
#include <ctime> | |
#include <cstring> | |
#include <iostream> |
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
# DEPENDENCIES: | |
# pip3 install opencv-python deepface | |
# TODO: | |
# Add multithreading support so face detection is done in a different thread independent form video feed and display | |
# Add good support for multiple face detection (that is not linear) | |
# ヾ(=`ω´=)ノ” ..nyaa | |
import cv2 |
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
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"basics": { | |
"name": "Ankush Singh", | |
"label": "Software Developer", | |
"email": "[email protected]", | |
"url": "https://ankushKun.github.io", | |
"summary": "Hi, I am Ankush Singh.\nI love building and learning.", | |
"location": { | |
"countryCode": "India", |
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
# Install requirements | |
# pip3 install -U selenium cahtterbot | |
import time | |
import random | |
from selenium import webdriver | |
from selenium.webdriver.chrome.service import Service | |
from selenium.webdriver.common.by import By | |
from chatterbot import ChatBot | |
from chatterbot.trainers import ChatterBotCorpusTrainer |
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 random | |
# Increasing this will have a drastic effect of total running time | |
NUM_PRISONERS = 100 | |
BOXES_ALLOWED = NUM_PRISONERS // 2 | |
##### CONFIG ##### | |
# Number of simulations to run | |
# It will run 100 times with 'NUM_PRISONERS' in each run |
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
using System; | |
using System.Linq; | |
using System.Text; | |
using Desonity; | |
using Org.BouncyCastle.Asn1; | |
using Org.BouncyCastle.Asn1.Sec; | |
using Org.BouncyCastle.Crypto.Digests; | |
using Org.BouncyCastle.Crypto.Parameters; | |
using Org.BouncyCastle.Crypto.Signers; | |
using Org.BouncyCastle.Math; |