Skip to content

Instantly share code, notes, and snippets.

View jambestwick's full-sized avatar
🌈
cola

Nate River jambestwick

🌈
cola
View GitHub Profile
@jambestwick
jambestwick / blocketh
Created June 9, 2021 07:11
blocketh,test
just play for fun
## Alternatives to selling at below-market-clearing prices for achieving fairness (or community sentiment, or fun)
When Android uses mediaRecorder to record, onPreviewFrame does not display,because
api1 does not support calling onPreviewFrame while recording. The preview function during recording is controlled by mMediaRecorder.setPreviewDisplay(mPreview.getHolder().getSurface());
In other words, the preview is done by MediaRecorder during recording.
To achieve a callback while recording, you can only use camera api2.
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreigo7lwf4b2uhxmr6ii2vcizordvewdjafkdusnk3h5gyf7cftyqnu ✅
Create your profile today to start building social connection and trust online at https://3Box.io/
@jambestwick
jambestwick / .deps...remix-tests...remix_accounts.sol
Created November 27, 2021 15:10
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.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library TestsAccounts {
function getAccount(uint index) pure public returns (address) {
address[15] memory accounts;
accounts[0] = 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4;
accounts[1] = 0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2;
@jambestwick
jambestwick / .deps...remix-tests...remix_accounts.sol
Created November 27, 2021 15:10
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.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library TestsAccounts {
function getAccount(uint index) pure public returns (address) {
address[15] memory accounts;
accounts[0] = 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4;
accounts[1] = 0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2;
@jambestwick
jambestwick / Mona邀请码生成器
Created November 29, 2021 17:24
Mona邀请码生成器
Mona邀请码生成器by jambestwick

Keybase proof

I hereby claim:

  • I am jambestwick on github.
  • I am jambestwick (https://keybase.io/jambestwick) on keybase.
  • I have a public key ASDZJ-tUbnMV9LTVf6jaasHF7Hm7tovTmHL_Ln67uRGf8go

To claim this, I am signing this object:

@jambestwick
jambestwick / .deps...remix-tests...remix_accounts.sol
Created January 30, 2022 05:30
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.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library TestsAccounts {
function getAccount(uint index) pure public returns (address) {
address[15] memory accounts;
accounts[0] = 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4;
accounts[1] = 0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2;