几天被打印信息的去除困扰了,想了想,如果靠一个一个的改动未免太繁琐。因此就仔细的看了下这部分的打印原理。当然下面只是简单的进行了知识罗列不过有需要的朋友可以随便看看。说不准会有些收获呢。
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
一,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
直接上源码 1 using System; 2 using System.Data; 3 using
System.Threading.Tasks; 4 using DbUtility; 5 6 namespace TestDbUtilityConsole 7
{ 8 class Prog...
分类:
数据库 时间:
2014-05-01 21:15:43
阅读次数:
560
启动SQL代理的时候报错如下:关调用实时(JIT)调试而不是此对话框的详细信息,请参见此消息的结尾。************** 异常文本
**************System.NullReferenceException: 未将对象引用设置到对象的实例。Server stack trace:
...
分类:
数据库 时间:
2014-05-01 20:21:21
阅读次数:
796
C#冒泡排序,转载自:http://bbs.it-home.org/forum-net-2.html不多解析自己看去吧using
System;using System.Collections.Generic;using System.Linq;using
System.Text;namespace...
分类:
其他好文 时间:
2014-05-01 20:17:35
阅读次数:
348
~/.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