1:flash_image介绍
也许很少人使用该工具,但flash_image对于调试uboot或者kernel和root相关的人来说用处还是比较大。falsh_image的使用方法:
usage: flash_image type [partition|device] [image_file_path]
type: MTD、EMMC、INAND
partition:根据平...
分类:
其他好文 时间:
2014-06-28 09:17:22
阅读次数:
231
1、已知路径,加载本地图片到Image中 Image img = Image.FromFile("路径");2、数据库中读取二进制图片 string strSql = "Select Top 1ImageContent From TT_ImageFileSave)"; Byte[] byteI...
分类:
数据库 时间:
2014-06-27 18:01:48
阅读次数:
294
原先使用hadoop默认设置(hadoop1.2.1),secondarynamenode会正常进行备份,定时从namenode拷贝image文件到SNN。但是具体SNN备份的时间周期和log文件的大小无法定制,后来楼主就修改了SNN的设置,将fs.checkpoint.period修改为...
分类:
其他好文 时间:
2014-06-27 16:05:28
阅读次数:
452
gerrit是不会解决冲突的,如果两个人同时改了一个文件的同一行,就会冲突,你将会看到Review in Progress并且最下面会有Your change could not be merged due to a path conflict.如果在冲突提交者机器上解决远程冲突cd demogit...
分类:
其他好文 时间:
2014-06-27 15:34:34
阅读次数:
217
You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise).
分类:
其他好文 时间:
2014-06-27 12:02:32
阅读次数:
195
vdWebControl.js能够在浏览器中展示cad图形(需要使用其自家的转换工具把cad转换为vds格式,工具免费,但转换完毕后的文件带水印信息),支持编辑图形。
vdWebControl.js试用版在屏幕中央带有版权信息。
1、格式化js为可读的
2、使用chrome调试发现是data:image/jpg;base64格式的图片。思路为用透明的png图片替换原水印图片。
找到kD.s...
分类:
Web程序 时间:
2014-06-27 08:55:06
阅读次数:
330
nova.conf
vnc_enabled=False
[Spice]
agent_enabled=True
enabled=True
html5proxy_base_url=http://x.x.x.x:6082/spice_auto.html
server_listen=0.0.0.0
server_proxyclient_address=x.x.x.x
keymap=...
分类:
其他好文 时间:
2014-06-27 08:47:57
阅读次数:
263
本人公司电脑型号为HPfolio9740m,用windows7自带的修复工具,恢复windows标准镜像文件,出现如下错误:Thesystemp_w_picpathrestorefailed.Windowscannotrestoreasystemp_w_picpathtoacomputerthanhasdifferentfirmware.Thesystemp_w_picpathwascreatedonacomputerusingBIOSand..
1 background_image_filename = 'blackground.png' 2 black_mouse_image_filename = 'black.png' 3 white_mouse_image_filename = 'white.png' 4 restart_i...
分类:
其他好文 时间:
2014-06-26 15:21:46
阅读次数:
243
BUG 1:GDI+ Image::FromFile 无效
m_pImg = Gdiplus::Bitmap::FromFile(m_imgFilePath);
m_pImg为NULL
原因是没有初始化GDI+。
BUG2:GDI+ new Bitmap不能接受三个参数
//创建目标Bitmap
Bitmap *bmpDest = new Bitmap(destWidth, destHeight, m_pImg->GetPixelFormat());
原因:
//#ifdef _DEBUG
//#...
分类:
其他好文 时间:
2014-06-26 11:59:26
阅读次数:
377