Skip to content

Instantly share code, notes, and snippets.

abandon
ability
able
about
above
absent
absorb
abstract
absurd
abuse
@argctl
argctl / multiple_ssh_setting.md
Created February 7, 2023 22:34 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
pragma solidity ^0.8.4;
contract Auth {
//mappings
constructor () {
}
//TODO - order slices array by number lowest to highest or expect it.
function layer (bool[] requires, int[] slices) {
// requires in layers by slice of bools
@argctl
argctl / c_e_coin.sol
Created November 8, 2022 16:39
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=
pragma solidity ^0.8.4;
// version spect
contract c_e_coin {
//createContract with rules to sell by creating party - charge for time and movement
//generic version with my algorythm taking up first 10 spots on initial contract
//buyContract to buy from previous contract owner
struct DebtPosition {
uint id; // 0 is the pooling contract 1 is the oldest
@argctl
argctl / Gitarg.sol
Created November 5, 2022 21:36
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=
pragma solidity ^0.8.4;
// a system that uses passwords or a real world artifact as an interface to verify timestamp and optionally location
// "they'll try to use your workspace"
// permissions :
// 1 - id for internal address
// 2 - password for internal address
// 3 - id, token => password // pseudo oauth
//
@argctl
argctl / gist-44ff0e0a24741e3f35fd88bd7a503b4c...Gitarg.sol
Created November 5, 2022 19:40
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.17+commit.8df45f5f.js&optimize=false&runs=200&gist=
pragma solidity ^0.8.4;
// a system that uses passwords or a real world artifact as an interface to verify timestamp and optionally location
// "they'll try to use your workspace"
// permissions :
// 1 - id for internal address
// 2 - password for internal address
// 3 - id, token => password // pseudo oauth
//
@argctl
argctl / gist-44ff0e0a24741e3f35fd88bd7a503b4c...Gitarg.sol
Created November 3, 2022 01:43
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.17+commit.8df45f5f.js&optimize=false&runs=200&gist=
pragma solidity ^0.8.4;
// a system that uses passwords or a real world artifact as an interface to verify timestamp and optionally location
// "they'll try to use your workspace"
// permissions :
// 1 - id for internal address
// 2 - password for internal address
// 3 - id, token => password // pseudo oauth
//
@argctl
argctl / gist-44ff0e0a24741e3f35fd88bd7a503b4c...gitarg.sol
Created November 2, 2022 18:17
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.17+commit.8df45f5f.js&optimize=false&runs=200&gist=
pragma solidity ^0.8.4;
// a system that uses passwords or a real world artifact as an interface to verify timestamp and optionally location
// "they'll try to use your workspace"
// permissions :
// 1 - id for internal address
// 2 - password for internal address
// 3 - id, token => password // pseudo oauth
//
@argctl
argctl / gist-44ff0e0a24741e3f35fd88bd7a503b4c...gitarg.sol
Created November 2, 2022 07:31
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.17+commit.8df45f5f.js&optimize=false&runs=200&gist=
pragma solidity ^0.8.4;
// a system that uses passwords or a real world artifact as an interface to verify timestamp and optionally location
// "they'll try to use your workspace"
// permissions :
// 1 - id for internal address
// 2 - password for internal address
// 3 - id, token => password // pseudo oauth
//
@argctl
argctl / gist-44ff0e0a24741e3f35fd88bd7a503b4c...gitarg.sol
Created November 2, 2022 02:29
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.17+commit.8df45f5f.js&optimize=false&runs=200&gist=
pragma solidity ^0.8.4;
// a system that uses passwords or a real world artifact as an interface to verify timestamp and optionally location
// "they'll try to use your workspace"
// permissions :
// 1 - id for internal address
// 2 - password for internal address
// 3 - id, token => password // pseudo oauth
//