mongodump --username DB_USERNAME --password DB_PASSWORD --db DB_NAME --out /var/backups/mongobackups/`date +"%m-%d-%y"`
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.3; | |
| import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; | |
| import "./interfaces/IBurnable.sol"; | |
| import "./ERC20Token.sol"; | |
| /** | |
| Function to receive approval and execute function in one call. | |
| */ |
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
| version: 0.2 | |
| phases: | |
| pre_build: | |
| commands: | |
| - aws --version | |
| - echo Logging in to Amazon ECR... | |
| - $(aws ecr get-login --no-include-email --region $AWS_DEFAULT_REGION) | |
| build: | |
| commands: |
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
| class _MenuBoxBackground extends CustomPainter { | |
| @override | |
| void paint(Canvas canvas, Size size) { | |
| final Paint paint = Paint() | |
| ..color = Colors.white | |
| ..strokeWidth = 1.W | |
| ..style = PaintingStyle.fill; | |
| final double triangleH = 10.H; | |
| final double triangleW = 25.0.W; | |
| final double width = size.width; |
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: GNU GENERAL PUBLIC LICENSE V3 | |
| pragma solidity =0.8.3; | |
| contract WBNB { | |
| string public name = "Wrapped BNB"; | |
| string public symbol = "WBNB"; | |
| uint8 public decimals = 18; | |
| event Approval(address indexed src, address indexed guy, uint wad); | |
| event Transfer(address indexed src, address indexed dst, uint wad); |
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 'dart:convert'; | |
| import 'dart:io'; | |
| import 'dart:typed_data'; | |
| import 'dart:ui' as ui; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/rendering.dart'; | |
| import 'package:nft/services/safety/base_stateful.dart'; | |
| import 'package:nft/widgets/p_appbar_transparency.dart'; | |
| import 'package:path_provider/path_provider.dart'; |
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
| pragma solidity =0.5.0; | |
| pragma experimental ABIEncoderV2; | |
| /// @title Multicall - Aggregate results from multiple read-only function calls | |
| /// @author Michael Elliot <mike@makerdao.com> | |
| /// @author Joshua Levine <joshua@makerdao.com> | |
| /// @author Nick Johnson <arachnid@notdot.net> | |
| contract Multicall { | |
| struct Call { |
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
| pragma solidity 0.5.16; | |
| /** | |
| * @dev Interface of the ERC20 standard. | |
| */ | |
| interface IERC20 { | |
| /** | |
| * @dev Returns the amount of tokens in existence. | |
| */ | |
| function totalSupply() external view returns (uint256); |
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: GNU GENERAL PUBLIC LICENSE V3 | |
| pragma solidity 0.5.16; | |
| contract WETH { | |
| string public name = "Wrapped Ether"; | |
| string public symbol = "WETH"; | |
| uint8 public decimals = 18; | |
| event Approval(address indexed src, address indexed guy, uint256 wad); | |
| event Transfer(address indexed src, address indexed dst, uint256 wad); |
NewerOlder