Project website: mpv.io
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use borsh::{BorshDeserialize, BorshSerialize}; | |
| use std::collections::HashMap; | |
| use std::convert::TryInto; | |
| use solana_program::{ | |
| account_info::{next_account_info, AccountInfo}, | |
| entrypoint, | |
| entrypoint::ProgramResult, | |
| msg, | |
| program_error::ProgramError, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // open https://faucet.matic.network/ | |
| // enter public address | |
| // got to devtools and run script | |
| setInterval (async ()=> { | |
| await document.getElementsByClassName("button is-link")[0].click(); | |
| await new Promise(resolve => setTimeout(resolve, 4000)); | |
| await document.getElementsByClassName("button is-success")[0].click(); | |
| }, 70000); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.0; | |
| contract Token { | |
| address public owner; | |
| uint256 public totalSupply; | |
| mapping (address => uint256) public balanceOf; | |
| mapping (address => mapping (address => uint256)) public allowance; | |
| string public symbol = "TOKEN"; | |
| uint256 public decimals = 18; |
A quick guide on how to setup Node.js development environment.
nvm allows installing several versions of Node.js to the same system. Sometimes applications require a certain versions of Node.js to work. Having the flexibility of using specific versions can help.
- Open new Terminal window.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Feature_1 | Feature_2 | Feature_3 | Feature_4 | Class | |
|---|---|---|---|---|---|
| 3.6216 | 8.6661 | -2.8073 | -0.44699 | 0 | |
| 4.5459 | 8.1674 | -2.4586 | -1.4621 | 0 | |
| 3.866 | -2.6383 | 1.9242 | 0.10645 | 0 | |
| 3.4566 | 9.5228 | -4.0112 | -3.5944 | 0 | |
| 0.32924 | -4.4552 | 4.5718 | -0.9888 | 0 | |
| 4.3684 | 9.6718 | -3.9606 | -3.1625 | 0 | |
| 3.5912 | 3.0129 | 0.72888 | 0.56421 | 0 | |
| 2.0922 | -6.81 | 8.4636 | -0.60216 | 0 | |
| 3.2032 | 5.7588 | -0.75345 | -0.61251 | 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import TextField from 'components/base/TextField'; | |
| const WAIT_INTERVAL = 1000; | |
| const ENTER_KEY = 13; | |
| export default class TextSearch extends Component { | |
| constructor(props) { | |
| super(); |
To change history commits
Rollback to some last hash then change everything then ammend changes to that commit
git reset --hard 7ab8bc40eef3c8a95271152dc1cfb63a0e4318a9
#add files
git add .
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This file was initially generated by Windows Terminal 0.11.1121.0 | |
| // It should still be usable in newer versions, but newer versions might have additional | |
| // settings, help text, or changes that you will not see unless you clear this file | |
| // and let us generate a new one for you. | |
| // To view the default settings, hold "alt" while clicking on the "Settings" button. | |
| // For documentation on these settings, see: https://aka.ms/terminal-documentation | |
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", |