Skip to content

Instantly share code, notes, and snippets.

Genshin Impact

Mr Albedo Luo-Chang

Genshin Impact
  • The University of Edinburgh
  • Scotland
View GitHub Profile
Luo-Chang /
Created Apr 22, 2021 — forked from markus-beuckelmann/
A short Python script to benchmark NumPy and show your BLAS setup
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# Roughly based on:
from __future__ import print_function
import numpy as np
from time import time
Luo-Chang / Ballot.sol
Created Jun 3, 2018
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at
View Ballot.sol
contract Ballot {
struct Voter {
uint weight;
bool voted;
uint8 vote;
struct Proposal {
uint voteCount;