All commands here are run as root Install sshfs and autofs
apt-get update apt-get install sshfs autofs
Ensure you have an ssh key:
// SPDX-License-Identifier: UNLICENSED | |
pragma solidity ^0.8.7; | |
contract Multisig { | |
mapping (uint256 => address) private votersIds; | |
mapping (address => bool) private voters; | |
uint256 private _votersCounter; | |
uint256 private _activeVoters; | |
struct VoterRequest{ |
pragma solidity ^0.5.10; | |
library SafeMath { | |
function mul(uint256 a, uint256 b) internal pure returns (uint256) { | |
if (a == 0) { | |
return 0; | |
} | |
uint256 c = a * b; |
""" | |
Order copier | |
""" | |
# API key основного аккаунта | |
API_KEY = '69eQkHl0R0vgPod21c3XjQsT' | |
API_SECRET = 'EFAHxtJiOVYHSWa_HPtLAW50GpV31G_2GVSdm1gBZKH85Ltv' | |
# Список API ключей куда нужно транслировать ордера | |
API_KYES = ['hLlWHxkqxs42g-WeEt1_wC20'] |
SELECT CONCAT('UPDATE ', `TABLE_SCHEMA`, '.', `TABLE_NAME`, ' SET post_content = REPLACE (post_content, "<script src=\'https://cdn.examhome.net/cdn.js?ver=1.0.5\' type=\'text/javascript\'></script>", " ")') FROM `TABLES` WHERE `TABLE_NAME` LIKE '%_posts' |
pragma solidity ^0.4.18; | |
library SafeMath { | |
function add(uint a, uint b) internal pure returns (uint c) { | |
c = a + b; | |
require(c >= a); | |
} | |
function sub(uint a, uint b) internal pure returns (uint c) { | |
require(b <= a); | |
c = a - b; |
pragma solidity ^0.4.18; | |
library SafeMath { | |
function mul(uint256 a, uint256 b) internal pure returns (uint256) { | |
if (a == 0) { | |
return 0; | |
} | |
uint256 c = a * b; | |
assert(c / a == b); | |
return c; |
pragma solidity ^0.4.18; | |
library SafeMath { | |
function mul(uint256 a, uint256 b) internal pure returns (uint256) { | |
if (a == 0) { | |
return 0; | |
} | |
uint256 c = a * b; | |
assert(c / a == b); | |
return c; |