摘要: # 最近用到的Linux常用命令总结 #### ### - ls :显示当前目录文件信息 ### `ls -a -l`### - cd :目录跳转### cd .. 上级目录 cd ~ home目录 cd - 最近目录### - cat :在屏幕上打印文件、连接、追加文件 ### cat text... 阅读全文
posted @ 2015-03-21 14:45 ljinshuan 阅读(364) 评论(2) 推荐(1) 编辑
摘要: 主要参考这个 :http://www.cnblogs.com/walkingboy/archive/2009/10/27/1590988.html说一下遇到的问题 DbMetal.exe--conn="data source=C:\Users\Shuan\Desktop\DbLinq-0.20.1\PrivacyFile.db" --database=TestDataContext --provider=SQLite --code=Test.cs --language=C# --namespace=LinqToSQLite直接运行 cmd 报错说的是 不能找到 SQLite 阅读全文
posted @ 2012-11-04 00:28 ljinshuan 阅读(1010) 评论(0) 推荐(0) 编辑
摘要: 重点说下FltSendMessage() FilterGetMessage() 和 FilterReplyMessage() 这三个函数首先:内核层的结构体// Defines the commands between the utility and the filtertypedef enum _NPMINI_COMMAND { ENUM_PASS = 0, ENUM_BLOCK} NPMINI_COMMAND; // Defines the command structure between the utility and the filter.typedef struct _COMM.. 阅读全文
posted @ 2012-03-15 11:53 ljinshuan 阅读(3661) 评论(0) 推荐(0) 编辑
摘要: #pragma once#ifdef __cplusplusextern "C"{#endif#include <wdm.h>#include <ntddkbd.h>#ifdef __cplusplus}#endif #define PAGEDCODE code_seg("PAGE")#define LOCKEDCODE code_seg()#define INITCODE code_seg("INIT")#define PAGEDDATA data_seg("PAGE")#define L 阅读全文
posted @ 2012-02-24 10:55 ljinshuan 阅读(1164) 评论(0) 推荐(0) 编辑
摘要: View Code 1 #pragma once 2 3 #ifdef __cplusplus 4 extern "C" 5 { 6 #endif 7 #include <NTDDK.h> 8 #include <ntstrsafe.h> 9 #ifdef __cplusplus10 }11 #endif 12 13 #define PAGEDCODE code_seg("PAGE")14 #define LOCKEDCODE code_seg()15 #define INITCODE code_seg("INIT&qu 阅读全文
posted @ 2012-02-23 21:44 ljinshuan 阅读(886) 评论(0) 推荐(0) 编辑