C++11 Lambda

摘要: #include <stdio.h>#include <iostream> using namespace std; typedef void(*fun_ptr)(int, int); void iPrint(int a, int b){ cout << "IP :: " << a + b << e 阅读全文
posted @ 2018-04-18 08:55 Floki 阅读(137) 评论(0) 推荐(0) 编辑

开启flash player调试,打log出来

摘要: 原文 http://blog.csdn.net/sun_shine_/article/details/20724743 adobe flash player有自带调试功能的版本。 先解释一下官网下载的flash版本: 下载地址 http://www.adobe.com/support/flashpl 阅读全文
posted @ 2017-12-08 16:05 Floki 阅读(1162) 评论(0) 推荐(0) 编辑

MFC笔记

摘要: MFC的使用,有三种设置: 1.使用标准Windows库 2.在静态库中使用MFC:是将DLL中的相关代码写进EXE文件中,文件较大,但是可以在没有相关DLL的机器上运行; 3.在共享DLL中使用MFC:指的是打包时一些MFC的DLL的内容没有被包含在EXE文件中,所以EXE文件较小,但是运行时要求 阅读全文
posted @ 2017-11-27 21:29 Floki 阅读(137) 评论(0) 推荐(0) 编辑

gitlab安装配置

摘要: 1. 安装配置依赖项 如想使用Postfix来发送邮件,在安装期间请选择’Internet Site’. 您也可以用sendmai或者 配置SMTP服务 并 使用SMTP发送邮件.在 Centos 6 系统上, 下面的命令将在系统防火墙里面开放HTTP和SSH端口. sudo yum install 阅读全文
posted @ 2017-09-19 15:45 Floki 阅读(170) 评论(0) 推荐(0) 编辑

脚本免杀概述

摘要: 手机打字实在在麻烦,所以一些比较简单或太复杂的代码我就不直接提供实例了。 1、不是方法的方法--加注释 加一些规则无用不含特征码的注释。代码略 2、大小写混编 利用VBS忽略大小写 3、 分行与同行混用 利用冒号(:)连接多行代码为一行 4、一行分多行 使用续行符(_)将一行分多行写 5、利用exe 阅读全文
posted @ 2017-09-18 22:08 Floki 阅读(337) 评论(0) 推荐(0) 编辑

隐藏 console 窗口

摘要: #pragma comment( linker, "/subsystem:\"windows\" /entry:\"wmainCRTStartup\"" ) // 设置入口地址 在默认情况下链接器看到/subsystem下是windows选项的时候,它会自动寻找WinMain或者wWinMain 但 阅读全文
posted @ 2017-09-16 11:05 Floki 阅读(199) 评论(0) 推荐(0) 编辑

DLL和EXE加载包在自身内部的资源文件

摘要: 1、插入资源的方法 insert-->resource-->import,在出现的对话框中选择一个要作为资源的文件,接着在出现的对话框中Resource type:下面的框中随便自己输入一个串(如123),查找资源的时候会用到,点击OK。 编译一下工程,资源插入完毕(在resource.h文件中会增 阅读全文
posted @ 2017-09-07 15:36 Floki 阅读(773) 评论(0) 推荐(0) 编辑

各种Split功能演示

摘要: #include "stdafx.h" #include <stdio.h>#include <windows.h>#include <string> using namespace std; int SplitCount(const char *src, const char *split);in 阅读全文
posted @ 2017-08-30 10:13 Floki 阅读(296) 评论(0) 推荐(0) 编辑

在VS2013下编译json-c库,并简单生成json格式数据

摘要: #include "stdafx.h"#include "json-c/json.h" int _tmain(int argc, _TCHAR* argv[]){ // 正常的json格式 json_object *json = json_object_new_object(); json_obje 阅读全文
posted @ 2017-08-29 23:34 Floki 阅读(955) 评论(0) 推荐(0) 编辑