script context : #! /bin/bash for f in $(find . -name '*.c' -or -name '*.cpp' -or -name '*.h' -type f)do astyle --style=kr --indent=tab -p -P -k1 $fdone # after formate the code,we need to rm '*.orig' filesfor f in $(find . -name '*.orig' -type f)do…
A code sequence made up multiple instructions and specifying an offset from a base address is identified in an object file. The offset from the base address corresponds to an offset location in a memory configured for storing an address of a variable…
FOURCC Name Summary 1978 A.M.Paredes predictor This is a LossLess video codec. >>> 2VUY 2VUY / BlackMagic >>> 3IV0 3ivx 3IV0 no longer used for this codec, however some files might be around. >>> 3IV1 3ivx MPEG4-based codec. Use…
This 125 kHz RFID reader http://www.serasidis.gr/circuits/RFID_reader/125kHz_RFID_reader.htm http://www.serasidis.gr/circuits/RFID_reader/images/125kHz_RFID_reader_schem.GIF I will try to explain with simple words how the RFID works. The ATtiny13 use…
最近做跨平台图形用户界面库选型,权衡很多因素后最终选择了Qt,其中一个重要因素就是Qt使用LGPL授权许可.由于本人对LGPL理解有限,始终对闭源商业软件如何发布Qt库存在疑问,其中最关心的是:发布的商业软件中是否可以包含(或附带)Qt的动态链接库(dll,so).于是在网络上查找到如下相关资源: 官方的说法(查看原文“Qt: Making the right licensing decision”): LGPLThe LGPL is a license agreement written (a…
1.Stacktraces Unable to instantiate Action,xxAction, defined for 'xxAction_login' in namespace '/'null com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:316) java.lang.IllegalArgumentException org.springframewo…
Contents Introduction Background Hello Closure World Dependency Management Making an AJAX call with Google Closure Closure Templates Using plovr to Simplify Closure Development More Closure Templates Animations in Google Closure Using plovr for Produ…
psutil documentation¶ Quick links Home page Install Blog Forum Download Development guide What’s new About psutil (python system and process utilities) is a cross-platform library for retrieving information on running processes and system utilization…
在命令状态下对当前行用== (连按=两次), 或对多行用n==(n是自然数)表示自动缩进从当前行起的下面n行.你可以试试把代码缩进任意打乱再用n==排版,相当于一般IDE里的code format.使用gg=G可对整篇代码进行排版. vim 选择文本,删除,复制,粘贴 文本的选择,对于编辑器来说,是很基本的东西,也经常被用到,总结如下: v 从光标当前位置开始,光标所经过的地方会被选中,再按一下v结束. V 从光标当前行开始,光标经过的行都会被选中,再按一下V结束. Ct…