摘要: 出于安全考虑,默认时 Ubuntu 的 root 用户时没有固定密码的,它的密码是随机产生并且动态改变的,貌似是每5分钟改变一次,所以用 su(switch user) 是不可以的,因为我们不知道 root 的密码。 一、命令行模式 1.设置root密码 2.切换到root账号 加入“-”很有必要。 阅读全文
posted @ 2017-02-12 11:46 Arigatou 阅读(271) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/u013011415/article/details/44907479 阅读全文
posted @ 2015-05-13 10:37 Arigatou 阅读(367) 评论(0) 推荐(0) 编辑
摘要: http://xilinx.eetop.cn/viewnews-358 阅读全文
posted @ 2015-05-06 15:50 Arigatou 阅读(456) 评论(0) 推荐(0) 编辑
摘要: TI参考链接:http://www.ti.com.cn/general/cn/docs/gencontent.tsp?contentId=50741----------------------------------------------------------------------------... 阅读全文
posted @ 2014-12-25 20:43 Arigatou 阅读(720) 评论(0) 推荐(0) 编辑
摘要: 转自“http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/168292”Here is the information on the header:The header information for dat... 阅读全文
posted @ 2014-12-07 17:15 Arigatou 阅读(600) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/autumn20080101/article/details/76071482、单链表逆序 第二个题目是很经典的“单链表逆序”问题。很多公司的面试题库中都有这道题,有的公司明确题目要求不能使用额外的节点存储空间,有的没有明确说明,但是如果面试者使用了额外的节... 阅读全文
posted @ 2014-10-15 21:24 Arigatou 阅读(667) 评论(0) 推荐(0) 编辑
摘要: 1、时钟周期=振荡周期,名称不同而已,都是等于单片机晶振频率的倒数,如常见的外接12M晶振,那它的时钟周期=1/12M。2、机器周期,8051系列单片机的机器周期=12*时钟周期,之所以这样分是因为单个时钟周期根本干不了一件完整的事情(如取指令、写寄存器、读寄存器等),而12个时钟周期就能基本完成一... 阅读全文
posted @ 2014-10-15 16:12 Arigatou 阅读(1286) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/zhongzhiwei/article/details/8678885一)64位系统和32位有什么区别?1、64bit CPU拥有更大的寻址能力,最大支持到16GB内存,而32bit只支持4G内存2、64位CPU一次可提取64位数据,比32位提高了一倍,理论... 阅读全文
posted @ 2014-09-21 16:44 Arigatou 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 实现占空比为50%的N倍奇数分频:首先进行上升沿触发进行模N计数,计数到某一个值时进行输出时钟翻转,然后经过(N-1)/2再次进行翻转得到一个占空比非50%的奇数n分频时钟。再者 同时进行下降沿触发的模N计数,到和上升沿触发输出时钟翻转选定值相同值时,进行输出时钟时钟翻转,同样经过(N-1)/2时,... 阅读全文
posted @ 2014-09-14 23:02 Arigatou 阅读(1080) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 5 int getArray(int ***p,int m,int n)//构造一个m*n维数组,并清零 6 { 7 int i; 8 *p=(int **)malloc(sizeof(int*)*m);... 阅读全文
posted @ 2014-09-10 16:26 Arigatou 阅读(1869) 评论(0) 推荐(0) 编辑