会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Magnum Programm Life
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
9
10
···
29
下一页
2015年11月26日
vim recording
摘要: 大家是否有这种经验,“不知道为什么按出recording状态,按ESC貌似无法直接退掉”的情况,个人已经有过好几次了。与其出来烦人还不如了解它,昨天我就花了点时间学习recording。怎么说,还是有点用的。首先说明的是recording是怎么按出来的:命令模式下按q。假如你想按退出的:q,右手有点...
阅读全文
posted @ 2015-11-26 20:44 Magnum Programm Life
阅读(2113)
评论(0)
推荐(0)
2015年11月17日
关于电平触发和边沿触发的不同
摘要: 记得以前上大学时,老师讲到下降沿触发时,怎么也分不清下降沿触发与低电平触发有什么区别,乍看,它们似乎是一样的,比如键盘扫描程序扫描键盘是否按下:某事件设为低电平触发【采用周期时间扫描方式查询触发条件是否成立】,初始化时为高电平即事件未触发,当电平突然改变为低电平,之后扫描程序执行到了这里扫描,则发现...
阅读全文
posted @ 2015-11-17 11:07 Magnum Programm Life
阅读(814)
评论(0)
推荐(0)
2015年11月5日
程序的各个段
摘要: section 结构SECTIONS {...secname start BLOCK(align) (NOLOAD) : AT ( ldadr ){ contents } >region :phdr =fill...}secname:段名contents:决定哪些内容存放在此段start:本段的连接...
阅读全文
posted @ 2015-11-05 18:18 Magnum Programm Life
阅读(524)
评论(0)
推荐(0)
2015年11月2日
Linker Special Section Types
摘要: 转载自http://processors.wiki.ti.com/index.php/Linker_Special_Section_Types#NOLOAD_Sections_2IntroductionThe linker allows you to create different kinds o...
阅读全文
posted @ 2015-11-02 20:15 Magnum Programm Life
阅读(339)
评论(0)
推荐(0)
2015年10月27日
grep环境变量常用配置
摘要: vim ~/.bashrcGREP_OPTIONS="-irns --exclude-dir=output --exclude=tags --exclude=*.files"然后:source ~/.bashrc
阅读全文
posted @ 2015-10-27 10:22 Magnum Programm Life
阅读(458)
评论(0)
推荐(0)
2015年10月20日
Timer和counter
摘要: 什么是Timer,什么是Counter几乎每个嵌入式板都会有counter和timer,重要性比肩gpio.本质上来看timer和counter几乎是一样的东西,底层都是一个硬件counter,如果是按照规律的时间跳表,就是timer,如果是按照不规律的事件讯号跳表就是counter.一般timer...
阅读全文
posted @ 2015-10-20 15:32 Magnum Programm Life
阅读(3085)
评论(1)
推荐(1)
2015年10月19日
shell常识总结
摘要: #!/bin/bash cmd="ls -lt | grep ^d | awk 'NR==1 {print $9}'" $cmd 这是一个获取文件夹名字的脚本,但是却提示: ls: cannot access |: no such file or directory ls: cannot acces
阅读全文
posted @ 2015-10-19 16:30 Magnum Programm Life
阅读(307)
评论(0)
推荐(0)
2015年10月16日
shell常用命令总结
摘要: 统计文件行数wc -l filenamegrep -c "" filenamesed-n'$='filenameawk'END{print NR}'filename但是这几种方法的效率却是不同的。通过以下测试:time wc -l filename 平均:0.237667stime grep -c ...
阅读全文
posted @ 2015-10-16 10:04 Magnum Programm Life
阅读(169)
评论(0)
推荐(0)
2015年10月15日
shell脚本检测动态log
该文被密码保护。
阅读全文
posted @ 2015-10-15 17:22 Magnum Programm Life
阅读(3)
评论(0)
推荐(0)
2015年10月14日
awk学习
摘要: 首先分享一个哥们的文章:http://coolshell.cn/articles/9070.html
阅读全文
posted @ 2015-10-14 12:09 Magnum Programm Life
阅读(176)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
29
下一页
公告