I hereby claim:
- I am codenamejason on github.
- I am jaxcoder (https://keybase.io/jaxcoder) on keybase.
- I have a public key ASDyKoIAGeIns2hnu5dZCinsTzyhoyjjyv4s2Be2iAnwtwo
To claim this, I am signing this object:
// SPDX-License-Identifier: AGPL-3.0-only | |
pragma solidity =0.8.19 ^0.8.0 ^0.8.1 ^0.8.19 ^0.8.2 ^0.8.4; | |
// contracts/core/libraries/Errors.sol | |
// ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣾⣿⣷⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣗⠀⠀⠀⢸⣿⣿⣿⡯⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ | |
// ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣿⣿⣿⣿⣷⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⣿⣿⣿⣿⣿⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣗⠀⠀⠀⢸⣿⣿⣿⡯⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ | |
// ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⣿⣿⣿⢿⣿⣿⣿⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣗⠀⠀⠀⢸⣿⣿⣿⡯⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ | |
// ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⣿⣿⣿⣿⣿⣿⣿⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⣿⣿⣿⡟⠘⣿⣿⣿⣷⡀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣗⠀⠀⠀⢸⣿⣿⣿⡯⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ | |
// ⠀⠀⠀⠀⠀⠀⠀⠀⣀⣴⣾⣿⣿⣿⣿⣾⠻⣿⣿⣿⣿⣿⣿⣿⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣿⣿⣿⡿⠀⠀⠸⣿⣿⣿⣧⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣗⠀⠀⠀⢸⣿⣿⣿⡯⠀⠀⠀⠀⠀⠀⢀⣠⣴⣴⣶⣶⣶⣦⣦⣀⡀⠀⠀⠀⠀⠀⠀ |
/** | |
*Submitted for verification at celoscan.io on 2023-11-02 | |
*/ | |
// SPDX-License-Identifier: AGPL-3.0-only | |
pragma solidity 0.8.19; | |
// External Libraries | |
// OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol) |
let Web3 = require("web3"); | |
// Replace value of rpc with https://rpc-mumbai.matic.today for Mumbai | |
let rpc = "https://rpc-mainnet.matic.network"; | |
const provider = new Web3.providers.HttpProvider(rpc); | |
const web3 = new Web3(provider); | |
// Add your private key | |
web3.eth.accounts.wallet.add("pvt-key"); |
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box. | |
✅ did:3:bafyreicu77ap4onstcd4mjayn5uckzciui573sutnn57o4kphxx2dtmhm4 ✅ | |
Create your profile today to start building social connection and trust online at https://3Box.io/ |
Mac Network Commands Cheat Sheet | |
After writing up the presentation for MacSysAdmin in Sweden, I decided to go ahead and throw these into a quick cheat sheet for anyone who’d like to have them all in one place. Good luck out there, and stay salty. | |
Get an ip address for en0: | |
ipconfig getifaddr en0 | |
Same thing, but setting and echoing a variable: |
I hereby claim:
To claim this, I am signing this object:
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box. | |
✅ did:3:bafyreifcbjur6bftb2ppyedt3rfts5be62uwxhnh5ng6n4td3dwnrhrjn4 ✅ | |
Create your profile today to start building social connection and trust online at https://3Box.io/ |
0x6F7d7d68c3Eed4Df81CF5F97582deef8ABC51533 |
public static DateTime UnixTimestampToDateTime(string unixTimestamp) | |
{ | |
var time = Convert.ToDouble(unixTimestamp); | |
DateTime dtDateTime = new DateTime(1970, 1, 1, 0, 0, 0, 0, System.DateTimeKind.Utc); | |
dtDateTime = dtDateTime.AddSeconds(time).ToLocalTime(); | |
return dtDateTime; | |
} |