1
摘要: CRC即循环冗余校验码(Cyclic Redundancy Check)。CRC32算法中,这个生成多项式为:c(x) = 1 + x + x^2 + x^4 + x^5 + x^7 + x^8 + x^10 + x^11 + x^12 + x^16 + x^22 + x^23 + x^26 + x... 阅读全文
posted @ 2015-02-27 22:43 junka 阅读(613) 评论(0) 推荐(0)
摘要: line 15, in import gyp ImportError: No module named gyp一直报错,各种更换环境都不行nodejs,vc都降级升级好几次google这个问题找不到解决方法,然后我很2B的python -V才想起来原因当然我安装的是2.7.3的python,是符合要求的,但是因为我在这条指令下发现自己的版本只有2.5.1,安装前估计发现也没在意,因为只要>2.5就可以的。为什么版本不一致,因为自己安装过cygwin,估计包括gcc都可能是引用的cygwin下的。果断cygwin全部删除,ok! 阅读全文
posted @ 2013-12-07 16:34 junka 阅读(519) 评论(0) 推荐(0)
摘要: 标题# 一级标题## 二级标题### 三级标题#### 四级标题##### 五级标题###### 六级标题列表列表格式也很常用,在 Markdown 中,你只需要在文字前面加上 - 就可以了,例如:- 文本1- 文本2- 文本3如果你希望有序列表,也可以在文字前面加上 1. 2. 3. 就可以了,例如:1. 文本12. 文本23. 文本3链接和图片在 Markdown 中,插入链接不需要其他按钮,你只需要使用 [显示文本](链接地址) 这样的语法即可,例如:[简书](http://jianshu.io)在 Markdown 中,插入图片不需要其他按钮,你只需要使用 ![](图片链接地址) 这样 阅读全文
posted @ 2013-12-01 18:19 junka 阅读(476) 评论(0) 推荐(0)
摘要: Log:C:\Documents and Settings\Administrator\junka.github.com>gem install jekyllBuilding native extensions. This could take a while...ERROR: Error installing jekyll: ERROR: Failed to build gem native extension. F:/Ruby193/bin/ruby.exe extconf.rbcreating MakefilemakeMakefile:165: *** target pattern 阅读全文
posted @ 2013-12-01 11:03 junka 阅读(1340) 评论(1) 推荐(0)
摘要: clone时出现的错误error: RPC failed; result=18, HTTP code = fatal: The remote end hung up unexpectedlyf200atal: early EOF解决办法git config --global http.postBuffer 24288000OKhttp://stackoverflow.com/questions/17683295/git-bash-error-rpc-failed-result-18-htp-code-200b-1kib-s 阅读全文
posted @ 2013-11-29 19:15 junka 阅读(3699) 评论(0) 推荐(0)
摘要: 显示libmote.a缺失cd /tinyos-2.1.2/support/make/c/sf./bootstrap./configuremake在第一步就发现部分command not found,需要安装automakesudo apt-get install automake问题解决 阅读全文
posted @ 2012-11-09 22:25 junka 阅读(161) 评论(0) 推荐(0)
摘要: Ubuntu自带的jdk是openjdk的,对于eclipse是不足的,安装jdk,今日日记已写安装ecplise的Yeti2插件完成,不能见到TinyOS的Perspective选项,解决的方法是删除~/.eclipse文件夹此文件夹包含应该是eclipse的配置信息,会有cache的效果,jdk重装后还是阻止了更新插件,删除文件夹后重新安装插件正常,然后check installation会报一个warning ,暂时不用去管 阅读全文
posted @ 2012-10-18 17:52 junka 阅读(180) 评论(0) 推荐(0)
摘要: superframe 仅仅是在信标使能beacon-enabled的网络中使用;PAN coordinator 发出信标,以此为超帧的开始;超帧分整个通信时间为活跃和不活跃两部分,不活跃即进入低功耗模式;活跃分三个阶段:beacon、CAP、CFP —————————————————————————————————— |Be| CAP | CFP | 不活跃 | ——————————————————————————————————活跃部分划分为16个等长的时隙,由协调器在CAP与CFP之间分配时隙,并规定时隙长度,并通过信标帧广播到整个网络。任何竞争... 阅读全文
posted @ 2012-10-17 22:37 junka 阅读(572) 评论(0) 推荐(0)
摘要: makefile 可以将编译链接过程简化,结合使用变量更加简化LIBS = -lm #-l是加入函数库,m代表libm.so -L/path在非默认时需要OBJS = main.o fa.o fb.o fc.o #gcc -c fn.c 产生的同名fn.o目标文件CFLAGs = -Wall #Wall产生详细编译过程main: ${OBJS} #make main指令解释为 gcc -o main main.o fa.o fb.o fc.o gcc -o $@ ${OBJS} ${LIBS} #$@即当前目标mainclean: ... 阅读全文
posted @ 2012-09-22 17:06 junka 阅读(216) 评论(0) 推荐(0)
摘要: You can get Ubuntu from here http://www.ubuntu.org.cn/downloadIt provides Ubuntu 12.04LTS now.I choose the desktop version.I have already installed WinXP system on my laptop.And as I'm not familiar with Linux,I choose to make my laptop a dual system one.So I can switch the systems when I need.Lo 阅读全文
posted @ 2012-09-22 14:30 junka 阅读(430) 评论(0) 推荐(0)
1