Skip to content

Instantly share code, notes, and snippets.

View eminogrande's full-sized avatar
💭
lets do this!

Emin Mahrt eminogrande

💭
lets do this!
View GitHub Profile
@aunyks
aunyks / snakecoin-server-full-code.py
Last active March 8, 2024 19:22
The code in this gist isn't as succinct as I'd like it to be. Please bare with me and ask plenty of questions that you may have about it.
from flask import Flask
from flask import request
import json
import requests
import hashlib as hasher
import datetime as date
node = Flask(__name__)
# Define what a Snakecoin block is
class Block:
@jaceklaskowski
jaceklaskowski / blockchain.md
Last active March 14, 2018 15:17
Blockchains, Cryptoeconomics, Ethereum, Litecoin, Bitcoin, IOTA
/* Deleting a node from Binary search tree */
#include<iostream>
using namespace std;
struct Node {
int data;
struct Node *left;
struct Node *right;
};
//Function to find minimum in a tree.
Node* FindMin(Node* root)