Skip to content

Instantly share code, notes, and snippets.

@dobredani
dobredani / _dbFile.csv
Created April 29, 2024 11:14
Data series analysis
We can't make this file beautiful and searchable because it's too large.
"TmStamp","TEMPERATURE"
"2024-01-10 23:00:06",31.5
"2024-01-10 23:00:07",31.488
"2024-01-10 23:00:08",31.473
"2024-01-10 23:00:09",31.459
"2024-01-10 23:00:10",31.453
"2024-01-10 23:00:11",31.432
"2024-01-10 23:00:12",31.42
"2024-01-10 23:00:13",31.404
/*******************
* multiplicity.js *
*******************
*
* Out of one cell and into another. They're not giving you
* very much to work with here, either. Ah, well.
*
* Level filenames can be hints, by the way. Have I
* mentioned that before?
*
# HELP abci_begin_block abci_begin_block
# TYPE abci_begin_block summary
abci_begin_block{chain_id="mainnet-3",quantile="0.5"} 35.91124725341797
abci_begin_block{chain_id="mainnet-3",quantile="0.9"} 35.91124725341797
abci_begin_block{chain_id="mainnet-3",quantile="0.99"} 35.91124725341797
abci_begin_block_sum{chain_id="mainnet-3"} 155024.11296892166
abci_begin_block_count{chain_id="mainnet-3"} 7850
# HELP abci_commit abci_commit
# TYPE abci_commit summary
abci_commit{chain_id="mainnet-3",quantile="0.5"} 5.435352802276611
async def main():
provider = LiteBalancer.from_testnet_config(2)
await provider.start_up()
highload_wallet = await HighloadWallet.from_mnemonic(provider, mnemonics)
USER_JETTON_WALLET = (await provider.run_get_method(address=JETTON_MASTER_ADDRESS,
method="get_wallet_address",
stack=[begin_cell().store_address(highload_wallet.address).end_cell().begin_parse()]))[0]
/*******************
* multiplicity.js *
*******************
*
* Out of one cell and into another. They're not giving you
* very much to work with here, either. Ah, well.
*
* Level filenames can be hints, by the way. Have I
* mentioned that before?
*
/************************
* validationEngaged.js *
************************
*
* They're really on to us now! The validateLevel function
* has been activated to enforce constraints on what you can
* do. In this case, you're not allowed to remove any blocks.
*
* They're doing all they can to keep you here. But you
* can still outsmart them.
@senaditya
senaditya / .prettierrc.json
Created April 29, 2024 11:12
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.25+commit.b61c2a91.js&optimize=false&runs=200&gist=
{
"overrides": [
{
"files": "*.sol",
"options": {
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false
@wladyslawkrz
wladyslawkrz / conventional-commits.md
Created April 29, 2024 11:11 — forked from Zekfad/conventional-commits.md
Conventional Commits Cheatsheet

Quick examples

  • feat: new feature
  • fix(scope): bug in scope
  • feat!: breaking change / feat(scope)!: rework API
  • chore(deps): update dependencies

Commit types

  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • chore: Changes which doesn't change source code or tests e.g. changes to the build process, auxiliary tools, libraries
/************************
* validationEngaged.js *
************************
*
* They're really on to us now! The validateLevel function
* has been activated to enforce constraints on what you can
* do. In this case, you're not allowed to remove any blocks.
*
* They're doing all they can to keep you here. But you
* can still outsmart them.
@senaditya
senaditya / .prettierrc.json
Created April 29, 2024 11:11
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.25+commit.b61c2a91.js&optimize=false&runs=200&gist=
{
"overrides": [
{
"files": "*.sol",
"options": {
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false