几天被打印信息的去除困扰了,想了想,如果靠一个一个的改动未免太繁琐。因此就仔细的看了下这部分的打印原理。当然下面只是简单的进行了知识罗列不过有需要的朋友可以随便看看。说不准会有些收获呢。
Include/linux/printk.h中有如下定义:
#defineKERN_EMERG
""
/* system is unusable
*/
#defineKERN_ALERT...
分类:
其他好文 时间:
2014-07-22 23:02:35
阅读次数:
250
OSPF 协议总结
OSPF(Open Shortest Path First开放式最短路径优先 )是一个内部网关协议(Interior Gateway Protocol,简称IGP),用于在单一自治系统(autonomous system,AS)内决策路由。 链路是路由器接口的另一种说法,因此OSPF也称为接口状态路由协议。OSPF通过路由器之间通告网络...
分类:
其他好文 时间:
2014-07-22 23:01:55
阅读次数:
582
【题目】
Problem E
Open Credit System
Input: Standard Input
Output: Standard Output
In an open credit system, the students can choose any course they like, but there is a problem. Some of the stude...
分类:
其他好文 时间:
2014-05-03 00:22:50
阅读次数:
380
Artificial Intelligence?
Physics teachers in high school often think that problems given as text are more demanding than pure computations. After all, the pupils have to read and underst...
分类:
其他好文 时间:
2014-05-02 23:39:35
阅读次数:
485
首先用package system安装android-mode, 然后编辑~/.emacs.d/init.el文件,添加下面几行:(require 'android-mode)
(setq android-mode-sdk-dir "/opt/android-sdk-linux/")现在重新启动emacs,然后M-x 中运行命令android-start-emulator此时会提示输入Androi...
分类:
移动开发 时间:
2014-05-02 22:49:40
阅读次数:
561
package ioTest.io1;
import java.util.Iterator;
import java.util.Properties;
import java.util.Set;
/*
* System:
* API描述:public final class System extends Object
* System 类包含一些有用的类字段和方法。它不能被实例化。
...
分类:
编程语言 时间:
2014-05-02 19:04:18
阅读次数:
402
界面很简单//玩家类using System;using
System.Collections.Generic;using System.Linq;using System.Text;using
System.Threading.Tasks;namespace 猜拳游戏{ /// //...
分类:
其他好文 时间:
2014-05-02 12:04:15
阅读次数:
292
总用有两个文件(frmMain.cs
SqlHelper.cs)//frmMain.cs//作者:Meusing System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
S...
分类:
数据库 时间:
2014-05-02 00:24:24
阅读次数:
499
关键字:system_dntb/确定有 system_dntb/uploadimg.aspx
并能打开,这时候是不能上传的,由于他是验证cookie来得出上传后的路径,这样我们可以用cookie欺骗工具。cookie:UserType=0;
IsEdition=0; Info=1; uploadFo...
分类:
Web程序 时间:
2014-05-02 00:19:15
阅读次数:
883
/**
*
* 程序中用到了System类的输入流,也即类变量in,它可以接收用户的输入信息,并且
* 是标准的输入流实例对象,另外Scanner 类是Java的扫描器类,它可以从输入流中读取
* 指定类型的数据或字符串,本实例使用了Scanner 类封装了输入流对象,并使用了nextLine
* nextInt() nextDouble 方法从输入流中获取用户输入的整行文本字符串,整...
分类:
编程语言 时间:
2014-04-30 22:28:39
阅读次数:
382