- 博客(13)
- 资源 (8)
- 收藏
- 关注
原创 欢迎使用优快云-markdown编辑器
配置i7 4790k + 16g + 850evo 250g + gtx970 + p2415q + asrock b85 pro4安装盘制作准备一台黑苹果,一个16G的U盘下载unibeast和install el capitan程序使用unibeast制作一个安装u盘安装系统uefi boot到u盘启动安装后出现卡在iobluetooth,一阵搜索之后发现是使用usb3.0的原因,换
2016-04-19 23:25:08
450
原创 atl的全局表原理.
atlbase.h#include <string>#pragma section("ATL$_a", read)#pragma section("ATL$_z", read)#pragma section("ATL$_m", read)struct Student { std::string name; int age;};extern "C" { __declsp
2016-01-08 15:17:43
959
原创 黑苹果不能够断电的处理
现状:使用clover+uefi引导el capitan,关机之后,屏幕会熄屏,但是主机并不会关闭。解决方法:FixShutdown_0004refer:http://www.insanelymac.com/forum/topic/306012-help-my-hackintosh-wont-shutdown/
2015-11-08 05:27:28
10621
2
原创 freebsd/mac os x timer的实现
因为timer_create在mac os x下边并没有实现,所以 void ErrorManager::threadFun() { HANDLE hTimer; LARGE_INTEGER li; hTimer = CreateWaitableTimer(NULL, FALSE, NULL); const in
2015-11-08 04:41:39
1248
翻译 pendactyl不能够在firefox 34.0.5当中使用hint的办法
refere: https://code.google.com/p/dactyl/issues/detail?id=1213&sort=-id&colspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary1. 使用haozip打开 C:\Users\Jichao\AppData\Roaming\Mozilla\Fir
2014-12-28 20:55:36
973
原创 windows下编译skia dll
1.正常流程编译skia.2.skia.sln当中的core项目,改成DLL项目,再添加引用项目3.更改include/core/skpreconfig.h,添加#pragma warning(disable:4251)#define SKIA_DLL#define WIN32#define SKIA_IMPLEMENTATION 1第一行的防止出现EXPORT类引用
2013-06-21 10:51:30
2817
1
转载 ubuntu下边安装/更新adobe flash player
原地址:http://blog.youkuaiyun.com/sxf20778/article/details/7761774今天尝试着装了下Ubuntu版本是12.04,想去优酷看个视频,结果发现居然ubuntu软件中心居然卡住了。无奈下又要靠度娘了。经过百般探索(主要本人任何Linux经验,啥都不会),终于找到了解决方法。先打开终端,如果找不到,去界面左上角那个linux图标点
2013-02-24 14:46:42
2441
原创 pc-lint选项
PC-lint for C/C++ (NT) Vers. 9.00i, Copyright Gimpel Software 1985-2012 _________________________ MESSAGE GROUP _________________________ ----- Error Inhibition Options --
2013-02-06 12:45:34
3027
1
原创 freetype - render freetype glyph on windows
hdc = BeginPaint(hWnd, &ps); assert(Draw()); FT_GlyphSlot &pBm = m_face->glyph; //output by console { printf("\n"); for (int j = 0; j bitmap.
2013-01-22 23:02:55
1002
原创 windows gdi - 保存bitmap
bool SaveBMP(HDC hdc, const tstring& filePath){ HBITMAP hbm = (HBITMAP)GetCurrentObject(hdc, OBJ_BITMAP); assert(hbm); return SaveBMP(hbm, filePath);}bool SaveBMP(HBITMAP hbm, const ts
2013-01-13 14:48:47
1138
1
原创 [整理]windows下编译lame
0.预备知识lame是一个开源的,知名的,跨平台的基于LGPL的mp3 encoder(?),可以用于转化wav to mp3, mp3 to wav。1.准备工作:download lame project lastest source codedownload gtk+ project lastest source code安装visual studio 2010
2012-08-10 09:40:15
6818
原创 网页编码基础
四种编码1. 网页文件存储时使用的编码,比如我们使用vim作为编码时,可以通过设置fileencoding属性来设置存储的文件使用的编码,set filetype=utf-8,即将文件保存为UTF-8编码。2. meta标签当中设置的编码,有http-equiv=”Content-Type”content=”text/html; charset=utf-8”这样的属性,
2012-02-19 19:04:11
1445
原创 nicholl-lee-nicholl的标准实现
<br />参照nicholl-lee-nicholl的原始论文而成,版权归nicholl-lee-nicholl所有.<br />void leftcolumn(float*, float*, float*, float*, float, float, float, float, bool*);void centercolumn(float*, float*, float*, float*, float, float, float, float, bool*);void topleftcorner
2010-06-23 23:00:00
1243
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人