我们之前实现了自己版本的require,首先认定为lua模块尝试加载,如果加载不成功则认定为C模块继续进行加载。实际上,在Lua内部,是通过searchers来区分不同的加载方式。Lua一共有4种searchers,用来加载lua模块的和加载C模块的分别是第2个和第3个。第1个searcher叫做p ...
分类:
其他好文 时间:
2021-01-25 11:00:15
阅读次数:
0
###1.如果没有vue脚手架需先要安装脚手架 cnpm i @vue/cli -g ###2.利用脚手架创建项目 vue create myproject(项目名) ###3.创建完项目后,需手动在项目根目录创建vue.config.js # vue.config.js module.export ...
分类:
其他好文 时间:
2021-01-25 10:57:04
阅读次数:
0
老是整忘记,记录一下rabbitmq使用过程 1、No module named 'celery.backends.amqp' or KeyError: 'backend' #6384 pip install celery==4.4.6 2、关键代码 import subprocess from t ...
分类:
其他好文 时间:
2021-01-22 12:05:44
阅读次数:
0
/**<!--more--> * 通过重载,配置如果通过拦截器保护请求 * @param http * @throws Exception */ @Override protected void configure(HttpSecurity http) throws Exception {// su ...
分类:
其他好文 时间:
2021-01-21 11:00:01
阅读次数:
0
1.Page.exposeFunction() Page.exposeFunction,这个 API 用来在页面注册全局函数,非常有用: 在比如给 window 对象注册 readfile 全局函数: const puppeteer = require('puppeteer'); const fs ...
分类:
其他好文 时间:
2021-01-19 12:20:37
阅读次数:
0
Redis除了提供5种基本数据结构外,还提供了一些附加功能: 慢查询分析 Redis Shell Pipeline 事务与Lua Bitmaps HyperLogLog 发布订阅 GEO 慢查询分析 Redis客户端执行一条命令分为4个部分: 发送命令 命令排队 命令执行 返回结果 慢查询只统计步骤 ...
分类:
其他好文 时间:
2021-01-19 11:41:30
阅读次数:
0
static int __init hello_init(void) { printk(KERN_EMERG "[ KERN_EMERG ] Hello Module Init\n"); printk( "[ default ] Hello Module Init\n"); return 0; } ...
分类:
其他好文 时间:
2021-01-18 11:37:08
阅读次数:
0
伪协议常常用于文件包含漏洞之中。 在php中能够造成文件包含的函数有include、require、include_once、require_once、highlight_file、show_source、file_get_contents、fopen、file、readfile 0x01 函数 1 ...
分类:
其他好文 时间:
2021-01-18 11:07:57
阅读次数:
0
链接https://hdlbits.01xz.net/wiki/Alwaysblock1 (1)Alwaysblock1 module top_module( input a, input b, output wire out_assign, output reg out_alwaysblock ) ...
分类:
其他好文 时间:
2021-01-18 10:48:31
阅读次数:
0
参考代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>路由简 ...
分类:
其他好文 时间:
2021-01-18 10:45:52
阅读次数:
0