Skip to content

Instantly share code, notes, and snippets.

View hiruthicShaSS's full-sized avatar
:octocat:

Hiruthic hiruthicShaSS

:octocat:
View GitHub Profile
@hiruthicShaSS
hiruthicShaSS / launch.json
Created November 30, 2021 08:19
launch.json file for eduserveMinmal project. Place this file under .vscode/ inside the project.
{
"configurations": [
{
"name": "Development",
"request": "launch",
"type": "dart",
"program": "lib/main_development.dart",
"args": [
"--flavor",
"development",
@hiruthicShaSS
hiruthicShaSS / blockchain.py
Last active July 5, 2021 09:31
Simple blockchain implementation with python
# This code has been updated multiple times. You can access the new version here:
# https://github.com/hiruthicShaSS/simple-blockchain
from hashlib import sha1
from datetime import datetime
import time
class Block:
def __init__(self, data: dict):
self.previousBlockHash = "0"