上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页

2013年8月24日

摘要: 1 电平特性: 高/低电平2 单片机:TTL +5v 0v3 RS232: 计算机串口高电平-12V/ 低电平+12v (负逻辑)4 通讯要电平转换芯片: MAX2325 c51特点6 肉眼50ms7 数码管(共阳极 common anode/共阴极 common catode)(电压和电流要考虑)8 静态显示/动态显示(较少的锁存器/ 肉眼效果) 阅读全文
posted @ 2013-08-24 23:41 kwingmei 阅读(356) 评论(0) 推荐(0) 编辑
摘要: unix2docperl -i -p -e 's/\n/\r\n/' filesed -i -e 's/$/\r/' filedoc2unixtr -d '\r' file2perl -i -p -e 's/\r//' filesed -i -e 's/\r//' filepackihx 应该是使用在unix平台, 我用packihx出来的结果就是 换行少了‘\r’ 末尾少了‘\n’于是用这个处理。Intel的hex文件1 each Line in an Intel HEX caontains one HEX re 阅读全文
posted @ 2013-08-24 16:57 kwingmei 阅读(509) 评论(0) 推荐(0) 编辑
摘要: 资源:; STC89C52; 8k FLASH, 512BYTE RAM, 32 I/Oport; 3 timer, 1 uart, 8 interrupt source; ; SST89E516; 64K FLASH, 1024 RAM, 32 I/O port; 3 timer, 1 UART, 10 interrupt source; suport keil51 online debugdemo0.asm org 0hmain: inc R0 ; inc(increment) add 1 R0=01, [01]=01; R0到R7这8个寄存器可以用作寄存器寻址 MOV A ,R0~R7; 阅读全文
posted @ 2013-08-24 15:19 kwingmei 阅读(198) 评论(0) 推荐(0) 编辑

2013年8月23日

摘要: 中键的快捷键使用:选择文本--移动鼠标--中键(即粘贴选择的文本到鼠标移动的地方)1. One common shortcut is to paste selected text. (This is sometimes called primary selection paste.) Select the text you want to paste, then go to where you want to paste it and middle-click. The selected text is pasted at the mouse position.注意:粘贴文本用中键 与 cli 阅读全文
posted @ 2013-08-23 20:32 kwingmei 阅读(394) 评论(0) 推荐(0) 编辑
摘要: sudo apt-get install smbfsbut failedfollow the hintssudo apt-get install cifs-utilsoknow i can mount windows share direcotry挂载windows的共享目录mount -c cifs -ouser=xxx,passwd=yyy //192.168.1.1/share_dir /mount_point 阅读全文
posted @ 2013-08-23 20:27 kwingmei 阅读(722) 评论(0) 推荐(0) 编辑
摘要: sudo fallocate -l 768m swap.filesudo chmod 600 swap.filesudo mkswap swap.filesudo swapon swap.filesudo vi /etc/fstabadd line:/boot/swap.file none swap sw 0 0 阅读全文
posted @ 2013-08-23 20:20 kwingmei 阅读(177) 评论(0) 推荐(0) 编辑
摘要: # 开启ip转发echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward# 用iptables 实现拦截 nat伪装sudo iptables -t nat -I POSTROUTING -j MASQUERADEsudo ifconfig eth0 down #关闭网卡sudo ifconfig eth0 hw ether 00:AA:BB:CC:DD:EE #然后改地址sudo ifconfig eth0 up #然后启动网卡查看当前系统所有的监听端口nc -zv localhost 1-65535如何查看HTTP头w3m -dump_head htt 阅读全文
posted @ 2013-08-23 20:10 kwingmei 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 数据库总是没有好好学习, 在校学 sqlserver 当时有点抵制, 现在觉得有点后悔,在大的时候学习 mysql 当时还不知道怎么安装。 后来多次学习 都没有深入(惭愧)数据的处理不在其复杂的特性, 不在其市场, 而在于其适用。信息的精髓 与社会的发展(引导)。price/performance/scalabilityMySQL is relatively light-weight, can be extremely fast when applications leverage architecture. Lots of features stay free as the database 阅读全文
posted @ 2013-08-23 20:08 kwingmei 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 2470 /*2471 * This is the 'heart' of the zoned buddy allocator.2472 *//* 参数理解: *//* GFP = Get Free Pages ? *//* 098 typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; *//* #define DECLARE_BITMAP(name,bits) \ unsigned long name[BITS_TO_LONGS(bits)] *//* typedef struct { unsign 阅读全文
posted @ 2013-08-23 12:55 kwingmei 阅读(480) 评论(0) 推荐(0) 编辑
摘要: Spacebar (page down) 空格键Shift-Spacebar (page up) shift+空格Ctrl+F (find) 查找 / 快速查找 “/”Alt-N (find next) 下一个 或者 enter键shift+Ctrl+D (bookmark page)Ctrl+T (new tab)Ctrl+K (go to search box)Ctrl+L (go to address bar) / Alt + D — highlights the text in the Location BarCtrl+= (increase text size)Ctrl+- (dec 阅读全文
posted @ 2013-08-23 11:53 kwingmei 阅读(228) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页

导航