一个页面中多个window.onload = function(){}冲突问题解决思路 一个页面中多个window.onload = function(){}冲突问题解决思路 参考文章: (1)一个页面中多个window.onload = function(){}冲突问题解决思路 (2)https: ...
常见芯片方案 按价格从高到低排个序 FTDI的FT232 公认稳定可靠, 传输速率3Mbps, 功能最强, 单芯片内置SPI,TWI,JTAG,GPIO等功能. FT232BM为较早型号, FT232RL等为较新的型号, 有多种封装 FT232BM LQFP32封装(四方扁平式密脚) FT232BL ...
分类:
其他好文 时间:
2021-03-01 13:49:08
阅读次数:
0
Dubbo服务暴露的过程整体分为:生成Invoker、根据不同的协议(protocol)将Invoker转换成Exporter。 生成Invoker 生成Invoker的代码: Invoker<?> invoker = proxyFactory.getInvoker(ref, (Class) int ...
分类:
其他好文 时间:
2021-03-01 13:35:13
阅读次数:
0
1. 安装需要应用的程序包 2. 准备配置文件 <?xml version="1.0" encoding="utf-8"?> <log4net> <!-- Define some output appenders --> <appender name="rollingAppender" type=" ...
分类:
Web程序 时间:
2021-03-01 13:34:26
阅读次数:
0
模块化结合typescript - 泛型改造 // 为函数添加泛型 function useURLLoader<T>(url: string) { const result = ref<T | null>(null) // 在应用中的使用,可以定义不同的数据类型 interface DogResul ...
分类:
其他好文 时间:
2021-03-01 13:32:50
阅读次数:
0
设置PyCharm File → Settings 进入设置 国内源 清华源 https://pypi.tuna.tsinghua.edu.cn/simple 阿里源 http://mirrors.aliyun.com/pypi/simple/ ...
分类:
其他好文 时间:
2021-03-01 13:23:37
阅读次数:
0
SED LEARN NOTE 参考资料 左耳朵耗子叔sed教程 GNU online sed manual SED LEARN NOTE sed基本格式 sed [option] [sed-command] input-file sed对文本的每一行依次执行sed-command,最终返回处理结果 ...
分类:
其他好文 时间:
2021-03-01 13:19:59
阅读次数:
0
//部署项目到服务器 1、gitclone项目到服务器 2、使用 composer 安装依赖,不下载开发下的依赖composer install --optimize-autoloader --no-dev 3、更改项目名为网站名 4、、若The stream or file “/var/www/s ...
分类:
其他好文 时间:
2021-03-01 13:17:15
阅读次数:
0
思路 迁移也是运行数据库DDL语句,那么只要在Laravel迁移的语句后面添加自定义DDL语句设置自动递增初始值就好了。 引用DB use Illuminate\Support\Facades\DB; MySQL 以修改users表为例,设置自动递增初始值为例1000 DB::statement(' ...
分类:
其他好文 时间:
2021-03-01 13:16:11
阅读次数:
0
python学习之面向对象 类定义 与python的函数定义类似,只不过把def关键字替换为class class calculator(): pass a=calculator() print(type(a)) 输出 <class 'main.calculator'> 构造函数 与php的定义类似 ...
分类:
编程语言 时间:
2021-03-01 12:58:32
阅读次数:
0