I hereby claim:
- I am josefrichter on github.
- I am josefrichter (https://keybase.io/josefrichter) on keybase.
- I have a public key ASAYoMYvFMXARyy3y1bGYvjWElSi1FoiDldsDpYkMy0R4Qo
To claim this, I am signing this object:
| pragma solidity >=0.7.0 <0.9.0; | |
| contract ERC20Token { | |
| string public name; | |
| mapping(address => uint256) public balances; | |
| function mint() public { | |
| balances[tx.origin] ++; | |
| } | |
| } |
| pragma solidity >=0.7.0 <0.9.0; | |
| contract ERC20Token { | |
| string public name; | |
| mapping(address => uint256) public balances; | |
| constructor(string memory _name) { | |
| name = _name; | |
| } | |
| pragma solidity >=0.7.0 <0.9.0; | |
| import "./SafeMath.sol"; | |
| // import "./Math.sol"; | |
| // library Math { | |
| // function divide(uint256 a, uint256 b) internal pure returns (uint256) { | |
| // require(b > 0); | |
| // uint256 c = a / b; |
| pragma solidity >=0.7.0 <0.9.0; | |
| contract Escrow { | |
| address agent; // nobody else can use this contract | |
| mapping(address => uint256) public deposits; | |
| modifier onlyAgent() { | |
| require(msg.sender == agent); |
| ref: refs/heads/main |
| const data = Data({ | |
| ch1page: 1, | |
| ch2page: 1, | |
| ch3page: 1, | |
| }) | |
| const ch1times = [1000, 1100, 1200, 1300] | |
| const ch2times = [1000, 1015, 1100, 1130] | |
| const ch3times = [1000, 1015, 1030, 1130] |
I hereby claim:
To claim this, I am signing this object:
| (defmodule nova-rest.controllers.pet | |
| (export | |
| (manage 1))) | |
| (defun manage | |
| ;; | |
| ;; GET Handler (Index) | |
| ;; | |
| ([(map 'req (map 'method #"GET"))] |
| import * as React from "react"; | |
| import { useState, useEffect } from "react"; | |
| /** | |
| A hook to simply use state between components | |
| Usage: | |
| // You can put this in an central file and import it too | |
| const useStore = createStore({ count: 0 }) |
| defmodule QueueAgent do | |
| def start_link(queue, name) do | |
| Agent.start_link(fn -> queue end, name: name) | |
| end | |
| def add(queue, item) do | |
| Agent.cast(queue, fn(state) -> state ++ [item] end) | |
| end | |
| def get(queue) do |