几天被打印信息的去除困扰了,想了想,如果靠一个一个的改动未免太繁琐。因此就仔细的看了下这部分的打印原理。当然下面只是简单的进行了知识罗列不过有需要的朋友可以随便看看。说不准会有些收获呢。
Include/linux/printk.h中有如下定义:
#defineKERN_EMERG
""
/* system is unusable
*/
#defineKERN_ALERT...
分类:
其他好文 时间:
2014-07-22 23:02:35
阅读次数:
250
之前修改了Android的系统源码的framework层代码,定制ROM。通过make之后会生成三个镜像文件userdata.img、system.img、ramdisk.img三个文件。这个时候我们需要把SDK自带的模拟器中的系统替换成我们自己的。
实现步骤如下所示:
1. 由于我之前在系统的/data文件下面建了一个自己的文件夹myfile,在myfile文件夹下建了一个...
分类:
移动开发 时间:
2014-07-22 23:02:33
阅读次数:
437
本例没有采用Sencha的mvc模式。只是一个简单的读取加载本地Json数据示例。
文档结构如下:
app.js代码如下:
Ext.require(['Ext.form.Panel',
'Ext.data.Store',
'Ext.data.reader.Json',
'Ext.dataview.DataV...
分类:
Web程序 时间:
2014-07-22 23:02:15
阅读次数:
489
G - 程序设计竞赛Time Limit: 3000/1000MS (Java/Others)
Memory Limit: 65535/65535KB
(Java/Others)SubmitStatus“你动规无力,图论不稳,数据结构松散,贪心迟钝,没一样像样的,就你还想和我同台竞技,做你的美梦!....
分类:
其他好文 时间:
2014-07-22 23:01:13
阅读次数:
415
一,Linq to EF using System;using
System.Runtime.CompilerServices;using System.Linq;using System.Data; namespace
EntityframeworkSQL{ class Program { sta...
分类:
数据库 时间:
2014-07-22 23:00:53
阅读次数:
553
using System;using System.Collections.Generic;using
System.IO;using System.Linq;using System.Text;using
System.Threading.Tasks;namespace 读文件案例{ cla...
分类:
其他好文 时间:
2014-07-22 22:59:55
阅读次数:
241
从文本文件添加到数据库用户表的记录(有两个文件:frmMain.cs SqlHelper.cs
)//FrmMain.cs//作者:Meusing System;using System.Collections.Generic;using
System.ComponentModel;using Sy...
分类:
数据库 时间:
2014-05-01 22:45:21
阅读次数:
667
SQL还原时出现下面的错误,System.Data.SqlClient.SqlError:
尚未备份数据库 "***" 的日志尾部。如果该日志包含您不希望丢失的工作,请使用 BACKUP LOG WITH NORECOVERY 备份该日志。请使用
RESTORE 语句的 WITH REPLACE 或...
分类:
数据库 时间:
2014-05-01 22:26:24
阅读次数:
499
~/.conkyrc# Conky, a system monitor, based on
torsmo## Any original torsmo code is licensed under the BSD license## All code
written since the fork of...
分类:
系统相关 时间:
2014-05-01 18:42:00
阅读次数:
580
最新项目稍有空隙,开始研究SQL Server 2012和2014的一些BI特性,参照(Matt)的一个示例,我们开始体验SSIS中的CDC(Change Data Capture,变更数据捕获)。
注:如果需要了解关于SQL Server 2008中的CDC,请看这里http://www.cnblogs.com/downmoon/archive/2012/04/10/2439462.html“),本文假定读者对CDC的工作方式已有所了解。^_^。...
分类:
其他好文 时间:
2014-04-30 22:11:39
阅读次数:
276