1:android Uri 介绍
http://www.cnblogs.com/lingyun1120/archive/2012/04/18/2455212.html
2:File 转成Uri
File file = null;
Uri uri = Uri.fromFile(file)...
分类:
移动开发 时间:
2014-06-22 22:18:31
阅读次数:
242
最近在客户的一个8i生产库上使用statspack,发现alert中有报错:
Mon Jun 16 13:17:52 2014
Errors in file /oracle/8.1.7/admin/prod/bdump/snp0_96626_prod.trc:
ORA-12012: error on auto execute of job 304
ORA-01631: max # exte...
分类:
数据库 时间:
2014-06-22 20:40:40
阅读次数:
316
启动WAMP Server的时候报如下的错误:
140618 23:12:32 [Note] Plugin 'FEDERATED' is disabled.
140618 23:12:32 InnoDB: The InnoDB memory heap is disabled
140618 23:12:32 InnoDB: Mutexes and rw_locks use Windows inte...
分类:
数据库 时间:
2014-06-22 20:31:08
阅读次数:
471
Preemption Context Switches度量的是操作系统任务调度器将处理器中的一个正在运行的线程切换为另一个更高优先级的线程的次数,即发生抢占的次数。
Synchronization context switches度量的是由于显式调用线程同步API而发生线程切换的次数,如给多线程共享的变量加锁,多线程共同去修改,有些线程要阻塞在lock,直至占用锁的线程释放lock,这个度量反映...
分类:
其他好文 时间:
2014-06-22 19:40:21
阅读次数:
341
2.9字符专题
2.9.1类型同义词
也就是typedef声明,这个东西就是相当于起绰号,为了方便记忆和简化而生。相信在学习其他语言的时候一定有所了解,在此不再赘述。
再次示例一个之前写过的用typedef改写的程序:
/*************************************************************************
> File...
分类:
编程语言 时间:
2014-06-22 19:24:57
阅读次数:
309
走进WAVE文件
WAVE是录音时用的标准的Windows文件格式,文件的扩展名为“wav”,数据本身的格式为PCM或压缩型,属于无损音乐格式的一种,符合RIFF(Resource
Interchange File Format)规范。所有的WAV都有一个文件头,这个文件头音频流的编码参数。数据块的记录方式是小端(little-endian)字节顺序,标志符并不是字符串而是单独的符号
表1...
分类:
系统相关 时间:
2014-06-22 16:18:11
阅读次数:
326
使用java,将图片转换成BYTE数组、及将数组转换成图片,进行图片的远程传输
参考:http://blog.csdn.net/huang9012/article/details/18241539
代码如下:
package com.third.demo;
import java.io.ByteArrayOutputStream;
import java.io.File;
imp...
分类:
编程语言 时间:
2014-06-22 14:42:45
阅读次数:
241
android uri , file , string 互转...
分类:
移动开发 时间:
2014-06-22 00:33:52
阅读次数:
212
$ sudo mount.cifs //windows-ip/shared /media/ -o user=username password=password
该命令挂载Windows下的shared共享目录到本地/media目录下.
Windows的用户名是username, 密码是password (作相应的修改)
这里的CIFS(Common Internet File Syste...
#include
int printf(const char *format, ...);
int fprintf(FILE *stream, const char *format, ...);
int sprintf(char *str, const char *format, ...);
int snprintf(char *str, size_t size, const cha...
分类:
编程语言 时间:
2014-06-21 20:39:48
阅读次数:
215