程序开发 - 老马资料库

程序开发最近更新:2025-10-15 09:37:03

禁止复制详细代码

禁止复制document.addEventListener('copy',(e) =>{e.preventDefault();e.clipboardData.setData('text/plain','不你能复制哈');    console.log('正在...

Solidity开发者应掌握的十个智能合约

作为一名深入研究以太坊和区块链的开发者,理解智能合约是开启无限可能性的关键。在这份全面的指南中,我们将探索每个Solidity开发者都最应该掌握的十个智能合约。1.ERC-20合约去中心化金融的基础,ERC-20代币标准...

可增发代币合约

pragma solidity ^0.5.0;library SafeMath {    /**     * @dev Returns the addition of two unsigned&...

合约转USDT合约

/** *Submitted for verification at Etherscan.io on 2020-05-11*/pragma solidity 0.5.2;interface IERC20 {  function transfer(addr...

uniswap学习资料

https://learnblockchain.cn/article/2824https://learnblockchain.cn/article/3100https://github.com/Uniswap/liquidity-stakerhttps://solidity-by-example.org/defi/staking-rewardshttps://solidity-by-exam...

etherscan常用api

ether余额https://api-cn.etherscan.com/api?module=account&action=balance&address=地址&tag=latest&apikey=key代币usdt余额https://api-cn.etherscan.com/api?module=account&action=toke...

js延迟2秒执行事件

有时候,我们在做修改回显数据时,就需要默认触发一些事件,但是由于数据没有很快从服务器中取回,所以就有延迟执行js事件setTimeout(function () {    // 这里就是处理的事件...

php如何实现数字转化成大写

【代码一】echo toChineseNumber(1234567890);//壹拾贰亿叁仟肆佰伍拾陆万柒仟捌佰玖拾圆function toChineseNumber($money){  $money = round($money,2);  $cnynums&nbs...

COINCAP API 2.0

https://docs.coincap.io/#89deffa0-ab03-4e0a-8d92-637a857d2c91...

mysql将一个表的数据导入到另一个表

将一个表的数据插入到另外一个表中的几种情况如下:1.如果2张表的字段一致,并且希望插入全部数据,可以用这种方法: INSERTINTO目标表SELECT*FROM来源表; 例如: insertintoinsertTestselect*fro...

批量删除mysql里的链接

updateaddonarticle set body=replace(body,substring(body,locate('<a',body),locate('>',body,locate('<a',body))+1-locate('<a',body)),'');u...

mysql导入text,csv

#导入txt到mysqlloaddatalocalinfile'c:/phone.txt'intotablephonefieldsterminatedby'\t'linesterminatedby'\r\n'(pref,phone,province,city,isp,post_code,city_code,area_code);#导入...

Linux 最简单常用命令

1:mkdir创建文件夹2:cd进入文件夹3:cd..返回上级文件夹4:cd-最近两文件夹之间切换5:touch 创建文件6:vim修改文件7:kill-9723380停止进程8:  ps-elf-e 查看进程...

geth命令参数详解

本文按原始分类简单解释这些参数的含义。一、基本信息C:\ProgramFiles\Geth>geth--helpNAME:  geth.exe-thego-ethereumcommandlineinterface  Copyright2013-2019Thego-ethereumAuthors&n...