01 2015 档案
摘要:一、基本编辑操作返回上一个编辑的文件:e#跳转到指定的行,比如第30行:30G 或 30gg自动补全:Ctrl-N 下一个匹配词,Ctrl-P 前一个匹配词查找与替换:s/old/new/g 当前行替换%s/old/new/g 全文替换%s/ols/new/gc 全文替换并请求确认剪切、拷贝、粘贴:...
阅读全文
摘要:注释用双引号开头:" This is a comment line非兼容模式:set nocp显示行号:set nu搜索不区分大小写:set ignorecase自动折行显示:set linebreak语法高量:syntax on自动缩进:set autoindent按C语言格式缩进set cind...
阅读全文
摘要:编译kernel+xenomai,主要参考https://code.google.com/p/picnc项目中的wiki页面。编译machinekit,主要参考http://www.machinekit.io/docs/building-from-source/ 。解决编译依赖要费些周折,需要再添加...
阅读全文
摘要:1,http://www.gammon.com.au/spi这篇很详细地讲解了Arduino的SPI通信。2,http://www.brianhensley.net/2012/07/getting-spi-working-on-raspberry-pi.html这篇是讲Raspberry Pi的SP...
阅读全文
摘要:sudo apt-get install pptp-linux network-manager-pptp network-manager-openvpn network-manager-vpnc network-manager-openvpn-gnome network-manager-pptp-...
阅读全文
摘要:# aptitude install wpasupplicant# chmod 0600 /etc/network/interfaces# wpa_passphrase myssid mypasswordnetwork={ ssid="myssid" #psk="mypassword" ...
阅读全文
摘要:1,将iso转换为imghdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso2,查看U盘编号diskutil list3,unmount U盘,但不ejectdiskutil unmountDisk /de...
阅读全文
摘要:PWD := $(shell pwd)MOD_DIR ?= /lib/modules/`uname -r`/buildobj-m += hello.o modules: make -C $(MOD_DIR) M=$(PWD) modulesmodules_install: make -C...
阅读全文
摘要:sudo apt-get install linux-image-rpi-rpfv linux-headers-rpi-rpfv编辑/boot/config.txt,在末尾加入以下内容:# set parameters for raspbian debian style bootkernel=vml...
阅读全文
摘要:brep@Mini:~/Downloads/RaspberryPiSoftware$ df -hFilesystem Size Used Avail Capacity iused ifree %iused Mounted on/dev/disk0s2 465Gi 27...
阅读全文

浙公网安备 33010602011771号