Skip to content

Instantly share code, notes, and snippets.

View qxrein's full-sized avatar
🍓
working hard

rein qxrein

🍓
working hard
View GitHub Profile
@qxrein
qxrein / gist:951c3b3ed5d8e21f4eba21272fa77d33
Created August 4, 2025 18:25
nix flake devshell for meep simulator
{
description = "Meep devshell";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
@qxrein
qxrein / .deps...npm...@openzeppelin...contracts...access...AccessControl.sol
Created September 5, 2024 18:49
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.27+commit.40a35a09.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)
pragma solidity ^0.8.20;
import {IAccessControl} from "./IAccessControl.sol";
import {Context} from "../utils/Context.sol";
import {ERC165} from "../utils/introspection/ERC165.sol";