一、全局上下文 #### 实现步骤 1. 应用包下创建my_context_processor.py文件```#coding=utf-8 def mydata(request): return {'uname':'zhangsan'} ``` 2. settings中配置当前函数路径```TEMPL ...
分类:
其他好文 时间:
2020-05-31 11:01:03
阅读次数:
106
am335x uboot guide http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components_U-Boot.html#u-boot-user-s-guide am335x ...
分类:
其他好文 时间:
2020-05-29 17:52:56
阅读次数:
63
MIPI DSI是什么? MIPI(移动行业处理器接口)是Mobile Industry Processor Interface的缩写。MIPI(移动行业处理器接口)是MIPI联盟发起的为移动应用处理器制定的开放标准,常用到的是DSI(显示接口)和CSI(摄像接口)。 嗯~MIPI DSI是一种用于 ...
分类:
其他好文 时间:
2020-05-22 21:45:46
阅读次数:
85
查看主机的CPU性能: cat /proc/cpuinfo cat /proc/meminfo |grep MemTotal 内存信息 查看物理cpu个数:cat /proc/cpuinfo | grep 'physical id' | sort | uniq | wc -l 查看逻辑cpu个数:c ...
分类:
系统相关 时间:
2020-05-20 21:35:09
阅读次数:
100
本文包含MSP430F149最小系统图与MSP430F149芯片封装库 一、简介 MSP430系列单片机是美国德州仪器(TI)1996年开始推向市场的一种16位超低功耗、具有精简指令集(RISC)的混合信号处理器(Mixed Signal Processor)。 MSP430是16位单片机,51是8 ...
分类:
其他好文 时间:
2020-05-18 09:34:45
阅读次数:
189
Preprocessor programs provide preprocessors directives which tell the compiler to preprocess the source code before compiling. Examples of some prepro ...
分类:
其他好文 时间:
2020-05-16 00:28:44
阅读次数:
64
有什么方便的工具可以做文件内容对比吗?比如:文件Old.txt和New.txt,第一行是列名,需要取出文件中Name字段相同的内容。部分数据如下: Old.txt New.txt Name Dept Rachel Sales Ashley R&D Matthew Sales Alexis Sales ...
分类:
其他好文 时间:
2020-05-13 09:37:04
阅读次数:
117
Abstract: What do you think about the question? Does the 64 bits always do better? The answer is NO. When we talk about 64 bit vs. 32 bit we mean two ...
分类:
其他好文 时间:
2020-05-12 20:12:53
阅读次数:
84
可以用vlookup之类的函数解决这个问题,虽然整个过程不算太难,但只要数据发生变动,每次就要重复这个过程,这就显得太繁琐了。用VBA可以让这个过程自动化,但写法过于复杂,一般人很难掌握。 用esProc就简单多了,只需几行代码就能完成过滤: A B D 1 =file("param.xlsx"). ...
分类:
其他好文 时间:
2020-05-12 16:57:21
阅读次数:
99
实验基于https://github.com/mengning/mykernel完成 一.配置虚拟机QEMU 安装过程不再阐述,参考上方链接即可 为了使得qemu能够正常进行debug,需要设置相关内核选项 # 打开debug相关选项 # 关闭KASLR,否则会导致打断点失败 Processor t ...
分类:
其他好文 时间:
2020-05-10 18:58:10
阅读次数:
55