上一页 1 ··· 4 5 6 7 8

2014年9月3日

sublime text 给选中项插入编号

摘要: 1 #coding=utf-8 2 import datetime, getpass 3 import sublime, sublime_plugin 4 import re 5 6 # 插数字 7 class InsertNumberCommand(sublime_plugin.TextComma 阅读全文

posted @ 2014-09-03 17:25 明天有风吹 阅读(1985) 评论(1) 推荐(0)

2014年7月21日

Text and Binary modes

摘要: http://perlmaven.com/what-is-a-text-filehttps://cygwin.com/cygwin-ug-net/using-textbinary.htmlText and Binary modesThe IssueOn a UNIX system, when an ... 阅读全文

posted @ 2014-07-21 18:06 明天有风吹 阅读(221) 评论(0) 推荐(0)

2014年5月12日

daemon_int

摘要: 摘自 UNP 1 #include "unp.h" 2 #include <syslog.h> 3 4 #define MAXFD 64 5 6 extern int daemon_proc; // defined in error.c 7 8 int daemon_init(const char* 阅读全文

posted @ 2014-05-12 14:58 明天有风吹 阅读(438) 评论(0) 推荐(0)

2014年5月9日

setuid和seteuid

摘要: http://hzzz.lengzzz.com/blog/1385 阅读全文

posted @ 2014-05-09 21:38 明天有风吹 阅读(343) 评论(0) 推荐(0)

用0x077CB531计算末尾0的个数

摘要: http://www.matrix67.com/blog/archives/3985 unsigned int v; // find the number of trailing zeros in 32-bit vint r; // result goes herestatic const int 阅读全文

posted @ 2014-05-09 16:25 明天有风吹 阅读(163) 评论(0) 推荐(0)

2014年3月27日

asp.net mvc 5 初体验

摘要: 参考:http://www.asp.net/mvc/tutorials/mvc-5/introduction/getting-started1. 新建 ASP.Net Web 应用程序,跟着向导一路 OK 下去。就有了最简单的架子。run 一下看看2. 添加 controller,添加 view 修改 ~/Views/Shared/_Layout.cshtml 等3. 添加 model class,貌似这个东西用来搞数据库那些事情 教程里,添加数据库连接是在 Web.config 的 里加一条 connectionString,这一串东西看起来好麻烦,改天要认真研究一下 我在这里通过向... 阅读全文

posted @ 2014-03-27 14:57 明天有风吹 阅读(283) 评论(0) 推荐(0)

2014年3月24日

webservice gsoap 小记

摘要: 参考http://www.cs.fsu.edu/~engelen/soap.html1. web service client application > wsdl2h -s -o MyHead.h http://www.genivia.com/calc.wsdl -s 不用 STL > ... 阅读全文

posted @ 2014-03-24 11:09 明天有风吹 阅读(802) 评论(0) 推荐(0)

2013年12月28日

http 协议 c++代码 获取网页

摘要: 最近接触了些 html 和 JavaScript,索性了解下 http 协议。在园子里找到了 HTTP协议详解,图文并茂,很爽!于是小小的尝试了下#include #include #include #include #pragma comment(lib, "ws2_32.lib")using n... 阅读全文

posted @ 2013-12-28 11:57 明天有风吹 阅读(911) 评论(0) 推荐(0)

2013年12月27日

win32 音视频相关 api

摘要: waveInGetNumDevswaveInGetDevCapswaveInOpenwaveInGetDevCapswaveInPrepareHeaderwaveInAddBufferwaveInStartwaveInStopwaveInResetwaveInUnprepareHeaderwaveInClosewaveOutGetNumDevswaveOutWrite// 其他的 Out 跟 In 相对应 阅读全文

posted @ 2013-12-27 23:22 明天有风吹 阅读(288) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8

导航

+V atob('d2h5X251bGw=')

请备注:from博客园