在Linux上工作的朋友很可能遇到过这样一种情况,当你用Vim编辑完一个文件时,运行:wq保存退出,突然蹦出一个错误:E45: 'readonly' option is set (add ! to override)这表明文件是只读的,按照提示,加上!强制保存::w!,结果又一个错误出现:"read...
分类:
其他好文 时间:
2014-08-03 20:19:45
阅读次数:
314
最近,打算用Matlab处理些GRIB格式的文件,需要在Matlab中添加read_grib.m文件,其实相当于是添加一个工具箱。read_grib.m的下载见:http://www.renci.org/~bblanton/files/ReadGrib/但是,要read_grib.m真正起作用,需要...
分类:
Web程序 时间:
2014-08-03 17:41:55
阅读次数:
377
grb文件的读取(转自:http://blog.sciencenet.cn/blog-922140-713837.html)read_grib.r4.rar今天来斟酌了下grb文件格式的读取,现在总结一下:1. grb格式文件是国际气象组织一种独特的数据存储格式,所有不能直接打开,下面介绍一种mat...
分类:
其他好文 时间:
2014-08-03 17:35:15
阅读次数:
578
read code:
[root@luozhonghua 03]# cat ex03-read-01.c
/*文件ex03-open-03.c,
O_CREAT和O_EXCL的使用*/
#include
#include
#include
#include
int main(void)
{
int fd = -1,i;
ssize_t size...
分类:
系统相关 时间:
2014-08-03 12:46:45
阅读次数:
355
1。直接用mysqld手工启动[root@ora11g bin]# ./mysqld --defaults-file=../my.cnf 140328 10:04:37 [ERROR] Fatal error: Please read "Security" section of the manual...
分类:
数据库 时间:
2014-08-02 23:23:24
阅读次数:
402
源自:http://www.en8848.com.cn/read/proseessay/lz/239065.html 1. Buy someone's coffee. 为他人买杯咖啡 It's just coffee -- no one needs coffee, so this doesn't r...
In 7-bitTime Limit: 2000msMemory Limit: 65536KBThis problem will be judged onZJU. Original ID:371364-bit integer IO format:%lld Java class name:MainVe...
分类:
其他好文 时间:
2014-08-02 12:22:13
阅读次数:
230
/usr/local/lib/libz.a: could not read symbols: Bad value一般是64 位 电脑才会出现。解决方法如下:1 cd zlib-1.2.3 //进入zlib目录2 3 CFLAGS="-O3 -fPIC" ./configure //使用64位元的方法...
分类:
其他好文 时间:
2014-08-01 22:56:12
阅读次数:
441
最近研究了一下MFC下对串口的操作,测试了一下对设备的读写。1.打开串口 1 GetDlgItem(IDC_BUTTON_OPEN)->EnableWindow(FALSE); 2 m_hComm = CreateFile("COM1", 3 GENERIC_READ...
分类:
其他好文 时间:
2014-08-01 19:17:42
阅读次数:
263
java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data fr...